/*
 * Kinkekaart, rehvipood ja e-pood: teiste pluginate osad Allika stiili (teravad nurgad, kaldus nupud, Archivo).
 */

/* Lühikoodiga plokk */
.kood-plokk { background:#fff; }
.kood-plokk .kood-sisu { margin-top:36px; }
.kood-plokk h2 + .kood-sisu { margin-top:44px; }
@media (min-width:900px) { .kood-plokk h2 + .kood-sisu { margin-top:56px; } }

/* Kinkekaart */
.kood-plokk .akk-ost { padding-top:0; max-width:none; }
.kood-plokk .akk-ost__lulitid, .kood-plokk .akk-ost__luliti span, .kood-plokk .akk-ost__pakett, .kood-plokk .akk-ost__summa span,
.kood-plokk .akk-ost__vali input, .kood-plokk .akk-ost__vali textarea, .kood-plokk .akk-ost__soiduk span, .kood-plokk .akk-ost__viga { border-radius:0; }
.kood-plokk .akk-ost__luliti input:checked + span { box-shadow:none; }
.kood-plokk .akk-ost__samm-nr { border-radius:0; clip-path:polygon(4px 0,100% 0,calc(100% - 4px) 100%,0 100%); font-style:italic; }
.kood-plokk .akk-ost__soiduk input:checked + span { clip-path:polygon(0 0,100% 0,calc(100% - 8px) 100%,0 100%); padding-right:22px; }
.kood-plokk .akk-ost__pakett:has(input:checked) { box-shadow:inset 3px 0 0 var(--sinine), inset 0 0 0 1px var(--must); }
.kood-plokk .akk-ost__pakett-hind { font-style:italic; font-size:18px; }
.kood-plokk .akk-ost__nupp { border-radius:0; clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%); padding-right:46px; }
.kood-plokk .akk-ost__nupp:hover { background:var(--sinine); color:var(--must); }

/* E-pood */
.pood-plokk { background:#fff; }
.pood-kat { display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; margin:0 -20px 28px; padding:0 20px 4px; }
.pood-kat::-webkit-scrollbar { display:none; }
.pood-kat a { flex:none; display:inline-flex; align-items:center; gap:8px; height:42px; padding:0 18px; font-size:14px; font-weight:600; color:var(--must); text-decoration:none; box-shadow:inset 0 0 0 1px var(--joon); transition:box-shadow .2s, background .2s; }
.pood-kat a small { font-size:11px; color:var(--hall); font-weight:600; }
.pood-kat a:hover { box-shadow:inset 0 0 0 1px var(--must); }
.pood-kat a.valitud { background:var(--must); color:#fff; box-shadow:none; clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%); padding-right:26px; }
.pood-kat a.valitud small { color:var(--sinine); }
@media (min-width:900px) { .pood-kat { flex-wrap:wrap; overflow:visible; margin:0 0 36px; padding:0; } }

.pood-riba { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:0 0 16px; border-bottom:1px solid var(--must); font-size:13px; color:var(--hall); }
.pood-riba .woocommerce-result-count { margin:0; }
.pood-riba .woocommerce-ordering { margin:0; }
.pood-riba select { appearance:none; font:inherit; font-size:13px; font-weight:600; color:var(--must); background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111315' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center; border:0; padding:6px 20px 6px 0; cursor:pointer; }

.tooted { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0 12px; }
@media (min-width:700px) { .tooted { grid-template-columns:repeat(3, minmax(0,1fr)); gap:0 24px; } }
@media (min-width:1100px) { .tooted { grid-template-columns:repeat(4, minmax(0,1fr)); gap:0 32px; } }
.toode { display:flex; flex-direction:column; padding:24px 0 28px; border-bottom:1px solid var(--joon); }
.toode-link { display:flex; flex-direction:column; flex:1; color:var(--must); text-decoration:none; }
.toode-pilt { position:relative; display:block; aspect-ratio:1; background:var(--taust); overflow:hidden; }
.toode-pilt img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; padding:8%; box-sizing:border-box; transition:transform .6s var(--ease); }
@media (hover:hover) { .toode-link:hover .toode-pilt img { transform:scale(1.04); } .toode-link:hover h3 { color:var(--sinine-tume); } }
.toode-ale { position:absolute; top:10px; left:0; font-size:11px; font-weight:700; color:#fff; background:var(--must); padding:4px 14px 4px 10px; clip-path:polygon(0 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.toode h3 { margin:16px 0 8px; font-size:15px; line-height:1.3; font-weight:600; letter-spacing:-0.005em; transition:color .2s; }
.toode-hind { margin-top:auto; font-size:20px; font-weight:700; font-style:italic; letter-spacing:-0.02em; }
.toode-hind del { font-size:13px; font-weight:500; color:var(--hall); margin-right:6px; font-style:normal; }
.toode-hind ins { text-decoration:none; }
.toode .button { display:inline-flex; align-self:flex-start; align-items:center; height:42px; margin-top:14px; padding:0 34px 0 18px; font-size:13px; font-weight:600; color:#fff; background:var(--must); text-decoration:none; clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%); transition:background .2s, color .2s; }
.toode .button:hover { background:var(--sinine); color:var(--must); }
.toode .button.loading { opacity:.6; }
.toode .button.added { background:var(--sinine-tume); }
.toode .added_to_cart { margin-top:8px; font-size:13px; font-weight:600; color:var(--must); border-bottom:1px solid var(--sinine); align-self:flex-start; }
@media (min-width:900px) { .toode h3 { font-size:17px; } .toode-hind { font-size:22px; } }
@media (max-width:420px) { .toode .button { width:100%; justify-content:center; padding:0 22px 0 12px; } }

.woocommerce-pagination ul { list-style:none; display:flex; gap:6px; margin:40px 0 0; padding:0; }
.woocommerce-pagination a, .woocommerce-pagination span { display:inline-flex; min-width:42px; height:42px; align-items:center; justify-content:center; font-weight:600; color:var(--must); text-decoration:none; box-shadow:inset 0 0 0 1px var(--joon); }
.woocommerce-pagination span.current { background:var(--must); color:#fff; box-shadow:none; }
.pood-plokk .woocommerce-message, .pood-plokk .woocommerce-info, .pood-plokk .woocommerce-error { list-style:none; margin:0 0 24px; padding:14px 18px; background:var(--taust); border-left:3px solid var(--sinine); font-size:14px; }
.pood-plokk .woocommerce-message .button { float:right; font-weight:600; color:var(--must); border-bottom:1px solid var(--sinine); }

/* Rehvipood (allika-rehvipood): Allika värvid, Archivo ja teravad nurgad */
.kood-plokk .arp { --arp-navy:var(--must); --arp-navy-deep:#000; --arp-cyan:var(--sinine); --arp-ink:var(--must); --arp-ground:var(--taust); --arp-tint:var(--taust); --arp-tint-2:var(--taust); --arp-line:var(--joon);
  --arp-display:Archivo,'Helvetica Neue',Arial,sans-serif; --arp-body:Archivo,'Helvetica Neue',Arial,sans-serif; background:transparent; }
.kood-plokk .arp :is(.arp-btn,.arp-finder,.arp-pill span,.arp-stepper,.arp-stepper button,.arp-band,.arp-size-demo__part,.arp-empty,.arp-card,.arp-card__tag,.arp-way,.arp-way__icon,.arp-help,.arp-help__card,.arp-info,.arp-cart-thumb,select,input) { border-radius:0; }
.kood-plokk .arp .arp-finder { box-shadow:none; border:1px solid var(--joon); }
.kood-plokk .arp :is(.arp-h1,.arp-h2) { font-stretch:116%; font-weight:700; letter-spacing:-0.02em; }
.kood-plokk .arp .arp-btn--primary { clip-path:polygon(0 0,100% 0,calc(100% - 14px) 100%,0 100%); }
.kood-plokk .arp .arp-btn--primary:hover { background:var(--sinine); color:var(--must); }
.kood-plokk .arp .arp-card { box-shadow:none; }
.kood-plokk .arp .arp-card__tag { clip-path:polygon(0 0,100% 0,calc(100% - 6px) 100%,0 100%); padding-right:14px; }
.kood-plokk .arp-hero--finder-only { padding-top:0; margin-top:0; }

/* ===== Toote leht, ostukorv ja kassa ===== */
.poe-riba { position:relative; background:var(--must); color:#fff; padding:96px 0 28px; overflow:hidden; }
.poe-riba h1 { margin:0; font-size:40px; line-height:1; letter-spacing:-0.02em; }
.poe-rada { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; }
.poe-rada a { color:#A7ADB2; text-decoration:none; } .poe-rada a:hover { color:#fff; }
.poe-rada i { font-style:normal; color:var(--sinine); }
.poe-sammud { list-style:none; display:flex; gap:6px; margin:24px 0 0; padding:0; font-size:13px; font-weight:600; color:#6B7177; }
.poe-sammud li { display:flex; align-items:center; gap:8px; padding-right:18px; }
.poe-sammud li + li::before { content:""; width:24px; height:1px; background:#33373B; margin-right:10px; }
.poe-sammud .aegnr { font-style:italic; font-weight:700; }
.poe-sammud .tehtud { color:#A7ADB2; } .poe-sammud .tehtud .aegnr { color:var(--sinine); }
.poe-sammud .praegu { color:#fff; } .poe-sammud .praegu .aegnr { color:var(--sinine); }
@media (min-width:900px) { .poe-riba { padding:128px 0 36px; } .poe-riba h1 { font-size:56px; } }
.poe-sisu { background:#fff; padding:40px 0 96px; }
@media (min-width:900px) { .poe-sisu { padding:64px 0 120px; } }

/* Ühised: nupud, väljad, teated */
.poe-sisu :is(a.button, button.button, input.button, #place_order, .checkout-button, .single_add_to_cart_button) {
  display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 40px 0 22px; border:0; border-radius:0; font:inherit; font-size:14px; font-weight:600; line-height:1.2;
  color:#fff !important; background:var(--must) !important; text-decoration:none; cursor:pointer; clip-path:polygon(0 0,100% 0,calc(100% - 12px) 100%,0 100%); transition:background .2s, color .2s; }
.poe-sisu :is(a.button, button.button, input.button, #place_order, .checkout-button, .single_add_to_cart_button):hover { background:var(--sinine) !important; color:var(--must) !important; }
.poe-sisu button.button:disabled, .poe-sisu button.button[disabled] { opacity:.45; cursor:default; }
.poe-sisu :is(input.input-text, input.qty, .input-text, select, textarea, #coupon_code) { font:inherit; font-size:16px; color:var(--must); background:var(--taust); border:1px solid transparent; border-radius:0; padding:12px 14px; box-shadow:none; outline:none; transition:border-color .2s, background .2s; }
.poe-sisu :is(input.input-text, input.qty, select, textarea):focus { border-color:var(--must); background:#fff; }
.poe-sisu input.qty { width:72px; text-align:center; padding:12px 6px; }
.poe-sisu .select2-container .select2-selection--single { height:48px; border:1px solid transparent; border-radius:0; background:var(--taust); }
.poe-sisu .select2-container .select2-selection--single .select2-selection__rendered { line-height:46px; padding-left:14px; color:var(--must); }
.poe-sisu .select2-container .select2-selection--single .select2-selection__arrow { height:46px; }
.poe-sisu :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { list-style:none; margin:0 0 28px; padding:16px 20px; background:var(--taust); border:0; border-left:3px solid var(--sinine); color:var(--must); font-size:15px; }
.poe-sisu .woocommerce-error { border-left-color:#C93A21; }
.poe-sisu :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { display:none; }
.poe-sisu :is(.woocommerce-message, .woocommerce-info) a:not(.button) { color:var(--must); font-weight:600; border-bottom:1px solid var(--sinine); }
.poe-sisu .woocommerce-message .button { float:right; min-height:36px; margin:-6px 0 0 16px; }
.poe-sisu .onsale { position:absolute; top:14px; left:0; right:auto; z-index:2; min-width:0; min-height:0; margin:0; padding:5px 16px 5px 12px; border-radius:0; background:var(--must); color:#fff; font-size:12px; font-weight:700; line-height:1.3; clip-path:polygon(0 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.poe-sisu .price { color:var(--must) !important; font-style:italic; font-weight:700; letter-spacing:-0.02em; }
.poe-sisu .price del { color:var(--hall); font-size:.6em; font-weight:500; font-style:normal; opacity:1; margin-right:6px; }
.poe-sisu .price ins { text-decoration:none; font-weight:inherit; }

/* Toote leht */
.poe-sisu div.product { position:relative; }
.poe-sisu div.product .woocommerce-product-gallery { position:relative; margin-bottom:32px; }
.poe-sisu div.product .woocommerce-product-gallery__image img { background:var(--taust); mix-blend-mode:multiply; }
.poe-sisu div.product .woocommerce-product-gallery__wrapper { background:var(--taust); }
.poe-sisu div.product .flex-control-thumbs { display:flex; gap:8px; margin:8px 0 0; padding:0; }
.poe-sisu div.product .flex-control-thumbs li { width:72px !important; background:var(--taust); }
.poe-sisu div.product .product_title { margin:0 0 14px; font-size:30px; line-height:1.1; font-weight:700; font-stretch:116%; letter-spacing:-0.02em; }
.poe-sisu div.product p.price { font-size:32px; margin:0 0 20px; }
.poe-sisu div.product .woocommerce-product-details__short-description { color:#4A5056; font-size:16px; margin-bottom:24px; }
.poe-sisu div.product form.cart { display:flex; flex-wrap:wrap; gap:10px; align-items:stretch; margin:0 0 28px; padding:22px 0; border-top:1px solid var(--joon); border-bottom:1px solid var(--joon); }
.poe-sisu div.product form.cart .quantity { margin:0; float:none; }
.poe-sisu div.product form.cart .single_add_to_cart_button { float:none; min-height:50px; padding:0 48px 0 28px; }
.poe-sisu div.product form.cart table.variations { width:100%; margin-bottom:8px; }
.poe-sisu div.product .product_meta { font-size:13px; color:var(--hall); display:flex; flex-direction:column; gap:4px; }
.poe-sisu div.product .product_meta a { color:var(--must); font-weight:600; }
@media (min-width:900px) {
  .poe-sisu div.product .woocommerce-product-gallery { width:52%; float:left; }
  .poe-sisu div.product .summary { width:40%; float:right; padding-top:12px; }
  .poe-sisu div.product .product_title { font-size:40px; }
  .poe-sisu div.product p.price { font-size:40px; }
}
.poe-sisu .woocommerce-tabs { clear:both; padding-top:56px; }
.poe-sisu .woocommerce-tabs ul.tabs { display:flex; gap:28px; margin:0 0 28px; padding:0; border-bottom:1px solid var(--joon); overflow-x:auto; }
.poe-sisu .woocommerce-tabs ul.tabs::before, .poe-sisu .woocommerce-tabs ul.tabs li::before, .poe-sisu .woocommerce-tabs ul.tabs li::after { display:none !important; }
.poe-sisu .woocommerce-tabs ul.tabs li { margin:0 !important; padding:0 !important; border:0 !important; background:none !important; border-radius:0 !important; }
.poe-sisu .woocommerce-tabs ul.tabs li a { display:block; padding:0 0 14px !important; font-size:15px; font-weight:600; color:var(--hall) !important; white-space:nowrap; }
.poe-sisu .woocommerce-tabs ul.tabs li.active a { color:var(--must) !important; box-shadow:inset 0 -2px 0 var(--sinine); }
.poe-sisu .woocommerce-tabs .panel { max-width:760px; color:#4A5056; font-size:16px; }
.poe-sisu .woocommerce-tabs .panel > h2:first-child { display:none; }
.poe-sisu :is(.related, .upsells, .cross-sells) { clear:both; padding-top:64px; }
.poe-sisu :is(.related, .upsells, .cross-sells) > h2 { margin:0 0 8px; font-size:28px; font-weight:700; font-stretch:116%; letter-spacing:-0.02em; }

/* Seotud tooted samade kaartidena nagu e-poes */
.poe-sisu ul.products { list-style:none; display:grid !important; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0 12px; margin:0; padding:0; }
.poe-sisu ul.products::before, .poe-sisu ul.products::after { display:none !important; }
@media (min-width:900px) { .poe-sisu ul.products { grid-template-columns:repeat(4, minmax(0,1fr)); gap:0 32px; } }
.poe-sisu ul.products li.product { width:auto !important; float:none !important; margin:0 !important; padding:24px 0 28px; display:flex; flex-direction:column; border-bottom:1px solid var(--joon); position:relative; }
.poe-sisu ul.products li.product a.woocommerce-LoopProduct-link { display:flex; flex-direction:column; flex:1; color:var(--must); text-decoration:none; }
.poe-sisu ul.products li.product img { width:100%; aspect-ratio:1; object-fit:contain; background:var(--taust); padding:8%; box-sizing:border-box; mix-blend-mode:multiply; margin:0 !important; }
.poe-sisu ul.products li.product .woocommerce-loop-product__title { margin:16px 0 8px; padding:0 !important; font-size:15px !important; line-height:1.3; font-weight:600; }
.poe-sisu ul.products li.product .price { margin-top:auto; font-size:20px !important; }
.poe-sisu ul.products li.product .button { align-self:flex-start; margin-top:14px; min-height:42px; font-size:13px; padding:0 34px 0 18px; }
.poe-sisu ul.products li.product .onsale { top:38px; }

/* Ostukorv */
.poe-sisu table.shop_table { width:100%; border:0 !important; border-collapse:collapse; border-radius:0 !important; margin:0 0 32px; font-size:15px; }
.poe-sisu table.shop_table th { font-size:12px; font-weight:600; color:var(--hall); text-align:left; padding:0 12px 12px 0; border:0; }
.poe-sisu table.shop_table thead th { border-bottom:1px solid var(--must); }
.poe-sisu table.shop_table td { padding:20px 12px 20px 0; border:0; border-top:1px solid var(--joon); vertical-align:middle; background:none !important; }
.poe-sisu table.shop_table tr:first-child td { border-top:0; }
.poe-sisu table.cart td.product-thumbnail img { width:84px !important; height:84px; object-fit:contain; background:var(--taust); mix-blend-mode:multiply; padding:6px; box-sizing:border-box; }
.poe-sisu table.cart td.product-name a { color:var(--must); font-weight:600; text-decoration:none; }
.poe-sisu table.cart :is(td.product-price, td.product-subtotal) { font-weight:700; font-style:italic; }
.poe-sisu table.cart a.remove { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:0; color:var(--hall) !important; font-size:20px; font-weight:400; background:none !important; }
.poe-sisu table.cart a.remove:hover { color:#fff !important; background:var(--must) !important; }
.poe-sisu table.cart td.actions { padding-top:24px; }
.poe-sisu table.cart td.actions .coupon { display:flex; gap:8px; flex-wrap:wrap; }
.poe-sisu table.cart td.actions .coupon label { display:none; }
.poe-sisu table.cart td.actions .coupon #coupon_code { width:200px; }
.poe-sisu table.cart td.actions .coupon .button { background:transparent !important; color:var(--must) !important; box-shadow:inset 0 0 0 1px var(--joon); clip-path:none; padding:0 20px; }
.poe-sisu table.cart td.actions .coupon .button:hover { box-shadow:inset 0 0 0 1px var(--must); background:transparent !important; }
.poe-sisu table.cart td.actions > .button { background:transparent !important; color:var(--hall) !important; clip-path:none; padding:0 4px; text-decoration:underline; }
.poe-sisu .cart-collaterals .cart_totals { float:none; width:100%; background:var(--taust); padding:28px 24px; }
.poe-sisu .cart-collaterals .cart_totals h2 { margin:0 0 16px; font-size:22px; font-weight:700; font-stretch:116%; }
.poe-sisu .cart_totals table.shop_table th { border:0; border-top:1px solid var(--joon); padding:14px 12px 14px 0; font-size:14px; color:var(--must); }
.poe-sisu .cart_totals table.shop_table td { text-align:right; }
.poe-sisu .cart_totals .order-total :is(th, td) { font-size:18px; border-top:1px solid var(--must); }
.poe-sisu .cart_totals .order-total .amount { font-size:26px; font-weight:700; font-style:italic; }
.poe-sisu .wc-proceed-to-checkout { padding:8px 0 0; }
.poe-sisu .wc-proceed-to-checkout .checkout-button { width:100%; min-height:56px; font-size:16px; margin:0 !important; }
@media (min-width:900px) {
  .poe-sisu .woocommerce:has(.cart-collaterals) { display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:56px; align-items:start; }
  .poe-sisu .woocommerce:has(.cart-collaterals) > .woocommerce-notices-wrapper { grid-column:1 / -1; }
  .poe-sisu .cart-collaterals { position:sticky; top:100px; }
}
@media (max-width:767px) {
  .poe-sisu table.shop_table_responsive tr { display:grid; grid-template-columns:72px 1fr auto; gap:4px 14px; padding:18px 0; border-top:1px solid var(--joon); }
  .poe-sisu table.shop_table_responsive tr td { border:0; padding:0; text-align:left !important; }
  .poe-sisu table.shop_table_responsive tr td::before { display:none; }
  .poe-sisu table.cart td.product-thumbnail { display:block !important; grid-row:1 / span 3; }
  .poe-sisu table.cart td.product-thumbnail img { width:72px !important; height:72px; }
  .poe-sisu table.cart td.product-remove { grid-column:3; grid-row:1; }
  .poe-sisu table.cart td.product-name { grid-column:2; grid-row:1; }
  .poe-sisu table.cart td.product-price { display:none !important; }
  .poe-sisu table.cart td.product-quantity { grid-column:2; grid-row:2; }
  .poe-sisu table.cart td.product-subtotal { grid-column:3; grid-row:2; align-self:center; }
  .poe-sisu table.cart tr:has(td.actions) { display:block; }
  .poe-sisu table.cart td.actions .coupon #coupon_code { flex:1; width:auto; }
  .poe-sisu .cart_totals table.shop_table_responsive tr { grid-template-columns:1fr auto; }
  .poe-sisu .cart_totals table.shop_table_responsive tr th { display:block; border:0; padding:0; }
  .poe-sisu .cart_totals table.shop_table_responsive tr td { text-align:right !important; }
}
.poe-sisu .cart-empty { font-size:20px; font-weight:600; }
.poe-sisu .return-to-shop { margin-top:20px; }

/* Kassa */
.poe-sisu form.checkout h3, .poe-sisu #order_review_heading { margin:0 0 18px; font-size:22px; font-weight:700; font-stretch:116%; letter-spacing:-0.01em; }
.poe-sisu form.checkout .col2-set .col-1, .poe-sisu form.checkout .col2-set .col-2 { float:none; width:100%; }
.poe-sisu form.checkout .col2-set .col-2 { margin-top:28px; }
.poe-sisu .form-row { margin:0 0 14px !important; padding:0 !important; }
.poe-sisu .form-row label { display:block; margin:0 0 6px; font-size:13px; font-weight:600; color:var(--must); line-height:1.4; }
.poe-sisu .form-row label.checkbox, .poe-sisu .form-row label.woocommerce-form__label-for-checkbox { display:flex; gap:10px; align-items:flex-start; font-size:14px; font-weight:500; }
.poe-sisu .form-row .required { color:#C93A21; text-decoration:none; }
.poe-sisu .form-row :is(input.input-text, textarea, select) { width:100%; box-sizing:border-box; }
.poe-sisu table.woocommerce-checkout-review-order-table td, .poe-sisu table.woocommerce-checkout-review-order-table th { padding:14px 12px 14px 0; }
.poe-sisu table.woocommerce-checkout-review-order-table :is(td, th):last-child { text-align:right; padding-right:0; }
.poe-sisu table.woocommerce-checkout-review-order-table tfoot th { border-top:1px solid var(--joon); color:var(--must); font-size:14px; }
.poe-sisu table.woocommerce-checkout-review-order-table .order-total :is(th, td) { border-top:1px solid var(--must); font-size:18px; }
.poe-sisu table.woocommerce-checkout-review-order-table .order-total .amount { font-size:26px; font-style:italic; font-weight:700; }
.poe-sisu #payment { background:none !important; border-radius:0 !important; margin-top:8px; }
.poe-sisu #payment ul.payment_methods { padding:0 !important; border:0 !important; margin:0 0 20px; list-style:none; }
.poe-sisu #payment ul.payment_methods li { padding:16px 18px !important; margin:0 0 8px; box-shadow:inset 0 0 0 1px var(--joon); background:#fff; line-height:1.4; }
.poe-sisu #payment ul.payment_methods li:has(input:checked) { box-shadow:inset 3px 0 0 var(--sinine), inset 0 0 0 1px var(--must); }
.poe-sisu #payment ul.payment_methods li > label { font-weight:600; font-size:15px; cursor:pointer; }
.poe-sisu #payment ul.payment_methods li img { max-height:24px; vertical-align:middle; margin-left:8px; }
.poe-sisu #payment div.payment_box { margin:12px 0 0 !important; padding:14px 16px !important; background:var(--taust) !important; color:#4A5056 !important; border-radius:0 !important; font-size:14px; }
.poe-sisu #payment div.payment_box::before { display:none !important; }
.poe-sisu #payment div.form-row.place-order { padding:0 !important; }
.poe-sisu #place_order { float:none !important; width:100%; min-height:58px; font-size:16px; margin-top:12px; }
.poe-sisu .woocommerce-terms-and-conditions-wrapper { font-size:13px; color:var(--hall); }
.poe-sisu .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom:16px; }
.poe-sisu form.checkout_coupon { border:1px solid var(--joon) !important; border-radius:0 !important; padding:18px !important; }
@media (min-width:900px) {
  /* Vasak tulp: kõik vormi osad järjest (ka rehvipoe plokk). Parem tulp: tellimus, mis ulatub üle kõigi ridade. */
  .poe-sisu form.checkout { display:grid; grid-template-columns:minmax(0,1fr) 420px; grid-template-rows:repeat(6, auto) 1fr; column-gap:64px; align-items:start; }
  .poe-sisu form.checkout > * { grid-column:1; }
  .poe-sisu form.checkout > .woocommerce-NoticeGroup { grid-column:1; }
  .poe-sisu form.checkout #order_review_heading { grid-column:2; grid-row:1 / -1; align-self:start; margin:0; padding:28px 24px 0; background:var(--taust); position:relative; z-index:1; }
  .poe-sisu form.checkout #order_review { grid-column:2; grid-row:1 / -1; align-self:start; margin-top:62px; padding:12px 24px 28px; background:var(--taust); }
  .poe-sisu form.checkout #order_review #payment ul.payment_methods li { background:#fff; }
  .poe-sisu .woocommerce-billing-fields__field-wrapper, .poe-sisu .woocommerce-shipping-fields__field-wrapper { display:grid; grid-template-columns:1fr 1fr; column-gap:16px; }
  .poe-sisu .woocommerce-billing-fields__field-wrapper .form-row-wide, .poe-sisu .woocommerce-shipping-fields__field-wrapper .form-row-wide { grid-column:1 / -1; }
  .poe-sisu .woocommerce-billing-fields__field-wrapper .form-row, .poe-sisu .woocommerce-shipping-fields__field-wrapper .form-row { width:auto !important; float:none !important; }
}
@media (max-width:899px) { .poe-sisu form.checkout #order_review_heading { margin-top:36px; } }

/* Tellimuse kinnitus */
.poe-sisu .woocommerce-thankyou-order-received { font-size:20px; font-weight:600; margin:0 0 24px; }
.poe-sisu ul.woocommerce-order-overview { list-style:none; display:grid; grid-template-columns:repeat(2, 1fr); gap:1px; margin:0 0 40px; padding:0; background:var(--joon); border:1px solid var(--joon); }
.poe-sisu ul.woocommerce-order-overview li { margin:0 !important; padding:16px 18px !important; border:0 !important; background:#fff; font-size:12px; color:var(--hall); text-transform:none; float:none; }
.poe-sisu ul.woocommerce-order-overview li strong { display:block; margin-top:4px; font-size:16px; color:var(--must); }
@media (min-width:900px) { .poe-sisu ul.woocommerce-order-overview { grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); } }
.poe-sisu .woocommerce-order-details h2, .poe-sisu .woocommerce-customer-details h2 { font-size:22px; font-weight:700; font-stretch:116%; margin:0 0 16px; }
.poe-sisu .woocommerce-customer-details address { border:1px solid var(--joon) !important; border-radius:0 !important; padding:18px !important; font-style:normal; }
.poe-sisu span.onsale { top:14px !important; left:0 !important; right:auto !important; margin:0 !important; min-width:0 !important; min-height:0 !important; border-radius:0 !important; background:var(--must) !important; color:#fff !important; line-height:1.3 !important; padding:5px 16px 5px 12px !important; font-size:12px !important; }
.poe-sisu ul.products li.product span.onsale { top:38px !important; }
@media (max-width:520px) { .poe-sammud { gap:4px; } .poe-sammud li { padding-right:4px; } .poe-sammud li + li::before { width:10px; margin-right:6px; } }

/* Kassa kokkuvõte: read, saatmisviisid, toote andmed ja Montonio pangad */
.poe-sisu table.shop_table tfoot :is(th, td) { border:0 !important; border-top:1px solid var(--joon) !important; padding:14px 0 !important; vertical-align:top; }
.poe-sisu table.shop_table tfoot .order-total :is(th, td) { border-top:1px solid var(--must) !important; vertical-align:middle; }
.poe-sisu table.shop_table tbody td.product-name { line-height:1.4; }
.poe-sisu dl.variation { display:grid; grid-template-columns:auto 1fr; gap:2px 8px; margin:8px 0 0; font-size:13px; color:var(--hall); }
.poe-sisu dl.variation dt { margin:0 !important; padding:0 !important; float:none !important; clear:none !important; font-weight:600; color:var(--must); }
.poe-sisu dl.variation dd { margin:0 !important; padding:0 !important; float:none !important; }
.poe-sisu dl.variation dd p { margin:0 !important; }
.poe-sisu tr.woocommerce-shipping-totals td { text-align:left !important; }
.poe-sisu ul#shipping_method { list-style:none; margin:0 !important; padding:0 !important; display:flex; flex-direction:column; gap:6px; }
.poe-sisu ul#shipping_method li { margin:0 !important; padding:0 !important; text-indent:0 !important; }
.poe-sisu ul#shipping_method li label { display:flex; align-items:center; gap:10px; padding:12px 14px; background:#fff; box-shadow:inset 0 0 0 1px var(--joon); font-size:14px; font-weight:500; cursor:pointer; }
.poe-sisu ul#shipping_method li:has(input:checked) label { box-shadow:inset 3px 0 0 var(--sinine), inset 0 0 0 1px var(--must); font-weight:600; }
.poe-sisu ul#shipping_method li input { position:absolute; opacity:0; pointer-events:none; }
.poe-sisu ul#shipping_method li label .amount { margin-left:auto; font-weight:700; white-space:nowrap; }
.poe-sisu ul#shipping_method li:has(input[type=hidden]) label { box-shadow:none; padding:0; background:none; }
.poe-sisu .woocommerce-shipping-destination, .poe-sisu .woocommerce-shipping-calculator { font-size:13px; color:var(--hall); margin:8px 0 0; }
.poe-sisu .montonio-bank-payments-form .montonio-bank-items { gap:8px; }
.poe-sisu .montonio-bank-payments-form .montonio-bank-items .montonio-bank-item { width:calc(33.333% - 6px); height:72px; border-radius:0; border:1px solid var(--joon); }
.poe-sisu .montonio-bank-payments-form .montonio-bank-items .montonio-bank-item.active { background:#fff; border:1px solid var(--must); box-shadow:inset 0 -3px 0 var(--sinine); }
.poe-sisu .montonio-bank-payments-form .montonio-payments-country-dropdown { width:140px; padding:8px 10px; font-size:14px; }
.poe-sisu #payment ul.payment_methods li > label img.montonio-payment-method-icon { height:18px !important; }
@media (max-width:420px) { .poe-sisu .montonio-bank-payments-form .montonio-bank-items .montonio-bank-item { width:calc(50% - 4px); } }

/* Rehvipoe plokk kassas ja näidistekstid väljadel */
.poe-sisu .arp-checkout { --arp-navy:var(--must); --arp-cyan:var(--sinine); --arp-ink:var(--must); --arp-line:var(--joon); --arp-line-2:var(--joon);
  --arp-display:Archivo,'Helvetica Neue',Arial,sans-serif; --arp-body:Archivo,'Helvetica Neue',Arial,sans-serif; border-radius:0; padding:0 0 28px; border:0; border-bottom:1px solid var(--joon); margin:0 0 32px; }
.poe-sisu .arp-checkout__title { font-size:22px; font-weight:700; font-stretch:116%; margin:0; }
.poe-sisu .arp-checkout :is(.arp-choice__body, .arp-loc__body, input, select, textarea, .arp-info) { border-radius:0 !important; }
.poe-sisu .arp-choice input:checked + .arp-choice__body, .poe-sisu .arp-loc input:checked + .arp-loc__body { border:1px solid var(--must); padding:20px; box-shadow:inset 3px 0 0 var(--sinine); }
.poe-sisu .arp-choice__price { font-style:italic; font-weight:700; }
.poe-sisu :is(input, textarea)::placeholder { color:#9AA0A6 !important; opacity:1 !important; -webkit-text-fill-color:#9AA0A6 !important; }
.poe-sisu :is(input, textarea, select) { -webkit-text-fill-color:var(--must); }
@media (min-width:900px) { .poe-sisu form.checkout #order_review_heading { height:62px; box-sizing:border-box; } }

/* Tellimuse kokkuvõte kassas ridadena: nimi vasakul, summa paremal; tarneviis ja pakiautomaat üle terve laiuse */
.poe-sisu table.woocommerce-checkout-review-order-table, .poe-sisu table.woocommerce-checkout-review-order-table :is(thead, tbody, tfoot) { display:block; width:100%; }
.poe-sisu table.woocommerce-checkout-review-order-table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:16px; align-items:start; border-top:1px solid var(--joon); padding:14px 0; }
.poe-sisu table.woocommerce-checkout-review-order-table thead tr { border-top:0; border-bottom:1px solid var(--must); padding:0 0 10px; }
.poe-sisu table.woocommerce-checkout-review-order-table :is(th, td) { display:block; padding:0 !important; border:0 !important; text-align:left; }
.poe-sisu table.woocommerce-checkout-review-order-table :is(th, td):last-child:not(:first-child) { text-align:right; }
.poe-sisu table.woocommerce-checkout-review-order-table tfoot tr.order-total { border-top:1px solid var(--must); align-items:center; }
.poe-sisu table.woocommerce-checkout-review-order-table tfoot tr :is(th, td) { border:0 !important; }
.poe-sisu table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals, .poe-sisu table.woocommerce-checkout-review-order-table tr.montonio-pickup-point-row { grid-template-columns:1fr; row-gap:10px; }
.poe-sisu table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td, .poe-sisu table.woocommerce-checkout-review-order-table tr.montonio-pickup-point-row :is(th, td) { text-align:left !important; }
.poe-sisu tr.montonio-pickup-point-row th { font-size:14px; color:var(--must); }
.poe-sisu tr.montonio-pickup-point-row :is(select:not(.select2-hidden-accessible), .choices, .choices__inner, .select2-container) { width:100% !important; max-width:none !important; border-radius:0 !important; }
.poe-sisu tr.montonio-pickup-point-row .choices__inner { background:#fff; border:1px solid var(--joon); }
.poe-sisu table.woocommerce-checkout-review-order-table td.product-name { font-weight:600; }
.poe-sisu table.woocommerce-checkout-review-order-table td.product-total { font-weight:700; white-space:nowrap; }
.poe-sisu tr.woocommerce-shipping-totals th { font-size:14px; color:var(--must); }
.poe-sisu .select2-hidden-accessible { width:1px !important; padding:0 !important; }
.poe-sisu table.woocommerce-checkout-review-order-table.shop_table tfoot tr :is(th, td) { border:0 !important; }
.poe-sisu table.woocommerce-checkout-review-order-table tbody tr:first-child { border-top:0; }
/* Kupongi ja välja veateated */
.poe-sisu .coupon-error-notice { width:100%; margin:6px 0 0; color:#C93A21; font-size:13px; font-weight:500; }
.poe-sisu :is(.has-error, .woocommerce-invalid) :is(input.input-text, select, textarea, #coupon_code), .poe-sisu #coupon_code.has-error { border-color:#C93A21 !important; background:#fff; }
.poe-sisu .checkout-inline-error-message { margin:6px 0 0; color:#C93A21; font-size:13px; }
.poe-sisu ul.woocommerce-order-overview::before, .poe-sisu ul.woocommerce-order-overview::after { display:none !important; content:none !important; }
