/*
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.3.8
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; }
}
