/*
Theme Name: DEOS Commerce
Theme URI: https://www.deos-cz.cz/
Author: DEOS
Description: Vlastní responzivní WooCommerce šablona v bílo-červeno-černém industriálním stylu pro prodej nerezových grilovacích roštů a příslušenství.
Version: 1.7.3
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: deos-commerce
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, translation-ready, wide-blocks
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --deos-red: #d71920;
  --deos-red-dark: #a80f15;
  --deos-black: #090a0b;
  --deos-charcoal: #17191b;
  --deos-steel: #697079;
  --deos-line: #e5e7ea;
  --deos-soft: #f5f6f7;
  --deos-white: #ffffff;
  --deos-success: #198754;
  --deos-radius: 8px;
  --deos-shadow: 0 12px 35px rgba(0, 0, 0, .08);
  --deos-blue-soft: #f1f5f8;
  --deos-card-shadow: 0 1px 2px rgba(19, 32, 44, .08), 0 10px 26px rgba(19, 32, 44, .08), 0 24px 52px rgba(37, 57, 75, .06);
  --deos-card-shadow-hover: 0 2px 4px rgba(19, 32, 44, .09), 0 18px 36px rgba(19, 32, 44, .13), 0 30px 64px rgba(37, 57, 75, .09);
  --deos-width: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--deos-black);
  background: var(--deos-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--deos-red); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, .button, .wp-element-button, input[type="button"], input[type="submit"] { cursor: pointer; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.deos-container { width: min(calc(100% - 36px), var(--deos-width)); margin-inline: auto; }
.deos-section { padding: 58px 0; }
.deos-section--soft { background: var(--deos-soft); }
.deos-section-title {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 24px;
}
.deos-section-title h2 { margin: 0; font-size: clamp(1.55rem, 2vw, 2.2rem); line-height: 1.12; }
.deos-eyebrow { color: var(--deos-red); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.deos-link-arrow { color: var(--deos-red); font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .04em; }
.deos-button,
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px; border: 1px solid var(--deos-red); border-radius: 10px;
  background: var(--deos-red); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .035em;
  line-height: 1.2; text-align: center; vertical-align: middle; white-space: normal;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 4px rgba(168,15,21,.18), 0 8px 18px rgba(168,15,21,.13);
}
.deos-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { background: var(--deos-red-dark); color: #fff; border-color: var(--deos-red-dark); transform: translateY(-2px); box-shadow: 0 3px 6px rgba(168,15,21,.2), 0 12px 24px rgba(168,15,21,.16); }
.deos-button--outline { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.deos-button--outline:hover { background: #fff; border-color: #fff; color: var(--deos-black); }
.deos-button--light { background: #fff; border-color: #c8ccd0; color: var(--deos-black); }
.deos-button--light:hover { background: var(--deos-black); border-color: var(--deos-black); color: #fff; }

/* Utility and header */
.deos-utility { position: relative; z-index: 30; overflow: visible; background: var(--deos-black); color: #fff; font-size: .78rem; }
.deos-utility__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.deos-utility__group { display: flex; align-items: center; gap: 24px; }
.deos-utility__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.deos-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--deos-red); box-shadow: 0 0 0 4px rgba(215,25,32,.18); }
.deos-language-switcher { position: relative; }
.deos-language-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 5px;
  color: #fff;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.deos-language-switcher summary::-webkit-details-marker { display: none; }
.deos-language-switcher summary:hover,
.deos-language-switcher summary:focus-visible,
.deos-language-switcher[open] summary { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.09); outline: 0; }
.deos-language-switcher__flag { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; font-size: 1rem; line-height: 1; }
.deos-language-switcher__flag img { display: block; width: 24px; height: 16px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.deos-language-switcher__code { letter-spacing: .04em; }
.deos-language-switcher__chevron { width: 7px; height: 7px; margin: -3px 1px 0 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.deos-language-switcher[open] .deos-language-switcher__chevron { margin-top: 3px; transform: rotate(225deg); }
.deos-language-switcher__menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 7px);
  right: 0;
  width: max-content;
  min-width: 178px;
  padding: 7px;
  margin: 0;
  border: 1px solid var(--deos-line);
  border-radius: 7px;
  background: #fff;
  color: var(--deos-black);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  list-style: none;
}
.deos-language-switcher__menu::before { content: ""; position: absolute; top: -5px; right: 18px; width: 9px; height: 9px; border-top: 1px solid var(--deos-line); border-left: 1px solid var(--deos-line); background: #fff; transform: rotate(45deg); }
.deos-language-switcher__menu li { margin: 0; }
.deos-language-switcher__menu a,
.deos-language-switcher__menu .is-unavailable { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; min-height: 39px; padding: 6px 9px; border-radius: 4px; white-space: nowrap; }
.deos-language-switcher__menu a:hover,
.deos-language-switcher__menu a[aria-current="page"] { background: var(--deos-soft); color: var(--deos-red); }
.deos-language-switcher__menu small { color: var(--deos-steel); font-size: .67rem; font-weight: 800; }
.deos-language-switcher__menu .is-unavailable { opacity: .42; cursor: not-allowed; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--deos-line); }
.site-header.is-sticky { position: sticky; top: 0; box-shadow: 0 8px 25px rgba(0,0,0,.08); }
.site-header__inner { min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.site-branding, .custom-logo-link { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-start; width: auto; max-width: 165px; min-width: 165px; }
.site-branding__logo { display: block; width: auto !important; height: auto !important; max-width: 165px !important; max-height: 60px !important; object-fit: contain; }
.site-branding__symbol { width: 50px; height: 50px; object-fit: contain; }
.site-branding__word { font-size: 2rem; font-weight: 900; letter-spacing: .13em; line-height: 1; }
.site-header .custom-logo-link img.custom-logo,
.site-header img.custom-logo { display: block; width: auto !important; height: auto !important; max-width: 165px !important; max-height: 60px !important; object-fit: contain !important; }
.primary-navigation ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; list-style: none; padding: 0; margin: 0; }
.primary-navigation a { position: relative; display: block; padding: 29px 0 25px; font-weight: 760; font-size: .9rem; }
.primary-navigation a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--deos-red); transition: .2s ease; }
.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.deos-product-search { display: flex; width: min(310px, 28vw); }
.deos-product-search input[type="search"] { width: 100%; min-height: 44px; border: 1px solid #d8dade; border-right: 0; border-radius: 4px 0 0 4px; padding: 0 14px; background: #fff; }
.deos-product-search button { display: inline-grid; place-items: center; width: 48px; min-height: 44px; padding: 0; border: 0; border-radius: 0 4px 4px 0; background: var(--deos-red); color: #fff; font-weight: 900; line-height: 1; }
.deos-cart { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--deos-line); border-radius: 4px; }
.deos-cart__count { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--deos-red); color: #fff; font-size: .7rem; font-weight: 800; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--deos-line); background: #fff; border-radius: 4px; }

/* Hero */
.deos-hero { position: relative; overflow: hidden; min-height: 560px; isolation: isolate; color: #fff; background: #090a0b; }
.deos-hero::after { display: none; }
.deos-hero__visual { position: absolute; inset: 0; overflow: hidden; background: #080909; }
.deos-hero__visual::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(8,9,9,.62) 0%, rgba(8,9,9,.38) 25%, rgba(8,9,9,.12) 48%, rgba(8,9,9,0) 68%), linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.16)); pointer-events: none; }
.deos-hero__visual-main { position: absolute; z-index: 0; inset: 0; min-width: 0; overflow: hidden; border: 0; border-radius: 0; background: #080909; box-shadow: none; padding: 0; transform: none; }
.deos-hero__visual-main picture { display: block; width: 100%; height: 100%; }
.deos-hero__visual-main img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: contrast(1.04) saturate(.96); }
.deos-hero__inner { position: relative; z-index: 2; min-height: 560px; display: flex; align-items: center; }
.deos-hero__content { width: min(620px, 49%); padding: 68px 0; }
.deos-hero h1 { max-width: 620px; margin: 0 0 18px; font-size: clamp(2.75rem, 4.15vw, 4.65rem); line-height: .98; text-transform: uppercase; letter-spacing: -.04em; text-wrap: balance; }
.deos-hero h1 span { display: block; color: var(--deos-red); }
.deos-hero__subtitle { max-width: 570px; margin: 0 0 25px; color: rgba(255,255,255,.76); font-size: 1rem; }
.deos-hero__features { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 28px 0 30px; }
.deos-feature-mini { display: flex; gap: 10px; align-items: center; }
.deos-feature-mini__icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--deos-red); }
.deos-feature-mini strong { display: block; font-size: .82rem; }
.deos-feature-mini small { display: block; color: rgba(255,255,255,.62); font-size: .72rem; }
.deos-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Categories */
.deos-category-strip { background: #fff; border-bottom: 1px solid var(--deos-line); }
.deos-category-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.deos-category-card { display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 18px 20px; border-right: 1px solid var(--deos-line); transition: .2s ease; }
.deos-category-card:first-child { border-left: 1px solid var(--deos-line); }
.deos-category-card:hover { background: #fafafa; transform: translateY(-2px); }
.deos-category-card__icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--deos-red); }
.deos-category-card__icon svg { width: 42px; height: 42px; }
.deos-category-card__media { flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; padding: 4px; border: 1px solid var(--deos-line); border-radius: 7px; background: #fff; }
.deos-category-card__image { display: block; width: 100%; height: 100%; object-fit: contain; }
.deos-category-card strong { display: block; line-height: 1.2; }
.deos-category-card small { display: block; margin-top: 4px; color: var(--deos-steel); font-size: .78rem; }

/* Products */
.deos-products-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.deos-product-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--deos-line); border-radius: var(--deos-radius); background: #fff; overflow: hidden; transition: .2s ease; }
.deos-product-card:hover { transform: translateY(-4px); box-shadow: var(--deos-shadow); border-color: #d0d3d6; }
.deos-product-card__media { position: relative; aspect-ratio: 1.22 / 1; display: grid; place-items: center; padding: 16px; background: linear-gradient(145deg, #fff, #f0f1f2); }
.deos-product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.deos-product-card__badge { position: absolute; top: 11px; left: 11px; z-index: 2; padding: 5px 8px; border-radius: 3px; background: var(--deos-red); color: #fff; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.deos-product-card__content { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.deos-product-card h3 { margin: 0 0 6px; font-size: .96rem; line-height: 1.3; }
.deos-product-card__meta { color: var(--deos-steel); font-size: .78rem; min-height: 39px; }
.deos-product-card__rating { min-height: 22px; margin-top: 8px; color: var(--deos-red); }
.deos-product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 13px; }
.deos-product-card__price { font-size: 1.18rem; font-weight: 900; }
.deos-product-card__cart { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(215,25,32,.45); border-radius: 4px; color: var(--deos-red); }
.deos-product-card__cart:hover { background: var(--deos-red); color: #fff; }
.deos-product-card .star-rating { margin: 0; color: var(--deos-red); font-size: .82em; }
.deos-product-card .star-rating::before { color: #d8dadd; }
.deos-demo-image { width: 88%; height: 70%; display: grid; place-items: center; color: #737981; }
.deos-demo-image svg { width: 100%; height: 100%; }

/* Trust strip */
.deos-trust-strip { background: var(--deos-black); color: #fff; }
.deos-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.deos-trust-item { min-height: 84px; display: flex; align-items: center; gap: 15px; padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.17); }
.deos-trust-item:last-child { border-right: 0; }
.deos-trust-item svg { flex: 0 0 38px; width: 38px; height: 38px; color: var(--deos-red); }
.deos-trust-item strong { display: block; font-size: .83rem; text-transform: uppercase; }
.deos-trust-item small { display: block; color: rgba(255,255,255,.64); font-size: .75rem; }

/* Reviews + finder */
.deos-review-finder { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.deos-reviews { display: grid; grid-template-columns: .8fr 1fr 1fr; min-height: 260px; border: 1px solid var(--deos-line); border-radius: var(--deos-radius); overflow: hidden; }
.deos-review-summary { padding: 28px; background: var(--deos-black); color: #fff; }
.deos-review-summary h3 { margin-top: 0; }
.deos-review-summary__stars { color: #2bb673; font-size: 1.2rem; letter-spacing: .08em; }
.deos-review { padding: 26px; border-left: 1px solid var(--deos-line); }
.deos-review__stars { color: var(--deos-red); letter-spacing: .07em; }
.deos-review p { color: #3d4145; font-size: .9rem; }
.deos-review strong { display: block; margin-top: 22px; }
.deos-review small { color: var(--deos-steel); }
.deos-finder { position: relative; overflow: hidden; min-height: 260px; padding: 36px; border-radius: var(--deos-radius); color: #fff; background: var(--deos-black); display: flex; align-items: center; }
.deos-finder::before { content: ""; position: absolute; inset: 0; background-image: var(--deos-finder-image); background-size: cover; background-position: center; opacity: .42; }
.deos-finder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.2)); }
.deos-finder__content { position: relative; z-index: 2; max-width: 400px; }
.deos-finder h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 2.4vw, 2.8rem); line-height: 1.02; text-transform: uppercase; }
.deos-finder h2 span { color: var(--deos-red); }
.deos-finder p { color: rgba(255,255,255,.74); }

/* Footer */
.site-footer { margin-top: 0; background: linear-gradient(135deg, #090a0b 0%, #17191b 100%); color: #fff; }
.deos-footer-trust { background: #fff; color: var(--deos-black); border-top: 1px solid var(--deos-line); }
.deos-footer-trust__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.deos-footer-trust__item { min-height: 98px; padding: 22px; display: flex; align-items: center; gap: 13px; }
.deos-footer-trust__item svg { width: 40px; height: 40px; color: var(--deos-red); }
.deos-footer-trust__item strong { display:block; font-size:.82rem; text-transform:uppercase; }
.deos-footer-trust__item small { display:block; color:var(--deos-steel); font-size:.74rem; }
.site-footer__main { padding: 52px 0 38px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 44px; }
.site-footer h3, .site-footer h4 { margin-top: 0; }
.site-footer h4 { position: relative; padding-bottom: 13px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--deos-red); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.site-footer__identity { display: flex; align-items: flex-start; }
.site-footer__brand { display: flex; align-items: center; min-height: 112px; }
.site-footer__brand img { display: block; width: min(180px, 100%); height: auto; max-width: 180px; max-height: none; object-fit: contain; background: transparent; border-radius: 0; filter: invert(1) contrast(1.08); mix-blend-mode: screen; opacity: .96; }
.site-footer__brand strong { font-size: 1.65rem; letter-spacing: .12em; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; color: rgba(255,255,255,.55); font-size: .8rem; }
.site-footer__bottom a { color: rgba(255,255,255,.86); font-weight: 700; }
.site-footer__bottom a:hover { color: #fff; }

/* Generic content */
.deos-page-shell { padding: 48px 0 76px; }
.deos-content { max-width: 900px; }
.entry-title, .woocommerce-products-header__title { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; margin: 0 0 24px; }
.entry-content > * { max-width: 900px; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }

/* WooCommerce archive/single/cart */
.deos-woocommerce-shell { padding: 44px 0 80px; }
.woocommerce .woocommerce-breadcrumb { color: var(--deos-steel); font-size: .82rem; margin-bottom: 22px; }
.woocommerce .woocommerce-result-count { color: var(--deos-steel); }
.woocommerce .woocommerce-ordering select { min-height: 42px; border: 1px solid var(--deos-line); border-radius: 4px; padding: 0 12px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin: 30px 0 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 0 18px; border: 1px solid var(--deos-line); border-radius: var(--deos-radius); overflow: hidden; background: #fff; transition: .2s ease; }
.woocommerce ul.products li.product:hover { box-shadow: var(--deos-shadow); transform: translateY(-3px); }
.woocommerce ul.products li.product a img { aspect-ratio: 1.15/1; object-fit: contain; padding: 18px; margin: 0; background: linear-gradient(145deg,#fff,#f2f3f4); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating { margin-left: 16px; margin-right: 16px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; color: var(--deos-black); }
.woocommerce ul.products li.product .price { color: var(--deos-black); font-size: 1.05rem; font-weight: 900; }
.woocommerce ul.products li.product .button { margin: 12px 16px 0; min-height: 42px; padding: 0 15px; font-size: .76rem; }
.woocommerce span.onsale { min-width: auto; min-height: auto; line-height: 1; border-radius: 3px; padding: 7px 9px; background: var(--deos-red); }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: 48px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.03; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--deos-red); font-size: 1.6rem; font-weight: 900; }
.woocommerce div.product form.cart .button { min-height: 52px; }
.woocommerce .quantity .qty { min-height: 52px; border: 1px solid var(--deos-line); }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 4px 4px 0 0; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--deos-red); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--deos-red); }
.woocommerce table.shop_table { border-radius: var(--deos-radius); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--deos-soft); padding: 24px; border-radius: var(--deos-radius); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single { min-height: 46px; border: 1px solid #d8dade; border-radius: 4px; padding: 10px 12px; }

/* Responsive */
@media (max-width: 1180px) {
  .site-header__inner { grid-template-columns: auto auto 1fr; }
  .primary-navigation { position: absolute; left: 0; right: 0; top: 100%; display: none; background: #fff; border-top: 1px solid var(--deos-line); box-shadow: var(--deos-shadow); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: block; padding: 14px 24px 22px; }
  .primary-navigation a { padding: 12px 0; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .header-actions { justify-self: end; }
  .deos-product-search { width: min(330px, 38vw); }
  .deos-category-grid { grid-template-columns: repeat(3, 1fr); }
  .deos-category-card:nth-child(n+4) { border-top: 1px solid var(--deos-line); }
  .deos-products-grid { grid-template-columns: repeat(3, 1fr); }
  .deos-products-grid .deos-product-card:nth-child(n+4) { display: none; }
  .deos-review-finder { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2,1fr); }
  .deos-hero__visual { left: 0; }
  .deos-hero__content { width: min(570px, 52%); }
  .deos-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
}
@media (max-width: 820px) {
  .deos-utility__group:first-child .deos-utility__item:nth-child(n+2) { display: none; }
  .site-header__inner { min-height: 70px; gap: 12px; }
  .site-branding, .custom-logo-link { min-width: 0; max-width: 126px; }
  .site-branding__logo,
  .site-header .custom-logo-link img.custom-logo,
  .site-header img.custom-logo { width: auto !important; height: auto !important; max-width: 126px !important; max-height: 50px !important; }
  .site-branding__symbol { width: 42px; height: 42px; }
  .site-branding__word { font-size: 1.5rem; }
  .deos-product-search { display: none; }
  .deos-hero { display: grid; min-height: 0; }
  .deos-hero::after { display: none; }
  .deos-hero__inner { grid-row: 1; min-height: 0; }
  .deos-hero__content { width: 100%; padding: 48px 0 38px; }
  .deos-hero__visual { position: relative; inset: auto; grid-row: 2; height: clamp(290px, 72vw, 390px); }
  .deos-hero__visual::after { display: none; }
  .deos-hero__visual-main img { object-position: center; }
  .deos-category-grid { grid-template-columns: repeat(2, 1fr); }
  .deos-category-card { border-top: 1px solid var(--deos-line); }
  .deos-products-grid { grid-template-columns: repeat(2, 1fr); }
  .deos-products-grid .deos-product-card:nth-child(4) { display: flex; }
  .deos-trust-grid { grid-template-columns: repeat(2,1fr); }
  .deos-trust-item:nth-child(2) { border-right:0; }
  .deos-trust-item:nth-child(n+3) { border-top:1px solid rgba(255,255,255,.17); }
  .deos-reviews { grid-template-columns: 1fr; }
  .deos-review { border-left:0; border-top:1px solid var(--deos-line); }
  .deos-footer-trust__grid { grid-template-columns: repeat(2,1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
  .woocommerce div.product { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .deos-container { width: min(calc(100% - 24px), var(--deos-width)); }
  .deos-utility__inner { justify-content: space-between; gap: 10px; }
  .deos-utility__group { gap: 10px; }
  .deos-utility__group:last-child { display: flex; }
  .deos-currency { display: none; }
  .deos-language-switcher__code { display: none; }
  .deos-language-switcher summary { min-width: 38px; justify-content: center; padding-inline: 6px; }
  .deos-language-switcher__chevron { margin-left: 0; }
  .site-branding__word { display: none; }
  .site-branding, .custom-logo-link { max-width: 108px; }
  .site-branding__logo,
  .site-header .custom-logo-link img.custom-logo,
  .site-header img.custom-logo { width: auto !important; height: auto !important; max-width: 108px !important; max-height: 44px !important; }
  .header-actions { gap: 7px; }
  .deos-cart, .menu-toggle { width: 40px; height:40px; }
  .deos-hero h1 { font-size: 2.45rem; }
  .deos-hero__visual-main img { object-position: center; }
  .deos-hero__visual-detail:nth-child(3) { left: 2%; width: 32%; }
  .deos-hero__features { display: grid; }
  .deos-hero__buttons .deos-button { width: 100%; }
  .deos-category-grid, .deos-products-grid, .deos-trust-grid, .deos-footer-trust__grid, .site-footer__grid { grid-template-columns: 1fr; }
  .deos-products-grid .deos-product-card:nth-child(n+4) { display: none; }
  .deos-trust-item { border-right:0; border-top:1px solid rgba(255,255,255,.17); }
  .deos-section-title { align-items: start; flex-direction: column; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
}

/* =========================================================
   DEOS Commerce 1.2 – UX, accessibility and catalogue polish
   ========================================================= */

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(215, 25, 32, .34);
  outline-offset: 3px;
}
.skip-link:focus {
  position: fixed !important;
  z-index: 99999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 11px 16px;
  border-radius: 4px;
  background: #fff;
  color: var(--deos-black);
  box-shadow: var(--deos-shadow);
}
svg { pointer-events: none; }

/* Header controls and dropdowns */
.site-header.is-sticky { animation: deos-header-in .18s ease-out; }
@keyframes deos-header-in { from { transform: translateY(-8px); opacity: .92; } }
.primary-navigation .menu-item-has-children { position: relative; }
.primary-navigation .sub-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% - 1px);
  left: -20px;
  display: block;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--deos-line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: var(--deos-shadow);
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.primary-navigation .sub-menu a { padding: 10px 12px; border-radius: 4px; font-weight: 650; }
.primary-navigation .sub-menu a::after { display: none; }
.primary-navigation .sub-menu a:hover { background: var(--deos-soft); }
.primary-navigation .menu-item-has-children:hover > .sub-menu,
.primary-navigation .menu-item-has-children:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.header-search-desktop { display: block; }
.deos-account,
.search-toggle,
.menu-toggle,
.deos-cart {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--deos-line);
  border-radius: 6px;
  background: #fff;
  color: var(--deos-black);
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.deos-account,
.search-toggle { display: inline-grid; place-items: center; }
.search-toggle { display: none; padding: 0; }
.deos-account:hover,
.search-toggle:hover,
.menu-toggle:hover,
.deos-cart:hover { border-color: rgba(215,25,32,.45); color: var(--deos-red); background: #fff; transform: translateY(-1px); }
.deos-account svg,
.search-toggle svg,
.menu-toggle svg,
.deos-cart svg { width: 22px; height: 22px; }
.header-search-panel {
  border-top: 1px solid var(--deos-line);
  background: #fff;
  box-shadow: 0 14px 24px rgba(0,0,0,.06);
}
.header-search-panel[hidden] { display: none; }
.header-search-panel .deos-container { padding-block: 12px; }
.header-search-panel .deos-product-search { width: 100%; }
.deos-product-search input[type="search"]:focus { border-color: var(--deos-red); box-shadow: 0 0 0 3px rgba(215,25,32,.1); outline: 0; }

/* Hero refinements */
.deos-hero__content { position: relative; }
.deos-hero__subtitle { line-height: 1.7; }
.deos-feature-mini__icon svg { width: 21px; height: 21px; }

/* Category cards */
.deos-category-card { position: relative; }
.deos-category-card__arrow { margin-left: auto; color: var(--deos-red); opacity: 0; transform: translateX(-5px); transition: .18s ease; }
.deos-category-card:hover .deos-category-card__arrow,
.deos-category-card:focus-visible .deos-category-card__arrow { opacity: 1; transform: translateX(0); }

/* Product cards – no crop, consistent height, real catalogue states */
.deos-products-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}
.deos-product-card { isolation: isolate; }
.deos-product-card__media {
  aspect-ratio: 4 / 3;
  min-height: 190px;
  padding: clamp(14px, 1.5vw, 24px);
  background: radial-gradient(circle at 50% 35%, #fff 0, #fff 35%, #f1f3f4 100%);
}
.deos-product-card__media img,
.deos-product-card__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 235px;
  object-fit: contain !important;
  object-position: center;
  transition: transform .24s ease;
}
.deos-product-card:hover .deos-product-card__media img { transform: scale(1.025); }
.deos-product-card__badges { position: absolute; z-index: 2; top: 11px; left: 11px; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 22px); }
.deos-product-card__badges .deos-product-card__badge { position: static; }
.deos-product-card__badge--sale { background: var(--deos-black); }
.deos-product-card__badge--muted { background: #737981; }
.deos-product-card__content { padding: 17px; }
.deos-product-card h3 { min-height: 2.6em; font-size: .98rem; }
.deos-product-card h3 a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.deos-product-card__meta { display: -webkit-box; overflow: hidden; min-height: 3.1em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.deos-product-card__rating:empty { display: none; }
.deos-product-card__price { line-height: 1.15; }
.deos-product-card__price del { display: block; color: var(--deos-steel); font-size: .72em; font-weight: 600; }
.deos-product-card__price ins { text-decoration: none; }
.deos-product-card__cart { flex: 0 0 auto; border-radius: 6px; }
.deos-product-card__cart svg { width: 21px; height: 21px; }
.deos-product-card__cart.loading { opacity: .55; pointer-events: none; }
.deos-product-card__cart.added::after { margin: 0; font-size: .75rem; }
.deos-product-card--demo { opacity: .9; }

/* Review section */
.deos-review-summary .deos-eyebrow { color: #ff7378; }
.deos-review-summary h3 { margin: 10px 0 14px; line-height: 1.15; }
.deos-review-summary p { color: rgba(255,255,255,.72); }
.deos-review h4 { margin: 12px 0 4px; }
.deos-review__icon { width: 42px; height: 42px; color: var(--deos-red); }
.deos-review__icon svg { width: 100%; height: 100%; }
.deos-review--placeholder { display: flex; flex-direction: column; justify-content: center; }

/* Generic WordPress content */
.deos-content { width: min(100%, 900px); }
.deos-content + .deos-content { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--deos-line); }
.entry-content { color: #303438; }
.entry-content a:not(.wp-element-button):not(.button) { color: var(--deos-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.entry-content img { border-radius: var(--deos-radius); }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 0 10px; border: 1px solid var(--deos-line); border-radius: 4px; }
.page-numbers.current { border-color: var(--deos-red); background: var(--deos-red); color: #fff; }

/* WooCommerce catalogue */
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--deos-red); }
.woocommerce .woocommerce-ordering select:focus { border-color: var(--deos-red); outline: 3px solid rgba(215,25,32,.1); }
.woocommerce ul.products { align-items: stretch; }
.woocommerce ul.products li.product { display: flex; flex-direction: column; min-width: 0; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex: 1; flex-direction: column; }
.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain !important;
  object-position: center;
  padding: clamp(16px, 2vw, 26px);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.6em; line-height: 1.3; }
.woocommerce ul.products li.product .star-rating { margin-top: 8px; }
.woocommerce ul.products li.product .price { margin-top: auto; padding-top: 10px; }
.woocommerce ul.products li.product .button { align-self: center; width: calc(100% - 32px); min-height: 46px; margin: 14px 16px 0; justify-content: center; text-align: center; }
.woocommerce ul.products li.product .added_to_cart { display: block; width: calc(100% - 32px); margin: 8px 16px 0; color: var(--deos-red); font-size: .78rem; font-weight: 800; text-align: center; }
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 { margin-bottom: 24px; font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.08; }
.woocommerce span.onsale { top: 10px; left: 10px; z-index: 3; margin: 0; }
.woocommerce nav.woocommerce-pagination ul { display: flex; gap: 7px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--deos-line); border-radius: 4px; }
.woocommerce nav.woocommerce-pagination ul li span.current { border-color: var(--deos-red); background: var(--deos-red); color: #fff; }

/* WooCommerce product detail */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport { overflow: hidden; max-height: 560px; border: 1px solid var(--deos-line); background: var(--deos-soft); border-radius: var(--deos-radius); }
.woocommerce div.product div.images .woocommerce-product-gallery__image { overflow: hidden; max-height: 560px; background: var(--deos-soft); }
.woocommerce div.product div.images .woocommerce-product-gallery__image a { display: grid; place-items: center; width: 100%; max-height: 560px; aspect-ratio: 4 / 3; padding: clamp(14px, 2vw, 28px); }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { display: block; width: 100% !important; height: 100% !important; max-width: 100%; max-height: 504px !important; object-fit: contain !important; object-position: center; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; border: 1px solid var(--deos-line); border-radius: 5px; overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; padding: 5px; background: #fff; }
.woocommerce div.product .summary { align-self: start; position: static; min-width: 0; }
.woocommerce div.product .woocommerce-tabs { position: relative; z-index: 3; background: var(--deos-white); scroll-margin-top: 120px; }
@media (min-width: 961px) {
  .woocommerce div.product .summary.deos-summary--sticky {
    position: sticky;
    z-index: 2;
    top: var(--deos-summary-sticky-top, 105px);
  }
}
.woocommerce div.product .stock.in-stock { color: var(--deos-success); font-weight: 800; }
.woocommerce div.product .stock.out-of-stock { color: var(--deos-red); font-weight: 800; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; }
.woocommerce div.product form.cart .variations { width: 100%; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #3e4348; }
.woocommerce div.product .product_meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--deos-line); color: var(--deos-steel); font-size: .84rem; }
.woocommerce div.product .woocommerce-tabs .panel { padding: 26px 0; }

/* Cart, checkout and account */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { border-radius: 4px; background: #fff; box-shadow: 0 7px 24px rgba(0,0,0,.05); }
.woocommerce-error { border-top-color: var(--deos-red); }
.woocommerce-error::before { color: var(--deos-red); }
.woocommerce table.shop_table { overflow: hidden; background: #fff; }
.woocommerce table.shop_table th { background: var(--deos-soft); }
.woocommerce-cart table.cart img { width: 84px; aspect-ratio: 1; object-fit: contain; }
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review { border: 1px solid var(--deos-line); }
.woocommerce-checkout #customer_details { margin-bottom: 32px; }
.woocommerce form .form-row label { font-weight: 700; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single { border-color: var(--deos-red); box-shadow: 0 0 0 3px rgba(215,25,32,.1); outline: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border: 1px solid var(--deos-line); border-radius: var(--deos-radius); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li + li { border-top: 1px solid var(--deos-line); }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--deos-red); color: #fff; }

@media (max-width: 1180px) {
  .header-search-desktop { display: none; }
  .search-toggle { display: inline-grid; }
  .primary-navigation .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .primary-navigation .sub-menu a { padding: 9px 0; color: var(--deos-steel); }
  .deos-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .deos-products-grid .deos-product-card:nth-child(n) { display: flex !important; }
}

@media (max-width: 960px) {
  .deos-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .woocommerce div.product .summary { position: static; }
}

@media (max-width: 820px) {
  .site-header { position: sticky; top: 0; }
  .site-header__inner { grid-template-columns: auto 1fr; }
  .primary-navigation { max-height: calc(100vh - 70px); overflow-y: auto; }
  .header-actions { grid-column: 2; }
  .deos-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deos-product-card__media { min-height: 170px; }
  .deos-reviews { grid-template-columns: 1fr 1fr; }
  .deos-review-summary { grid-column: 1 / -1; }
  .woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(5,1fr); }
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
  .woocommerce div.product div.images .flex-viewport,
  .woocommerce div.product div.images .woocommerce-product-gallery__image,
  .woocommerce div.product div.images .woocommerce-product-gallery__image a { max-height: 430px; }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img { max-height: 390px !important; }
}

@media (max-width: 620px) {
  .deos-products-grid { gap: 12px; }
  .deos-product-card__content { padding: 14px; }
  .deos-product-card__media { min-height: 150px; padding: 12px; }
  .deos-product-card h3 { font-size: .9rem; }
  .deos-product-card__meta { min-height: 2.9em; font-size: .72rem; }
  .deos-product-card__price { font-size: 1rem; }
  .deos-product-card__cart { width: 38px; height: 38px; }
  .deos-reviews { grid-template-columns: 1fr; }
  .deos-review-summary { grid-column: auto; }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering { float: none; width: 100%; }
  .woocommerce .woocommerce-ordering select { width: 100%; }
  .woocommerce table.shop_table_responsive tr td::before { font-weight: 800; }
}

@media (max-width: 430px) {
  .deos-products-grid { grid-template-columns: 1fr; }
  .deos-product-card__media { min-height: 210px; }
  .deos-product-card h3 { min-height: auto; }
  .deos-product-card__meta { min-height: auto; }
  .woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(4,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.deos-menu-open { overflow: hidden; }
.deos-product-search button svg { width: 20px; height: 20px; }

/* =========================================================
   DEOS Commerce 1.3.7 – approved visual variant 2
   ========================================================= */

.deos-button--outline { box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.deos-button--light { box-shadow: 0 2px 5px rgba(19,32,44,.09), 0 9px 20px rgba(19,32,44,.08); }

.deos-featured-section {
  padding-block: clamp(62px, 6vw, 84px);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.94) 0, rgba(255,255,255,0) 34%),
    linear-gradient(180deg, #f7f9fb 0%, var(--deos-blue-soft) 100%);
}
.deos-featured-products {
  position: relative;
  padding: clamp(25px, 3vw, 42px);
  border: 1px solid rgba(112, 137, 158, .18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(244,248,251,.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 18px 50px rgba(36, 57, 75, .07);
}
.deos-featured-products .deos-section-title { align-items: center; margin-bottom: 28px; }
.deos-section-title__actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.deos-carousel-nav { display: flex; align-items: center; gap: 9px; }
.deos-carousel-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(105,112,121,.22);
  border-radius: 50%;
  background: #fff;
  color: var(--deos-black);
  box-shadow: 0 2px 5px rgba(19,32,44,.09), 0 10px 24px rgba(19,32,44,.11);
  transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.deos-carousel-button[hidden] { display: none; }
.deos-carousel-button svg { width: 21px; height: 21px; }
.deos-carousel-button--prev svg { transform: rotate(180deg); }
.deos-carousel-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--deos-red);
  background: var(--deos-red);
  color: #fff;
  box-shadow: 0 3px 7px rgba(168,15,21,.2), 0 13px 28px rgba(168,15,21,.18);
}
.deos-carousel-button:disabled { cursor: default; opacity: .38; box-shadow: 0 1px 3px rgba(19,32,44,.06); }

.deos-product-carousel { min-width: 0; }
.deos-featured-products .deos-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.deos-product-carousel.is-enhanced .deos-products-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 7px 30px;
  margin: -10px -7px -30px;
  scroll-padding-inline: 7px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.deos-product-carousel.is-enhanced .deos-products-grid::-webkit-scrollbar { display: none; }
.deos-product-carousel.is-enhanced .deos-product-card { flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start; }

.deos-featured-products .deos-product-card,
.woocommerce ul.products li.product {
  border-color: rgba(117, 136, 151, .19);
  border-radius: 14px;
  box-shadow: var(--deos-card-shadow);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.deos-featured-products .deos-product-card:hover,
.deos-featured-products .deos-product-card:focus-within,
.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within {
  transform: translateY(-4px);
  border-color: rgba(102, 124, 142, .3);
  box-shadow: var(--deos-card-shadow-hover);
}
.deos-featured-products .deos-product-card__media {
  isolation: isolate;
  overflow: hidden;
  background: #fff;
}
.deos-featured-products .deos-product-card__media::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 17%;
  bottom: 9%;
  left: 17%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(20,30,39,.28) 0, rgba(20,30,39,.12) 42%, rgba(20,30,39,0) 72%);
  filter: blur(8px);
  opacity: .72;
  transform: scaleX(.92);
  transition: opacity .24s ease, transform .24s ease;
}
.deos-featured-products .deos-product-card__media img,
.deos-featured-products .deos-product-card__image,
.deos-featured-products .deos-demo-image {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 11px 10px rgba(24,34,43,.17)) drop-shadow(0 3px 3px rgba(24,34,43,.12));
}
.deos-featured-products .deos-product-card:hover .deos-product-card__media::after,
.deos-featured-products .deos-product-card:focus-within .deos-product-card__media::after { opacity: .9; transform: scaleX(1.04); }
.deos-featured-products .deos-product-card:hover .deos-product-card__media img,
.deos-featured-products .deos-product-card:focus-within .deos-product-card__media img { transform: translateY(-2px) scale(1.025); }
.deos-featured-products .deos-product-card__content { padding: 20px; }
.deos-featured-products .deos-product-card__bottom { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 16px; }
.deos-featured-products .deos-product-card__price { text-align: center; }
.deos-product-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 46px;
  padding: 0 16px;
  margin-inline: auto;
  border-radius: 10px;
  background: #fff;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .035em;
  box-shadow: 0 2px 4px rgba(19,32,44,.07), 0 8px 18px rgba(19,32,44,.07);
  transition: transform .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.deos-product-card__cart:hover {
  transform: translateY(-2px);
  background: var(--deos-red);
  color: #fff;
  box-shadow: 0 3px 6px rgba(168,15,21,.18), 0 12px 24px rgba(168,15,21,.15);
}
.deos-product-card__cart-icon { display: inline-grid; flex: 0 0 auto; place-items: center; }
.deos-product-card__bottom .added_to_cart { color: var(--deos-red); font-size: .75rem; font-weight: 800; text-align: center; }

.woocommerce ul.products li.product { overflow: hidden; }
.woocommerce ul.products li.product a img {
  background: #fff !important;
  filter: drop-shadow(0 9px 9px rgba(24,34,43,.12));
  transition: transform .24s ease, filter .24s ease;
}
.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:focus-within a img { transform: translateY(-2px) scale(1.018); filter: drop-shadow(0 12px 11px rgba(24,34,43,.18)); }
.woocommerce ul.products li.product .button { border-radius: 10px; box-shadow: 0 2px 4px rgba(168,15,21,.16), 0 8px 18px rgba(168,15,21,.11); }

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport {
  border-color: rgba(117,136,151,.22);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(19,32,44,.06), 0 14px 34px rgba(19,32,44,.09), 0 28px 58px rgba(37,57,75,.06);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image { background: #fff; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { filter: drop-shadow(0 14px 13px rgba(24,34,43,.17)); }
.woocommerce div.product div.images .flex-control-thumbs li { border-radius: 8px; box-shadow: 0 3px 10px rgba(19,32,44,.07); }
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery .flex-direction-nav { position: static; padding: 0; margin: 0; list-style: none; }
.woocommerce-product-gallery .flex-direction-nav a {
  position: absolute;
  z-index: 5;
  top: min(255px, 45%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: visible;
  margin: -24px 0 0;
  border: 1px solid rgba(105,112,121,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--deos-black);
  font-size: 0;
  line-height: 1;
  text-indent: 0;
  opacity: .94;
  box-shadow: 0 2px 5px rgba(19,32,44,.09), 0 10px 24px rgba(19,32,44,.12);
  transition: transform .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.woocommerce-product-gallery .flex-direction-nav a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.woocommerce-product-gallery .flex-nav-prev a { left: 14px; }
.woocommerce-product-gallery .flex-nav-next a { right: 14px; }
.woocommerce-product-gallery .flex-nav-prev a::before { margin-left: 4px; transform: rotate(-135deg); }
.woocommerce-product-gallery .flex-nav-next a::before { margin-right: 4px; transform: rotate(45deg); }
.woocommerce-product-gallery .flex-direction-nav a:hover,
.woocommerce-product-gallery .flex-direction-nav a:focus-visible { transform: translateY(-2px); background: var(--deos-red); color: #fff; box-shadow: 0 3px 7px rgba(168,15,21,.2), 0 13px 28px rgba(168,15,21,.18); }

@media (max-width: 1180px) {
  .deos-featured-products .deos-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .deos-product-carousel.is-enhanced .deos-products-grid { gap: 20px; }
  .deos-product-carousel.is-enhanced .deos-product-card { flex-basis: calc((100% - 40px) / 3); }
}

@media (max-width: 820px) {
  .deos-featured-products { padding: 24px; border-radius: 16px; }
  .deos-featured-products .deos-section-title { align-items: flex-start; }
  .deos-section-title__actions { width: 100%; justify-content: space-between; }
  .deos-featured-products .deos-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .deos-product-carousel.is-enhanced .deos-products-grid { gap: 16px; }
  .deos-product-carousel.is-enhanced .deos-product-card { flex-basis: calc((100% - 16px) / 2); }
  .woocommerce-product-gallery .flex-direction-nav a { width: 44px; height: 44px; margin-top: -22px; }
}

@media (max-width: 560px) {
  .deos-featured-section { padding-block: 46px; }
  .deos-featured-products { padding: 20px 16px 18px; }
  .deos-section-title__actions { align-items: flex-end; gap: 12px; }
  .deos-featured-products .deos-link-arrow { max-width: 170px; line-height: 1.35; }
  .deos-carousel-button { width: 44px; height: 44px; }
  .deos-featured-products .deos-products-grid { grid-template-columns: 1fr; }
  .deos-product-carousel.is-enhanced .deos-product-card { flex-basis: 100%; }
  .deos-featured-products .deos-product-card__content { padding: 18px; }
}


/* ========================================================================
   DEOS Commerce 1.3.9 – header, centered cart buttons and quantity stepper
   ======================================================================== */

/* Keep the desktop header on one clean horizontal line. */
@media (min-width: 1181px) {
  .site-header .deos-container { width: min(calc(100% - 32px), 1440px); }
  .site-header__inner {
    min-height: 86px;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: clamp(14px, 1.5vw, 24px);
  }
  .site-branding,
  .custom-logo-link {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
  }
  .site-header .custom-logo-link img.custom-logo,
  .site-header img.custom-logo,
  .site-branding__logo {
    max-width: 145px !important;
  }
  .primary-navigation { min-width: 0; }
  .primary-navigation ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(16px, 1.55vw, 26px);
  }
  .primary-navigation li { flex: 0 0 auto; }
  .primary-navigation a {
    padding: 31px 0 27px;
    font-size: clamp(.78rem, .78vw, .88rem);
    white-space: nowrap;
  }
  .header-actions {
    flex: 0 0 auto;
    gap: 10px;
  }
  .deos-product-search { width: clamp(250px, 21vw, 310px); }
}

/* WooCommerce card buttons: true horizontal + vertical centering everywhere,
   including related / upsell product grids. */
.woocommerce ul.products li.product .button,
.woocommerce .related.products ul.products li.product .button,
.woocommerce .upsells.products ul.products li.product .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(100% - 32px) !important;
  min-height: 46px;
  margin: 14px auto 0 !important;
  padding: 0 18px !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

/* Single-product quantity stepper. JS adds the +/- controls without replacing
   WooCommerce templates, so plugin updates remain safe. */
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper {
  display: inline-grid;
  grid-template-columns: 44px minmax(58px, 70px) 44px;
  align-items: stretch;
  min-height: 52px;
  margin: 0;
  border: 1px solid var(--deos-line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .qty {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 0 6px;
  border: 0;
  border-left: 1px solid var(--deos-line);
  border-right: 1px solid var(--deos-line);
  border-radius: 0;
  background: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 50px;
  appearance: textfield;
  -moz-appearance: textfield;
}
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .qty::-webkit-outer-spin-button,
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.deos-qty-step {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--deos-black);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease;
}
.deos-qty-step:hover,
.deos-qty-step:focus-visible {
  background: var(--deos-soft);
  color: var(--deos-red);
  outline: none;
}
.deos-qty-step:disabled { opacity: .38; cursor: not-allowed; }
.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px;
  line-height: 1.15 !important;
  text-align: center !important;
}

@media (max-width: 520px) {
  .single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper {
    grid-template-columns: 42px minmax(54px, 66px) 42px;
  }
  .deos-qty-step { width: 42px; }
}

/* ========================================================================
   DEOS Commerce 1.4.0 – horizontal quantity control, red add-to-cart,
   viewport-bottom footer
   ======================================================================== */

/* Keep the complete footer area at the bottom of short pages instead of
   immediately after a small amount of content. */
html,
body { min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.deos-footer-trust {
  margin-top: auto;
}
.site-footer {
  flex: 0 0 auto;
}

/* Product detail: quantity must always read left-to-right as − 1 + and sit
   next to the add-to-cart button. Strong selectors intentionally beat
   WooCommerce / block-theme defaults. */
.single-product .woocommerce div.product form.cart,
.single-product .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch !important;
  gap: 12px !important;
}
.single-product .woocommerce div.product form.cart .variations,
.single-product .woocommerce div.product form.cart .single_variation_wrap,
.single-product .woocommerce div.product form.cart .woocommerce-variation {
  flex: 0 0 100%;
}
.single-product .woocommerce div.product form.cart:has(.variations),
.single-product .woocommerce div.product form.cart .single_variation_wrap {
  flex-wrap: wrap !important;
}
.single-product .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  width: 100%;
}
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: stretch !important;
  width: auto !important;
  min-width: 158px !important;
  min-height: 52px !important;
  margin: 0 !important;
  float: none !important;
  border: 1px solid var(--deos-line) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .deos-qty-step {
  position: static !important;
  display: inline-flex !important;
  flex: 0 0 44px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--deos-black) !important;
  box-shadow: none !important;
  line-height: 1 !important;
}
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .qty {
  position: static !important;
  display: block !important;
  flex: 0 0 68px !important;
  order: 0;
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 6px !important;
  float: none !important;
  border: 0 !important;
  border-left: 1px solid var(--deos-line) !important;
  border-right: 1px solid var(--deos-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  text-align: center !important;
  line-height: 52px !important;
}
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .deos-qty-step--minus { order: -1; }
.single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .deos-qty-step--plus { order: 1; }

/* Force the main single-product CTA to the DEOS red palette, even when
   WooCommerce or a global style injects its own purple button background. */
.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
.single-product .woocommerce div.product form.cart button.single_add_to_cart_button,
.single-product .woocommerce div.product form.cart .button.single_add_to_cart_button {
  flex: 0 1 auto;
  min-height: 52px !important;
  margin: 0 !important;
  border: 1px solid var(--deos-red) !important;
  background: var(--deos-red) !important;
  background-color: var(--deos-red) !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(168,15,21,.18), 0 8px 18px rgba(168,15,21,.13) !important;
}
.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover,
.single-product .woocommerce div.product form.cart .single_add_to_cart_button:focus-visible {
  border-color: var(--deos-red-dark) !important;
  background: var(--deos-red-dark) !important;
  background-color: var(--deos-red-dark) !important;
  color: #fff !important;
}

@media (max-width: 520px) {
  .single-product .woocommerce div.product form.cart,
  .single-product .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    gap: 10px !important;
  }
  .single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper {
    min-width: 146px !important;
  }
  .single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .deos-qty-step {
    flex-basis: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
  }
  .single-product .woocommerce div.product form.cart .quantity.deos-quantity-stepper .qty {
    flex-basis: 64px !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
  }
}



/* ========================================================================
   DEOS Commerce 1.4.1 – cleaner product gallery + richer product tabs
   ======================================================================== */

/* The product photo now behaves like one clean gallery canvas instead of a
   smaller floating picture on top of another coloured panel. */
.single-product .woocommerce div.product div.images {
  margin-bottom: 30px;
}
.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.single-product .woocommerce div.product div.images .flex-viewport {
  max-height: none !important;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(117,136,151,.22) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(19,32,44,.05), 0 12px 30px rgba(19,32,44,.08) !important;
}
.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: none !important;
  background: #fff !important;
}
.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: none !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  background: #fff;
}
.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
  filter: none !important;
  transform: scale(1.02);
  transition: transform .35s ease;
}
.single-product .woocommerce div.product div.images:hover .woocommerce-product-gallery__image img {
  transform: scale(1.045);
}
.single-product .woocommerce div.product div.images .flex-control-thumbs {
  margin-top: 12px;
}
.single-product .woocommerce div.product div.images .flex-control-thumbs li {
  background: #fff;
}
.single-product .woocommerce div.product div.images .flex-control-thumbs img {
  padding: 4px !important;
  filter: none !important;
}

/* Tabs are a proper information block and may wrap cleanly when there are more
   sections (Description, Parameters, Shipping, Reviews, etc.). */
.single-product .woocommerce div.product .woocommerce-tabs {
  clear: both;
  margin-top: 46px;
  border: 1px solid var(--deos-line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(19,32,44,.055);
}
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 !important;
  padding: 0 18px !important;
  border-bottom: 1px solid var(--deos-line);
  background: #f7f8fa;
}
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  position: relative;
  display: flex !important;
  align-items: center;
  min-height: 58px;
  padding: 0 16px !important;
  color: #343a40 !important;
  font-weight: 800 !important;
  white-space: nowrap;
}
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
}
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--deos-red) !important;
}
.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
  background: var(--deos-red);
}
.single-product .woocommerce div.product .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: clamp(24px, 3vw, 40px) !important;
}
.single-product .woocommerce div.product .woocommerce-tabs .panel > h2:first-child,
.single-product .woocommerce div.product .woocommerce-tabs .deos-product-tab-copy > h2:first-child {
  margin-top: 0;
}
.single-product .woocommerce div.product .woocommerce-tabs .panel p:last-child {
  margin-bottom: 0;
}
.single-product .woocommerce div.product .woocommerce-tabs .deos-product-tab-copy {
  max-width: 900px;
}

@media (max-width: 700px) {
  .single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce div.product div.images .flex-viewport {
    aspect-ratio: 1 / 1;
  }
  .single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 8px !important;
  }
  .single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    min-height: 50px;
    padding: 0 10px !important;
    font-size: .88rem;
  }
}


/* ========================================================================
   DEOS Commerce 1.4.2 – bulletproof product cart row + exact product tabs
   ======================================================================== */

/* Force the quantity stepper into ONE horizontal row. These selectors are
   intentionally independent of WooCommerce wrapper markup so they also work
   when a plugin/theme changes the product summary structure. */
body.single-product form.cart,
body.single-product form.cart .woocommerce-variation-add-to-cart {
  align-items: center !important;
}

body.single-product form.cart > .quantity.deos-quantity-stepper,
body.single-product form.cart .woocommerce-variation-add-to-cart > .quantity.deos-quantity-stepper,
body.single-product form.cart .quantity.deos-quantity-stepper {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  vertical-align: middle !important;
  width: 158px !important;
  min-width: 158px !important;
  max-width: 158px !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 1px solid var(--deos-line) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.single-product form.cart .quantity.deos-quantity-stepper > .deos-qty-step,
body.single-product form.cart .quantity.deos-quantity-stepper > input.qty {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  float: none !important;
}

body.single-product form.cart .quantity.deos-quantity-stepper > .deos-qty-step {
  display: inline-flex !important;
  flex: 0 0 44px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  background-image: none !important;
  color: #090a0b !important;
  box-shadow: none !important;
  font-size: 21px !important;
  line-height: 1 !important;
}

body.single-product form.cart .quantity.deos-quantity-stepper > .deos-qty-step--minus { order: 1 !important; }
body.single-product form.cart .quantity.deos-quantity-stepper > input.qty {
  order: 2 !important;
  display: block !important;
  flex: 0 0 68px !important;
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 6px !important;
  border: 0 !important;
  border-left: 1px solid var(--deos-line) !important;
  border-right: 1px solid var(--deos-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  text-align: center !important;
  line-height: 50px !important;
  box-shadow: none !important;
}
body.single-product form.cart .quantity.deos-quantity-stepper > .deos-qty-step--plus { order: 3 !important; }

/* Main product CTA: always DEOS red in all button states. */
body.single-product form.cart button.single_add_to_cart_button,
body.single-product form.cart .single_add_to_cart_button.button,
body.single-product form.cart .button.alt.single_add_to_cart_button,
body.single-product .summary form.cart button[type="submit"].single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 28px !important;
  border: 1px solid #d71920 !important;
  border-radius: 10px !important;
  background: #d71920 !important;
  background-color: #d71920 !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 2px 4px rgba(168,15,21,.18), 0 8px 18px rgba(168,15,21,.13) !important;
  opacity: 1 !important;
}
body.single-product form.cart button.single_add_to_cart_button:hover,
body.single-product form.cart button.single_add_to_cart_button:focus,
body.single-product form.cart button.single_add_to_cart_button:focus-visible,
body.single-product form.cart button.single_add_to_cart_button:active,
body.single-product form.cart .single_add_to_cart_button.button:hover,
body.single-product form.cart .single_add_to_cart_button.button:focus,
body.single-product form.cart .single_add_to_cart_button.button:active {
  border-color: #a80f15 !important;
  background: #a80f15 !important;
  background-color: #a80f15 !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Keep quantity and CTA next to each other on normal screens. */
body.single-product form.cart:not(.variations_form),
body.single-product form.cart .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}

@media (max-width: 480px) {
  body.single-product form.cart:not(.variations_form),
  body.single-product form.cart .woocommerce-variation-add-to-cart {
    flex-wrap: wrap !important;
  }
  body.single-product form.cart button.single_add_to_cart_button,
  body.single-product form.cart .single_add_to_cart_button.button {
    flex: 1 1 180px !important;
  }
}

/* FAQ accordions inside the product tab. */
.single-product .woocommerce-tabs .deos-product-faq details {
  border-top: 1px solid var(--deos-line);
  padding: 16px 0;
}
.single-product .woocommerce-tabs .deos-product-faq details:last-child {
  border-bottom: 1px solid var(--deos-line);
}
.single-product .woocommerce-tabs .deos-product-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--deos-black);
}
.single-product .woocommerce-tabs .deos-product-faq details p {
  margin: 10px 0 0;
}

/* ========================================================================
   DEOS Commerce 1.4.3 – product gallery without outer frame/card
   ======================================================================== */
body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce div.product div.images .flex-viewport {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce div.product div.images .flex-viewport {
  aspect-ratio: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image,
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image a {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image a {
  min-height: 470px;
  padding: 18px 34px !important;
}

body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 520px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: none !important;
}

/* Keep gallery controls floating over the picture, not attached to a card. */
body.single-product .woocommerce-product-gallery .flex-direction-nav a {
  top: 50% !important;
}

@media (max-width: 820px) {
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image a {
    min-height: 360px;
    padding: 12px 22px !important;
  }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img {
    max-height: 390px !important;
  }
}

@media (max-width: 560px) {
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image a {
    min-height: 280px;
    padding: 8px 14px !important;
  }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image img {
    max-height: 320px !important;
  }
}

/* ========================================================================
   DEOS Commerce 1.4.5 – unframed gallery, centered arrows, technical drawing
   ======================================================================== */
body.single-product div.product div.images.woocommerce-product-gallery,
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product div.images,
body.single-product div.product div.images .flex-viewport,
body.single-product div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product div.product div.images .woocommerce-product-gallery__image,
body.single-product div.product div.images .woocommerce-product-gallery__image > a {
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-product div.product div.images.woocommerce-product-gallery,
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product div.images {
  padding: 0 !important;
}

body.single-product div.product div.images .flex-viewport,
body.single-product div.product div.images .woocommerce-product-gallery__wrapper,
body.single-product div.product div.images .woocommerce-product-gallery__image > a {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product div.product div.images .woocommerce-product-gallery__image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 560px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  object-fit: contain !important;
}

/* Center the chevron exactly inside its circular gallery button. */
body.single-product .woocommerce-product-gallery .flex-direction-nav a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  text-align: center !important;
}
body.single-product .woocommerce-product-gallery .flex-direction-nav a::before {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  transform-origin: center !important;
}
body.single-product .woocommerce-product-gallery .flex-nav-prev a::before {
  transform: translate(-35%, -50%) rotate(-135deg) !important;
}
body.single-product .woocommerce-product-gallery .flex-nav-next a::before {
  transform: translate(-65%, -50%) rotate(45deg) !important;
}

.single-product .woocommerce-tabs .deos-technical-drawing__link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.single-product .woocommerce-tabs .deos-technical-drawing__image {
  display: block;
  width: auto;
  max-width: min(100%, 980px);
  height: auto;
  max-height: 720px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}
.single-product .woocommerce-tabs .deos-technical-drawing__hint {
  margin-top: 10px;
  color: var(--deos-muted);
  font-size: .92rem;
}
.single-product .woocommerce-tabs .deos-pdf-button,
.single-product .woocommerce-tabs a.deos-pdf-button.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px;
  padding: 0 22px !important;
  border: 1px solid var(--deos-red) !important;
  border-radius: 9px !important;
  background: var(--deos-red) !important;
  background-image: none !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.single-product .woocommerce-tabs .deos-pdf-button:hover,
.single-product .woocommerce-tabs .deos-pdf-button:focus-visible {
  background: #a80f15 !important;
  border-color: #a80f15 !important;
  color: #fff !important;
}


/* =========================================================
   DEOS Commerce 1.4.6 – compact desktop navigation
   ========================================================= */
@media (min-width: 1181px) {
  .site-header__inner {
    grid-template-columns: 165px minmax(0, 1fr) auto;
    gap: 22px;
  }
  .primary-navigation { min-width: 0; }
  .primary-navigation ul {
    flex-wrap: nowrap;
    gap: clamp(18px, 1.55vw, 28px);
    white-space: nowrap;
  }
  .primary-navigation a {
    font-size: .88rem;
    letter-spacing: -.01em;
  }
}


/* =========================================================
   DEOS Commerce 1.4.8 – real tablet + mobile layout
   ========================================================= */

/* Tablet / compact desktop header */
@media (max-width: 1180px) {
  .site-header { position: relative; }
  .site-header__inner {
    grid-template-columns: minmax(110px, 150px) 1fr;
    min-height: 72px;
    gap: 16px;
  }
  .site-branding,
  .custom-logo-link {
    min-width: 0 !important;
    max-width: 150px !important;
  }
  .header-actions {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .header-search-desktop { display: none !important; }
  .search-toggle { display: inline-grid !important; place-items: center; }
  .menu-toggle { display: inline-grid !important; place-items: center; }

  .primary-navigation {
    position: absolute !important;
    z-index: 100;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    display: none !important;
    border-top: 1px solid var(--deos-line);
    background: #fff;
    box-shadow: 0 18px 34px rgba(0,0,0,.12);
  }
  .primary-navigation.is-open { display: block !important; }
  .primary-navigation ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: min(calc(100% - 32px), var(--deos-width));
    margin: 0 auto !important;
    padding: 10px 0 16px !important;
  }
  .primary-navigation li { width: 100%; }
  .primary-navigation a {
    width: 100%;
    padding: 14px 4px !important;
    border-bottom: 1px solid var(--deos-line);
    font-size: .98rem !important;
  }
  .primary-navigation a::after { display: none !important; }
  .primary-navigation .sub-menu {
    position: static !important;
    display: block !important;
    width: 100% !important;
    padding: 0 0 6px 16px !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .header-search-panel {
    position: absolute;
    z-index: 110;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--deos-line);
    background: #fff;
    box-shadow: 0 14px 26px rgba(0,0,0,.10);
  }
  .header-search-panel .deos-product-search {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* WooCommerce catalogue */
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px; }
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
    gap: 30px;
  }
  .woocommerce div.product .product_title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
  .woocommerce div.product .woocommerce-tabs { overflow: hidden; }
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 4px;
    padding-bottom: 2px;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
    margin: 0 !important;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a { white-space: nowrap; }

  .site-footer__grid { gap: 28px; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .deos-utility__inner { min-height: 34px; }
  .deos-utility__group:first-child .deos-utility__item:nth-child(n+2) { display: none !important; }

  .deos-hero__content { width: 100% !important; max-width: 620px; }
  .deos-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .deos-products-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }

  .woocommerce div.product { grid-template-columns: 1fr !important; gap: 24px; }
  body.single-product div.product div.images,
  body.single-product div.product div.summary { width: 100% !important; }
  body.single-product div.product div.images .woocommerce-product-gallery__image img {
    max-height: 500px !important;
  }

  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-checkout #order_review { padding: 18px; }
  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2,
  .woocommerce-account .col2-set .col-1,
  .woocommerce-account .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
  }
}

/* Phones */
@media (max-width: 600px) {
  html, body { overflow-x: hidden; }
  .deos-container { width: min(calc(100% - 24px), var(--deos-width)) !important; }

  .deos-utility { font-size: .70rem; }
  .deos-utility__group:first-child .deos-utility__item { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; }
  .deos-utility__group:last-child { margin-left: auto; }

  .site-header__inner {
    grid-template-columns: minmax(82px, 108px) 1fr;
    min-height: 62px;
    gap: 8px;
  }
  .site-branding,
  .custom-logo-link { max-width: 108px !important; }
  .site-header .custom-logo-link img.custom-logo,
  .site-header img.custom-logo,
  .site-branding__logo { max-width: 108px !important; max-height: 42px !important; }
  .header-actions { gap: 5px !important; }
  .header-actions > a,
  .header-actions > button,
  .deos-cart,
  .menu-toggle,
  .search-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .primary-navigation { max-height: calc(100vh - 62px); }
  .primary-navigation ul { width: calc(100% - 24px); }
  .primary-navigation a { padding: 13px 2px !important; font-size: .95rem !important; }

  .deos-hero__content { padding: 34px 0 28px !important; }
  .deos-hero h1 { font-size: clamp(2rem, 11vw, 2.65rem) !important; }
  .deos-hero__subtitle { font-size: .95rem; }
  .deos-hero__buttons { display: grid !important; grid-template-columns: 1fr; }
  .deos-hero__buttons .deos-button { width: 100%; }
  .deos-hero__features { display: grid !important; grid-template-columns: 1fr; gap: 12px; }

  .deos-category-grid,
  .deos-products-grid,
  .deos-trust-grid,
  .deos-footer-trust__grid,
  .site-footer__grid { grid-template-columns: 1fr !important; }

  .woocommerce ul.products { grid-template-columns: 1fr !important; gap: 14px; }
  .woocommerce ul.products li.product { border-radius: 8px; }
  .woocommerce ul.products li.product a img { aspect-ratio: 1.15 / 1; padding: 12px; }

  .deos-woocommerce-shell { padding: 24px 0 50px; }
  .woocommerce div.product .product_title { font-size: 1.85rem !important; }
  .woocommerce div.product p.price,
  .woocommerce div.product span.price { font-size: 1.35rem; }

  body.single-product div.product div.images .woocommerce-product-gallery__image img { max-height: 380px !important; }
  body.single-product .woocommerce-product-gallery .flex-direction-nav a {
    width: 38px !important;
    height: 38px !important;
    margin-top: -19px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-nav-prev a { left: 4px !important; }
  body.single-product .woocommerce-product-gallery .flex-nav-next a { right: 4px !important; }

  body.single-product form.cart:not(.variations_form),
  body.single-product form.cart .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100%;
  }
  body.single-product form.cart .quantity { width: auto !important; margin: 0 !important; }
  body.single-product form.cart button.single_add_to_cart_button,
  body.single-product form.cart .single_add_to_cart_button.button {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs { margin: 22px 0 0 !important; }
  .woocommerce div.product .woocommerce-tabs .panel { padding: 18px 0 0 !important; }
  .single-product .woocommerce-tabs .deos-technical-drawing__image { width: 100% !important; max-height: none !important; }
  .single-product .woocommerce-tabs .deos-pdf-button { width: 100%; text-align: center; }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td { padding: 10px 8px; }
  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-checkout #order_review { padding: 14px; }

  .site-footer { text-align: left; }
}


/* =========================================================
   WooCommerce product typography hardening
   Prevent tiny inline font sizes copied from LibreOffice/Word.
   ========================================================= */
body.single-product .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.65;
}

body.single-product .woocommerce-product-details__short-description p,
body.single-product .woocommerce-product-details__short-description li,
body.single-product .woocommerce-product-details__short-description span {
    font-size: inherit !important;
    line-height: inherit !important;
}

body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel li {
    font-size: 17px !important;
    line-height: 1.7;
}

body.single-product .woocommerce-tabs .panel span {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Preserve headings while neutralizing pasted office font families/sizes. */
body.single-product .woocommerce-product-details__short-description span[style],
body.single-product .woocommerce-tabs .panel span[style] {
    font-family: inherit !important;
}

/* Responsive readability */
@media (max-width: 767px) {
    body.single-product .woocommerce-product-details__short-description {
        font-size: 16px;
        line-height: 1.6;
    }

    body.single-product .woocommerce-tabs .panel,
    body.single-product .woocommerce-tabs .panel p,
    body.single-product .woocommerce-tabs .panel li {
        font-size: 16px !important;
        line-height: 1.65;
    }
}

/* Strong normalization for office-pasted content on single products. */
body.single-product .woocommerce-product-details__short-description p,
body.single-product .woocommerce-product-details__short-description p *,
body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel p *,
body.single-product .woocommerce-tabs .panel li,
body.single-product .woocommerce-tabs .panel li * {
    font-size: inherit !important;
    font-family: inherit !important;
}

body.single-product .woocommerce-product-details__short-description p {
    font-size: 16px !important;
    line-height: 1.65 !important;
}

body.single-product .woocommerce-tabs .panel > p,
body.single-product .woocommerce-tabs .panel > ul > li,
body.single-product .woocommerce-tabs .panel > ol > li {
    font-size: 17px !important;
    line-height: 1.7 !important;
}



/* ========================================================================
   DEOS Commerce 1.5.3 – product gallery polish + reliable full-image lightbox
   ======================================================================== */

/* Card-like shadow around the LARGE product image, matching product cards. */
body.single-product div.product div.images .woocommerce-product-gallery__wrapper {
  overflow: hidden !important;
  border: 1px solid rgba(117,136,151,.22) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: var(--deos-card-shadow) !important;
}

/* When WooCommerce/FlexSlider adds a viewport, that viewport is the card.
   The moving wrapper inside it must not get a second shadow/border. */
body.single-product div.product div.images .flex-viewport {
  overflow: hidden !important;
  border: 1px solid rgba(117,136,151,.22) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: var(--deos-card-shadow) !important;
}
body.single-product div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.single-product div.product div.images .woocommerce-product-gallery__image,
body.single-product div.product div.images .woocommerce-product-gallery__image > a {
  background: #fff !important;
}
body.single-product div.product div.images .woocommerce-product-gallery__image > a {
  cursor: zoom-in !important;
}

/* Gallery arrows: vertically centered against the large-image viewport.
   JS writes --deos-gallery-arrow-top from the actual viewport height. */
body.single-product .woocommerce-product-gallery {
  --deos-gallery-arrow-top: 50%;
  position: relative;
}
body.single-product .woocommerce-product-gallery .flex-direction-nav a {
  top: var(--deos-gallery-arrow-top) !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: translateY(-50%) !important;
  line-height: 1 !important;
}
body.single-product .woocommerce-product-gallery .flex-direction-nav a:hover,
body.single-product .woocommerce-product-gallery .flex-direction-nav a:focus-visible {
  transform: translateY(-50%) scale(1.04) !important;
}
body.single-product .woocommerce-product-gallery .flex-direction-nav a::before {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  transform-origin: 50% 50% !important;
}
body.single-product .woocommerce-product-gallery .flex-nav-prev a::before {
  transform: translate(-50%, -50%) rotate(-135deg) !important;
}
body.single-product .woocommerce-product-gallery .flex-nav-next a::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

/* DEOS fallback lightbox – independent of WooCommerce PhotoSwipe so clicking
   the main image always opens the original full-size image. */
.deos-image-lightbox[hidden] { display: none !important; }
.deos-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 52px);
  background: rgba(7, 9, 12, .92);
  backdrop-filter: blur(4px);
}
.deos-image-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(94vw, 1500px);
  height: min(90vh, 1000px);
}
.deos-image-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
}
.deos-image-lightbox__close,
.deos-image-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #090a0b;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,.24);
  font: 700 28px/1 Arial, sans-serif;
}
.deos-image-lightbox__close { top: 0; right: 0; }
.deos-image-lightbox__prev { left: 0; top: 50%; transform: translateY(-50%); }
.deos-image-lightbox__next { right: 0; top: 50%; transform: translateY(-50%); }
.deos-image-lightbox__close:hover,
.deos-image-lightbox__nav:hover,
.deos-image-lightbox__close:focus-visible,
.deos-image-lightbox__nav:focus-visible {
  background: var(--deos-red);
  color: #fff;
  outline: none;
}
body.deos-lightbox-open { overflow: hidden !important; }

@media (max-width: 700px) {
  body.single-product .woocommerce-product-gallery .flex-direction-nav a {
    width: 42px !important;
    height: 42px !important;
  }
  body.single-product .woocommerce-product-gallery .flex-nav-prev a { left: 6px !important; }
  body.single-product .woocommerce-product-gallery .flex-nav-next a { right: 6px !important; }
  .deos-image-lightbox { padding: 12px; }
  .deos-image-lightbox__stage { width: 100%; height: 88vh; }
  .deos-image-lightbox__close,
  .deos-image-lightbox__nav { width: 42px; height: 42px; }
  .deos-image-lightbox__close { top: 4px; right: 4px; }
  .deos-image-lightbox__prev { left: 4px; }
  .deos-image-lightbox__next { right: 4px; }
}


/* ========================================================================
   DEOS Commerce 1.5.4 – static product images (no hover pan / zoom movement)
   ======================================================================== */

/* The main product image must stay completely still under the mouse.
   Lightbox-on-click remains available. */
body.single-product div.product div.images .woocommerce-product-gallery__image img,
body.single-product div.product div.images:hover .woocommerce-product-gallery__image img,
body.single-product div.product div.images .woocommerce-product-gallery__image:hover img,
body.single-product div.product div.images .zoomImg {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* WooCommerce's zoom helper can inject a second, mouse-following image.
   Keep it disabled/hidden as a CSS fallback even if a cache serves old JS. */
body.single-product div.product div.images .zoomImg {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ========================================================================
   DEOS Commerce 1.7.3 – interactive adjustable grate inside product tab
   ======================================================================== */
.woocommerce-Tabs-panel--deos_interactive_demo {
  padding-top: clamp(22px, 3vw, 34px) !important;
}
.woocommerce-Tabs-panel--deos_interactive_demo > h2 { display: none !important; }
.deos-adjustable-demo {
  display: grid;
  grid-template-columns: minmax(290px, .7fr) minmax(520px, 1.3fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  width: 100%;
  max-width: none;
  padding: clamp(22px, 3vw, 44px) 0 clamp(32px, 4vw, 56px);
  margin: 0;
  border: 0;
}
.deos-adjustable-demo__copy { min-width: 0; }
.deos-adjustable-demo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--deos-red);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.deos-adjustable-demo__eyebrow::before { width: 28px; height: 2px; content: ""; background: var(--deos-red); }
.deos-adjustable-demo h2 {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.deos-adjustable-demo p { max-width: 590px; color: var(--deos-steel); font-size: 1rem; }
.deos-adjustable-demo label { display: block; margin: 26px 0 10px; font-weight: 800; }
.deos-adjustable-demo output { color: var(--deos-red); }
.deos-adjustable-demo input[type="range"] { width: 100%; accent-color: var(--deos-red); cursor: pointer; }
.deos-adjustable-demo__labels { display: flex; justify-content: space-between; margin-top: 4px; color: var(--deos-steel); font-size: .78rem; }

.deos-grate-demo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
  padding: clamp(34px, 5vw, 66px);
  overflow: visible;
  border: 1px solid var(--deos-line);
  border-radius: 30px;
  background: var(--deos-white);
  box-shadow: var(--deos-card-shadow);
}
.deos-grate-demo__frame {
  --grate-height: 230px;
  --rail-thickness: 10px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: min(100%, 760px);
  filter: drop-shadow(0 8px 10px rgba(22,27,32,.09));
}
.deos-grate-demo__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 0 0 455px;
  justify-content: space-around;
  gap: 2px;
  width: 455px;
  min-width: 0;
  height: var(--grate-height);
  border-top: var(--rail-thickness) solid #92979b;
  border-bottom: var(--rail-thickness) solid #92979b;
  background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(210,214,216,.18));
}
.deos-grate-demo__body::before,
.deos-grate-demo__body::after {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 12px;
  content: "";
  background:
    linear-gradient(to right, #747a7f, #eef0f1 48%, #777d82) center top / 12px var(--rail-thickness) no-repeat,
    linear-gradient(to right, #747a7f, #eef0f1 48%, #777d82) center bottom / 12px var(--rail-thickness) no-repeat;
  opacity: .98;
}
.deos-grate-demo__body::before { left: 0; }
.deos-grate-demo__body::after { right: 0; }
.deos-grate-demo__body > span {
  flex: 0 0 5px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(to right, #73797e 0%, #eef0f1 45%, #a7acb0 70%, #666d72 100%);
  box-shadow: inset 0 0 0 1px rgba(55,60,64,.18);
}
.deos-grate-demo__extension {
  position: relative;
  z-index: 2;
  flex: 0 0 98px;
  width: 98px;
  height: var(--grate-height);
  transition: width .22s ease, flex-basis .22s ease;
}
.deos-grate-demo__rod {
  position: absolute;
  z-index: 1;
  width: calc(100% - 24px);
  height: var(--rail-thickness);
  border-radius: 999px;
  background: linear-gradient(to bottom, #747a7f, #e9ebec 48%, #7c8287);
  box-shadow: inset 0 0 0 1px rgba(66,70,74,.18);
}
.deos-grate-demo__rod--top { top: 0; }
.deos-grate-demo__rod--bottom { bottom: 0; }
.deos-grate-demo__extension--left .deos-grate-demo__rod { right: 0; }
.deos-grate-demo__extension--right .deos-grate-demo__rod { left: 0; }
.deos-grate-demo__side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  border: 9px solid #888e93;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.deos-grate-demo__extension--left .deos-grate-demo__side { left: 0; border-right: 0; border-radius: 30px 0 0 30px; }
.deos-grate-demo__extension--right .deos-grate-demo__side { right: 0; border-left: 0; border-radius: 0 30px 30px 0; }

/* Handles: vertical metal rods at quarter points with the wooden grip
   mounted onto the rod from the narrow side, not diagonally. */
.deos-grate-demo__handle {
  position: absolute;
  z-index: 8;
  top: calc(var(--rail-thickness) * -1 + 2px);
  width: 5px;
  height: 132px;
  border-radius: 999px;
  background: linear-gradient(90deg, #61676c 0%, #f3f4f5 46%, #747a7f 100%);
  box-shadow: inset 0 0 0 1px rgba(50,55,60,.18), 0 2px 4px rgba(20,25,30,.08);
  transform: translateY(-100%);
  transform-origin: bottom center;
  pointer-events: none;
}
.deos-grate-demo__handle::after {
  position: absolute;
  left: 50%;
  top: -64px;
  width: 28px;
  height: 72px;
  content: "";
  border-radius: 16px 16px 12px 12px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.24), transparent 18% 82%, rgba(65,28,8,.16)),
    linear-gradient(180deg, #cb8d60 0%, #a76138 52%, #7e4325 100%);
  box-shadow: inset 0 0 0 2px rgba(94,49,24,.22), 0 4px 7px rgba(50,30,18,.16);
  transform: translateX(-50%);
}
.deos-grate-demo__handle::before {
  position: absolute;
  left: 50%;
  top: 0;
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, #d7dadd, #747a7f);
  box-shadow: 0 1px 2px rgba(20,25,30,.15);
  transform: translate(-50%, -50%);
}
.deos-grate-demo__handle--left { left: 25%; }
.deos-grate-demo__handle--right { right: 25%; }
@media (max-width: 1100px) {
  .deos-adjustable-demo { grid-template-columns: 1fr; gap: 34px; }
  .deos-adjustable-demo__copy { max-width: 720px; }
  .deos-grate-demo { min-height: 410px; }
}
@media (max-width: 680px) {
  .woocommerce-Tabs-panel--deos_interactive_demo { padding-top: 14px !important; }
  .deos-adjustable-demo { padding: 18px 0 32px; }
  .deos-adjustable-demo h2 { font-size: clamp(1.75rem, 9vw, 2.45rem); }
  .deos-grate-demo { min-height: 285px; padding: 34px 12px; border-radius: 22px; overflow: hidden; }
  .deos-grate-demo__frame { --grate-height: 152px; --rail-thickness: 7px; width: 92%; }
  .deos-grate-demo__body { min-width: 165px; }
  .deos-grate-demo__body > span { flex-basis: 3px; width: 3px; }
  .deos-grate-demo__extension { min-width: 36px; }
  .deos-grate-demo__side { width: 20px; border-width: 6px; }
  .deos-grate-demo__handle { width: 4px; height: 98px; top: -2px; }
  .deos-grate-demo__handle::after { top: -48px; left: 50%; width: 22px; height: 54px; border-radius: 13px 13px 10px 10px; transform: translateX(-50%); }
  .deos-grate-demo__handle::before { width: 8px; height: 8px; top: 0; bottom: auto; transform: translate(-50%, -50%); }
  .deos-grate-demo__handle--left { left: 25%; }
  .deos-grate-demo__handle--right { right: 25%; }
}



/* ========================================================================
   DEOS 1.7.3 – homepage interactive size finder
   ======================================================================== */
.deos-size-finder-section { background: #f5f6f7; }
.deos-size-finder { padding: clamp(28px, 4vw, 52px); border: 1px solid var(--deos-line); border-radius: 24px; background: #fff; box-shadow: var(--deos-card-shadow); }
.deos-size-finder__head { max-width: 780px; margin-bottom: 34px; }
.deos-size-finder__head h2 { margin: 4px 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.035em; }
.deos-size-finder__head p { margin: 0; color: var(--deos-steel); font-size: 1rem; line-height: 1.7; }
.deos-size-finder__main { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(420px,1.2fr); gap: clamp(32px,5vw,72px); align-items: center; }
.deos-size-finder__controls { display: grid; gap: 24px; }
.deos-size-control { padding: 18px 20px; border: 1px solid var(--deos-line); border-radius: 14px; background: #fafafa; }
.deos-size-control__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.deos-size-control__top label { font-weight: 900; }
.deos-size-control__top > div { display: inline-flex; align-items: center; gap: 7px; color: var(--deos-steel); }
.deos-size-control__top input[type="number"] { width: 82px; min-height: 42px; padding: 7px 9px; border: 1px solid var(--deos-line); border-radius: 7px; background: #fff; color: var(--deos-ink); font: inherit; font-weight: 800; text-align: right; }
.deos-size-control input[type="range"] { width: 100%; accent-color: var(--deos-red); cursor: pointer; }
.deos-size-control__range { display: flex; justify-content: space-between; margin-top: 5px; color: var(--deos-steel); font-size: .75rem; }

.deos-size-control--type { margin: 0; min-width: 0; }
.deos-size-control--type legend { padding: 0; margin-bottom: 12px; font-weight: 900; }
.deos-finder-type-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.deos-finder-type-option { position: relative; display: flex; min-width: 0; cursor: pointer; }
.deos-finder-type-option input { position: absolute; opacity: 0; pointer-events: none; }
.deos-finder-type-option > span { display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 68px; padding: 12px 14px; border: 1px solid var(--deos-line); border-radius: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.deos-finder-type-option strong { font-size: .9rem; }
.deos-finder-type-option small { margin-top: 3px; color: var(--deos-steel); font-size: .72rem; line-height: 1.3; }
.deos-finder-type-option input:checked + span { border-color: var(--deos-red); background: rgba(215,25,32,.055); box-shadow: inset 0 0 0 1px var(--deos-red); }
.deos-finder-type-option input:focus-visible + span { outline: 3px solid rgba(215,25,32,.18); outline-offset: 2px; }
.deos-size-finder__current { padding: 14px 16px; border-radius: 10px; background: rgba(215,25,32,.07); color: var(--deos-steel); }
.deos-size-finder__current strong { display: block; margin-top: 2px; color: var(--deos-red); font-size: 1.35rem; }
.deos-size-finder__visual { position: relative; display: grid; place-items: center; min-height: 390px; padding: 54px 68px; border-radius: 20px; background: radial-gradient(circle at 50% 30%, #fff 0, #f4f5f6 62%, #eceeef 100%); overflow: hidden; }
.deos-finder-grate { position: relative; min-width: 165px; min-height: 120px; max-width: 100%; max-height: 100%; border: 9px solid #8e9499; border-radius: 10px; background: linear-gradient(145deg, rgba(255,255,255,.5), rgba(214,217,220,.2)); box-shadow: 0 14px 25px rgba(16,24,32,.13), inset 0 0 0 1px rgba(255,255,255,.55); transition: width .18s ease, height .18s ease; }
.deos-finder-grate__bars { position: absolute; inset: 8px 12px; display: flex; justify-content: space-between; gap: 3px; }
.deos-finder-grate__bars span { flex: 0 0 4px; border-radius: 999px; background: linear-gradient(90deg,#676d72,#f0f2f3 45%,#82888d); box-shadow: inset 0 0 0 1px rgba(50,55,60,.15); }
.deos-finder-measure { position: absolute; color: var(--deos-steel); font-size: .76rem; font-weight: 850; letter-spacing: .04em; }
.deos-finder-measure--width { bottom: 20px; left: 50%; transform: translateX(-50%); }
.deos-finder-measure--depth { right: 18px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.deos-size-finder__result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 38px 0 16px; }
.deos-size-finder__result-head strong { font-size: 1.25rem; }
.deos-size-finder__result-head span { color: var(--deos-steel); font-size: .82rem; }
.deos-size-finder__results { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.deos-finder-product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--deos-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(20,28,34,.06); }
.deos-finder-product-card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1.2/1; padding: 14px; background: linear-gradient(145deg,#fff,#f1f2f3); }
.deos-finder-product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.deos-finder-product-card__badge { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 4px; background: var(--deos-red); color: #fff; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.deos-finder-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.deos-finder-product-card__body small { min-height: 34px; color: var(--deos-red); font-weight: 800; line-height: 1.35; }
.deos-finder-product-card__body h3 { margin: 8px 0 16px; font-size: .98rem; line-height: 1.35; }
.deos-finder-product-card__body h3 a { color: inherit; }
.deos-finder-product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.deos-finder-product-card__bottom > span { font-weight: 900; }
.deos-button--small { min-height: 38px; padding: 8px 11px; font-size: .75rem; }
.deos-size-finder__empty { grid-column: 1/-1; padding: 20px; border: 1px dashed var(--deos-line); border-radius: 12px; color: var(--deos-steel); text-align: center; }
@media (max-width: 1050px) {
  .deos-size-finder__main { grid-template-columns: 1fr; }
  .deos-size-finder__visual { min-height: 340px; }
  .deos-size-finder__results { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .deos-size-finder { padding: 22px 15px; border-radius: 16px; }
  .deos-size-finder__head { margin-bottom: 24px; }
  .deos-size-control__top { align-items: flex-start; }
  .deos-size-finder__visual { min-height: 280px; padding: 42px 32px; }
  .deos-finder-measure--depth { right: 6px; }
  .deos-size-finder__result-head { display: block; }
  .deos-size-finder__result-head span { display: block; margin-top: 4px; }
  .deos-size-finder__results { grid-template-columns: 1fr; }
  .deos-finder-type-options { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .deos-grate-demo__body { flex-basis: 235px; width: 235px; height: 165px; }
  .deos-grate-demo__extension { height: 165px; }
}
