/*
Theme Name:   GoodMarket TW
Theme URI:    https://goodmarket-tw.com
Description:  GoodMarket TW child theme for 梅嶺國際 WooCommerce store
Author:       Jochua
Template:     storefront
Version:      1.2.0
Text Domain:  goodmarket
Domain Path:  /languages
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --gm-primary:        #2E7D32;
  --gm-primary-dark:   #1B5E20;
  --gm-primary-light:  #4CAF50;
  --gm-secondary:      #795548;
  --gm-secondary-dark: #4E342E;
  --gm-accent:         #FF8F00;
  --gm-bg:             #FFFFFF;
  --gm-bg-alt:         #F5F5F5;
  --gm-bg-dark:        #1C2B1E;
  --gm-text:           #333333;
  --gm-text-light:     #757575;
  --gm-border:         #E0E0E0;
  --gm-white:          #FFFFFF;

  --gm-font-zh:   'Noto Sans TC', sans-serif;
  --gm-font-en:   'Noto Sans', sans-serif;
  --gm-font:      var(--gm-font-zh);

  --gm-header-h:  72px;
  --gm-radius:    6px;
  --gm-shadow:    0 2px 12px rgba(0,0,0,.08);
  --gm-shadow-lg: 0 4px 24px rgba(0,0,0,.12);
  --gm-transition: .2s ease;

  --gm-container: 1200px;
  --gm-gutter:    24px;
}

/* ============================================================
   BASE RESET & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--gm-font);
  color: var(--gm-text);
  background: var(--gm-bg);
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gm-primary);
  text-decoration: none;
  transition: color var(--gm-transition);
}
a:hover { color: var(--gm-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.5em; margin: 0 0 1em; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.gm-container {
  max-width: var(--gm-container);
  margin: 0 auto;
  padding: 0 var(--gm-gutter);
}

.gm-section {
  padding: 64px 0;
}

.gm-section--alt {
  background: var(--gm-bg-alt);
}

.gm-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.gm-section__title {
  font-size: 28px;
  color: var(--gm-text);
  margin-bottom: 8px;
}

.gm-section__subtitle {
  color: var(--gm-text-light);
  font-size: 15px;
  margin: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.gm-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--gm-radius);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--gm-transition), color var(--gm-transition), border-color var(--gm-transition);
  line-height: 1;
  text-align: center;
}

.gm-btn--primary {
  background: var(--gm-primary);
  color: var(--gm-white);
  border-color: var(--gm-primary);
}
.gm-btn--primary:hover {
  background: var(--gm-primary-dark);
  border-color: var(--gm-primary-dark);
  color: var(--gm-white);
}

.gm-btn--outline {
  background: transparent;
  color: var(--gm-white);
  border-color: var(--gm-white);
}
.gm-btn--outline:hover {
  background: var(--gm-white);
  color: var(--gm-primary);
}

.gm-btn--secondary {
  background: var(--gm-secondary);
  color: var(--gm-white);
  border-color: var(--gm-secondary);
}
.gm-btn--secondary:hover {
  background: var(--gm-secondary-dark);
  border-color: var(--gm-secondary-dark);
  color: var(--gm-white);
}

/* ============================================================
   HEADER
   ============================================================ */
.gm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gm-white);
  border-bottom: 1px solid var(--gm-border);
  box-shadow: var(--gm-shadow);
}

.gm-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--gm-header-h);
  max-width: var(--gm-container);
  margin: 0 auto;
  padding: 0 var(--gm-gutter);
}

/* Logo */
.gm-header__logo {
  flex-shrink: 0;
}

.gm-header__logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.gm-header__logo img {
  max-height: 48px;
  width: auto;
}

.gm-header__site-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--gm-primary);
  white-space: nowrap;
}

/* Navigation */
.gm-nav {
  flex: 1;
}

.gm-nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gm-nav__menu > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--gm-text);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--gm-radius);
  white-space: nowrap;
  transition: background var(--gm-transition), color var(--gm-transition);
}

.gm-nav__menu > li > a:hover,
.gm-nav__menu > li.current-menu-item > a,
.gm-nav__menu > li.current_page_item > a {
  color: var(--gm-primary);
  background: rgba(46, 125, 50, .07);
}

/* Dropdown */
.gm-nav__menu li {
  position: relative;
}

.gm-nav__menu li ul {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  box-shadow: var(--gm-shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--gm-transition), transform var(--gm-transition);
  z-index: 200;
}

.gm-nav__menu li:hover > ul,
.gm-nav__menu li:focus-within > ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.gm-nav__menu li ul a {
  display: block;
  padding: 9px 18px;
  color: var(--gm-text);
  font-size: 14px;
  transition: background var(--gm-transition), color var(--gm-transition);
}

.gm-nav__menu li ul a:hover {
  background: var(--gm-bg-alt);
  color: var(--gm-primary);
}

/* Parent arrow */
.gm-nav__menu li.menu-item-has-children > a::after {
  content: '▾';
  margin-left: 4px;
  font-size: 11px;
  opacity: .6;
}

/* Header actions */
.gm-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.gm-header__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--gm-radius);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gm-text);
  transition: background var(--gm-transition), color var(--gm-transition);
  position: relative;
  padding: 0;
}

.gm-header__action-btn:hover {
  background: var(--gm-bg-alt);
  color: var(--gm-primary);
}

.gm-header__action-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Cart count badge */
.gm-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gm-accent);
  color: var(--gm-white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.gm-cart-count:empty,
.gm-cart-count[data-count="0"] {
  display: none;
}

/* Language switcher */
.gm-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
}

.gm-lang__item a {
  display: block;
  padding: 4px 8px;
  color: var(--gm-text-light);
  border-radius: 4px;
  transition: color var(--gm-transition);
}

.gm-lang__item a:hover,
.gm-lang__item.lang-item-active a,
.gm-lang__item--active a {
  color: var(--gm-primary);
}

.gm-lang__item + .gm-lang__item::before {
  content: '|';
  color: var(--gm-border);
  font-size: 12px;
}

/* Mobile hamburger */
.gm-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--gm-radius);
}

.gm-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gm-text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.gm-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gm-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.gm-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar */
.gm-search-bar {
  border-top: 1px solid var(--gm-border);
  background: var(--gm-bg-alt);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease, padding .3s ease;
}

.gm-search-bar.is-open {
  max-height: 80px;
  padding: 12px 0;
}

.gm-search-bar__inner {
  max-width: var(--gm-container);
  margin: 0 auto;
  padding: 0 var(--gm-gutter);
}

.gm-search-bar .search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gm-search-bar .search-field {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  background: var(--gm-white);
  font-size: 15px;
  outline: none;
  transition: border-color var(--gm-transition);
}

.gm-search-bar .search-field:focus {
  border-color: var(--gm-primary);
}

.gm-search-bar .search-submit {
  padding: 10px 20px;
  background: var(--gm-primary);
  color: var(--gm-white);
  border: none;
  border-radius: var(--gm-radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background var(--gm-transition);
}

.gm-search-bar .search-submit:hover {
  background: var(--gm-primary-dark);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.gm-hero {
  position: relative;
  background: linear-gradient(135deg, var(--gm-primary-dark) 0%, var(--gm-primary) 60%, #388E3C 100%);
  color: var(--gm-white);
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,.04)"/><circle cx="10" cy="80" r="30" fill="rgba(255,255,255,.04)"/></svg>') no-repeat center/cover;
}

.gm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--gm-container);
  margin: 0 auto;
  padding: 80px var(--gm-gutter);
}

.gm-hero__label {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: var(--gm-white);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: .05em;
}

.gm-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--gm-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.gm-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.6;
}

.gm-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   PRODUCT CATEGORIES GRID
   ============================================================ */
.gm-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gm-cat-card {
  display: block;
  text-decoration: none;
  border-radius: var(--gm-radius);
  overflow: hidden;
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  transition: transform var(--gm-transition), box-shadow var(--gm-transition);
}

.gm-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gm-shadow-lg);
  border-color: var(--gm-primary-light);
}

.gm-cat-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gm-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gm-cat-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gm-cat-card:hover .gm-cat-card__image img {
  transform: scale(1.05);
}

.gm-cat-card__placeholder {
  font-size: 48px;
  opacity: .3;
}

.gm-cat-card__body {
  padding: 16px;
  text-align: center;
  border-top: 1px solid var(--gm-border);
}

.gm-cat-card__name-zh {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--gm-text);
  margin-bottom: 4px;
  transition: color var(--gm-transition);
}

.gm-cat-card:hover .gm-cat-card__name-zh {
  color: var(--gm-primary);
}

.gm-cat-card__name-en {
  display: block;
  font-size: 12px;
  color: var(--gm-text-light);
  font-family: var(--gm-font-en);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   PRODUCT CARDS (homepage featured + archive)
   ============================================================ */
.gm-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gm-product-card {
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  overflow: hidden;
  transition: box-shadow var(--gm-transition), transform var(--gm-transition);
  display: flex;
  flex-direction: column;
}

.gm-product-card:hover {
  box-shadow: var(--gm-shadow-lg);
  transform: translateY(-3px);
}

.gm-product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gm-bg-alt);
}

.gm-product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gm-product-card:hover .gm-product-card__image-wrap img {
  transform: scale(1.05);
}

.gm-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.gm-product-card__badge--oos {
  background: var(--gm-text-light);
  color: var(--gm-white);
}

.gm-product-card__badge--sale {
  background: var(--gm-accent);
  color: var(--gm-white);
}

.gm-product-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-product-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gm-text);
  margin: 0;
  line-height: 1.4;
}

.gm-product-card__name a {
  color: inherit;
  transition: color var(--gm-transition);
}
.gm-product-card__name a:hover {
  color: var(--gm-primary);
}

.gm-product-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--gm-primary);
  margin: auto 0 0;
}

.gm-product-card__price ins {
  text-decoration: none;
}

.gm-product-card__price del {
  font-size: 13px;
  color: var(--gm-text-light);
  font-weight: 400;
}

.gm-product-card__footer {
  padding: 0 16px 16px;
}

.gm-product-card__footer .gm-btn {
  width: 100%;
  font-size: 13px;
  padding: 9px 16px;
}

/* ============================================================
   BRAND STORY SECTION
   ============================================================ */
.gm-brand__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.gm-brand__image {
  border-radius: var(--gm-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gm-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gm-brand__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-brand__image-placeholder {
  font-size: 64px;
  opacity: .2;
}

.gm-brand__content .gm-section__title {
  text-align: left;
  font-size: 32px;
}

.gm-brand__content p {
  color: var(--gm-text-light);
  line-height: 1.9;
}

.gm-brand__content .gm-btn {
  margin-top: 8px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.gm-cta {
  background: linear-gradient(135deg, var(--gm-secondary-dark) 0%, var(--gm-secondary) 100%);
  padding: 72px 0;
  text-align: center;
  color: var(--gm-white);
}

.gm-cta__title {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--gm-white);
  margin-bottom: 16px;
}

.gm-cta__text {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.gm-footer {
  background: var(--gm-bg-dark);
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.gm-footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 60px var(--gm-gutter);
  max-width: var(--gm-container);
  margin: 0 auto;
}

.gm-footer__col-title {
  color: var(--gm-white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gm-primary);
  display: inline-block;
}

.gm-footer__brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gm-white);
  margin-bottom: 12px;
  display: block;
}

.gm-footer__brand-desc {
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 13px;
}

.gm-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gm-footer__links a {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  transition: color var(--gm-transition);
}

.gm-footer__links a:hover {
  color: var(--gm-primary-light);
}

.gm-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gm-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  line-height: 1.5;
}

.gm-footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gm-primary-light);
}

/* Social links */
.gm-footer__social {
  max-width: var(--gm-container);
  margin: 0 auto;
  padding: 0 var(--gm-gutter) 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 32px;
}

.gm-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  transition: background var(--gm-transition), color var(--gm-transition), border-color var(--gm-transition);
}

.gm-footer__social-link:hover {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
  color: var(--gm-white);
}

.gm-footer__social-link svg {
  width: 18px;
  height: 18px;
}

.gm-footer__social-text {
  margin-left: auto;
  color: rgba(255,255,255,.4);
  font-size: 13px;
}

/* Copyright bar */
.gm-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px var(--gm-gutter);
  max-width: var(--gm-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gm-footer__copyright {
  color: rgba(255,255,255,.4);
  font-size: 13px;
}

.gm-footer__legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gm-footer__legal-links a {
  color: rgba(255,255,255,.4);
  font-size: 13px;
  transition: color var(--gm-transition);
}

.gm-footer__legal-links a:hover {
  color: rgba(255,255,255,.7);
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */

/* WooCommerce product loop — our grid takes over completely */
ul.products.gm-products__grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.products.gm-products__grid li.product,
ul.products.gm-products__grid li.gm-product-card {
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  clear: none !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  ul.products.gm-products__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  ul.products.gm-products__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* WooCommerce buttons → our style */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--gm-primary);
  color: var(--gm-white);
  border-radius: var(--gm-radius);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  transition: background var(--gm-transition);
  border: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--gm-primary-dark);
  color: var(--gm-white);
}

/* Add to cart button inside our card */
.gm-product-card .button {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--gm-radius);
  background: var(--gm-primary);
  color: var(--gm-white);
  font-weight: 500;
  transition: background var(--gm-transition);
  border: none;
  cursor: pointer;
}

.gm-product-card .button:hover {
  background: var(--gm-primary-dark);
  color: var(--gm-white);
}

.gm-btn--disabled {
  opacity: .55;
  cursor: default;
  pointer-events: none;
  display: block;
  text-align: center;
  padding: 9px 16px;
  border-radius: var(--gm-radius);
  border: 1px solid var(--gm-border);
  font-size: 13px;
}

.gm-product-card__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: .2;
}

/* ============================================================
   SHOP / ARCHIVE PAGES
   ============================================================ */

/* Archive hero — category or shop header */
.gm-archive-hero {
  position: relative;
  background: linear-gradient(135deg, var(--gm-primary-dark) 0%, #2E7D32 50%, #388E3C 100%);
  color: var(--gm-white);
  padding: 52px 0 44px;
  overflow: hidden;
}

/* Decorative circles — pure CSS, no image needed */
.gm-archive-hero::before,
.gm-archive-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.gm-archive-hero::before {
  width: 340px;
  height: 340px;
  background: rgba(255,255,255,.06);
  top: -80px;
  right: 10%;
}

.gm-archive-hero::after {
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,.04);
  bottom: -60px;
  right: 25%;
}

.gm-archive-hero__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--gm-white);
  margin: 12px 0 8px;
}

.gm-archive-hero__subtitle {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0;
  font-family: var(--gm-font-en);
}

/* Breadcrumb */
.gm-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

.gm-breadcrumb a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
}

.gm-breadcrumb a:hover {
  color: var(--gm-white);
}

/* Shop section */
.gm-section--shop {
  padding: 40px 0 64px;
}

/* Toolbar: result count + ordering */
.gm-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.woocommerce-result-count {
  font-size: 14px;
  color: var(--gm-text-light);
  margin: 0;
}

.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select {
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  padding: 8px 12px;
  font-size: 14px;
  color: var(--gm-text);
  background: var(--gm-white);
  outline: none;
  cursor: pointer;
}

.woocommerce-ordering select:focus {
  border-color: var(--gm-primary);
}

/* Pagination */
.woocommerce-pagination {
  margin-top: 48px;
  text-align: center;
}

.woocommerce-pagination ul {
  display: inline-flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius);
  font-size: 14px;
  color: var(--gm-text);
  text-decoration: none;
  transition: background var(--gm-transition), border-color var(--gm-transition), color var(--gm-transition);
}

.woocommerce-pagination ul li a:hover {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
  color: var(--gm-white);
}

.woocommerce-pagination ul li span.current {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
  color: var(--gm-white);
  font-weight: 700;
}

/* No products found */
.gm-no-products {
  text-align: center;
  padding: 48px 0;
  color: var(--gm-text-light);
}

.gm-no-products p {
  font-size: 16px;
  margin-bottom: 24px;
}

/* WooCommerce notices */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-radius: var(--gm-radius);
  margin-bottom: 24px;
  padding: 14px 20px;
  font-size: 14px;
}

.woocommerce-info {
  background: #E3F2FD;
  border-left: 4px solid #2196F3;
  color: #1565C0;
}

/* Hide WooCommerce default page title (we output our own) */
.woocommerce-products-header { display: none; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --gm-header-h: 64px; }

  .gm-categories__grid,
  .gm-products__grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .gm-brand__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gm-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .gm-section { padding: 48px 0; }

  /* Mobile nav */
  .gm-nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .gm-nav {
    display: none;
    position: fixed;
    top: var(--gm-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gm-white);
    overflow-y: auto;
    padding: 16px 0 32px;
    z-index: 90;
    border-top: 1px solid var(--gm-border);
  }

  .gm-nav.is-open {
    display: block;
  }

  .gm-nav__menu {
    flex-direction: column;
    gap: 0;
    padding: 0 var(--gm-gutter);
  }

  .gm-nav__menu > li > a {
    padding: 14px 8px;
    border-radius: 0;
    border-bottom: 1px solid var(--gm-border);
    font-size: 16px;
  }

  .gm-nav__menu li ul {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gm-bg-alt);
    border-radius: 0;
    padding: 4px 0;
  }

  .gm-nav__menu li ul a {
    padding: 10px 24px;
    font-size: 15px;
  }

  /* Actions on mobile: hide account, move search/cart to visible */
  .gm-header__actions {
    gap: 2px;
  }

  .gm-header__action-btn.gm-account-btn {
    display: none;
  }

  .gm-lang-switcher {
    display: none; /* shown in mobile menu instead */
  }

  /* Hero */
  .gm-hero { min-height: 360px; }
  .gm-hero__actions { flex-direction: column; align-items: flex-start; }

  /* Grids */
  .gm-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gm-products__grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Footer */
  .gm-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px var(--gm-gutter);
  }

  .gm-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.gm-hero-slider {
  position: relative;
  overflow: hidden;
  height: 580px;
  background: var(--gm-primary-dark);
}

.gm-hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform .75s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.gm-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Left-heavy dark gradient so text is always readable */
.gm-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,40,18,.90) 0%,
    rgba(15,40,18,.78) 40%,
    rgba(15,40,18,.30) 65%,
    transparent 100%
  );
}

.gm-slide__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: var(--gm-white);
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .65s ease .25s, transform .65s ease .25s;
}

.gm-slide.is-active .gm-slide__content {
  opacity: 1;
  transform: translateX(0);
}

.gm-slide__label {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: var(--gm-white);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: .05em;
  border: 1px solid rgba(255,255,255,.25);
}

.gm-slide__title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  color: var(--gm-white);
  margin: 0 0 12px;
  line-height: 1.15;
}

.gm-slide__subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,.9);
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: .04em;
}

.gm-slide__desc {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 460px;
}

.gm-slide__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Arrow buttons */
.gm-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--gm-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--gm-transition), border-color var(--gm-transition);
  backdrop-filter: blur(4px);
}

.gm-slider__arrow:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.6);
}

.gm-slider__arrow svg { width: 20px; height: 20px; }
.gm-slider__arrow--prev { left: 20px; }
.gm-slider__arrow--next { right: 20px; }

/* Dots */
.gm-slider__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.gm-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--gm-transition), transform var(--gm-transition);
}

.gm-slider__dot.is-active {
  background: var(--gm-white);
  transform: scale(1.3);
}

/* ============================================================
   PRODUCT CAROUSEL
   ============================================================ */
.gm-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gm-carousel__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--gm-radius);
}

.gm-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.gm-carousel__track .gm-product-card {
  flex: 0 0 calc(25% - 18px);
  min-width: 0;
}

.gm-carousel__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gm-text);
  transition: background var(--gm-transition), border-color var(--gm-transition), color var(--gm-transition);
  box-shadow: var(--gm-shadow);
  z-index: 2;
}

.gm-carousel__btn:hover {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
  color: var(--gm-white);
}

.gm-carousel__btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

.gm-carousel__btn svg { width: 18px; height: 18px; }

/* ============================================================
   BRAND STORY — improved
   ============================================================ */
.gm-brand__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gm-primary);
  background: rgba(46,125,50,.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.gm-brand__divider {
  width: 48px;
  height: 3px;
  background: var(--gm-primary);
  border-radius: 2px;
  margin: 16px 0 20px;
}

.gm-brand__pending {
  font-size: 13px;
  color: var(--gm-text-light);
  font-style: italic;
}

.gm-brand__stats {
  display: flex;
  gap: 32px;
  margin: 24px 0 28px;
  padding: 20px 0;
  border-top: 1px solid var(--gm-border);
  border-bottom: 1px solid var(--gm-border);
}

.gm-brand__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gm-brand__stat strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--gm-primary);
  line-height: 1;
}

.gm-brand__stat span {
  font-size: 12px;
  color: var(--gm-text-light);
}

.gm-brand__image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gm-brand__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gm-brand__image:hover img {
  transform: scale(1.03);
}

.gm-brand__image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gm-primary);
  color: var(--gm-white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* ============================================================
   CTA — improved split layout
   ============================================================ */
.gm-cta {
  background: linear-gradient(135deg, var(--gm-secondary-dark) 0%, var(--gm-secondary) 100%);
  padding: 72px 0;
  color: var(--gm-white);
}

.gm-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.gm-btn--lg {
  padding: 14px 32px;
  font-size: 16px;
  white-space: nowrap;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.gm-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}

.gm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gm-reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.gm-reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Category cards inside carousel — fixed width set by JS */
.gm-cat-carousel .gm-carousel__track {
  gap: 20px;
}

.gm-cat-carousel .gm-cat-card {
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — new components
   ============================================================ */
@media (max-width: 900px) {
  .gm-hero-slider { height: 460px; }

  .gm-carousel__track .gm-product-card {
    flex: 0 0 calc(50% - 12px);
  }

  .gm-brand__stats { gap: 20px; }

  .gm-cta__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .gm-hero-slider { height: 400px; }

  .gm-slide__title { font-size: 28px; }
  .gm-slide__desc  { display: none; }
  .gm-slide__actions { flex-direction: column; align-items: flex-start; }

  .gm-slider__arrow { width: 38px; height: 38px; }
  .gm-slider__arrow--prev { left: 10px; }
  .gm-slider__arrow--next { right: 10px; }

  .gm-carousel__track .gm-product-card {
    flex: 0 0 calc(100% - 0px);
  }

  .gm-carousel__btn { width: 36px; height: 36px; }

  .gm-brand__stats { flex-wrap: wrap; gap: 16px; }

  .gm-cta { padding: 48px 0; }
}

/* ============================================================
   PAGE HERO  (Contact & Shopping Guide)
   ============================================================ */
@keyframes gm-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(6deg); }
}
@keyframes gm-float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(-4deg); }
}

.gm-page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
  text-align: center;
  color: var(--gm-white);
  background: linear-gradient(140deg, var(--gm-primary-dark) 0%, var(--gm-primary) 55%, #388E3C 100%);
}

.gm-page-hero--guide {
  background: linear-gradient(140deg, #1B5E20 0%, #2E7D32 50%, #43A047 100%);
}

/* Decorative floating shapes */
.gm-page-hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.gm-page-hero__shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.gm-page-hero__shape--1 {
  width: 420px; height: 420px;
  top: -160px; right: -80px;
  animation: gm-float 9s ease-in-out infinite;
}
.gm-page-hero__shape--2 {
  width: 260px; height: 260px;
  bottom: -100px; left: 8%;
  background: rgba(255,255,255,.05);
  animation: gm-float-slow 12s ease-in-out infinite 2s;
}
.gm-page-hero__shape--3 {
  width: 100px; height: 100px;
  top: 30%; left: 18%;
  background: rgba(255,255,255,.08);
  animation: gm-float 7s ease-in-out infinite 1s;
}

.gm-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--gm-gutter);
}

.gm-page-hero__label {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  color: var(--gm-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.gm-page-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--gm-white);
  margin: 0 0 18px;
  line-height: 1.15;
}

.gm-page-hero__subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   CONTACT CARDS
   ============================================================ */
.gm-contact-cards {
  padding: 0;
  background: var(--gm-bg);
}

.gm-contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  transform: translateY(-52px);
  margin-bottom: -52px;
}

@keyframes gm-pulse-ring {
  0%   { transform: scale(1);   opacity: .6; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.gm-contact-card {
  background: var(--gm-white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--gm-border);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.gm-contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gm-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.gm-contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
}

.gm-contact-card:hover::before { transform: scaleX(1); }

/* Icon */
.gm-contact-card__icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(46,125,50,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gm-primary);
}

.gm-contact-card__icon-wrap svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}

.gm-contact-card__icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(46,125,50,.25);
  animation: gm-pulse-ring 2.8s cubic-bezier(.215,.61,.355,1) infinite;
  z-index: 1;
}

/* LINE card overrides */
.gm-contact-card--line .gm-contact-card__icon-wrap {
  background: rgba(0,185,0,.08);
  color: #00B900;
}
.gm-contact-card--line .gm-contact-card__icon-ring {
  border-color: rgba(0,185,0,.25);
}
.gm-contact-card--line::before {
  background: #00B900;
}

/* Email card */
.gm-contact-card--email .gm-contact-card__icon-wrap {
  background: rgba(33,150,243,.08);
  color: #1976D2;
}
.gm-contact-card--email .gm-contact-card__icon-ring {
  border-color: rgba(33,150,243,.25);
}
.gm-contact-card--email::before {
  background: #1976D2;
}

.gm-contact-card__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gm-text-light);
  margin-bottom: 8px;
}

.gm-contact-card__value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--gm-text);
  text-decoration: none;
  transition: color var(--gm-transition);
  word-break: break-all;
  margin-bottom: 6px;
}

.gm-contact-card:hover .gm-contact-card__value { color: var(--gm-primary); }
.gm-contact-card--email:hover .gm-contact-card__value { color: #1976D2; }
.gm-contact-card--line:hover .gm-contact-card__value { color: #00B900; }

.gm-contact-card__note {
  font-size: 13px;
  color: var(--gm-text-light);
  margin: 0 0 20px;
}

.gm-contact-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--gm-primary);
  margin-top: auto;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

.gm-contact-card--email .gm-contact-card__cta { color: #1976D2; }
.gm-contact-card--line  .gm-contact-card__cta { color: #00B900; }

.gm-contact-card:hover .gm-contact-card__cta {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CONTACT INFO SECTION
   ============================================================ */
.gm-contact-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.gm-contact-info__heading {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--gm-text);
  margin: 0 0 4px;
}

.gm-contact-info__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gm-contact-info__list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.gm-contact-info__list-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gm-primary);
  color: var(--gm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.gm-contact-info__list-icon svg {
  width: 14px;
  height: 14px;
}

.gm-contact-info__list-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gm-text);
  margin-bottom: 4px;
}

.gm-contact-info__list-item p {
  font-size: 14px;
  color: var(--gm-text-light);
  margin: 0;
  line-height: 1.6;
}

/* Hours card */
.gm-hours-card {
  background: var(--gm-bg-dark);
  border-radius: 16px;
  padding: 32px;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}

.gm-hours-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gm-primary-light);
  margin-bottom: 24px;
}

.gm-hours-card__header svg {
  width: 18px;
  height: 18px;
}

.gm-hours-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gm-hours-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 14px;
}

.gm-hours-card__list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.gm-hours-card__day { color: rgba(255,255,255,.7); }

.gm-hours-card__time {
  font-weight: 600;
  color: var(--gm-white);
}

.gm-hours-card__holiday .gm-hours-card__time {
  color: rgba(255,255,255,.4);
}

.gm-hours-card__note {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin: 0;
  line-height: 1.6;
}

/* Contact channel buttons */
.gm-contact-channels__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gm-text-light);
  margin-bottom: 14px;
}

.gm-contact-channels__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gm-contact-channels__btns .gm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

/* Extra button variants */
.gm-btn--line {
  background: #00B900;
  color: var(--gm-white);
  border-color: #00B900;
}
.gm-btn--line:hover {
  background: #00A000;
  border-color: #00A000;
  color: var(--gm-white);
}

.gm-btn--outline-dark {
  background: transparent;
  color: var(--gm-text);
  border: 2px solid var(--gm-border);
}
.gm-btn--outline-dark:hover {
  background: var(--gm-bg-alt);
  border-color: var(--gm-primary);
  color: var(--gm-primary);
}

.gm-btn--accent {
  background: var(--gm-accent);
  color: var(--gm-white);
  border-color: var(--gm-accent);
}
.gm-btn--accent:hover {
  background: #e65100;
  border-color: #e65100;
  color: var(--gm-white);
}

/* Contact page CTA strip */
.gm-contact-cta { padding: 64px 0; }

/* ============================================================
   SHOPPING GUIDE — STEPS
   ============================================================ */
.gm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
  row-gap: 48px;
  position: relative;
}

.gm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.gm-step__icon-wrap {
  position: relative;
  margin-bottom: 20px;
}

.gm-step__number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gm-accent);
  color: var(--gm-white);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  line-height: 1;
}

.gm-step__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(46,125,50,.08);
  border: 2px solid rgba(46,125,50,.15);
  color: var(--gm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.gm-step:hover .gm-step__icon {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
  color: var(--gm-white);
  transform: scale(1.08);
}

.gm-step__icon svg { width: 32px; height: 32px; }

.gm-step__icon--accent {
  background: rgba(255,143,0,.1);
  border-color: rgba(255,143,0,.3);
  color: var(--gm-accent);
}

.gm-step:hover .gm-step__icon--accent {
  background: var(--gm-accent);
  border-color: var(--gm-accent);
  color: var(--gm-white);
}

.gm-step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gm-text);
  margin: 0 0 10px;
}

.gm-step__desc {
  font-size: 14px;
  color: var(--gm-text-light);
  line-height: 1.7;
  margin: 0;
  max-width: 240px;
}

/* Horizontal connector between steps in same row */
.gm-step__connector {
  display: none;
}

/* ============================================================
   SHOPPING GUIDE — INFO CARDS
   ============================================================ */
.gm-guide-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gm-info-card {
  background: var(--gm-white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--gm-border);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}

.gm-info-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gm-primary), var(--gm-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.gm-info-card:hover {
  box-shadow: var(--gm-shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(46,125,50,.2);
}

.gm-info-card:hover::after { transform: scaleX(1); }

.gm-info-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(46,125,50,.08);
  color: var(--gm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.gm-info-card__icon svg { width: 24px; height: 24px; }

.gm-info-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gm-text);
  margin-bottom: 16px;
}

.gm-info-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gm-info-card__list li {
  font-size: 14px;
  color: var(--gm-text-light);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.gm-info-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gm-primary);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.gm-faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gm-faq__item {
  background: var(--gm-white);
  border: 1px solid var(--gm-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.gm-faq__item[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border-color: rgba(46,125,50,.3);
}

.gm-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gm-text);
  cursor: pointer;
  list-style: none;
  transition: color .2s ease, background .2s ease;
}

.gm-faq__question::-webkit-details-marker { display: none; }

.gm-faq__item[open] .gm-faq__question {
  color: var(--gm-primary);
  background: rgba(46,125,50,.04);
}

.gm-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--gm-border);
  position: relative;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.gm-faq__icon::before,
.gm-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gm-text-light);
  border-radius: 2px;
  transition: opacity .25s ease, background .25s ease;
}

.gm-faq__icon::before {
  width: 8px; height: 2px;
  transform: translate(-50%, -50%);
}

.gm-faq__icon::after {
  width: 2px; height: 8px;
  transform: translate(-50%, -50%);
}

.gm-faq__item[open] .gm-faq__icon {
  background: var(--gm-primary);
  border-color: var(--gm-primary);
  transform: rotate(45deg);
}

.gm-faq__item[open] .gm-faq__icon::before,
.gm-faq__item[open] .gm-faq__icon::after {
  background: var(--gm-white);
}

.gm-faq__answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--gm-border);
}

.gm-faq__answer p {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--gm-text-light);
  line-height: 1.75;
}

/* ============================================================
   RESPONSIVE — page templates
   ============================================================ */
@media (max-width: 900px) {
  .gm-contact-cards__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    transform: translateY(-32px);
    margin-bottom: -32px;
  }

  .gm-contact-card { flex-direction: row; text-align: left; padding: 24px; }
  .gm-contact-card__icon-wrap { margin-bottom: 0; flex-shrink: 0; }
  .gm-contact-card__body { flex: 1; }
  .gm-contact-card__cta { display: none; }

  .gm-contact-info__grid { grid-template-columns: 1fr; gap: 40px; }

  .gm-steps { grid-template-columns: 1fr 1fr; }

  .gm-guide-info__grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .gm-page-hero { padding: 64px 0 60px; }

  .gm-contact-cards__grid {
    transform: translateY(-24px);
    margin-bottom: -24px;
  }

  .gm-contact-card { flex-direction: column; align-items: center; text-align: center; }

  .gm-contact-channels__btns { flex-direction: column; }

  .gm-steps { grid-template-columns: 1fr; gap: 32px; }

  .gm-step { flex-direction: row; text-align: left; gap: 20px; align-items: flex-start; }
  .gm-step__icon-wrap { margin-bottom: 0; flex-shrink: 0; }
  .gm-step__desc { max-width: none; }

  .gm-faq__question { padding: 16px 18px; font-size: 14px; }
  .gm-faq__answer { padding: 0 18px 16px; }
}

/* ============================================================
   SVG HARD-SIZE OVERRIDES
   (Storefront injects max-width:100% on images, we force our sizes)
   ============================================================ */
.gm-contact-card__icon-wrap svg,
.gm-step__icon svg,
.gm-info-card__icon svg,
.gm-contact-info__list-icon svg,
.gm-hours-card__header svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  flex-shrink: 0;
}

.gm-step__icon svg    { width: 32px !important; height: 32px !important; max-width: 32px !important; }
.gm-info-card__icon svg { width: 24px !important; height: 24px !important; max-width: 24px !important; }
.gm-contact-info__list-icon svg { width: 14px !important; height: 14px !important; max-width: 14px !important; }
.gm-hours-card__header svg { width: 18px !important; height: 18px !important; max-width: 18px !important; }

.gm-contact-channels__btns .gm-btn svg,
.gm-footer__contact-item svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  flex-shrink: 0;
}

/* Stop Storefront from overriding SVG display */
.gm-contact-card__icon-wrap svg,
.gm-step__icon svg,
.gm-info-card__icon svg {
  display: inline-block !important;
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

:focus-visible {
  outline: 3px solid var(--gm-primary);
  outline-offset: 2px;
}
