/* ==========================================================================
   SwiftFrame Brodplast — shop (WooCommerce classic templates + shortcodes)
   WooCommerce's own stylesheets stay enqueued; this file re-skins them in the
   theme's language: navy, square, white cards on the grey canvas.
   Loaded through the bundle (swiftframe.css) on every page — the header cart
   link lives here too.
   ========================================================================== */

:root {
  --woocommerce: var(--navy);
  --wc-primary: var(--navy);
  --wc-primary-text: #ffffff;
  --wc-secondary: #ffffff;
  --wc-secondary-text: var(--ink);
  --wc-highlight: var(--navy);
  --wc-highligh-text: #ffffff;
  --wc-content-bg: #ffffff;
  --wc-subtext: var(--gray);
  --wc-form-border-color: rgba(29, 57, 96, 0.25);
  --wc-form-border-radius: 0px;
  --wc-form-border-width: 1px;
  --wc-card-border-radius: 0px;
}

/* ── Header cart ── */
.header-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: currentColor; order: 3; flex: 0 0 auto; }
.header-cart__count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1;
  background: var(--white); color: var(--navy); border: 1px solid var(--navy);
}
/* Account icon: same box as the cart, sitting just left of it. */
.header-account { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: currentColor; order: 3; flex: 0 0 auto; margin-right: -24px; }
.header-cart__count[hidden] { display: none; }
.site-header--dark .header-cart__count { border-color: var(--white); }
.site-header .site-nav { margin-left: auto; }
@media (max-width: 1100px) {
  .header-account { order: 0; margin-left: auto; margin-right: 0; }
  .header-cart { order: 0; }
  .site-header .nav-toggle { order: 1; }
  .site-header .wrap { gap: 12px; }
}

/* WooCommerce ships `.woocommerce img, .woocommerce-page img { height: auto; max-width: 100% }`
   (body class on every shop page), which out-ranks the theme's single-class image rules and
   collapsed the header logo to 0×0. Re-assert the chrome's image sizes with more weight. */
.site-header .brand .brand-logo, .site-footer .brand .brand-logo { height: clamp(34px, 2.6vw, 46px); width: auto; max-width: none; }
.site-footer .footer-contact img { width: 24px; height: 24px; }
.site-footer .footer-credit img { width: 14px; height: 14px; }

/* ── Page shells ── */
.bp-shop--catalog > .sf-inner, .bp-shop--product > .sf-inner, .bp-classic > .sf-inner {
  max-width: var(--max); margin-inline: auto;
  padding: clamp(120px, 10.3vw, 197px) var(--gutter) var(--section);
}
.bp-shop__title { margin-bottom: clamp(28px, 3vw, 48px); }
.woocommerce-products-header__title.page-title, .bp-classic .entry-title { font-size: var(--h1); margin-bottom: 20px; }
.woocommerce .term-description, .woocommerce .page-description { max-width: 780px; margin-bottom: 24px; font-size: clamp(18px, 1.15vw, 22px); }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 18px; font-size: 14px; color: var(--gray); }
.woocommerce .woocommerce-breadcrumb a { color: var(--navy); }
.woocommerce .woocommerce-breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ── Catalogue: category filter left, listing right ── */
.bp-catalog { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 3.4vw, 64px); align-items: start; clear: both; }
.bp-catalog__main { min-width: 0; }
.bp-filter-open, .bp-filter__head, .bp-filter__foot { display: none; }
.bp-filter { background: var(--white); padding: 28px 24px; }
.bp-filter__title { font-size: var(--h6); margin-bottom: 14px; }
.bp-filter ul { display: grid; }
.bp-filter li + li { border-top: 1px solid var(--line); }
.bp-filter a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 16px; color: var(--gray); transition: color 0.2s ease; }
.bp-filter a:hover { color: var(--navy); }
.bp-filter a.is-active { color: var(--navy); font-weight: 700; }
.bp-filter__count { font-size: 13px; opacity: 0.6; font-weight: 400; }
.bp-filter__sub { padding: 0 0 8px 14px; }
.bp-filter__sub li + li { border-top: 0; }
.bp-filter__sub a { padding: 6px 0; font-size: 15px; }

@media (max-width: 1100px) {
  .bp-catalog { display: block; }
  .bp-filter-open {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 52px; padding: 0 20px; margin-bottom: 20px;
    background: var(--white); border: 1px solid var(--wc-form-border-color); color: var(--navy);
  }
  .bp-filter-open__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
  .bp-filter-open__current { font-size: 14px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bp-filter {
    position: fixed; inset: 0; z-index: 200; overflow-y: auto; padding: 20px var(--gutter) 0; display: flex; flex-direction: column;
    transform: translateY(100%); visibility: hidden; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
  }
  .bp-filter.is-open { transform: translateY(0); visibility: visible; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s; }
  body.admin-bar .bp-filter { top: 46px; }
  .bp-filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: var(--h5); color: var(--ink); }
  .bp-filter__head button { width: 44px; height: 44px; margin-right: -12px; font-size: 36px; line-height: 1; color: var(--navy); }
  .bp-filter > ul { flex: 1 1 auto; align-content: start; }
  .bp-filter a { padding: 13px 0; }
  .bp-filter__foot { display: block; position: sticky; bottom: 0; margin: 24px calc(-1 * var(--gutter)) 0; padding: 16px var(--gutter); background: var(--white); border-top: 1px solid var(--line); }
  .bp-filter__foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bp-filter { transition: none; } }

/* ── Toolbar (result count + ordering) ── */
.woocommerce .woocommerce-result-count { margin: 0 0 24px; font-size: 14px; line-height: 44px; }
.woocommerce .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce .woocommerce-ordering select { height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--wc-form-border-color); border-radius: 0; background-color: var(--white); font: inherit; font-size: 15px; color: var(--ink); }
/* Native select arrows sit flush against the right edge whatever the padding — draw our own
   chevron 14px in from the edge instead (sorting on the catalogue, variations on a product). */
.woocommerce .woocommerce-ordering select, .woocommerce div.product form.cart .variations select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231d2635' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}

/* ── Product grid: the design's product card ── */
.woocommerce ul.products, .woocommerce-page ul.products {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  margin: 0 0 clamp(32px, 3vw, 56px); padding: 0; clear: both;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  float: none; width: auto; margin: 0; padding: 24px 24px 28px;
  display: flex; flex-direction: column; background: var(--white); color: var(--ink); position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(29, 38, 53, 0.08); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img { aspect-ratio: 1; width: 100%; height: auto; object-fit: contain; margin: 0 0 20px; background: var(--white); transition: transform 0.5s ease; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product .product-cat { display: block; font-size: 13px; font-weight: 600; color: var(--gray); margin-bottom: 6px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.1vw, 21px); line-height: 1.25; color: var(--ink); padding: 0; margin: 0 0 10px;
}
.woocommerce ul.products li.product .price { color: var(--navy); font-weight: 700; font-size: 18px; margin: auto 0 0; padding-top: 6px; }
.woocommerce ul.products li.product .price del { color: var(--gray); font-weight: 400; opacity: 0.8; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: 18px; align-self: flex-start; }
.woocommerce ul.products li.product .added_to_cart { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.woocommerce ul.products li.product .star-rating { margin: 0 0 8px; }
.woocommerce span.onsale {
  min-height: 0; min-width: 0; line-height: 1.4; padding: 5px 12px; border-radius: 0;
  background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; top: 12px; left: 12px; right: auto; margin: 0;
}
.woocommerce ul.products li.product .onsale { top: 12px; left: 12px; right: auto; margin: 0; }
.woocommerce ul.products li.product.outofstock a img { opacity: 0.55; }

/* ── 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 #respond input#submit.alt,
.woocommerce-page a.button, .woocommerce .wc-block-components-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; border-radius: 0; border: 2px solid var(--navy);
  background: var(--navy); color: var(--white);
  font-family: var(--font-body); font-size: var(--body); font-weight: 500; line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.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 {
  background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white);
}
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce button.button.disabled {
  background: var(--navy); color: var(--white); opacity: 0.45; padding: 12px 26px;
}
.woocommerce a.button.loading::after, .woocommerce button.button.loading::after { top: 50%; margin-top: -8px; right: 8px; }
.woocommerce a.button.added::after { margin-left: 8px; }

/* ── Pagination ── */
.woocommerce nav.woocommerce-pagination { margin-top: 8px; }
.woocommerce nav.woocommerce-pagination { text-align: left; }
.woocommerce nav.woocommerce-pagination ul { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; white-space: normal; }
/* WooCommerce's clearfix ::before/::after on the list become empty flex items, and the gap
   after the first one pushed the first row 8px right of the rows below it on phones. */
.woocommerce nav.woocommerce-pagination ul.page-numbers::before, .woocommerce nav.woocommerce-pagination ul.page-numbers::after { content: none; display: none; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; overflow: visible; float: none; margin: 0; padding: 0; display: block; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  display: grid; place-items: center; min-width: 50px; height: 50px; padding: 0 14px;
  border: 1px solid var(--navy); background: var(--white); color: var(--navy); font-weight: 600; font-size: 16px;
}
.woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--navy); color: var(--white); }

/* ── Notices ── */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  background: var(--white); color: var(--ink); border-top: 3px solid var(--navy); border-radius: 0;
  padding: 18px 24px 18px 56px; margin: 0 0 28px; line-height: 1.5;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--navy); top: 18px; left: 22px; }
.woocommerce-error { border-top-color: #b42318; }
.woocommerce-error::before { color: #b42318; top: 18px; left: 22px; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { padding: 8px 18px; margin-left: 16px; }

/* Block themes get WooCommerce's banner-style notices */
.wc-block-components-notice-banner {
  border: 0; border-top: 3px solid var(--navy); border-radius: 0; background: var(--white); color: var(--ink);
  padding: 16px 20px; margin: 0 0 20px; font-size: var(--body); align-items: center;
}
.wc-block-components-notice-banner.is-error { border-top-color: #b42318; background: var(--white); }
.wc-block-components-notice-banner.is-success { border-top-color: var(--navy); background: var(--white); }
.wc-block-components-notice-banner > svg { background-color: var(--navy); border-radius: 0; }
.wc-block-components-notice-banner.is-error > svg { background-color: #b42318; }
.wc-block-components-notice-banner a, .wc-block-components-notice-banner .wc-forward { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.wc-block-components-notice-banner .button.wc-forward { background: transparent; border: 0; padding: 0; color: var(--navy); font-weight: 600; }

/* Terms shown inline at checkout (the terms page's own content) */
.woocommerce-terms-and-conditions { background: var(--white); border: 1px solid var(--line); padding: 20px 24px; max-height: 280px; overflow: auto; margin-bottom: 16px; font-size: 14px; }
.woocommerce-terms-and-conditions section > .sf-inner { padding: 0 !important; max-width: none !important; }
.woocommerce-terms-and-conditions h1 { font-size: var(--h5); margin-bottom: 12px; }
.woocommerce-terms-and-conditions h2, .woocommerce-terms-and-conditions h3 { font-size: 17px; margin: 16px 0 6px; }
.woocommerce-terms-and-conditions .sf-prose { max-width: none; }

/* ── Single product ── */
.woocommerce div.product { position: relative; }
.woocommerce div.product div.images { margin-bottom: clamp(32px, 4vw, 64px); }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { background: var(--white); }
.woocommerce div.product div.images img { background: var(--white); }
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; background: var(--white); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { border-radius: 0; background: var(--white); top: 12px; right: 12px; }
.woocommerce div.product .product_title { font-size: var(--h2); margin-bottom: 16px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: var(--h4); line-height: 1.2; }
.woocommerce div.product p.price { margin-bottom: 20px; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--gray); font-weight: 400; font-size: 0.7em; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 24px; }
.woocommerce div.product .woocommerce-product-details__short-description p + p { margin-top: 12px; }
.woocommerce div.product .stock { color: var(--navy); font-weight: 600; margin-bottom: 16px; }
.woocommerce div.product .out-of-stock { color: #b42318; }
.woocommerce div.product form.cart { margin: 8px 0 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; }
.woocommerce .quantity .qty { width: 84px; height: 100%; min-height: 51px; padding: 0 10px; border: 1px solid var(--wc-form-border-color); border-radius: 0; background: var(--white); font: inherit; color: var(--ink); text-align: center; }
.woocommerce div.product form.cart .variations { margin-bottom: 20px; border: 0; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { padding: 0 0 12px; text-align: left; vertical-align: middle; line-height: 1.4; }
.woocommerce div.product form.cart .variations th.label { padding-right: 20px; }
.woocommerce div.product form.cart .variations label { font-weight: 600; color: var(--ink); }
.woocommerce div.product form.cart .variations select { min-width: 220px; height: 51px; padding: 0 36px 0 14px; border: 1px solid var(--wc-form-border-color); border-radius: 0; background-color: var(--white); font: inherit; color: var(--ink); margin: 0; }
.woocommerce div.product form.cart .reset_variations { margin-left: 12px; font-size: 14px; color: var(--navy); text-decoration: underline; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 16px; }
.woocommerce div.product .product_meta { padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; display: grid; gap: 6px; }
.woocommerce div.product .product_meta a { color: var(--navy); font-weight: 600; }

.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 8px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 -1px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; border-radius: 0; background: transparent; margin: 0; padding: 0; float: none; }
.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 { display: block; padding: 12px 22px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--gray); background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--white); color: var(--navy); }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--white); padding: clamp(24px, 2.5vw, 40px); margin: 0 0 clamp(40px, 4vw, 72px); }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: var(--h5); margin-bottom: 16px; }
.woocommerce div.product .woocommerce-tabs .panel p + p { margin-top: 12px; }
.woocommerce table.shop_attributes { border: 0; margin: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 16px 12px 0; background: transparent !important; font-style: normal; text-align: left; }
.woocommerce table.shop_attributes th { width: 220px; font-weight: 600; color: var(--ink); }
.woocommerce table.shop_attributes td p { padding: 0; }
.woocommerce .related.products, .woocommerce .upsells.products { clear: both; }
.woocommerce .related.products > h2, .woocommerce .upsells.products > h2, .woocommerce .cross-sells > h2 { font-size: var(--h3); margin-bottom: clamp(24px, 2.5vw, 40px); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--navy); }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-radius: 0; border-color: var(--line); }

/* ── Forms (checkout, account, coupon) ── */
.woocommerce form .form-row { padding: 0; margin: 0 0 18px; }
.woocommerce form .form-row label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--gray); line-height: 1.4; }
.woocommerce form .form-row .required { color: #b42318; text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text, .woocommerce .coupon input.input-text, .woocommerce #reviews #comment {
  width: 100%; min-height: 51px; padding: 12px 16px; border: 1px solid var(--wc-form-border-color); border-radius: 0;
  background: var(--white); font: inherit; color: var(--ink); line-height: 1.4; box-sizing: border-box;
}
.woocommerce form .form-row textarea { min-height: 120px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { outline: 0; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: #b42318; }
.woocommerce form .form-row .checkbox, .woocommerce form .form-row label.checkbox { display: flex; gap: 10px; align-items: flex-start; }
.woocommerce form .form-row .input-checkbox { margin: 4px 0 0; }
.woocommerce .select2-container--default .select2-selection--single { height: 51px; border: 1px solid var(--wc-form-border-color); border-radius: 0; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 49px; padding-left: 16px; color: var(--ink); }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow { height: 49px; right: 8px; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce form.lost_reset_password {
  border: 0; border-radius: 0; background: var(--white); padding: clamp(24px, 2.5vw, 40px); margin: 0 0 28px;
}
.woocommerce form.login .form-row, .woocommerce form.register .form-row { max-width: 520px; }
.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme { display: inline-flex; gap: 8px; align-items: center; margin: 0 16px 0 0; }
.woocommerce h2, .woocommerce-page .bp-shop__body h2 { font-size: var(--h4); margin-bottom: 20px; }
.woocommerce h3, .woocommerce-page .bp-shop__body h3 { font-size: var(--h5); margin-bottom: 16px; }

/* ── Tables (cart, order review, orders) ── */
.woocommerce table.shop_table { border: 0; border-radius: 0; background: var(--white); border-collapse: collapse; margin: 0 0 28px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px 20px; border-top: 1px solid var(--line); line-height: 1.4; }
.woocommerce table.shop_table thead th { border-top: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); background: var(--white); }
.woocommerce table.shop_table tfoot th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tbody th { border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.woocommerce table.shop_table td.product-name a { color: var(--ink); font-weight: 600; }
.woocommerce table.shop_table td.product-name a:hover { color: var(--navy); text-decoration: underline; }
.woocommerce table.cart img, .woocommerce-cart table.cart img { width: 72px; background: var(--white); }
.woocommerce a.remove { color: var(--navy) !important; border-radius: 0; font-weight: 400; }
.woocommerce a.remove:hover { background: var(--navy); color: var(--white) !important; }
.woocommerce table.cart td.actions { padding: 20px; }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px; min-height: 0; height: 51px; margin: 0; float: none; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { background: var(--white); padding: clamp(20px, 2vw, 32px); }
.woocommerce .cart-collaterals .cart_totals table.shop_table { margin-bottom: 20px; }
.woocommerce .cart-collaterals .cart_totals th, .woocommerce .cart-collaterals .cart_totals td { padding-left: 0; padding-right: 0; }
.woocommerce .wc-proceed-to-checkout { padding: 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; margin: 0; padding: 14px 26px; font-size: var(--body); }
.woocommerce ul#shipping_method { margin: 0; padding: 0; }
.woocommerce ul#shipping_method li { margin: 0 0 6px; padding: 0; text-indent: 0; }
.woocommerce .shipping-calculator-button { color: var(--navy); text-decoration: underline; }
.woocommerce .cart-empty.woocommerce-info { margin-bottom: 24px; }

/* ── Checkout ── */
.woocommerce-checkout .bp-shop__body form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.woocommerce-checkout .bp-shop__body form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; background: var(--white); padding: clamp(20px, 2.5vw, 40px); float: none; width: auto; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: auto; }
.woocommerce-checkout #customer_details .col-2 { margin-top: 28px; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0 0 -8px; }
.woocommerce-checkout #order_review { grid-column: 2; float: none; width: auto; }
.woocommerce-checkout #payment { background: var(--white); border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 20px; }
.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.5; margin: 0 0 10px; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 600; color: var(--ink); display: inline; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 28px; display: inline-block; vertical-align: middle; margin-left: 8px; }
.woocommerce-checkout #payment div.payment_box { background: var(--bg); color: var(--gray); border-radius: 0; margin: 10px 0 6px; padding: 14px 16px; font-size: 15px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bg); }
.woocommerce-checkout #payment div.form-row { padding: 20px; margin: 0; }
.woocommerce-checkout #payment #place_order { width: 100%; padding: 14px 26px; float: none; margin-top: 12px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 14px; margin-bottom: 8px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a, .woocommerce-privacy-policy-text a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle, .woocommerce-checkout .woocommerce-form-login-toggle { grid-column: 1 / -1; }
.woocommerce .woocommerce-order > p, .woocommerce .woocommerce-thankyou-order-received { margin-bottom: 20px; }
.woocommerce ul.order_details { background: var(--white); padding: 24px; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; }
.woocommerce ul.order_details::before, .woocommerce ul.order_details::after { display: none; }
.woocommerce ul.order_details li { float: none; margin: 0; padding: 0 32px 0 0; border-right: 1px solid var(--line); font-size: 12px; }
.woocommerce ul.order_details li:last-child { border-right: 0; }
.woocommerce ul.order_details li strong { color: var(--ink); font-size: 17px; }
.woocommerce .woocommerce-customer-details address { border: 0; border-radius: 0; background: var(--white); padding: 24px; font-style: normal; }
.woocommerce .woocommerce-order-details, .woocommerce .woocommerce-customer-details { margin-bottom: 32px; }
.woocommerce-order-pay #payway-authorize-form, .bp-shop--checkout #payway-authorize-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
#payway-authorize-form .button-alt { padding: 12px 26px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); font: inherit; font-weight: 500; cursor: pointer; }

/* ── My account ── */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 24%; }
.woocommerce-account .woocommerce-MyAccount-content { width: 72%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { background: var(--white); padding: 8px 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 24px; font-weight: 600; color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--bg); color: var(--navy); }
.woocommerce-account .woocommerce-MyAccount-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-account .woocommerce-MyAccount-content a.button { text-decoration: none; color: var(--white); }
.woocommerce-account .woocommerce-MyAccount-content p + p { margin-top: 12px; }
/* Addresses: the "Uredi / Dodaj" link sits left, under its heading (WooCommerce floats it
   to the far right of the column, away from what it edits). */
.woocommerce-account .addresses .title h2, .woocommerce-account .addresses .title h3 { float: none; margin-bottom: 8px; }
.woocommerce-account .addresses .title .edit { float: none; display: inline-block; margin-bottom: 16px; }
.woocommerce-account .woocommerce-Address address { font-style: normal; }

/* ── Plugin-rendered classic pages (price list at /cjenik/) ── */
.bp-classic .entry-content > * + * { margin-top: 1.1em; }
.bp-classic .entry-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.bp-classic .entry-content { max-width: 1040px; }
.bp-classic table.shop_table { width: 100%; background: var(--white); border-collapse: collapse; }
.bp-classic table.shop_table th, .bp-classic table.shop_table td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--line); }
.bp-classic table.shop_table thead th { border-top: 0; font-family: var(--font-display); color: var(--ink); }
/* Export file names have no break points: without this the table is wider than a phone
   and the page's overflow clip cuts the links off. */
.bp-classic table.shop_table td { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .bp-classic table.shop_table th, .bp-classic table.shop_table td { padding: 12px 10px; font-size: 14px; }
  /* Price list: the Format column repeats the file extension — drop it to give the name room. */
  .bp-classic table.bs-cjenik-table th:nth-child(3), .bp-classic table.bs-cjenik-table td:nth-child(3) { display: none; }
}

/* ── Anchor price lines (sidrena cijena plugin) ── */
.sc-sidrena, .sc-omnibus { color: var(--gray); font-family: var(--font-body); }

/* ── Responsive ── */
@media (max-width: 1400px) {
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 1100px) {
  .woocommerce-checkout .bp-shop__body form.checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100%; float: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 24px; }
}
@media (max-width: 900px) {
  .woocommerce ul.products, .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"], .woocommerce-page ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product { width: auto; margin: 0; float: none; }
}
@media (max-width: 720px) {
  .woocommerce ul.products, .woocommerce-page ul.products { gap: 16px; }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { padding: 16px 16px 20px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; }
  /* Two narrow columns: the button spans the card so "Dodaj u košaricu" stays on one line. */
  .woocommerce ul.products li.product .button { width: 100%; padding: 10px 8px; font-size: 14px; white-space: normal; text-align: center; align-self: stretch; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.5em; }
  .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; }
  .woocommerce .woocommerce-ordering select { width: 100%; }
  .woocommerce table.cart td.actions .coupon { flex-direction: column; }
  /* WooCommerce's small-screen sheets set 48–50% + float on both (the input by its id). */
  body.woocommerce-cart table.cart td.actions .coupon .input-text,
  body.woocommerce-cart .woocommerce-cart-form #coupon_code,
  body.woocommerce-cart table.cart td.actions .coupon .button { width: 100%; float: none; margin: 0; }
  .woocommerce table.shop_attributes th { width: 40%; }
  .woocommerce-message .button, .woocommerce-info .button { margin: 10px 0 0; }
}

/* Catalogue grid beside the filter column: 3 across (2 on small laptops). Below 1100px the
   column is gone and the general rules above apply again. */
@media (min-width: 1101px) {
  .woocommerce .bp-catalog__main ul.products[class*="columns-"], .woocommerce-page .bp-catalog__main ul.products[class*="columns-"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .woocommerce .bp-catalog__main ul.products[class*="columns-"], .woocommerce-page .bp-catalog__main ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-catalog { grid-template-columns: 240px minmax(0, 1fr); }
}
