/*
Theme Name: Gourmell
Author: Gourmell
Description: WooCommerce theme for Gourmell, styled to match gourmell.myshopify.com.
Version: 1.0.0
Text Domain: gourmell
*/

:root {
  --gm-text: #000;
  --gm-body: #4b4b4b;
  --gm-muted: #6b6b6b;
  --gm-border: #e6e6e6;
  --gm-surface: #f4f4f4;
  --gm-black: #000;
  --gm-red: #da3f3f;
  --gm-mint: #d6f2e8;
  --gm-width: 1500px;
  --gm-gutter: 40px;
  --gm-font: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--gm-text);
  font-family: var(--gm-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gm-text); }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; margin: 0 0 .5em; color: var(--gm-text); }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.gm-container { width: 100%; max-width: var(--gm-width); margin: 0 auto; padding: 0 var(--gm-gutter); }
.gm-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; }

/* Buttons */
.gm-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 30px;
  background: var(--gm-black); color: #fff;
  border: 1px solid var(--gm-black); border-radius: 0;
  font-family: var(--gm-font); font-size: 16px; font-weight: 500; line-height: 1.2;
  cursor: pointer; transition: background .2s, color .2s;
  text-decoration: none;
}
.gm-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #333; color: #fff; border-color: #333; }
.gm-btn--outline { background: #fff; color: var(--gm-black); }
.gm-btn--outline:hover { background: var(--gm-black); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }

/* ==========================================================================
   Announcement + top bar
   ========================================================================== */
.gm-announce { position: relative; background: var(--gm-red); color: #fff; text-align: center; font-size: 14px; padding: 8px 44px; }
.gm-announce__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; line-height: 0; }
.gm-announce__close svg { width: 16px; height: 16px; }
.gm-announce.is-hidden { display: none; }

.gm-topbar { border-bottom: 1px solid var(--gm-border); font-size: 14px; }
.gm-topbar__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 42px; gap: 16px; }
.gm-topbar__social { display: flex; gap: 32px; }
.gm-topbar__social a { display: inline-flex; align-items: center; gap: 8px; }
.gm-topbar__social svg { width: 16px; height: 16px; }
.gm-topbar__msg a { text-decoration: underline; }
.gm-topbar__lang { justify-self: end; display: inline-flex; align-items: center; gap: 6px; }
.gm-topbar__lang svg { width: 10px; height: 10px; }

/* ==========================================================================
   Header
   ========================================================================== */
.gm-header { background: #fff; position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.gm-header.is-scrolled { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.gm-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 80px; gap: 16px; }
.gm-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; }
.gm-nav a { font-size: 16px; font-weight: 500; position: relative; padding: 6px 0; }
.gm-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .25s; }
.gm-nav a:hover::after, .gm-nav .current-menu-item > a::after { width: 100%; }
.gm-logo { font-size: 20px; font-weight: 600; letter-spacing: .01em; text-align: center; }
.gm-logo a { display: inline-block; line-height: 0; }
.gm-logo img { height: 66px; width: auto; margin: 0 auto; }
@media (max-width: 749px) { .gm-logo img { height: 46px; } }
.gm-header__icons { justify-self: end; display: flex; align-items: center; gap: 22px; }
.gm-header__icons a, .gm-header__icons button { position: relative; display: inline-flex; background: none; border: 0; padding: 4px; cursor: pointer; }
.gm-header__icons svg { width: 22px; height: 22px; }
.gm-count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gm-black); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 500; }
.gm-count:empty, .gm-count[data-count="0"] { display: none; }
.gm-burger { display: none; background: none; border: 0; padding: 4px; cursor: pointer; }
.gm-burger svg { width: 22px; height: 22px; }

/* Search overlay */
.gm-search-panel { position: fixed; inset: 0; z-index: 200; display: none; }
.gm-search-panel.is-open { display: block; }
.gm-search-panel__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.gm-search-panel__box { position: relative; background: #fff; padding: 48px 0 56px; }
.gm-search-panel__close { position: absolute; top: 16px; right: 24px; background: none; border: 0; cursor: pointer; padding: 6px; }
.gm-search-panel__close svg { width: 18px; height: 18px; }
.gm-search-panel h2 { text-align: center; font-size: 28px; margin-bottom: 24px; }

.gm-searchform { position: relative; max-width: 1054px; margin: 0 auto; }
.gm-searchform input[type=search] { width: 100%; height: 56px; border: 1px solid var(--gm-border); border-radius: 4px; padding: 0 56px 0 16px; font-size: 18px; outline: none; background: #fff; }
.gm-searchform input[type=search]:focus { border-color: #999; }
.gm-searchform button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; cursor: pointer; line-height: 0; }
.gm-searchform button svg { width: 22px; height: 22px; }

/* Mobile drawer */
.gm-drawer { position: fixed; inset: 0; z-index: 210; display: none; }
.gm-drawer.is-open { display: block; }
.gm-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.gm-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); background: #fff; padding: 20px 24px; overflow-y: auto; }
.gm-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 600; font-size: 18px; }
.gm-drawer__head button { background: none; border: 0; cursor: pointer; padding: 4px; }
.gm-drawer__head svg { width: 18px; height: 18px; }
.gm-drawer ul { list-style: none; margin: 0; padding: 0; }
.gm-drawer li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--gm-border); font-size: 17px; font-weight: 500; }

/* ==========================================================================
   Home
   ========================================================================== */
.gm-hero { display: block; background: #0b0b14; }
.gm-hero img { width: 100%; height: auto; }

.gm-section { padding: 80px 0; }
.gm-tabs-title { display: flex; justify-content: center; align-items: baseline; gap: 10px; font-size: 32px; font-weight: 300; color: var(--gm-muted); margin: 0 0 32px; }
.gm-tabs-title__select { position: relative; display: inline-block; }
.gm-tabs-title__btn { display: inline-flex; align-items: center; gap: 40px; background: none; border: 0; border-bottom: 2px solid var(--gm-text); padding: 0 4px 2px 0; font-size: 32px; font-weight: 400; color: var(--gm-text); cursor: pointer; }
.gm-tabs-title__btn svg { width: 16px; height: 16px; transition: transform .2s; }
.gm-tabs-title__select.is-open .gm-tabs-title__btn svg { transform: rotate(180deg); }
.gm-tabs-title__menu { position: absolute; left: 0; right: 0; top: 100%; margin-top: 8px; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.12); list-style: none; padding: 8px 0; z-index: 5; display: none; }
.gm-tabs-title__select.is-open .gm-tabs-title__menu { display: block; }
.gm-tabs-title__menu button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 16px; font-size: 18px; cursor: pointer; color: var(--gm-text); }
.gm-tabs-title__menu button:hover, .gm-tabs-title__menu button.is-active { background: var(--gm-surface); }
.gm-tab-panel[hidden] { display: none; }
.gm-center { text-align: center; margin-top: 40px; }
.gm-btn--small { min-height: 40px; padding: 0 24px; font-size: 15px; background: #fff; color: #000; border-radius: 4px; }
.gm-btn--small:hover { background: #000; color: #fff; }

/* Reviews */
.gm-reviews { background: var(--gm-surface); padding: 100px 0 110px; overflow: hidden; }
.gm-reviews__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.gm-reviews__head h2 { font-size: 32px; margin: 0; }
.gm-reviews__nav { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.gm-reviews__nav button { background: none; border: 0; cursor: pointer; padding: 4px; line-height: 0; }
.gm-reviews__nav svg { width: 14px; height: 14px; }
.gm-reviews__track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gm-gutter)); padding-right: var(--gm-gutter); }
.gm-reviews__track::-webkit-scrollbar { display: none; }
.gm-review { flex: 0 0 calc((100% - 60px) / 2.75); scroll-snap-align: start; background: #fff; padding: 30px; min-height: 230px; }
.gm-review__name { font-weight: 500; margin-bottom: 4px; }
.gm-review__stars { letter-spacing: 2px; font-size: 14px; margin-bottom: 14px; }
.gm-review__title { font-weight: 500; margin-bottom: 14px; }
.gm-review p { color: var(--gm-body); font-size: 15px; margin: 0; }

/* Features row */
.gm-features { padding: 50px 0; }
.gm-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.gm-feature { display: flex; gap: 16px; align-items: flex-start; }
.gm-feature img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.gm-feature h3 { font-size: 17px; font-weight: 500; margin: 0 0 4px; }
.gm-feature p { color: var(--gm-body); font-size: 15px; margin: 0; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.woocommerce ul.products, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--gm-cols, 4), minmax(0, 1fr)); gap: 40px 30px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; position: relative; text-align: left; }
.gm-grid--home { --gm-cols: 5; }
.gm-card__mediawrap { position: relative; overflow: hidden; }
.gm-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: #fff; }
.gm-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s, transform .6s; margin: 0 !important; }
.gm-card__media .gm-card__img2 { opacity: 0; }
.gm-card:hover .gm-card__media .gm-card__img2 { opacity: 1; }
.gm-card:hover .gm-card__media .gm-card__img1 { transform: scale(1.05); }
.gm-card:hover .gm-card__media .gm-card__img2 ~ .gm-card__img1, .gm-card:hover .gm-card__media .gm-card__img1:not(:last-child) { opacity: 0; }
.gm-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; color: #000; font-size: 13px; padding: 2px 10px; border-radius: 2px; }
.gm-card__badge--sale { background: var(--gm-red); color: #fff; }
.gm-card__actions { position: absolute; top: 16px; right: 16px; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.gm-card__actions .gm-wish { opacity: 0; transform: translateX(14px); transition: opacity .3s, transform .3s, background .2s, color .2s; }
.gm-card__actions .gm-wish + .gm-wish { transition-delay: .06s; }
.gm-card:hover .gm-card__actions .gm-wish, .gm-card__actions .gm-wish:focus-visible, .gm-card__actions .gm-wish.is-active { opacity: 1; transform: none; }
.gm-wish { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #000; border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.08); line-height: 0; }
.gm-wish svg { width: 19px; height: 19px; }
.gm-card__actions .gm-wish:hover { background: #000; color: #fff; }
.gm-wish.is-active svg path { fill: currentColor; }
.gm-card__atc { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 3; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; }
.gm-card:hover .gm-card__atc, .gm-card__atc:focus-within { opacity: 1; transform: none; }
.gm-quickadd { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 0 12px; background: #fff; color: #000; border-radius: 6px; font-size: 17px; font-weight: 400; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: background .2s, color .2s; cursor: pointer; }
.gm-quickadd:hover { background: #000; color: #fff; }
.gm-quickadd.loading { opacity: .6; pointer-events: none; }
.gm-quickadd.added::after { content: ' ✓'; margin-left: 6px; }
.gm-quickadd.is-disabled { color: var(--gm-muted); cursor: default; }
.gm-quickadd.is-disabled:hover { background: #fff; color: var(--gm-muted); }
.gm-card__atc .added_to_cart, .woocommerce .gm-card__atc a.added_to_cart { display: none !important; }

/* Quick view */
.gm-qv .gm-modal__box { width: min(1200px, 100%); padding: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 420px; }
.gm-qv__media { background: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.gm-qv__media > img { width: 100%; max-height: 520px; object-fit: contain; }
.gm-qv__thumbs { display: flex; gap: 8px; justify-content: center; }
.gm-qv__thumbs button { width: 60px; height: 60px; padding: 0; border: 1px solid var(--gm-border); background: #fff; cursor: pointer; opacity: .55; }
.gm-qv__thumbs button.is-active, .gm-qv__thumbs button:hover { opacity: 1; border-color: #000; }
.gm-qv__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gm-qv__info { padding: 40px 50px 40px 30px; overflow-y: auto; max-height: 90vh; }
.gm-qv__info h2 { font-size: 34px; line-height: 1.4; margin: 0 40px 18px 0; }
.gm-qv__price { font-size: 26px; margin-bottom: 22px; }
.gm-qv__price del { color: var(--gm-muted); font-size: .8em; margin-right: 8px; }
.gm-qv__price ins { text-decoration: none; color: var(--gm-red); }
.gm-qv__desc { color: var(--gm-body); font-size: 17px; line-height: 1.75; margin-bottom: 14px; }
.gm-qv__link { display: inline-block; text-decoration: underline; font-size: 16px; margin-bottom: 26px; }
.gm-qv__form { display: flex; gap: 16px; flex-wrap: wrap; }
.gm-qv__form .gm-btn { flex: 1; min-height: 56px; border-radius: 4px; }
.gm-qv__loading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; color: var(--gm-muted); }
.gm-qv .gm-modal__close { z-index: 2; }
.gm-card__body { padding-top: 16px; }
.gm-card__title { font-size: 16px; font-weight: 400; line-height: 1.5; margin: 0 0 6px; color: var(--gm-text); }
.gm-card__title a:hover { text-decoration: underline; }
.gm-card__price, .woocommerce ul.products li.product .price { color: var(--gm-text) !important; font-size: 16px; font-weight: 400; }
.gm-card__price del { color: var(--gm-muted); margin-right: 6px; }
.gm-card__price ins { text-decoration: none; color: var(--gm-red); }

/* ==========================================================================
   Shop / archive
   ========================================================================== */
.gm-page-banner { background: #000; color: #fff; text-align: center; padding: 56px 20px 64px; margin-top: 0; }
.gm-page-banner h1 { color: #fff; font-size: 42px; margin: 18px 0 0; font-weight: 400; }
.gm-crumbs { font-size: 15px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.gm-crumbs svg { width: 10px; height: 10px; }
.gm-crumbs a:hover { text-decoration: underline; }
.gm-page-banner .gm-crumbs a { color: #fff; }

.gm-shop { padding: 64px 0 80px; }
.gm-shop__layout { display: grid; grid-template-columns: 317px minmax(0, 1fr); gap: 32px; }
.gm-filters h2 { font-size: 30px; margin: 0 0 30px; }
.gm-filter { border-bottom: 0; margin-bottom: 30px; }
.gm-filter__head { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; font-size: 18px; font-weight: 500; cursor: pointer; margin-bottom: 18px; }
.gm-filter__head svg { width: 14px; height: 14px; transition: transform .2s; }
.gm-filter.is-collapsed .gm-filter__head svg { transform: rotate(180deg); }
.gm-filter.is-collapsed .gm-filter__body { display: none; }
.gm-check { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--gm-body); cursor: pointer; }
.gm-check input { width: 18px; height: 18px; accent-color: #000; margin: 0; }
.gm-check.is-disabled { opacity: .4; cursor: default; }
.gm-range { position: relative; height: 24px; margin: 6px 10px 22px; }
.gm-range__track { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: #000; }
.gm-range input[type=range] { position: absolute; left: -10px; right: -10px; width: calc(100% + 20px); top: 0; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.gm-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #000; cursor: pointer; border: 0; }
.gm-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #000; cursor: pointer; border: 0; }
.gm-range input[type=range]::-webkit-slider-runnable-track { background: none; }
.gm-price-inputs { display: flex; align-items: center; gap: 18px; }
.gm-price-inputs label { flex: 1; display: flex; align-items: center; border: 1px solid var(--gm-border); border-radius: 4px; padding: 0 14px; height: 48px; gap: 6px; }
.gm-price-inputs input { width: 100%; border: 0; outline: none; text-align: right; background: none; -moz-appearance: textfield; }
.gm-price-inputs input::-webkit-outer-spin-button, .gm-price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; }
.gm-filter-apply { margin-top: 16px; width: 100%; min-height: 42px !important; }
.gm-filter-reset { display: inline-block; margin-top: 10px; font-size: 14px; text-decoration: underline; color: var(--gm-muted); }
.gm-promo { position: relative; background: #333 url('assets/images/promo-bag.svg') center/80% no-repeat; color: #fff; text-align: center; padding: 40px 24px 60px; margin-top: 10px; }
.gm-promo h3 { color: #fff; font-size: 19px; font-weight: 500; margin: 0 0 14px; }
.gm-promo strong { display: block; font-size: 42px; font-weight: 400; line-height: 1.2; margin-bottom: 20px; }
.gm-promo .gm-btn { background: #fff; color: #000; border-color: #fff; min-height: 46px; border-radius: 3px; }
.gm-promo .gm-btn:hover { background: #000; color: #fff; border-color: #000; }

.gm-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 16px; }
.gm-sort { position: relative; display: inline-flex; align-items: center; }
.gm-sort select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' fill='none'/%3E%3C/svg%3E") right center/9px no-repeat; padding: 6px 18px 6px 0; font-size: 16px; cursor: pointer; outline: none; }
.gm-cols { display: flex; gap: 10px; }
.gm-cols button { width: 36px; height: 36px; border: 0; background: var(--gm-surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; }
.gm-cols button svg { height: 12px; width: auto; }
.gm-cols button.is-active { background: #000; color: #fff; }
.gm-shop--list ul.products { grid-template-columns: 1fr; }
.gm-shop--list ul.products li.product { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; }
.gm-shop--list .gm-card__excerpt { display: block; }
.gm-card__excerpt { display: none; color: var(--gm-body); font-size: 15px; margin-top: 8px; }
.gm-empty { text-align: center; padding: 60px 0; color: var(--gm-muted); }
.woocommerce nav.woocommerce-pagination { margin-top: 50px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: inline-flex; gap: 8px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gm-border); padding: 0 8px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: #000; color: #fff; border-color: #000; }

/* ==========================================================================
   Single product
   ========================================================================== */
.gm-pcrumbs { padding: 18px 0; font-size: 14px; }
.gm-pcrumbs .gm-crumbs { color: var(--gm-body); }
.gm-marquee { background: var(--gm-mint); overflow: hidden; white-space: nowrap; padding: 12px 0; font-size: 15px; font-weight: 500; }
.gm-marquee__track { display: inline-flex; animation: gm-marquee 30s linear infinite; }
.gm-marquee__item { display: inline-flex; align-items: center; gap: 56px; padding-right: 56px; }
.gm-marquee__item::after { content: ''; width: 8px; height: 8px; background: #b8d7cb; display: inline-block; }
@keyframes gm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gm-product { padding: 40px 0 0; }
.gm-product__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; max-width: 1500px; }
.gm-product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: relative; }
.gm-product .woocommerce-product-gallery__image img { object-fit: contain; }
.gm-product .flex-control-thumbs { display: flex; gap: 10px; margin: 12px 0 0 !important; padding: 0; list-style: none; }
.gm-product .flex-control-thumbs li { width: 80px !important; float: none !important; }
.gm-product .flex-control-thumbs img { opacity: .5; cursor: pointer; border: 1px solid var(--gm-border); }
.gm-product .flex-control-thumbs img.flex-active, .gm-product .flex-control-thumbs img:hover { opacity: 1; border-color: #000; }
.gm-product .woocommerce-product-gallery__trigger { z-index: 5; }
.gm-summary { width: 100% !important; float: none !important; position: sticky; top: 100px; }
.gm-summary__head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.gm-summary h1.product_title { font-size: 32px; font-weight: 400; line-height: 1.35; margin: 0 0 14px; }
.gm-summary__head .gm-wish { box-shadow: none; border: 1px solid var(--gm-border); flex: none; margin-top: 6px; }
.gm-summary .price { font-size: 26px !important; color: var(--gm-text) !important; margin: 0 0 4px !important; }
.gm-summary .price del { color: var(--gm-muted); font-size: .8em; }
.gm-summary .price ins { text-decoration: none; color: var(--gm-red); }
.gm-tax { color: var(--gm-muted); font-size: 15px; margin-bottom: 28px; }
.gm-qty-label { font-weight: 500; margin-bottom: 10px; display: block; }
.gm-summary form.cart { display: flex !important; flex-wrap: wrap; gap: 16px; margin: 0 0 20px !important; }
.gm-summary form.cart::before, .gm-summary form.cart::after { display: none !important; }
.gm-summary form.cart .single_add_to_cart_button { flex: 1; min-height: 56px !important; background: #fff !important; color: #000 !important; border: 1px solid #000 !important; border-radius: 4px !important; font-size: 17px !important; }
.gm-summary form.cart .single_add_to_cart_button:hover { background: #000 !important; color: #fff !important; }
.gm-buy-now { flex: 0 0 100%; min-height: 56px !important; border-radius: 4px !important; font-size: 17px !important; }
.gm-summary .stock { display: none; }
.gm-summary .stock.out-of-stock { display: block; color: var(--gm-red); font-weight: 500; }

/* Quantity stepper */
.quantity { display: inline-flex !important; align-items: center; border: 1px solid var(--gm-border); border-radius: 4px; height: 56px; float: none !important; margin: 0 !important; }
.quantity .qty { width: 52px !important; height: 100%; border: 0 !important; text-align: center; font-size: 17px; background: none; -moz-appearance: textfield; outline: none; padding: 0 !important; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 46px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 20px; color: var(--gm-body); }
.qty-btn:hover { color: #000; }
.woocommerce-cart .quantity { height: 44px; }

.gm-pactions { display: flex; gap: 32px; font-size: 15px; padding: 16px 0; border-bottom: 1px solid var(--gm-border); margin-bottom: 20px; flex-wrap: wrap; }
.gm-pactions a, .gm-pactions button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; }
.gm-pactions svg { width: 18px; height: 18px; }
.gm-pinfo { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.gm-pinfo li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gm-pinfo strong { font-weight: 500; }
.gm-pinfo svg { width: 20px; height: 20px; }

.gm-ptabs { max-width: 1500px; margin: 90px auto 0; }
.gm-ptabs__nav { display: flex; gap: 50px; border-bottom: 1px solid var(--gm-border); margin-bottom: 30px; }
.gm-ptabs__nav button { background: none; border: 0; padding: 0 0 12px; margin-bottom: -1px; font-size: 18px; color: var(--gm-muted); cursor: pointer; border-bottom: 2px solid transparent; }
.gm-ptabs__nav button.is-active { color: #000; border-color: #000; }
.gm-ptabs__panel { color: var(--gm-body); font-size: 16px; line-height: 1.8; }
.gm-ptabs__panel[hidden] { display: none; }

.gm-why { text-align: center; padding: 90px 0 30px; }
.gm-why > .gm-container > h2 { font-size: 40px; margin-bottom: 40px; }
.gm-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1500px; margin: 0 auto; }
.gm-why__item img { width: 90px; height: 54px; object-fit: contain; margin: 0 auto 14px; }
.gm-why__item h3 { font-size: 24px; margin-bottom: 8px; }
.gm-why__item p { color: var(--gm-body); font-size: 15px; max-width: 400px; margin: 0 auto 10px; }
.gm-why__item a { font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.gm-why__item a svg { width: 10px; height: 10px; }

.gm-faq { padding: 60px 0 80px; }
.gm-faq h2 { text-align: center; font-size: 40px; margin-bottom: 40px; }
.gm-faq__list { max-width: 1500px; margin: 0 auto; }
.gm-faq details { border-bottom: 1px solid var(--gm-border); }
.gm-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0 10px; font-size: 26px; }
.gm-faq summary::-webkit-details-marker { display: none; }
.gm-faq summary svg { width: 14px; height: 14px; transition: transform .2s; flex: none; }
.gm-faq details[open] summary svg { transform: rotate(180deg); }
.gm-faq__answer { color: var(--gm-body); font-size: 16px; padding: 10px 0 20px; }
.gm-faq__answer p:last-child { margin: 0; }

.gm-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.08); z-index: 40; transform: translateY(110%); transition: transform .3s; }
.gm-sticky-atc.is-visible { transform: none; }
.gm-sticky-atc__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.gm-sticky-atc__prod { display: flex; align-items: center; gap: 16px; min-width: 0; }
.gm-sticky-atc__prod img { width: 56px; height: 56px; object-fit: contain; }
.gm-sticky-atc__title { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-sticky-atc__price { font-size: 15px; color: var(--gm-body); }
.gm-sticky-atc__price del { margin-right: 6px; }
.gm-sticky-atc__price ins { text-decoration: none; }
.gm-sticky-atc__form { display: flex; align-items: center; gap: 16px; flex: none; }
.gm-sticky-atc .quantity { height: 46px; }
.gm-sticky-atc .gm-btn { min-height: 46px; }

/* Ask a question modal */
.gm-modal { position: fixed; inset: 0; z-index: 220; display: none; align-items: center; justify-content: center; padding: 20px; }
.gm-modal.is-open { display: flex; }
.gm-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.gm-modal__box { position: relative; background: #fff; width: min(560px, 100%); padding: 40px; max-height: 90vh; overflow-y: auto; }
.gm-modal__box h2 { font-size: 26px; }
.gm-modal__close { position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer; padding: 6px; }
.gm-modal__close svg { width: 16px; height: 16px; }
.gm-toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); background: #000; color: #fff; padding: 10px 20px; font-size: 14px; opacity: 0; transition: .3s; z-index: 300; pointer-events: none; }
.gm-toast.is-visible { opacity: 1; transform: translateX(-50%); }

/* ==========================================================================
   Generic pages (contact, search, policies, cart, account)
   ========================================================================== */
.gm-pagehead { text-align: center; padding: 80px 0 70px; }
.gm-pagehead h1 { font-size: 46px; margin-bottom: 30px; }
.gm-pagehead .gm-crumbs { font-size: 18px; }

.gm-contact { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 125px; max-width: 1460px; margin: 0 auto; padding: 60px var(--gm-gutter) 140px; }
.gm-contact h2 { font-size: 30px; font-weight: 500; margin-bottom: 10px; }
.gm-contact__intro { color: var(--gm-body); font-size: 18px; margin-bottom: 36px; }
.gm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.gm-form input[type=text], .gm-form input[type=email], .gm-form input[type=tel], .gm-form textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  width: 100%; border: 1px solid var(--gm-border); border-radius: 4px; padding: 14px 16px; font-size: 18px; background: #fff; outline: none; margin-bottom: 38px; line-height: 1.4;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { font-size: 16px; margin-bottom: 0; }
.gm-form input:focus, .gm-form textarea:focus { border-color: #999; }
.gm-form textarea { min-height: 256px; resize: vertical; }
.gm-form .gm-check { color: var(--gm-text); font-size: 18px; margin: 0 0 40px; }
.gm-form .gm-check input { width: 24px; height: 24px; }
.gm-form .gm-btn { min-height: 56px; font-size: 19px; padding: 0 38px; }
.gm-hp { position: absolute !important; left: -9999px !important; }
.gm-notice { padding: 14px 18px; background: #eaf7f0; border: 1px solid #b7e1c9; margin-bottom: 26px; }
.gm-contact__info h3 { font-size: 21px; font-weight: 500; margin: 0 0 18px; }
.gm-contact__info p { color: var(--gm-body); font-size: 19px; margin: 0 0 14px; line-height: 1.6; }
.gm-contact__info section { margin-bottom: 40px; }
.gm-contact__social { display: flex; gap: 30px; }
.gm-contact__social svg { width: 20px; height: 20px; }

.gm-searchpage { padding: 80px 0 75px; text-align: center; }
.gm-searchpage h1 { font-size: 46px; margin-bottom: 36px; }

.gm-page { max-width: 1000px; margin: 0 auto; padding: 0 var(--gm-gutter) 100px; color: var(--gm-body); }
.gm-page h2, .gm-page h3 { margin-top: 1.6em; }
.gm-page a { text-decoration: underline; }
.gm-page--wide { max-width: var(--gm-width); color: var(--gm-text); }
.gm-page--wide a { text-decoration: none; }

/* WooCommerce general */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: #000 !important; background: var(--gm-surface) !important; color: #000; }
.woocommerce-message::before, .woocommerce-info::before { color: #000 !important; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px !important; padding: 0 18px !important; font-size: 14px !important; }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--gm-border); }
.woocommerce-cart .gm-page--wide, .woocommerce-checkout .gm-page--wide, .woocommerce-account .gm-page--wide { padding-bottom: 100px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.gm-footer { background: var(--gm-surface); padding: 100px 0 40px; }
.gm-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.gm-footer h2 { font-size: 42px; margin: 0 0 14px; }
.gm-footer__sub { color: var(--gm-body); font-size: 18px; margin-bottom: 28px; }
.gm-footer__form input[type=email] { width: 100%; max-width: 580px; height: 56px; border: 1px solid #ddd; border-radius: 4px; padding: 0 16px; font-size: 18px; background: #fff; outline: none; display: block; margin-bottom: 26px; }
.gm-footer__form .gm-btn { min-height: 56px; font-size: 19px; border-radius: 3px; background: #222; }
.gm-footer__ok { color: #1a7f4b; font-weight: 500; }
.gm-footer h3 { font-size: 19px; font-weight: 500; margin: 6px 0 22px; }
.gm-footer ul { list-style: none; margin: 0; padding: 0; }
.gm-footer li { margin-bottom: 10px; }
.gm-footer li a { color: var(--gm-body); font-size: 18px; }
.gm-footer li a:hover { color: #000; }
.gm-footer__social { display: flex; flex-wrap: wrap; gap: 15px; max-width: 360px; }
.gm-footer__social a { width: 60px; height: 60px; border-radius: 50%; background: #ebebeb; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.gm-footer__social a:hover { background: #000; color: #fff; }
.gm-footer__social svg { width: 22px; height: 22px; }
.gm-footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 110px; gap: 20px; flex-wrap: wrap; font-size: 17px; }
.gm-pay { display: flex; gap: 22px; flex-wrap: wrap; }
.gm-pay svg { width: 48px; height: 30px; }
.gm-totop { position: fixed; right: 18px; bottom: 90px; width: 56px; height: 56px; border-radius: 50%; background: #000; color: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; z-index: 45; }
.gm-totop.is-visible { opacity: 1; visibility: visible; }
.gm-totop svg { width: 24px; height: 24px; }

/* Cart drawer */
.gm-cd { position: fixed; inset: 0; z-index: 230; visibility: hidden; }
.gm-cd.is-open { visibility: visible; }
.gm-cd__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; }
.gm-cd.is-open .gm-cd__backdrop { opacity: 1; }
.gm-cd__panel-wrap { position: absolute; top: 0; right: 0; bottom: 0; width: min(570px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s ease; }
.gm-cd.is-open .gm-cd__panel-wrap { transform: none; }
.gm-cd__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 10px; }
.gm-cd__head h2 { font-size: 30px; margin: 0; }
.gm-cd__head button { background: none; border: 0; padding: 6px; cursor: pointer; line-height: 0; }
.gm-cd__head svg { width: 22px; height: 22px; stroke-width: 2; }
.gm-cd__msg { margin: 0 24px 6px; padding: 8px 12px; font-size: 14px; background: #eaf7f0; border: 1px solid #b7e1c9; }
.gm-cd__msg.is-error { background: #fdecec; border-color: #f2b8b8; }
.gm-cd__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.gm-cd__body.is-busy { opacity: .55; pointer-events: none; transition: opacity .15s; }
.gm-cd__items { list-style: none; margin: 0; padding: 14px 24px; overflow-y: auto; flex: 1; }
.gm-cd__item { display: grid; grid-template-columns: 138px 1fr; gap: 20px; margin-bottom: 24px; }
.gm-cd__thumb { display: block; border: 1px solid var(--gm-border); aspect-ratio: 138 / 140; background: #fff; }
.gm-cd__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gm-cd__name { display: block; font-size: 19px; line-height: 1.55; margin-bottom: 8px; }
.gm-cd__name:hover { text-decoration: underline; }
.gm-cd__price { font-size: 18px; margin-bottom: 12px; }
.gm-cd__row { display: flex; align-items: center; gap: 12px; }
.gm-cd .quantity { height: 46px; }
.gm-cd .quantity .qty { width: 44px !important; }
.gm-cd .qty-btn { width: 40px; }
.gm-cd__remove { background: none; border: 0; padding: 0; text-decoration: underline; color: var(--gm-body); cursor: pointer; font-size: 16px; }
.gm-cd__remove:hover { color: #000; }
.gm-cd__foot { border-top: 1px solid var(--gm-border); padding: 24px; box-shadow: 0 -6px 16px rgba(0,0,0,.04); }
.gm-cd__tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.gm-cd__tools button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; background: var(--gm-surface); border: 0; border-radius: 4px; font-size: 18px; cursor: pointer; }
.gm-cd__tools button:hover, .gm-cd__tools button.is-active { background: #e6e6e6; }
.gm-cd__panel { background: var(--gm-surface); padding: 16px; margin-bottom: 18px; font-size: 15px; }
.gm-cd__panel label, .gm-cd__panel strong { display: block; font-weight: 500; margin-bottom: 8px; }
.gm-cd__panel textarea, .gm-cd__panel input { width: 100%; border: 1px solid var(--gm-border); border-radius: 4px; padding: 10px 12px; background: #fff; outline: none; font-size: 15px; }
.gm-cd__panel p { color: var(--gm-body); margin: 0 0 10px; }
.gm-cd__panel-actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.gm-cd__panel-actions .gm-btn { min-height: 40px; padding: 0 22px; font-size: 15px; }
.gm-cd__link { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 15px; color: var(--gm-body); }
.gm-cd__applied { margin-top: 8px !important; font-size: 14px; }
.gm-cd__line, .gm-cd__subtotal { display: flex; justify-content: space-between; align-items: center; }
.gm-cd__line { color: var(--gm-body); margin-bottom: 6px; }
.gm-cd__subtotal { font-size: 22px; margin-bottom: 18px; }
.gm-cd__checkout { width: 100%; min-height: 56px; font-size: 20px; border-radius: 4px; }
.gm-cd__viewcart { display: block; text-align: center; text-decoration: underline; font-size: 19px; margin-top: 12px; }
.gm-cd__empty { padding: 40px 24px; text-align: center; color: var(--gm-body); }
.gm-cd__empty .gm-btn { margin-top: 10px; }
@media (max-width: 749px) {
  .gm-cd__item { grid-template-columns: 90px 1fr; gap: 14px; }
  .gm-cd__name { font-size: 16px; }
  .gm-cd__tools button { font-size: 15px; gap: 6px; }
  .gm-cd__head h2 { font-size: 24px; }
}

/* Wishlist page */
.gm-wishlist-empty { text-align: center; color: var(--gm-muted); padding: 30px 0 60px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  :root { --gm-gutter: 24px; }
  .gm-grid--home { --gm-cols: 4; }
  .gm-nav ul { gap: 24px; }
  .gm-contact { grid-template-columns: 1fr 380px; gap: 60px; }
  .gm-footer__top { grid-template-columns: 1fr 1fr; }
  .gm-features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .gm-topbar__social, .gm-topbar__lang { display: none; }
  .gm-topbar__inner { grid-template-columns: 1fr; text-align: center; }
  .gm-nav { display: none; }
  .gm-burger { display: inline-flex; }
  .gm-header__inner { min-height: 64px; }
  .gm-header__left { display: flex; align-items: center; }
  .gm-grid--home, .woocommerce ul.products { --gm-cols: 3; }
  .gm-shop__layout { grid-template-columns: 1fr; }
  .gm-filters { order: 2; }
  .gm-product__main { grid-template-columns: 1fr; gap: 30px; }
  .gm-summary { position: static; }
  .gm-contact { grid-template-columns: 1fr; gap: 50px; padding-bottom: 80px; }
  .gm-review { flex-basis: 70%; }
  .gm-why__grid { grid-template-columns: 1fr; }
  .gm-cols button[data-cols="5"], .gm-cols button[data-cols="4"] { display: none; }
}
@media (max-width: 749px) {
  body { font-size: 15px; }
  .gm-header__icons { gap: 12px; }
  .gm-header__icons .gm-hide-sm { display: none; }
  .gm-section { padding: 50px 0; }
  .gm-tabs-title, .gm-tabs-title__btn { font-size: 24px; }
  .gm-tabs-title__btn { gap: 16px; }
  .gm-grid--home, .woocommerce ul.products, ul.products { --gm-cols: 2 !important; gap: 30px 14px; }
  .gm-card__actions { top: 8px; right: 8px; gap: 6px; }
  .gm-card__actions .gm-wish { opacity: 1; transform: none; width: 36px; height: 36px; }
  .gm-card__actions .gm-wish svg { width: 16px; height: 16px; }
  .gm-card__atc { position: static; opacity: 1; transform: none; margin-top: 10px; }
  .gm-quickadd { min-height: 40px; font-size: 14px; background: #000; color: #fff; border-radius: 4px; box-shadow: none; }
  .gm-qv .gm-modal__box { grid-template-columns: 1fr; }
  .gm-qv__media { padding: 20px 20px 0; }
  .gm-qv__media > img { max-height: 280px; }
  .gm-qv__info { padding: 20px; max-height: none; }
  .gm-qv__info h2 { font-size: 22px; }
  .gm-qv__price { font-size: 20px; }
  .gm-card__title { font-size: 15px; }
  .gm-reviews { padding: 60px 0; }
  .gm-reviews__head h2, .gm-why > .gm-container > h2, .gm-faq h2 { font-size: 28px; }
  .gm-review { flex-basis: 88%; }
  .gm-features__grid { grid-template-columns: 1fr; }
  .gm-page-banner h1, .gm-pagehead h1, .gm-searchpage h1 { font-size: 32px; }
  .gm-pagehead { padding: 50px 0 40px; }
  .gm-summary h1.product_title { font-size: 26px; }
  .gm-faq summary { font-size: 19px; }
  .gm-ptabs { margin-top: 50px; }
  .gm-ptabs__nav { gap: 24px; }
  .gm-form__row { grid-template-columns: 1fr; gap: 0; }
  .gm-footer { padding: 60px 0 30px; }
  .gm-footer h2 { font-size: 32px; }
  .gm-footer__top { grid-template-columns: 1fr; }
  .gm-footer__bottom { margin-top: 50px; flex-direction: column; align-items: flex-start; }
  .gm-sticky-atc__prod img, .gm-sticky-atc__price { display: none; }
  .gm-sticky-atc__title { font-size: 14px; }
  .gm-sticky-atc .quantity { display: none !important; }
  .gm-shop--list ul.products li.product { grid-template-columns: 120px 1fr; gap: 16px; }
  .gm-cols { display: none; }
}
