/* =========================================================================
   androidbox — WooCommerce + inner pages
   (homepage / header / footer styling lives in main.css)
   ========================================================================= */

.page-main{padding-block:40px 72px;min-height:55vh}
.shell--narrow{max-width:900px}
.page-title,.woocommerce-products-header__title{font-weight:800;font-size:28px;line-height:1.2;letter-spacing:.005em;margin:0 0 28px}
.page-head{margin-bottom:8px}
.entry-meta{font-weight:600;font-size:12px;color:var(--muted);margin:0 0 10px}
.entry-meta a:hover{color:var(--blue)}
.entry-thumb{margin-bottom:28px}
.entry-thumb img{width:100%;height:auto;border-radius:var(--r-band)}
.entry-content{font-size:15px;line-height:1.75;color:#3b4148}
.entry-content > * + *{margin-top:1.1em}
.entry-content h2,.entry-content h3{color:var(--ink);font-weight:800;line-height:1.3;margin-top:1.6em}
.entry-content a{color:var(--blue);text-decoration:underline}
.entry-content img{height:auto;border-radius:10px}

.breadcrumbs{font-weight:600;font-size:12px;color:var(--muted);margin-bottom:22px}
.breadcrumbs a:hover{color:var(--blue)}
.breadcrumbs span[aria-hidden]{margin-inline:4px;opacity:.6}

/* ------------------------------- listings ------------------------------- */
.posts-grid,
.woocommerce ul.products{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);
  margin:0 0 40px;padding:0;list-style:none;
}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none;width:auto;margin:0;padding:0;display:flex}
.woocommerce ul.products li.product > .card{flex:1;min-width:0}
/* WooCommerce colours loop prices green – keep the theme's own price style */
.woocommerce ul.products li.product .price{display:flex;margin:0;color:var(--ink);font-size:inherit}
.woocommerce ul.products li.product .price del{display:inline;opacity:.5}
.woocommerce ul.products li.product .card__title{margin:0;padding:0}

.woocommerce-result-count{float:left;margin:13px 0 22px;font-weight:600;font-size:13px;color:var(--muted)}
.woocommerce-ordering{float:right;margin:0 0 22px;max-width:100%}
.woocommerce ul.products{clear:both}
.woocommerce-ordering select,
.woocommerce select,
.woocommerce input.input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce textarea,
.woocommerce form .form-row textarea,
.woocommerce .select2-container--default .select2-selection--single{
  height:46px;padding:0 16px;border:1px solid var(--line);border-radius:12px;background:#fff;
  font:inherit;font-weight:600;font-size:14px;color:var(--ink);outline:0;box-shadow:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce input.input-text:focus,.woocommerce textarea:focus,.woocommerce select:focus{border-color:var(--blue);box-shadow:none}
.woocommerce textarea,.woocommerce form .form-row textarea{height:auto;padding:12px 16px}

.woocommerce-pagination,.navigation.pagination{margin-top:8px}
.woocommerce-pagination ul.page-numbers,
.navigation.pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;border:0;margin:0;padding:0;list-style:none}
.woocommerce-pagination ul.page-numbers li{border:0;float:none;overflow:visible}
.woocommerce-pagination .page-numbers a,.woocommerce-pagination .page-numbers span,
.navigation.pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;
  border:1px solid var(--line);border-radius:var(--r-pill);background:#fff;font-weight:700;font-size:13px;color:var(--ink);
}
.woocommerce-pagination .page-numbers a:hover,.navigation.pagination a.page-numbers:hover{border-color:var(--blue);color:var(--blue);background:#fff}
.woocommerce-pagination .page-numbers .current,.navigation.pagination .page-numbers.current{background:var(--blue);border-color:var(--blue);color:#fff}

/* ------------------------------- buttons -------------------------------- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,
.woocommerce input.button.alt,.woocommerce .single_add_to_cart_button,
.wc-block-components-button:not(.is-link){
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:45px;padding:0 24px;border:0;border-radius:var(--r-btn);
  background:var(--blue);color:#fff;
  font-weight:800;font-size:12px;letter-spacing:.045em;text-transform:uppercase;line-height:1;
  transition:background .15s ease,transform .15s ease,box-shadow .2s ease;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,.woocommerce .single_add_to_cart_button:hover,
.wc-block-components-button:not(.is-link):hover{background:var(--blue-dark);color:#fff}
.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.45;cursor:not-allowed}

/* ------------------------------ notices --------------------------------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{
  margin:0 0 24px;padding:16px 20px 16px 52px;border:1px solid var(--line);border-left:4px solid var(--blue);
  border-radius:12px;background:var(--bg-soft);color:var(--ink);font-weight:600;font-size:13px;
}
.woocommerce-error{border-left-color:var(--red)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{color:var(--blue);top:1.15em;left:1.4em}
.woocommerce-error::before{color:var(--red)}
.woocommerce-message .button,.woocommerce-info .button{float:right;height:36px;padding:0 16px;margin-left:12px}
.woocommerce-message a:not(.button){text-decoration:underline}

/* ------------------------------ single product -------------------------- */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:auto;margin:0}
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells{grid-column:1 / -1}
.woocommerce div.product div.images{position:relative}
.woocommerce div.product div.images img{border-radius:var(--r-card)}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{background:var(--thumb-bg);border-radius:var(--r-card);overflow:hidden}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:12px 0 0;padding:0;list-style:none}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto;float:none}
.woocommerce div.product div.images .flex-control-thumbs img{opacity:.6;border:1px solid var(--line)}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover{opacity:1}
.woocommerce span.onsale{
  left:14px;top:14px;right:auto;min-width:0;min-height:0;margin:0;padding:6px 11px;line-height:1.4;
  border-radius:var(--r-badge);background:var(--red);font-weight:800;font-size:12px;
}
.woocommerce div.product .product_title{font-weight:800;font-size:28px;line-height:1.25;margin:0 0 14px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-weight:800;font-size:26px;margin:0 0 18px}
.woocommerce div.product p.price del{font-weight:600;font-size:16px;opacity:.5}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce div.product .woocommerce-product-details__short-description{color:#4a525b;font-size:14px;line-height:1.7;margin-bottom:22px}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 22px}
.woocommerce div.product form.cart .quantity{float:none;margin:0;flex:none}
.woocommerce div.product form.cart .quantity .qty{width:84px;text-align:center}
.woocommerce div.product form.cart .single_add_to_cart_button{float:none;flex:none;margin:0}
.woocommerce div.product form.cart .variations{width:100%;margin-bottom:6px}
.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;padding:0 0 8px;text-align:left}
.woocommerce div.product .product_meta{font-weight:600;font-size:12px;color:var(--muted);display:grid;gap:4px}
.woocommerce div.product .product_meta a{color:var(--ink)}
.woocommerce div.product .product_meta a:hover{color:var(--blue)}

.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:6px;margin:0 0 24px;padding:0;border-bottom:1px solid var(--line);list-style:none;overflow-x:auto}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;background:none;border-radius:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 18px;font-weight:800;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--blue);border-bottom-color:var(--blue)}
.woocommerce div.product .woocommerce-tabs .panel{margin:0;font-size:14px;line-height:1.75;color:#3b4148}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:18px;font-weight:800;margin-bottom:14px}
.woocommerce table.shop_attributes{border:0;width:100%}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{padding:12px 0;border:0;border-bottom:1px solid var(--line);font-style:normal;background:none}
.woocommerce table.shop_attributes th{width:30%;font-weight:800;color:var(--ink)}
.woocommerce div.product .related > h2,.woocommerce div.product .upsells > h2{font-weight:800;font-size:18px;text-transform:uppercase;letter-spacing:.02em;margin:24px 0 28px}

/* ---------------------- cart / checkout / account ----------------------- */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:var(--r-card);border-collapse:separate;border-spacing:0;overflow:hidden;background:#fff}
.woocommerce table.shop_table th{font-weight:800;font-size:12px;letter-spacing:.05em;text-transform:uppercase;background:var(--bg-soft)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 18px;border-top:1px solid var(--line)}
.woocommerce table.shop_table thead th{border-top:0}
.woocommerce table.shop_table td.product-name a{font-weight:700}
.woocommerce table.shop_table td.product-name a:hover{color:var(--blue)}
.woocommerce table.cart img{width:72px;border-radius:8px}
.woocommerce a.remove{color:var(--red)!important;font-weight:700}
.woocommerce a.remove:hover{background:var(--red);color:#fff!important}
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review{padding:24px;border:1px solid var(--line);border-radius:var(--r-card);background:#fff}
.woocommerce .cart-collaterals .cart_totals h2,.woocommerce-checkout h3{font-weight:800;font-size:18px;margin:0 0 16px}
.woocommerce form .form-row label{font-weight:700;font-size:12px;margin-bottom:6px}
.woocommerce form .form-row .required{color:var(--red)}
.woocommerce-checkout #payment{background:var(--bg-soft);border-radius:var(--r-card)}
.woocommerce-checkout #payment div.payment_box{background:#fff;color:var(--ink);border-radius:10px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:11px 16px;border-radius:12px;font-weight:700;font-size:13px}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#EAF3FF;color:var(--blue)}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto}
.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px;align-items:start}
.woocommerce form.login,.woocommerce form.register{border:1px solid var(--line);border-radius:var(--r-card);padding:24px;background:#fff}

/* ===================== account: login + registration ===================== */
.woocommerce-account:not(.logged-in) .page-title{text-align:center;margin-bottom:10px}
.auth__lead{max-width:560px;margin:0 auto 38px;text-align:center;font-weight:600;font-size:15px;line-height:1.6;color:var(--muted)}
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper,
.woocommerce-account:not(.logged-in) .woocommerce > .woocommerce-error,
.woocommerce-account:not(.logged-in) .woocommerce > .woocommerce-message{max-width:1040px;margin-inline:auto}

.auth{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap);max-width:1040px;margin:0 auto;align-items:stretch}
.auth--single{grid-template-columns:minmax(0,520px);justify-content:center}

.auth__card{
  display:flex;flex-direction:column;padding:38px 40px 40px;
  border:1px solid var(--line);border-radius:var(--r-band);background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.auth__card--register{background:var(--bg-soft)}
.auth__head{display:flex;align-items:center;gap:16px;margin-bottom:30px}
.auth__head h2{font-weight:800;font-size:22px;line-height:1.2}
.auth__head p{margin-top:4px;font-weight:600;font-size:13px;color:var(--muted)}
.auth__ico{
  flex:none;width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;
  background:#EAF3FF;color:var(--blue);
}
.auth__ico .ic{width:24px;height:24px}
.auth__ico--solid{background:var(--blue);color:#fff}

.auth__form{display:flex;flex-direction:column;flex:1;margin:0}
.auth__field{margin:0 0 18px}
.auth__field label{display:block;margin-bottom:8px;font-weight:700;font-size:12px;letter-spacing:.02em;color:var(--ink)}
.auth__field .required{color:var(--red);text-decoration:none}
.auth__split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.woocommerce .auth input.input-text{
  width:100%;height:50px;padding:0 18px;border:1px solid var(--line);border-radius:14px;background:#fff;
  font:inherit;font-weight:600;font-size:14px;color:var(--ink);outline:0;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.auth .input-text::placeholder{color:#a9afb6;font-weight:500}
.woocommerce .auth input.input-text:hover{border-color:#c5cad3}
.woocommerce .auth input.input-text:focus{border-color:var(--blue);box-shadow:none}
.woocommerce .auth .pw input.input-text{padding-right:52px}
@media (max-width:420px){.auth__split{grid-template-columns:1fr}}

.pw{position:relative;display:block}
.pw .input-text{padding-right:52px}
/* strength meter / hint are injected after the input – keep the eye centred on the input */
.woocommerce-password-strength{margin:8px 0 0;padding:7px 12px;border-radius:10px;text-align:center;font-weight:800;font-size:12px;color:var(--ink)}
.woocommerce-password-hint{display:block;margin-top:8px;font-weight:600;font-size:12px;line-height:1.5;color:var(--muted)}
/* WooCommerce wraps password inputs in an inline span (+ its own eye button): flatten it,
   the theme has its own show/hide toggle. This inline wrapper caused the extra gap. */
.pw .password-input{display:block;position:static}
.pw .show-password-input{display:none!important}
/* WooCommerce injects them empty on page load – they must not take any space until used */
.woocommerce-password-strength:empty,.woocommerce-password-hint:empty{display:none;margin:0;padding:0}
.woocommerce-password-strength:not([class*=short]):not([class*=bad]):not([class*=good]):not([class*=strong]){display:none;margin:0;padding:0}
.woocommerce-password-strength:not([class*=short]):not([class*=bad]):not([class*=good]):not([class*=strong]) ~ .woocommerce-password-hint{display:none;margin:0}
.pw__toggle{
  position:absolute;right:6px;top:25px;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:#8b95a2;transition:color .15s ease,background .15s ease;
}
.pw__toggle:hover{color:var(--blue);background:#EAF3FF}
.pw__toggle .ic{width:19px;height:19px}
.pw__toggle .ic:last-child,.pw__toggle.is-on .ic:first-child{display:none}
.pw__toggle.is-on .ic:last-child{display:block}

.auth__row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 24px}
.auth__check{display:inline-flex;align-items:center;gap:10px;margin:0;font-weight:600;font-size:13px;cursor:pointer}
.auth__check input{width:18px;height:18px;margin:0;accent-color:var(--blue);cursor:pointer}
.auth__link{font-weight:700;font-size:13px;color:var(--blue)}
.auth__link:hover{text-decoration:underline}
.auth__hint{margin:0 0 18px;padding:12px 14px;border-radius:12px;background:#fff;border:1px dashed var(--line);font-weight:600;font-size:12px;line-height:1.55;color:var(--muted)}
.auth__submit{height:50px;margin-top:auto}
.auth__card--register .auth__submit{margin-top:6px}
.auth .woocommerce-privacy-policy-text{margin:0 0 18px}
.auth .woocommerce-privacy-policy-text p{font-weight:600;font-size:12px;line-height:1.6;color:var(--muted)}
.auth .woocommerce-privacy-policy-text a{color:var(--blue);text-decoration:underline}

.auth__perks{margin:26px 0 0;padding:22px 0 0;border-top:1px solid var(--line);display:grid;gap:11px;list-style:none}
.auth__perks li{display:flex;align-items:center;gap:11px;font-weight:600;font-size:13px;color:var(--ink)}
.auth__perks .ic{flex:none;width:20px;height:20px;padding:4px;border-radius:50%;background:#E6F6EC;color:#12a150}

/* card header: the heading/description block is centred on the icon tile
   (".entry-content h2" adds a top margin that used to push the text down) */
.woocommerce .auth__head{align-items:center}
.woocommerce .auth__head > div{display:flex;flex-direction:column;justify-content:center;min-height:52px}
.woocommerce .auth__head h2,.woocommerce .auth__head p{margin:0;padding:0}
.woocommerce .auth__head h2{line-height:1.2}
.woocommerce .auth__head p{margin-top:3px;line-height:1.35}

/* "Prisiminti mane": checkbox and text share one centre line */
.woocommerce .auth label.auth__check{display:inline-flex!important;flex-direction:row;align-items:center;gap:10px;width:auto;margin:0;padding:0;line-height:20px}
.woocommerce .auth__check input[type=checkbox]{margin:0;padding:0;position:static;top:auto;vertical-align:middle;flex:none}
.woocommerce .auth__check span{display:block;margin:0;padding:0;line-height:20px;font-size:13px;font-weight:600}

/* polish: undo WooCommerce's own boxed form + underlined links inside the cards */
.woocommerce .auth form.auth__form{margin:0;padding:0;border:0;border-radius:0;background:none;flex:0 0 auto}
.woocommerce .auth a,.woocommerce-page .entry-content .auth a{text-decoration:none}
.woocommerce-page .entry-content .auth .auth__link,
.woocommerce-page .entry-content .auth .auth__help a,
.woocommerce-page .entry-content .auth .woocommerce-privacy-policy-text a{color:var(--blue)}
.woocommerce .auth .auth__link:hover,.woocommerce .auth .woocommerce-privacy-policy-text a{text-decoration:underline}
.woocommerce-error:focus,.woocommerce-message:focus,.woocommerce-info:focus{outline:0}
.auth__check{line-height:1}
.auth__check input{appearance:none;-webkit-appearance:none;flex:none;width:20px;height:20px;border:1.5px solid #c5cad3;border-radius:6px;background:#fff center/13px no-repeat;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.auth__check input:hover{border-color:var(--blue)}
.auth__check input:focus-visible{border-color:var(--blue);box-shadow:none;outline:0}
.auth__check input:checked{background-color:var(--blue);border-color:var(--blue);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.auth__help{
  margin-top:auto;padding-top:26px;display:flex;align-items:center;gap:14px;
  font-weight:600;font-size:13px;color:var(--muted);
}
.auth__card--login .auth__form + .auth__help{margin-top:auto}
.auth__help .ic{flex:none;width:40px;height:40px;padding:10px;border-radius:12px;background:#EAF3FF;color:var(--blue)}
.auth__help b{display:block;font-weight:800;font-size:13px;color:var(--ink)}
.auth__help a{color:var(--blue);font-weight:700}
.auth__help a:hover{text-decoration:underline}
.auth__card--login .auth__submit{margin-top:0}

/* ===================== account dashboard (logged in) ===================== */
.woocommerce-page .entry-content a{color:inherit;text-decoration:none}
.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:0 40px;align-items:start}
.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper{grid-column:1 / -1}
/* WooCommerce's clearfix pseudo-elements would otherwise become grid items */
.woocommerce-account .woocommerce::before,.woocommerce-account .woocommerce::after{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation{
  padding:10px;border:1px solid var(--line);border-radius:var(--r-band);background:#fff;position:sticky;top:150px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{gap:2px}
.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;color:var(--ink);
  font-weight:700;font-size:13px;transition:background .15s ease,color .15s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#d3d8df;transition:background .15s ease}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#EAF3FF;color:var(--blue)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover::before{background:var(--blue)}
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px;padding-top:6px;border-top:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover{background:#FFF1F1;color:var(--red)}
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover::before{background:var(--red)}

.woocommerce-account .woocommerce-MyAccount-content{
  padding:34px 38px;border:1px solid var(--line);border-radius:var(--r-band);background:#fff;font-size:14px;line-height:1.7;
}
.woocommerce-account .woocommerce-MyAccount-content > * + *{margin-top:1em}
.woocommerce-account .woocommerce-MyAccount-content p a,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info a:not(.button){color:var(--blue);text-decoration:underline}
.woocommerce-account .woocommerce-MyAccount-content h2,.woocommerce-account .woocommerce-MyAccount-content h3{font-weight:800;font-size:18px;margin-bottom:14px}
.woocommerce-account .woocommerce-MyAccount-content fieldset{border:1px solid var(--line);border-radius:var(--r-card);padding:20px 22px;margin:24px 0}
.woocommerce-account .woocommerce-MyAccount-content legend{padding:0 8px;font-weight:800;font-size:13px}
.woocommerce-account .woocommerce-EditAccountForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.woocommerce-account .woocommerce-EditAccountForm > *{grid-column:1 / -1}
.woocommerce-account .woocommerce-EditAccountForm > .form-row-first,
.woocommerce-account .woocommerce-EditAccountForm > .form-row-last{grid-column:auto;float:none;width:auto}
.woocommerce-account .woocommerce-EditAccountForm > .clear{display:none}
.woocommerce-account .woocommerce-EditAccountForm label{font-size:13px}
.woocommerce-account .woocommerce-EditAccountForm em,.woocommerce-account .woocommerce-EditAccountForm span em{display:block;margin-top:6px;font-style:normal;font-weight:600;font-size:12px;color:var(--muted)}
.woocommerce-account .woocommerce-EditAccountForm fieldset .form-row{margin-bottom:16px}
.woocommerce-account .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.woocommerce-account .woocommerce-Addresses::before,.woocommerce-account .woocommerce-Addresses::after{display:none}
.woocommerce-account .woocommerce-Address{float:none;width:auto;padding:22px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-soft)}
.woocommerce-account .woocommerce-Address header.woocommerce-Address-title::before,
.woocommerce-account .woocommerce-Address header.woocommerce-Address-title::after{content:none!important;display:none!important}
.woocommerce-account .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.woocommerce-account .woocommerce-Address-title h2,.woocommerce-account .woocommerce-Address-title h3{margin:0;font-size:16px}
.woocommerce-account .woocommerce-Address header.woocommerce-Address-title a.edit{float:none;margin:0}
.woocommerce-account .woocommerce-Address-title a{font-weight:800;font-size:12px;color:var(--blue)!important;text-decoration:none!important}
.woocommerce-account .woocommerce-Address address{font-style:normal;color:var(--muted);font-weight:600}
.woocommerce-account table.woocommerce-orders-table .button{height:36px;padding:0 16px}
.woocommerce-account table.shop_table td,.woocommerce-account table.shop_table th{font-size:13px}

/* ------------------------- account: nav with icons + user card ------------------------- */
.woocommerce-account .woocommerce-MyAccount-navigation{padding:0;overflow:hidden}
.woocommerce-account .woocommerce-MyAccount-navigation ul{padding:10px}
.woocommerce-account .woocommerce-MyAccount-navigation li a::before{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation li a{gap:12px}
.woocommerce-account .woocommerce-MyAccount-navigation li a .ic{flex:none;width:20px;height:20px;color:#8b95a2;transition:color .15s ease}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a .ic,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover .ic{color:var(--blue)}
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover .ic{color:var(--red)}
.acc-user{display:flex;align-items:center;gap:14px;padding:20px 20px 18px;border-bottom:1px solid var(--line);background:#fff}
.acc-user__avatar,.dash__avatar{
  flex:none;display:flex;align-items:center;justify-content:center;border-radius:50%;
  background:var(--blue);color:#fff;font-weight:800;letter-spacing:.02em;
}
.acc-user__avatar{width:46px;height:46px;font-size:15px}
.acc-user > div{min-width:0}
.acc-user b{display:block;font-weight:800;font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acc-user span:not(.acc-user__avatar){display:block;margin-top:2px;font-weight:600;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}

/* ------------------------------- account: dashboard -------------------------------- */
/* the dashboard builds its own cards, so the generic content card steps aside */
.woocommerce-account .woocommerce-MyAccount-content:has(> .dash){padding:0;border:0;background:none;border-radius:0}
.dash{display:grid;gap:0}
.dash__hero{
  display:flex;align-items:center;gap:20px;padding:28px 32px;border-radius:var(--r-band);
  background:linear-gradient(118deg,#EAEEF7 0%,#D9E1F1 60%,#C9D6EE 100%);
}
.dash__avatar{width:64px;height:64px;font-size:22px}
.dash__who{flex:1;min-width:0}
.woocommerce-account .woocommerce-MyAccount-content .dash__who h2{margin:0;font-weight:800;font-size:22px;line-height:1.25}
.dash__who p{margin:4px 0 0;font-weight:600;font-size:13px;color:var(--muted)}
.dash__shop{flex:none;background:#fff;color:var(--ink);box-shadow:var(--shadow-pill)}
.dash__shop:hover{background:#fff;color:var(--blue);transform:translateY(-1px)}

.dash__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}
.dash__stat{display:flex;align-items:center;gap:16px;padding:20px 22px;border:1px solid var(--line);border-radius:var(--r-card);background:#fff}
.dash__stat-ico,.dash__link-ico,.dash__order-ico,.dash__empty-ico{
  flex:none;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#EAF3FF;color:var(--blue);
}
.dash__stat-ico{width:48px;height:48px}
.dash__stat-ico .ic{width:22px;height:22px}
.dash__stat-ico--amber{background:#FFF4E0;color:#c77700}
.dash__stat-ico--green{background:#E6F6EC;color:#12a150}
.dash__stat strong{display:block;font-weight:800;font-size:22px;line-height:1.15}
.dash__stat > div > span{display:block;margin-top:3px;font-weight:600;font-size:12px;color:var(--muted)}
.dash__stat strong .woocommerce-Price-amount,.dash__stat strong bdi{display:inline;margin:0;font:inherit;color:inherit}

.dash__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:34px 0 14px}
.woocommerce-account .woocommerce-MyAccount-content .dash__head h3{margin:0;font-weight:800;font-size:16px;letter-spacing:.02em;text-transform:uppercase}
.woocommerce-account .woocommerce-MyAccount-content .dash__head .link-all{color:var(--ink);text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-content .dash__head .link-all:hover{color:var(--blue)}

.dash__orders{margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:var(--r-card);background:#fff;overflow:hidden}
.dash__order{display:grid;grid-template-columns:auto minmax(0,1fr) auto 110px auto;align-items:center;gap:18px;padding:16px 20px;border-top:1px solid var(--line)}
.dash__order:first-child{border-top:0}
.dash__order-ico{width:44px;height:44px}
.dash__order-ico .ic{width:20px;height:20px}
.dash__order-main a{display:block;font-weight:800;font-size:14px;color:var(--ink);text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-content .dash__order-main a{color:var(--ink);text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-content .dash__order-main a:hover{color:var(--blue)}
.dash__order-main span{display:block;margin-top:2px;font-weight:600;font-size:12px;color:var(--muted)}
.dash__order-total{font-weight:800;font-size:15px;text-align:right}
.woocommerce-account .woocommerce-MyAccount-content a.dash__order-btn{
  display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:18px;
  font-weight:800;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink);text-decoration:none;
  box-shadow:inset 0 0 0 1px var(--line);transition:color .15s ease,box-shadow .15s ease;
}
.woocommerce-account .woocommerce-MyAccount-content a.dash__order-btn:hover{color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}

/* order status pills (dashboard + orders table) */
.status{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;background:#EAF3FF;color:var(--blue);font-weight:800;font-size:12px;white-space:nowrap}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.woocommerce-orders-table__cell-order-status{font-weight:800;font-size:12px;white-space:nowrap}
.woocommerce-orders-table__cell-order-status::before{content:"";display:inline-block;vertical-align:middle;width:7px;height:7px;margin:-2px 8px 0 0;border-radius:50%;background:currentColor}
.status--completed{background:#E6F6EC;color:#12a150}
.status--processing{background:#EAF3FF;color:var(--blue)}
.status--pending,.status--on-hold{background:#FFF4E0;color:#c77700}
.status--cancelled,.status--failed{background:#FFF1F1;color:var(--red)}
.status--refunded{background:#F1F2F4;color:#5f6976}
.woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status{color:#12a150}
.woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status{color:var(--blue)}
.woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status,
.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status{color:#c77700}
.woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
.woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status{color:var(--red)}
.woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status{color:#5f6976}

.dash__empty{display:flex;align-items:center;gap:18px;padding:22px 24px;border:1px dashed #c5cad3;border-radius:var(--r-card);background:var(--bg-soft)}
.dash__empty-ico{width:52px;height:52px}
.dash__empty-ico .ic{width:24px;height:24px}
.dash__empty > div{flex:1}
.dash__empty b{display:block;font-weight:800;font-size:15px}
.woocommerce-account .woocommerce-MyAccount-content .dash__empty p{margin:2px 0 0;font-weight:600;font-size:13px;color:var(--muted)}

.dash__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.woocommerce-account .woocommerce-MyAccount-content a.dash__link{
  display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r-card);background:#fff;
  color:var(--muted);font-weight:600;font-size:12px;line-height:1.45;text-decoration:none;
  transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease;
}
.woocommerce-account .woocommerce-MyAccount-content a.dash__link:hover{transform:translateY(-2px);border-color:#c9d6ee;box-shadow:0 14px 26px -16px rgba(16,24,40,.28)}
.dash__link > span:nth-child(2){flex:1;min-width:0}
.dash__link b{display:block;margin-bottom:1px;font-weight:800;font-size:14px;color:var(--ink)}
.dash__link-ico{width:44px;height:44px}
.dash__link-ico .ic{width:20px;height:20px}
.dash__link-chev{flex:none;width:12px;height:12px;color:#b7c0cc;transition:transform .15s ease,color .15s ease}
.dash__link:hover .dash__link-chev{color:var(--blue);transform:translateX(3px)}

/* orders table polish */
.woocommerce-account table.woocommerce-orders-table{border-radius:var(--r-card)}
.woocommerce-account table.woocommerce-orders-table td a:not(.button){color:var(--ink);font-weight:800;text-decoration:none}
.woocommerce-account table.woocommerce-orders-table td a:not(.button):hover{color:var(--blue)}

/* anchors styled as blue buttons keep white text (".entry-content a" would make them dark) */
.woocommerce-page .entry-content a.button,
.woocommerce-page .entry-content a.btn--primary,
.woocommerce-page .entry-content .woocommerce-info a.button,
.woocommerce-page .entry-content .woocommerce-message a.button{color:#fff}
.woocommerce-page .entry-content a.btn--outline,
.woocommerce-page .entry-content a.dash__shop{color:var(--ink)}
.woocommerce-page .entry-content a.dash__shop:hover{color:var(--blue)}

/* view-order page: no yellow highlighter, boxed address in the theme's style */
.woocommerce-MyAccount-content mark{background:none;color:var(--ink);font-weight:800;padding:0}

.woocommerce-account .woocommerce-order-details__title,.woocommerce-account .woocommerce-column__title{margin-top:28px}

/* notices: own icons instead of WooCommerce's icon font */
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{
  content:"";font-family:inherit;width:20px;height:20px;top:1.1em;left:1.3em;
  background:center/contain no-repeat;
}
.woocommerce-message::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a150' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.500'/%3E%3Cpath d='M7.500 12.500l3 3 6-6.500'/%3E%3C/svg%3E")}
.woocommerce-info::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007AFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.500'/%3E%3Cpath d='M12 11v5.500M12 7.500v.01'/%3E%3C/svg%3E")}
.woocommerce-error::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F71B1B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.500'/%3E%3Cpath d='M12 7.500v5.500M12 16.500v.01'/%3E%3C/svg%3E")}
.woocommerce-message{border-left-color:#12a150}

/* ------------------------------ account: single order ------------------------------ */
.woocommerce-account .woocommerce-MyAccount-content:has(> .vo){padding:0;border:0;background:none;border-radius:0}
.vo{display:grid;gap:20px}
.vo__card{padding:26px 30px;border:1px solid var(--line);border-radius:var(--r-band);background:#fff}
.woocommerce-account .woocommerce-MyAccount-content .vo h2{margin:0;font-weight:800;font-size:16px;letter-spacing:.02em;text-transform:uppercase}
.vo__top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.woocommerce-account .woocommerce-MyAccount-content a.vo__back{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink);text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-content a.vo__back:hover{color:var(--blue)}
.vo__back .ic{width:12px;height:12px;transition:transform .2s ease}
.vo__back:hover .ic{transform:translateX(-3px)}

/* progress */
.vo__steps{display:flex;margin:28px 0 6px;padding:0;list-style:none}
.vo__steps li{flex:1;position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;margin:0!important}
.vo__steps li + li::before{content:"";position:absolute;top:15px;right:50%;width:100%;height:2px;background:var(--line)}
.vo__steps li.is-done::before,.vo__steps li.is-current::before{background:var(--blue)}
.vo__dot{
  position:relative;z-index:1;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#fff;border:2px solid var(--line);color:#9aa3af;font-weight:800;font-size:13px;
}
.vo__dot .ic{width:15px;height:15px}
.vo__label{font-weight:700;font-size:12px;color:var(--muted)}
.vo__steps .is-done .vo__dot{background:var(--blue);border-color:var(--blue);color:#fff}
.vo__steps .is-current .vo__dot{border-color:var(--blue);color:var(--blue);background:#EAF3FF}
.vo__steps .is-current.is-last .vo__dot{background:var(--blue);color:#fff}
.vo__steps .is-done .vo__label,.vo__steps .is-current .vo__label{color:var(--ink)}
.vo__state{margin:22px 0 0;font-weight:600;font-size:14px;color:var(--muted)}
.vo__state b{color:var(--ink)}

.vo__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:26px 0 0;padding:22px 0 0;border-top:1px solid var(--line)}
.vo__facts dt{font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8b95a2}
.vo__facts dd{margin:5px 0 0;font-weight:800;font-size:15px}
.vo__facts .vo__total{font-size:18px}

.vo__notes ol{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:14px}
.vo__notes li{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;line-height:1.6}
.vo__notes li:first-child{padding-top:0;border-top:0}
.vo__notes time{font-weight:700;font-size:12px;color:var(--muted)}
.vo__notes p{margin:0}

/* items + totals */
.woocommerce .od .od__title{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.od__title span{min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:#EAF3FF;color:var(--blue);display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;letter-spacing:0}
.od__items{margin:0;padding:0;list-style:none}
.od__item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);margin:0!important}
.od__item:last-child{border-bottom:0}
.od__item--note{display:block;padding:12px 16px;border:0;border-radius:12px;background:var(--bg-soft);font-size:13px}
.od__thumb{display:block;width:76px;height:76px;border-radius:var(--r-card);overflow:hidden;background:var(--thumb-bg)}
.od__thumb img{width:100%;height:100%;object-fit:cover}
.od__name{font-weight:700;font-size:14px;line-height:1.45}
.woocommerce-account .woocommerce-MyAccount-content .od__name a{color:var(--ink);text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-content .od__name a:hover{color:var(--blue)}
.od__info .wc-item-meta{margin:4px 0 0;padding:0;list-style:none;font-size:12px;color:var(--muted)}
.od__qty{display:block;margin-top:4px;font-weight:600;font-size:12px;color:var(--muted)}
.od__qty b{color:var(--ink)}
.od__line{font-weight:800;font-size:15px;white-space:nowrap}
.od__totals{margin:6px 0 0 auto;max-width:420px;padding-top:6px;border-top:1px solid var(--line)}
.od__row{display:flex;justify-content:space-between;gap:20px;padding:10px 0}
.od__row dt{font-weight:600;font-size:13px;color:var(--muted)}
.od__row dd{margin:0;font-weight:700;font-size:14px;text-align:right}
.od__row--order_total{margin-top:6px;padding-top:16px;border-top:1px solid var(--line)}
.od__row--order_total dt{font-weight:800;font-size:15px;color:var(--ink);text-transform:uppercase;letter-spacing:.03em}
.od__row--order_total dd{font-weight:800;font-size:20px}
.od__row--note dd{font-weight:600;font-size:13px}
.woocommerce .od .order-again{margin:20px 0 0;padding-top:20px;border-top:1px solid var(--line)}

/* address cards */
.addr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.addr--single{grid-template-columns:minmax(0,1fr)}
.addr__card{padding:24px 28px}
.addr__head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.addr__ico{flex:none;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#EAF3FF;color:var(--blue)}
.addr__ico .ic{width:19px;height:19px}
.addr address{margin:0;padding:0;border:0;background:none;font-style:normal;font-weight:600;font-size:14px;line-height:1.75;color:#3b4148}
.addr__contact{margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--line);list-style:none;display:grid;gap:8px}
.addr__contact li{display:flex;align-items:center;gap:10px;margin:0!important;font-weight:600;font-size:13px}
.addr__contact .ic{flex:none;width:17px;height:17px;color:#8b95a2}
.woocommerce-account .woocommerce-MyAccount-content .addr__contact a{color:var(--ink);text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-content .addr__contact a:hover{color:var(--blue)}

@media (max-width:760px){
  .vo__card{padding:20px 18px}
  .vo__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .od__item{grid-template-columns:60px minmax(0,1fr);gap:14px}
  .od__thumb{width:60px;height:60px}
  .od__line{grid-column:2;justify-self:start}
  .od__totals{max-width:none}
  .addr{grid-template-columns:1fr}
  .vo__notes li{grid-template-columns:1fr;gap:4px}
}


/* order page: no frame inside the address card, no stray section margins, buttons never underlined */
.woocommerce-account .woocommerce-customer-details.addr{margin:0;padding:0}
.woocommerce-account .woocommerce-customer-details.addr .addr__card address{margin:0;padding:0;border:0;border-radius:0;background:none}
.woocommerce-account .woocommerce-MyAccount-content .vo > section,.woocommerce-account .woocommerce-MyAccount-content .vo > .od{margin:0}
.woocommerce-page .entry-content a.button,.woocommerce-page .entry-content a.btn,.woocommerce-page .entry-content a.dash__shop,
.woocommerce-page .entry-content a.dash__order-btn,.woocommerce-page .entry-content a.vo__back{text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-content .order-again a.button{text-decoration:none;color:#fff}


/* order page layout: summary + updates full width, then items (left) | buyer address (right) */
.vo{grid-template-columns:minmax(0,1fr) 340px;align-items:start}
.vo > *{grid-column:1 / -1}
.vo > .od{grid-column:1}
.vo > .addr{grid-column:2;grid-template-columns:minmax(0,1fr)}
.vo > .addr .addr__card{padding:22px 24px}
@media (max-width:1180px){
  .vo{grid-template-columns:minmax(0,1fr)}
  .vo > .od,.vo > .addr{grid-column:1 / -1}
}

/* in the two-column order layout the totals use the full card width */
.vo > .od .od__totals{max-width:none;margin:6px 0 0}

/* address column follows the items card: same top, same bottom */
.vo{align-items:stretch}
.vo > .addr{align-self:stretch;grid-auto-rows:1fr}
.vo > .addr .addr__card{display:flex;flex-direction:column}
.vo > .addr .addr__card address{margin-bottom:16px}
.vo > .addr .addr__contact{margin-top:auto}

/* ============================== product page ============================== */
.woocommerce div.product{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0 56px;align-items:start}
.woocommerce div.product div.images{position:sticky;top:150px;align-self:start}
.woocommerce div.product div.summary{display:flex;flex-direction:column;align-items:flex-start;padding-top:2px}
.woocommerce div.product div.summary > *{max-width:100%}
.woocommerce div.product > .pd-card,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells{grid-column:1 / -1}

/* gallery */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border:1px solid var(--line)}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{width:100%;height:auto;border-radius:0;display:block}
.woocommerce div.product div.images .flex-control-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
.woocommerce div.product div.images .flex-control-thumbs li{border-radius:var(--r-card);overflow:hidden;cursor:pointer}
.woocommerce div.product div.images .flex-control-thumbs img{border:2px solid transparent;border-radius:var(--r-card);background:var(--thumb-bg);opacity:.75;transition:opacity .15s ease,border-color .15s ease}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{border-color:var(--blue);opacity:1}
.woocommerce div.product div.images .flex-control-thumbs img:hover{opacity:1}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{top:14px;right:14px;width:40px;height:40px;border-radius:50%;background:#fff;box-shadow:0 6px 16px -8px rgba(16,24,40,.35)}

/* title block */
.pd-badge{display:inline-flex;align-items:center;margin-bottom:14px;padding:6px 13px;border-radius:var(--r-badge);background:var(--red);color:#fff;font-weight:800;font-size:13px;letter-spacing:.02em}
.woocommerce div.product .product_title{margin:0 0 14px;font-size:30px;line-height:1.22}
.woocommerce div.product p.price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;margin:0 0 6px;font-size:32px;line-height:1.1}
.woocommerce div.product p.price del{order:-1;font-weight:600;font-size:18px;opacity:.5}
.woocommerce div.product p.price ins{text-decoration:none;font-weight:800}
.pd-rating{display:inline-flex;align-items:center;gap:8px;margin:2px 0 4px;font-weight:600;font-size:13px;color:var(--muted)}
.pd-rating:hover{color:var(--blue)}
.pd-stars{font-size:17px;letter-spacing:2px;line-height:1;background:linear-gradient(90deg,#f5a623 var(--p,0%),#d6dae0 var(--p,0%));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.pd-stock{display:inline-flex;align-items:center;gap:9px;margin:14px 0 0;font-weight:700;font-size:13px}
.pd-stock i{width:9px;height:9px;border-radius:50%;background:currentColor}
.pd-stock--in{color:#12a150}.pd-stock--low{color:#c77700}.pd-stock--out{color:var(--red)}
.woocommerce div.product .woocommerce-product-details__short-description{margin:16px 0 0;font-size:14px;line-height:1.7;color:#4a525b}
.woocommerce div.product .summary > p.stock{display:none} /* replaced by .pd-stock */
.woocommerce div.product .woocommerce-variation-availability .stock{margin:10px 0 0;font-weight:700;font-size:13px}

/* buying */
.woocommerce div.product form.cart{width:100%;margin:22px 0 0;gap:12px}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%}
.quantity.has-stepper{display:inline-flex;align-items:center;flex:none;height:50px;margin:0;border:1px solid var(--line);border-radius:25px;background:#fff;overflow:hidden}
.quantity.has-stepper .qty{width:48px;height:100%!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;text-align:center;font-weight:800;font-size:15px;-moz-appearance:textfield;appearance:textfield}
.quantity.has-stepper .qty::-webkit-outer-spin-button,.quantity.has-stepper .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty-btn{width:44px;height:100%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;line-height:1;color:var(--ink);transition:color .15s ease,background .15s ease}
.qty-btn:hover{color:var(--blue);background:#EAF3FF}
.woocommerce div.product form.cart .single_add_to_cart_button{flex:1 1 180px;height:50px;background:#fff;color:var(--blue)!important;box-shadow:inset 0 0 0 1.5px var(--blue);border-radius:25px}
.woocommerce div.product form.cart .single_add_to_cart_button:hover{background:var(--blue);color:#fff!important;box-shadow:inset 0 0 0 1.5px var(--blue)}
.woocommerce div.product form.cart .single_add_to_cart_button.loading{opacity:.6;pointer-events:none}
.woocommerce div.product form.cart .single_add_to_cart_button.disabled{opacity:.45;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--muted)!important;background:#fff}
.woocommerce div.product form.cart .buy-now{flex:1 1 100%;height:50px;border-radius:25px;width:100%}
.woocommerce div.product form.cart .variations{margin:0 0 4px}
.woocommerce div.product form.cart .variations label{font-weight:700;font-size:13px}

/* quick links, delivery, trust */
.pd-links{display:flex;flex-wrap:wrap;gap:8px 26px;width:100%;margin-top:22px;padding:18px 0 0;border-top:1px solid var(--line)}
.pd-links button{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:13px;color:var(--ink);transition:color .15s ease}
.pd-links button:hover{color:var(--blue)}
.pd-links .ic{width:19px;height:19px;color:var(--blue)}
.pd-delivery{display:flex;align-items:center;gap:12px;width:100%;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.pd-delivery__ico{flex:none;width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#EAF3FF;color:var(--blue)}
.pd-delivery__ico .ic{width:20px;height:20px}
.pd-delivery p{margin:0;font-weight:600;font-size:14px;color:var(--muted)}
.pd-delivery b{color:var(--ink)}
.pd-trust{width:100%;margin-top:18px;padding:18px 20px 16px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-soft);text-align:center}
.pd-trust img{height:24px;width:auto;max-width:100%;margin:0 auto 10px}
.pd-trust p{margin:0;font-weight:700;font-size:13px}

/* accordions */
.pd-acc{width:100%;margin-top:20px;border-top:1px solid var(--line)}
.pd-acc__item{border-bottom:1px solid var(--line)}
.pd-acc__item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 2px;cursor:pointer;font-weight:800;font-size:14px;transition:color .15s ease}
.pd-acc__item summary::-webkit-details-marker{display:none}
.pd-acc__item summary:hover{color:var(--blue)}
.pd-acc__item summary .ic{width:13px;height:13px;color:#8b95a2;transition:transform .2s ease}
.pd-acc__item[open] summary .ic{transform:rotate(90deg);color:var(--blue)}
.pd-acc__body{padding:0 2px 18px;font-size:14px;line-height:1.7;color:#4a525b}
.pd-acc__body p{margin:0}
.pd-acc__body table.shop_attributes th{width:38%}
.woocommerce div.product .product_meta{width:100%;margin-top:20px}

/* description + reviews */
.pd-card{margin-top:44px;padding:34px 38px;border:1px solid var(--line);border-radius:var(--r-band);background:#fff}
.pd-card > h2,.pd-card .woocommerce-Reviews-title{margin:0 0 20px;font-weight:800;font-size:18px;letter-spacing:.02em;text-transform:uppercase}
.pd-card--desc .entry-content{max-width:860px}
.pd-card--reviews #reviews{display:grid;gap:24px}
.pd-card--reviews .woocommerce-noreviews{margin:0}
.pd-card--reviews #review_form_wrapper{padding-top:24px;border-top:1px solid var(--line)}
.pd-card--reviews .comment-reply-title{display:block;margin-bottom:10px;font-weight:800;font-size:16px}
.pd-card--reviews .commentlist{margin:0;padding:0;list-style:none;display:grid;gap:18px}
.pd-card--reviews .comment_container{display:flex;gap:14px}
.pd-card--reviews .comment_container img.avatar{width:46px;height:46px;border-radius:50%;flex:none;position:static}
.pd-card--reviews .comment-text{margin:0;border:0;padding:0}
.woocommerce #review_form #respond p{margin:0 0 16px}
.woocommerce #review_form #respond textarea{height:130px;padding:14px 16px}
.woocommerce p.stars a{color:#f5a623}
.woocommerce .related > h2,.woocommerce .upsells > h2{margin-top:44px}

@media (max-width:992px){
  .woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:28px}
  .woocommerce div.product div.images{position:static}
  .woocommerce div.product .product_title{font-size:25px}
  .woocommerce div.product p.price{font-size:28px}
  .pd-card{margin-top:30px;padding:24px 20px;border-radius:16px}
}
@media (max-width:560px){
  .woocommerce div.product form.cart .single_add_to_cart_button{flex:1 1 100%}
  .quantity.has-stepper{width:100%}
  .quantity.has-stepper .qty{flex:1}
  .qty-btn{width:56px}
  .pd-links{gap:10px 22px}
}


/* gallery: WooCommerce forces position:relative with a more specific selector */
.woocommerce div.product div.images.woocommerce-product-gallery{position:sticky;top:150px;align-self:start}
@media (max-width:992px){.woocommerce div.product div.images.woocommerce-product-gallery{position:relative;top:0}}

/* reviews */
.woocommerce .pd-card--reviews .woocommerce-Reviews-title{text-transform:none;letter-spacing:0;font-size:18px;line-height:1.35}
.woocommerce #reviews #comments ol.commentlist{margin:0;padding:0;list-style:none}
.woocommerce #reviews #comments ol.commentlist li{margin:0 0 20px;padding:0;list-style:none}
.woocommerce #reviews #comments ol.commentlist li .comment_container{display:flex;align-items:flex-start;gap:16px}
.woocommerce #reviews #comments ol.commentlist li img.avatar{position:static;float:none;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:var(--thumb-bg)}
.woocommerce #reviews #comments ol.commentlist li .comment-text{flex:1;margin:0;padding:16px 20px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-soft)}
.woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating{float:none;display:block;margin:0 0 8px;color:#f5a623}
.woocommerce #reviews #comments ol.commentlist li .comment-text p{margin:0 0 4px;font-size:14px;line-height:1.65}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta{margin:0 0 6px;font-size:12px;color:var(--muted)}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta strong{color:var(--ink);font-weight:800}
.woocommerce #review_form #respond input[type=text],
.woocommerce #review_form #respond input[type=email]{width:100%;height:46px;padding:0 16px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-weight:600;font-size:14px;color:var(--ink);outline:0;box-shadow:none}
.woocommerce #review_form #respond input[type=text]:focus,
.woocommerce #review_form #respond input[type=email]:focus,
.woocommerce #review_form #respond textarea:focus{border-color:var(--blue);box-shadow:none}
.woocommerce #review_form #respond .comment-form-author,.woocommerce #review_form #respond .comment-form-email{width:calc(50% - 8px);display:inline-block;vertical-align:top}
.woocommerce #review_form #respond .comment-form-author{margin-right:12px}
.woocommerce #review_form #respond label{display:block;margin-bottom:6px;font-weight:700;font-size:12px}
.woocommerce #review_form #respond .comment-form-cookies-consent{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.woocommerce #review_form #respond .comment-form-cookies-consent label{display:inline;margin:0;font-weight:600}
.woocommerce #review_form #respond input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue)}
.woocommerce #review_form #respond .form-submit input#submit{height:48px;padding:0 28px}
@media (max-width:560px){
  .woocommerce #review_form #respond .comment-form-author,.woocommerce #review_form #respond .comment-form-email{width:100%;margin-right:0}
}

.woocommerce div.product > *{min-width:0}

/* product layout: two columns live in .pd-top (see inc/product-page.php) */
.woocommerce div.product{display:block}
.woocommerce div.product .pd-top{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0 56px;align-items:start}
.woocommerce div.product .pd-top > *{min-width:0}
@media (max-width:992px){
  .woocommerce div.product .pd-top{grid-template-columns:minmax(0,1fr);gap:28px}
}


/* description area: written description | specifications */
.woocommerce div.product > .pd-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:20px;align-items:stretch;margin-top:44px}
.woocommerce div.product > .pd-details--single{grid-template-columns:minmax(0,1fr)}
.woocommerce div.product .pd-details .pd-card{margin-top:0}
.pd-card--desc .entry-content{max-width:none;font-size:15px;line-height:1.8;color:#3b4148}
.pd-card--desc .entry-content p{margin:0}
.pd-card--desc .entry-content p + p{margin-top:1em}
.pd-card--specs table.woocommerce-product-attributes{width:100%;margin:0;border:0;border-collapse:collapse}
.pd-card--specs table.woocommerce-product-attributes tr{border-bottom:1px solid var(--line)}
.pd-card--specs table.woocommerce-product-attributes tr:last-child{border-bottom:0}
.pd-card--specs table.woocommerce-product-attributes th,
.pd-card--specs table.woocommerce-product-attributes td{padding:13px 0;border:0;background:none;vertical-align:top;font-style:normal}
.pd-card--specs table.woocommerce-product-attributes th{width:42%;padding-right:16px;text-align:left;font-weight:600;font-size:13px;color:var(--muted)}
.pd-card--specs table.woocommerce-product-attributes td{font-weight:700;font-size:14px;color:var(--ink)}
.pd-card--specs table.woocommerce-product-attributes td p{margin:0;padding:0}
@media (max-width:992px){
  .woocommerce div.product > .pd-details{grid-template-columns:minmax(0,1fr);margin-top:30px}
}

/* specs: no zebra striping (WooCommerce adds a grey background to every second row) */
.woocommerce .pd-card--specs table.shop_attributes tr:nth-child(even) th,
.woocommerce .pd-card--specs table.shop_attributes tr:nth-child(even) td,
.woocommerce .pd-card--specs table.shop_attributes tr:nth-child(odd) th,
.woocommerce .pd-card--specs table.shop_attributes tr:nth-child(odd) td{background:none}
/* the pinned strip (64px) sits under the 120px header: sticky columns start below both */
body.has-aibar.woocommerce div.product div.images.woocommerce-product-gallery{top:205px}
@media (max-width:992px){body.has-aibar.woocommerce div.product div.images.woocommerce-product-gallery{top:0}}
/* ===================== assistant summary card (product page) ===================== */
.woocommerce div.product > .pd-ai{margin-top:44px;padding:30px 34px 34px;border:1px solid var(--line);border-radius:var(--r-band);background:#fff}
.pd-ai__head{display:flex;align-items:center;gap:14px;margin-bottom:24px}
.pd-ai__ico{flex:none;width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--blue);color:#fff}
.pd-ai__ico .ic{width:23px;height:23px}
.woocommerce .pd-ai__head h2{margin:0;font-weight:800;font-size:18px;letter-spacing:.02em;text-transform:uppercase}
.pd-ai__head p{margin:2px 0 0;font-weight:600;font-size:13px;color:var(--muted)}
.pd-ai__verdict{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;font-weight:800;font-size:13px;white-space:nowrap;background:#EAF3FF;color:var(--blue)}
.pd-ai__verdict .ic{width:16px;height:16px}
.pd-ai__verdict--good{background:#E6F6EC;color:#12a150}
.pd-ai__verdict--fair{background:#FFF4E0;color:#c77700}
.pd-ai__verdict--high{background:#FFF1F1;color:var(--red)}

.pd-ai__body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px;align-items:start}
.pd-ai__body--single{grid-template-columns:minmax(0,1fr)}
.pd-ai__lead{margin:0;font-size:16px;line-height:1.7;color:#2c3238;font-weight:600}
.pd-ai__points{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:12px}
.pd-ai__points li{display:flex;align-items:flex-start;gap:12px}
.pd-ai__points li > span{flex:none;width:24px;height:24px;margin-top:1px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#E6F6EC;color:#12a150}
.pd-ai__points li > span .ic{width:13px;height:13px}
.pd-ai__points p{margin:0;font-size:14px;line-height:1.6;color:#3b4148}
.pd-ai__points b{font-weight:800;color:var(--ink)}
.pd-ai__ask{margin-top:22px;display:inline-flex;align-items:center;gap:9px;height:42px;padding:0 20px;border-radius:21px;font-weight:800;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--blue);box-shadow:inset 0 0 0 1.5px var(--blue);transition:background .15s ease,color .15s ease}
.pd-ai__ask .ic{width:17px;height:17px}
.pd-ai__ask:hover{background:var(--blue);color:#fff}

.pd-ai__stats{display:grid;gap:14px}
.pd-ai__tile{display:flex;align-items:flex-start;gap:16px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-soft)}
.pd-ai__tico{flex:none;width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#EAF3FF;color:var(--blue)}
.pd-ai__tico .ic{width:21px;height:21px}
.pd-ai__tile > div{min-width:0;flex:1}
.pd-ai__tile small{display:block;font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8b95a2}
.pd-ai__tile b{display:block;margin-top:3px;font-weight:800;font-size:15px;line-height:1.45}
.pd-ai__tile > div > span{display:block;margin-top:2px;font-weight:600;font-size:13px;color:var(--muted)}
.pd-ai__tile em{display:block;margin-top:10px;font-style:normal;font-weight:600;font-size:12px;color:var(--muted)}

/* price position between the cheapest and the dearest product of the category */
.pd-ai__scale{position:relative;height:8px;margin:18px 0 8px;border-radius:4px;background:#DCDFE5}
.pd-ai__avg{position:absolute;top:-4px;width:2px;height:16px;margin-left:-1px;background:#8b95a2;border-radius:1px}
.pd-ai__you{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:var(--blue);border:3px solid #fff;box-shadow:0 1px 4px rgba(16,24,40,.35)}
.pd-ai__you--good{background:#12a150}.pd-ai__you--fair{background:#c77700}.pd-ai__you--high{background:var(--red)}
.pd-ai__range{display:flex;justify-content:space-between;gap:8px;font-weight:700;font-size:12px;color:var(--ink)}
.pd-ai__range span:nth-child(2){color:var(--muted);font-weight:600}
.pd-ai__range .woocommerce-Price-amount,.pd-ai__range bdi{display:inline;font-weight:inherit;white-space:nowrap}

@media (max-width:992px){
  .woocommerce div.product > .pd-ai{margin-top:30px;padding:22px 20px 24px;border-radius:16px}
  .pd-ai__body{grid-template-columns:minmax(0,1fr);gap:24px}
}
@media (max-width:560px){
  .pd-ai__head{flex-wrap:wrap}
  .pd-ai__verdict{margin-left:0}
  .pd-ai__ask{width:100%;justify-content:center}
  .pd-ai__range{font-size:11px}
}

.pd-ai__note{display:flex;align-items:center;gap:9px;margin:24px 0 0;padding-top:18px;border-top:1px solid var(--line);font-weight:600;font-size:12px;color:var(--muted)}
.pd-ai__note .ic{flex:none;width:15px;height:15px;color:var(--blue)}
.pd-ai__shopdot{position:absolute;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:#8b95a2;border:2px solid #fff}
.pd-ai__legend{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:2px;font-weight:600;font-size:12px;color:var(--muted)}
.pd-ai__legend b{color:var(--ink);font-weight:800}
.pd-ai__legend i{display:inline-block;position:static;width:10px;height:10px;margin:0 7px 0 0;vertical-align:-1px;border:0;box-shadow:none}
.pd-ai__shops{margin:14px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.pd-ai__shops li{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:600;font-size:13px}
.pd-ai__shops li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pd-ai__shops li b{font-weight:800;white-space:nowrap}
.pd-ai__shops .woocommerce-Price-amount,.pd-ai__legend .woocommerce-Price-amount{display:inline;font-weight:inherit}
@media (max-width:560px){.pd-ai__shops{grid-template-columns:minmax(0,1fr)}}
/* specification rows with an icon */
.spec{display:flex;align-items:center;gap:12px}
.spec__ico{flex:none;width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#EAF3FF;color:var(--blue)}
.spec__ico .ic{width:17px;height:17px}
.spec__name{min-width:0}
.pd-card--specs table.woocommerce-product-attributes th{width:50%;vertical-align:middle}
.pd-card--specs table.woocommerce-product-attributes td{vertical-align:middle;overflow-wrap:anywhere}
.pd-card--specs table.woocommerce-product-attributes{table-layout:fixed}
.pd-card--specs table.woocommerce-product-attributes th,.pd-card--specs table.woocommerce-product-attributes td{padding-top:11px;padding-bottom:11px}
/* gallery frame: the slider makes __wrapper 4x wider than what is visible, so the rounded frame must be on the
   visible viewport (.flex-viewport) – otherwise only the left corners are round */
.woocommerce div.product div.images .flex-viewport{border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;background:var(--thumb-bg)}
.woocommerce div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper{border:0;border-radius:0;background:none}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{border-radius:0}
/* ---------- blog comments (single post): same rounded form language ---------- */
.comment-respond{margin-top:40px;padding:28px 32px;border:1px solid var(--line);border-radius:var(--r-band);background:#fff}
.comment-reply-title{display:block;margin:0 0 6px;font-weight:800;font-size:18px}
.comment-notes,.logged-in-as{margin:0 0 18px;font-weight:600;font-size:13px;color:var(--muted)}
.comment-form p{margin:0 0 16px}
.comment-form label{display:block;margin-bottom:6px;font-weight:700;font-size:12px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{
  width:100%;height:46px;padding:0 16px;border:1px solid var(--line);border-radius:12px;background:#fff;
  font:inherit;font-weight:600;font-size:14px;color:var(--ink);outline:0;box-shadow:none;transition:border-color .15s ease;
}
.comment-form textarea{height:150px;padding:14px 16px}
.comment-form input[type=text]:focus,.comment-form input[type=email]:focus,.comment-form input[type=url]:focus,.comment-form textarea:focus{border-color:var(--blue)}
.comment-form-cookies-consent{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.comment-form-cookies-consent label{display:inline;margin:0;font-weight:600}
.comment-form input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue)}
.comment-form .form-submit{margin:0}
.comment-form input[type=submit]{height:48px;padding:0 28px;border:0;border-radius:var(--r-btn);background:var(--blue);color:#fff;cursor:pointer;font:inherit;font-weight:800;font-size:12px;letter-spacing:.045em;text-transform:uppercase;transition:background .15s ease}
.comment-form input[type=submit]:hover{background:var(--blue-dark)}
.comments-title{margin:44px 0 18px;font-weight:800;font-size:18px}
.comment-list{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.comment-list .children{margin:14px 0 0 28px;padding:0;list-style:none;display:grid;gap:14px}
.comment-list .comment-body{padding:18px 22px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--bg-soft);font-size:14px;line-height:1.65}
.comment-list .comment-author{display:flex;align-items:center;gap:10px;font-weight:800}
.comment-list .comment-author img{width:36px;height:36px;border-radius:50%}
.comment-list .comment-metadata{margin:2px 0 8px;font-weight:600;font-size:12px;color:var(--muted)}
.comment-list .comment-body p{margin:0 0 8px}

/* ---------- cart / checkout block product cards ("new in store", cross-sells) ---------- */
.wc-block-grid__products{gap:20px}
.wc-block-grid__product{border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;background:#fff;padding:0 0 18px}
.wc-block-grid__product-image{margin:0 0 14px}
.wc-block-grid__product-image img{border-radius:0;display:block;width:100%}
.wc-block-grid__product-title{padding:0 18px;font-weight:700;font-size:13px;line-height:1.45;color:var(--ink)}
.wc-block-grid__product-price{padding:0 18px;font-weight:800;color:var(--ink)}
.wc-block-grid__product .wp-block-button__link,.wc-block-grid__product .wp-block-button .wp-element-button{
  border:0;border-radius:var(--r-btn);background:var(--blue);color:#fff;font-weight:800;font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding:13px 22px;
}
.wc-block-grid__product .wp-block-button__link:hover{background:var(--blue-dark);color:#fff}
.wc-block-grid__product-onsale{border-radius:var(--r-badge);background:var(--red);border:0;color:#fff;font-weight:800}
.wc-block-grid__product .wp-block-button__link,.wc-block-grid__product .wp-block-button .wp-element-button{color:#fff!important}
.wc-block-grid__product .wc-block-grid__product-onsale{position:absolute;top:12px;right:12px;left:auto;padding:5px 11px;border:0!important;border-radius:14px!important;background:var(--red)!important;color:#fff!important;font-weight:800;font-size:12px;letter-spacing:.02em;text-transform:none}
.wc-block-grid__product{position:relative}
.wc-block-grid__product-price ins{text-decoration:none}
.wc-block-grid__product-price del{opacity:.5;font-weight:600}
.pd-ai__shops li{align-items:center}
.pd-ai__shops li b{margin:0;font-size:13px;line-height:1.4}
.pd-ai__shops li span{line-height:1.4}
/* lost password / reset */
.woocommerce-lost-password .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-lost-password .woocommerce > form,
.woocommerce-lost-password .woocommerce > .woocommerce-message{max-width:520px;margin-inline:auto}
.woocommerce-lost-password .woocommerce > form{padding:34px 36px;border:1px solid var(--line);border-radius:var(--r-band);background:#fff}
.woocommerce-lost-password .page-title{text-align:center}
.woocommerce form .form-row{margin-bottom:18px}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:calc(50% - 8px)}

/* ---------------------------- block cart/checkout ----------------------- */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:inherit;color:var(--ink)}
.wc-block-components-title,.wc-block-components-checkout-step__title,.wc-block-cart__totals-title{font-weight:800}
.wc-block-components-checkout-step__title{font-size:18px}
.wc-block-cart__totals-title,.wc-block-cart-items .wc-block-cart-items__header th{font-weight:800;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink)}
.wc-block-components-totals-item__value,.wc-block-components-product-price{font-weight:800}
.wc-block-components-product-name{font-weight:700;color:var(--ink)}
.wc-block-components-product-name:hover{color:var(--blue)}
.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wc-block-components-order-summary{border-color:var(--line)}
.wp-block-woocommerce-checkout-order-summary-block{border-radius:var(--r-band);border-color:var(--line);overflow:hidden}

/* form fields */
.wc-block-components-text-input input[type=text],.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=tel],.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],.wc-block-components-textarea,
.wc-block-components-combobox .components-combobox-control input.components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select{
  border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:none;color:var(--ink);font-weight:600;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.wc-block-components-text-input input:focus,.wc-block-components-textarea:focus,
.wc-block-components-combobox .components-combobox-control input.components-combobox-control__input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus{border-color:var(--blue);box-shadow:none;outline:0}
.wc-block-components-text-input label,.wc-blocks-components-select__label{color:var(--muted);font-weight:600}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{border-color:#c5cad3;border-radius:6px}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--blue);border-color:var(--blue)}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:#fff}

/* buttons: blue pill with white text (the block sets its own dark text colour) */
.wc-block-components-button:not(.is-link){height:50px;border-radius:var(--r-btn);background:var(--blue);color:#fff!important}
.wc-block-components-button:not(.is-link) .wc-block-components-button__text{color:#fff;font-weight:800;font-size:12px;letter-spacing:.045em;text-transform:uppercase}
.wc-block-components-button:not(.is-link):hover{background:var(--blue-dark)}
.wc-block-components-button.outlined:not(.is-link){background:#fff;color:var(--ink)!important;box-shadow:inset 0 0 0 1px var(--line)}
.wc-block-components-button.outlined:not(.is-link) .wc-block-components-button__text{color:var(--ink)}
.wc-block-components-panel__button,.wc-block-components-totals-coupon__button{font-weight:700;color:var(--ink)}
.wc-block-components-notice-banner{border-radius:12px;font-weight:600}

/* ============================== responsive =============================== */
@media (max-width:1200px){
  .posts-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:992px){
  .posts-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:28px}
  .woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr;gap:24px}
  .auth{grid-template-columns:minmax(0,1fr);gap:24px;max-width:560px}
  .auth--single{grid-template-columns:minmax(0,1fr)}
  .woocommerce-account .woocommerce-MyAccount-navigation{position:static;margin-bottom:24px}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{grid-column:1 / -1}
  .woocommerce-account .woocommerce-Addresses{grid-template-columns:1fr}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash__links{grid-template-columns:1fr}
}
@media (max-width:760px){
  .dash__stats{grid-template-columns:1fr}
  .dash__hero{flex-wrap:wrap;padding:22px 20px}
  .dash__shop{width:100%}
  .dash__order{grid-template-columns:auto minmax(0,1fr) auto;gap:6px 14px}
  .dash__order .status{grid-column:2;grid-row:2;justify-self:start}
  .dash__order-total{grid-column:3;grid-row:1;text-align:right}
  .dash__order-btn{grid-column:3;grid-row:2;justify-self:end}
  .dash__empty{flex-wrap:wrap}
}
@media (max-width:560px){
  .page-main{padding-block:28px 56px}
  .page-title,.woocommerce-products-header__title,.woocommerce div.product .product_title{font-size:22px}
  .woocommerce ul.products{gap:28px 14px}
  .posts-grid{grid-template-columns:1fr}
  .auth__lead{font-size:14px;margin-bottom:26px}
  .auth__card{padding:26px 20px 28px;border-radius:16px}
  .auth__head{gap:14px;margin-bottom:24px}
  .auth__head h2{font-size:19px}
  .auth__ico{width:46px;height:46px;border-radius:14px}
  .auth__row{flex-wrap:wrap}
  .woocommerce-account .woocommerce-MyAccount-content{padding:22px 18px;border-radius:16px}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%}
  .woocommerce-lost-password .woocommerce > form{padding:24px 20px}
  .woocommerce-ordering{float:none;margin:0 0 20px;width:100%}
  .woocommerce-result-count{float:none;margin:0 0 12px}
  .woocommerce-ordering select{width:100%}
  .woocommerce-message .button,.woocommerce-info .button{float:none;margin:10px 0 0}
}

/* cart: coupon on the left, update button on the right of the same row (keep the cell a table-cell) */
.woocommerce table.cart td.actions::after{content:"";display:table;clear:both}
.woocommerce table.cart td.actions .coupon{display:flex;gap:10px;align-items:center;float:left;margin:0}
.woocommerce table.cart td.actions>p{float:right;margin:0}
/* checkout: WPC "don't miss this offer" block (and any other injected block) starts on its own line */
.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address{display:block}
.woocommerce-checkout .wpcuf-uf-wrap,.woocommerce-checkout .woocommerce-additional-fields>*{clear:both}
.woocommerce-checkout .wpcuf-uf-wrap{margin-top:24px}

/* ====================================================================== CHECKOUT (two columns) */
/* the "have a code / log in" prompts: slim one-liners */
.woocommerce-checkout .woocommerce-info{padding:11px 18px 11px 48px;margin:0 0 10px;font-size:13px;font-weight:600;min-height:0}
.woocommerce-checkout .woocommerce-info::before{top:50%;transform:translateY(-50%);left:18px}
.woocommerce-checkout form.checkout_coupon,.woocommerce-checkout form.woocommerce-form-login{margin:0 0 14px;border-radius:var(--r-card)}

.woocommerce-checkout form.checkout.co{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:28px;align-items:start;margin-top:18px}
.co__main{min-width:0}
.co__summary{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-band);padding:22px 24px 24px;
  position:sticky;top:148px;
}
.admin-bar .co__summary{top:180px}
.co__summary #order_review_heading{font-size:18px;font-weight:800;margin:0 0 12px;float:none;width:auto;padding:0}
.woocommerce-checkout .co__summary #order_review{padding:0;border:0;border-radius:0;background:none;float:none;width:auto}

/* customer details card */
.woocommerce-checkout #customer_details{background:#fff;border:1px solid var(--line);border-radius:var(--r-band);padding:26px 28px 14px;float:none;width:auto}
.woocommerce-checkout #customer_details::before,.woocommerce-checkout #customer_details::after{display:none}
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none;width:100%;max-width:none}
.woocommerce-checkout #customer_details h3{font-size:18px;font-weight:800;margin:0 0 16px}

/* fields: a compact 2-column grid (unknown plugin fields default to full width, listed ones are paired) */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-account-fields .create-account{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.woocommerce-checkout form .form-row{margin:0 0 14px;padding:0;float:none;width:auto;grid-column:1/-1;order:20}
.woocommerce-checkout form .form-row-first,.woocommerce-checkout form .form-row-last{width:auto}
.woocommerce-checkout form .form-row::before,.woocommerce-checkout form .form-row::after{display:none}
.woocommerce-checkout form .form-row .woocommerce-input-wrapper{display:block;position:relative}
.woocommerce-checkout form .form-row input.input-text,.woocommerce-checkout form .form-row select{height:46px}

/* order + pairs: name | name · phone | email · address · city | postcode · country | county · company | company code */
#billing_first_name_field,#shipping_first_name_field{grid-column:auto;order:1}
#billing_last_name_field,#shipping_last_name_field{grid-column:auto;order:2}
#billing_phone_field,#shipping_phone_field{grid-column:auto;order:3}
#billing_email_field{grid-column:auto;order:4}
#billing_address_1_field,#shipping_address_1_field{order:5}
#billing_city_field,#shipping_city_field{grid-column:auto;order:6}
#billing_postcode_field,#shipping_postcode_field{grid-column:auto;order:7}
#billing_country_field,#shipping_country_field{grid-column:auto;order:8}
#billing_state_field,#shipping_state_field{grid-column:auto;order:9}
#billing_company_field,#shipping_company_field{grid-column:auto;order:10}
#billing_eu_vat_number_field{grid-column:auto;order:11}
#billing_address_2_field,#shipping_address_2_field{order:5}
/* single-country shops print the country as plain text – make it look like a (disabled) field */
#billing_country_field strong,#shipping_country_field strong{display:flex;align-items:center;min-height:46px;padding:0 16px;border:1px solid var(--line);border-radius:12px;background:var(--bg-soft);font-weight:700;font-size:14px}

/* checkboxes: "create account", "ship to another address" */
.woocommerce-checkout .woocommerce-account-fields,.woocommerce-checkout .woocommerce-shipping-fields{margin:2px 0 6px}
.woocommerce-checkout #ship-to-different-address{font-size:14px;font-weight:700;margin:6px 0 14px}
.woocommerce-checkout .woocommerce-form__label-checkbox,.woocommerce-checkout #ship-to-different-address label{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:700;cursor:pointer;margin:0}
.woocommerce-checkout input[type=checkbox],.woocommerce-checkout input[type=radio]{accent-color:var(--blue);width:16px;height:16px;margin:0}
.woocommerce-checkout .woocommerce-additional-fields{margin-top:6px}
.woocommerce-checkout .woocommerce-additional-fields h3{display:none}
.woocommerce-checkout #order_comments{min-height:84px;height:84px}

/* "don't miss this offer" upsell (WPC): one compact row – image · name + price · add button */
.woocommerce-checkout .wpcuf-uf-wrap{margin:4px 0 16px;border:1px solid var(--line);border-radius:14px;background:var(--bg-soft);padding:14px 16px;clear:both}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-heading{font-size:14px;font-weight:800;margin:0 0 10px;line-height:1.3}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products{display:grid;gap:10px}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;text-align:left!important}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-image{order:1;flex:none;width:56px!important}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-image img{width:56px!important;height:56px!important;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:10px;padding:4px}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-info{order:2;flex:1;min-width:0;text-align:left!important;padding:0!important}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-name,.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-name a{font-size:13px;font-weight:700}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-price{font-size:13px;font-weight:800;color:var(--blue)}

/* address lookup dropdown */
.addr-wrap{position:relative}
.addr-hint{display:block;margin-top:4px;font-size:11px;font-weight:600;color:var(--muted)}
.addr-list{position:absolute;z-index:30;left:0;right:0;top:calc(46px + 4px);margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px -16px rgba(16,24,40,.35);max-height:300px;overflow-y:auto}
.addr-list li{display:flex;flex-direction:column;gap:1px;padding:9px 12px;border-radius:9px;cursor:pointer;font-size:13px}
.addr-list li b{font-weight:700}
.addr-list li span{font-size:12px;color:var(--muted);font-weight:600}
.addr-list li.is-active{background:#EAF3FF}
.addr-list .addr-none,.addr-list .addr-credit{cursor:default;font-size:11px;color:var(--muted);font-weight:600;background:none}
.addr-list .addr-credit{padding-top:6px;margin-top:2px;border-top:1px solid var(--line)}

/* order summary table */
.woocommerce-checkout-review-order-table{width:100%;border:0!important;border-radius:0!important;background:none!important;font-size:14px}
.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:10px 0!important;border:0!important;background:none!important;text-transform:none;letter-spacing:0;font-size:14px}
.woocommerce-checkout-review-order-table tbody td{border-bottom:1px solid var(--line)!important;vertical-align:top}
.woocommerce-checkout-review-order-table .product-name{font-weight:600;line-height:1.4}
.woocommerce-checkout-review-order-table .product-name .product-quantity{color:var(--muted);font-weight:700}
.woocommerce-checkout-review-order-table .product-total{text-align:right;font-weight:800;white-space:nowrap}
.woocommerce-checkout-review-order-table tfoot th{font-weight:600;color:var(--muted);text-align:left}
.woocommerce-checkout-review-order-table tfoot td{text-align:right;font-weight:800}
.woocommerce-checkout-review-order-table tr.order-total th,.woocommerce-checkout-review-order-table tr.order-total td{padding-top:14px!important;border-top:1px solid var(--line)!important;color:var(--ink);font-size:16px}
.woocommerce-checkout-review-order-table tr.order-total td{font-size:22px}
/* shipping: label above, full-width method cards */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td{display:block;width:100%;text-align:left}
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th{padding:12px 0 8px!important;font-size:12px;text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:var(--ink)}
.woocommerce-checkout .co__summary ul#shipping_method{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.woocommerce-checkout .co__summary ul#shipping_method li{position:relative;display:block;margin:0;padding:0;list-style:none}
.woocommerce-checkout .co__summary ul#shipping_method li input{position:absolute;left:14px;top:50%;transform:translateY(-50%);margin:0}
.woocommerce-checkout .co__summary ul#shipping_method li label{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0;padding:12px 14px 12px 42px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;font-weight:700;font-size:13px;line-height:1.35;transition:border-color .15s ease,background .15s ease}
.woocommerce-checkout .co__summary ul#shipping_method li label:hover{border-color:#b9c4d4}
.woocommerce-checkout .co__summary ul#shipping_method li input:checked + label{border-color:var(--blue);background:#F3F8FF}
.woocommerce-checkout .co__summary ul#shipping_method li label img{height:20px;width:auto;border-radius:5px;flex:none}
.woocommerce-checkout .co__summary ul#shipping_method .woocommerce-Price-amount{font-weight:800}
/* parcel locker picker etc. injected by shipping plugins */
.woocommerce-checkout-review-order-table tr:not(.cart_item):not(.cart-subtotal):not(.order-total):not(.woocommerce-shipping-totals):not(.fee):not(.cart-discount) > th,
.woocommerce-checkout-review-order-table tr:not(.cart_item):not(.cart-subtotal):not(.order-total):not(.woocommerce-shipping-totals):not(.fee):not(.cart-discount) > td{display:block;width:100%;text-align:left}

/* payment */
.woocommerce-checkout #payment{background:none;border-radius:0;margin-top:16px}
.woocommerce-checkout #payment ul.payment_methods{display:grid;gap:8px;margin:0;padding:0!important;border:0!important;list-style:none}
.woocommerce-checkout #payment ul.payment_methods > li{margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s ease,background .15s ease}
.woocommerce-checkout #payment ul.payment_methods > li:has(> input:checked){border-color:var(--blue);background:#F3F8FF}
.woocommerce-checkout #payment ul.payment_methods > li > input{vertical-align:middle;margin-right:10px}
.woocommerce-checkout #payment ul.payment_methods > li > label{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font-weight:700;font-size:14px;cursor:pointer;max-width:calc(100% - 34px)}
.woocommerce-checkout #payment ul.payment_methods > li > label img{max-height:24px;width:auto}
.woocommerce-checkout #payment div.payment_box{margin:12px 0 0;padding:12px;background:#fff;border-radius:10px;font-size:13px;line-height:1.5;color:var(--muted)}
.woocommerce-checkout #payment div.payment_box p{margin:0}
.woocommerce-checkout #payment .place-order{padding:0;margin:14px 0 0}
.woocommerce-checkout .woocommerce-privacy-policy-text,.woocommerce-checkout .woocommerce-privacy-policy-text p{font-size:12px;line-height:1.5;color:var(--muted)}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{margin-bottom:12px}
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text{font-size:13px;font-weight:600}
.woocommerce-checkout #payment #place_order{float:none;width:100%;height:54px;border:0;border-radius:999px;background:var(--blue);color:#fff;font-weight:800;font-size:14px;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;transition:background .15s ease,transform .15s ease}
.woocommerce-checkout #payment #place_order:hover{background:var(--blue-dark)}
.woocommerce-checkout #payment #place_order:active{transform:translateY(1px)}

@media (max-width:1100px){
  .woocommerce-checkout form.checkout.co{grid-template-columns:minmax(0,1fr) 380px;gap:22px}
}
@media (max-width:900px){
  .woocommerce-checkout form.checkout.co{display:block}
  .co__summary,.admin-bar .co__summary{position:static;margin-top:20px;padding:20px}
  .woocommerce-checkout #customer_details{padding:20px 18px 8px}
}
@media (max-width:520px){
  /* phones: name | surname and city | postcode stay paired, everything else full width */
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{gap:0 10px}
  .woocommerce-checkout .woocommerce-account-fields .create-account{grid-template-columns:1fr}
  #billing_phone_field,#billing_email_field,#billing_country_field,#billing_state_field,#billing_company_field,#billing_eu_vat_number_field,
  #shipping_phone_field,#shipping_country_field,#shipping_state_field,#shipping_company_field{grid-column:1/-1}
}


/* checkout selects (country / county / parcel locker): same look as the text fields */
.woocommerce-checkout .select2-container .select2-selection--single{height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{line-height:44px;padding:0 36px 0 16px;font-weight:700;font-size:14px;color:var(--ink)}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{height:44px;right:8px}
.woocommerce-checkout .select2-container--open .select2-selection--single,.woocommerce-checkout .select2-container--focus .select2-selection--single{border-color:var(--blue)}
/* single-country shop: the country can't change – show it as a quiet, disabled-looking field */
.woocommerce-checkout .country_to_state--single + .select2-container .select2-selection--single{background:var(--bg-soft)}
.woocommerce-checkout .country_to_state--single + .select2-container .select2-selection__arrow{display:none}
/* pay button + privacy text use the full card width */
.woocommerce-checkout #payment div.form-row.place-order{padding:0}
/* the cover of the upsell product photo is a "+" of its own – keep the add button clearly separate */
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-image,.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-image a{display:block;line-height:0}

/* order table as flex rows (table cells shrink to their content, which squeezed the shipping cards) */
.woocommerce-checkout-review-order-table,.woocommerce-checkout-review-order-table tbody,.woocommerce-checkout-review-order-table tfoot{display:block;width:100%}
.woocommerce-checkout-review-order-table tr{display:flex;justify-content:space-between;align-items:baseline;gap:14px;width:100%}
.woocommerce-checkout-review-order-table tr > th{flex:none;width:auto;text-align:left}
.woocommerce-checkout-review-order-table tr > td{flex:1;width:auto;text-align:right}
.woocommerce-checkout-review-order-table tr > td.product-name{text-align:left}
.woocommerce-checkout-review-order-table tr > td.product-total{flex:none}
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,
.woocommerce-checkout-review-order-table tr:not(.cart_item):not(.cart-subtotal):not(.order-total):not(.woocommerce-shipping-totals):not(.fee):not(.cart-discount){flex-direction:column;align-items:stretch;gap:0}
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
.woocommerce-checkout-review-order-table tr:not(.cart_item):not(.cart-subtotal):not(.order-total):not(.woocommerce-shipping-totals):not(.fee):not(.cart-discount) > th,
.woocommerce-checkout-review-order-table tr:not(.cart_item):not(.cart-subtotal):not(.order-total):not(.woocommerce-shipping-totals):not(.fee):not(.cart-discount) > td{width:100%;flex:none;text-align:left}
/* the single-country dropdown */
.woocommerce-checkout form .form-row select.country_to_state--single{height:46px;padding:0 16px;border:1px solid var(--line)!important;border-radius:12px;background:var(--bg-soft)!important;font-weight:700;font-size:14px;color:var(--ink);-webkit-appearance:none;appearance:none;pointer-events:none}
.woocommerce-checkout form .form-row select.country_to_state--single{width:100%}
/* row dividers on the rows (not on the cells, which broke into pieces) */
.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tr.order-total th,.woocommerce-checkout-review-order-table tr.order-total td{border:0!important}
.woocommerce-checkout-review-order-table tbody tr.cart_item{border-bottom:1px solid var(--line)}
.woocommerce-checkout-review-order-table tr.order-total{border-top:1px solid var(--line);margin-top:6px}

/* ---- buyer type switch: Fizinis asmuo | Įmonė ---- */
.woocommerce-checkout .form-row[hidden]{display:none!important}
.buyer{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 18px;max-width:440px;border:1px solid var(--line);border-radius:14px;background:var(--bg-soft)}
.buyer__opt{position:relative;margin:0;cursor:pointer}
.buyer__opt input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.buyer__opt span{display:flex;align-items:center;justify-content:center;gap:8px;height:42px;border-radius:10px;font-weight:700;font-size:13px;color:var(--muted);transition:background .15s ease,color .15s ease,box-shadow .15s ease}
.buyer__opt span .ic{width:17px;height:17px}
.buyer__opt input:checked + span{background:#fff;color:var(--blue);box-shadow:0 2px 8px -3px rgba(16,24,40,.28)}
.buyer__opt input:focus-visible + span{outline:2px solid var(--blue);outline-offset:1px}
/* a company: company name + company code first */
.co.is-company #billing_company_field{order:-2}
.co.is-company #billing_eu_vat_number_field{order:-1}
@media (max-width:520px){.buyer{max-width:none}}

/* buyer switch sits on the heading row, right-aligned */
.woocommerce-checkout .woocommerce-billing-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px}
.woocommerce-checkout .woocommerce-billing-fields > *{grid-column:1/-1}
.woocommerce-checkout .woocommerce-billing-fields > h3{grid-column:1;grid-row:1;margin:0 0 16px}
.woocommerce-checkout .woocommerce-billing-fields > .buyer{grid-column:2;grid-row:1;margin:0 0 16px;max-width:none;min-width:300px}
.woocommerce-checkout .woocommerce-billing-fields > .woocommerce-billing-fields__field-wrapper{grid-row:2}
.buyer__opt span{height:38px}
@media (max-width:640px){
  .woocommerce-checkout .woocommerce-billing-fields{grid-template-columns:1fr}
  .woocommerce-checkout .woocommerce-billing-fields > h3,.woocommerce-checkout .woocommerce-billing-fields > .buyer{grid-column:1}
  .woocommerce-checkout .woocommerce-billing-fields > .buyer{grid-row:2;min-width:0;margin-bottom:16px}
  .woocommerce-checkout .woocommerce-billing-fields > .woocommerce-billing-fields__field-wrapper{grid-row:3}
}

/* ---- WPC upsell block, final: no scrolling, the add button is one blue circle with its own plus ---- */
.woocommerce-checkout .wpcuf-uf-wrap,.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-inner,.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-content,.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products{overflow:hidden!important;max-width:100%;box-sizing:border-box}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product{min-width:0}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product .wpcuf-uf-product-image,.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product .wpcuf-uf-product-info{float:none!important;position:static!important;margin:0!important;transform:none!important}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product .wpcuf-uf-product-atc{
  order:3;flex:none;position:relative!important;top:auto!important;right:auto!important;left:auto!important;margin:0!important;
  display:block!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;
  background:var(--blue)!important;font-size:0!important;line-height:0;cursor:pointer;transition:background .15s ease,transform .15s ease}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product:hover .wpcuf-uf-product-atc{background:var(--blue-dark)!important;border:0!important}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product .wpcuf-uf-product-atc::before,
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product .wpcuf-uf-product-atc::after{display:none!important;content:none!important}
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product .wpcuf-uf-product-atc .wpcuf-uf-product-add{display:block!important;position:relative;width:34px!important;height:34px!important;border:0!important;background:none!important;color:transparent!important;font-size:0!important}
/* the plus drawn in CSS (the plugin's own icon is a dark SVG) */
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product:not(.wpcuf-uf-product-loading) .wpcuf-uf-product-atc .wpcuf-uf-product-add::after{
  content:""!important;display:block!important;position:absolute;inset:0;width:auto;height:auto;
  background:linear-gradient(#fff,#fff) center/14px 2px no-repeat,linear-gradient(#fff,#fff) center/2px 14px no-repeat!important}
/* while adding: the plugin's spinner, turned white */
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product.wpcuf-uf-product-loading .wpcuf-uf-product-atc .wpcuf-uf-product-add::after{filter:invert(1) brightness(2)}
/* no outline / green border on the upsell rows, hovered or not */
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product,
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product:hover,
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-products .wpcuf-uf-product:focus-within{border:0!important;box-shadow:none!important;outline:0!important;background:none!important}
/* long product names wrap instead of being clipped */
.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-name,.woocommerce-checkout .wpcuf-uf-wrap .wpcuf-uf-product-name a{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.35}

/* The gallery (zoom button z-index 99, flexslider arrows, sale badge …) must stay BELOW the sticky header (z-index 60) and the
   assistant strip while scrolling – a stacking context on the gallery keeps all its inner layers underneath. */
.woocommerce div.product div.images.woocommerce-product-gallery,.woocommerce-product-gallery{z-index:1;isolation:isolate} /* keeps its own position: sticky on desktop, relative on phones */
.woocommerce div.product .onsale,.woocommerce span.onsale{z-index:2}
