/*
Theme Name: Gerard Multiservices
Theme URI: https://gerardmultiservices.com/
Author: GERARD MULTISERVICES LLC
Description: A lightweight WooCommerce-ready WordPress theme for GERARD MULTISERVICES.
Version: 1.0.7
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: gerard-multiservices
*/

:root {
  --gm-bg: #f3f5f6;
  --gm-surface: #ffffff;
  --gm-ink: #101820;
  --gm-ink-soft: #24313d;
  --gm-muted: #66717c;
  --gm-line: #d9dee3;
  --gm-gold: #d8951d;
  --gm-gold-strong: #f4b12b;
  --gm-gold-soft: #fff4d6;
  --gm-green: #1f7a52;
  --gm-blue: #263a4d;
  --gm-radius: 8px;
  --gm-shadow: 0 18px 42px rgba(16, 24, 32, 0.12);
  --gm-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gm-bg);
  color: var(--gm-ink);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.gm-checkout-focus .gm-site-header,
body.gm-checkout-focus .gm-site-footer {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.gm-container {
  width: min(calc(100% - 32px), var(--gm-max));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gm-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.gm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}

.gm-brand,
.gm-brand-custom .custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.gm-brand img,
.gm-brand .custom-logo {
  width: auto;
  max-width: 280px;
  max-height: 72px;
  object-fit: contain;
}

.gm-nav-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gm-primary-menu,
.gm-primary-menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gm-primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--gm-ink-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

.gm-primary-menu a:hover,
.gm-primary-menu .current-menu-item > a,
.gm-primary-menu .current-menu-ancestor > a {
  color: var(--gm-gold);
}

.gm-primary-menu .menu-item-has-children {
  position: relative;
}

.gm-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 250px;
  padding: 8px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: var(--gm-surface);
  box-shadow: var(--gm-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.gm-primary-menu .menu-item-has-children:hover > .sub-menu,
.gm-primary-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gm-cart-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: var(--gm-surface);
  color: var(--gm-ink);
}

.gm-cart-link svg {
  width: 20px;
  height: 20px;
}

.gm-cart-count {
  position: absolute;
  top: -7px;
  right: -6px;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--gm-gold);
  color: #101820;
  font-size: 0.72rem;
  font-weight: 800;
}

.gm-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: var(--gm-surface);
  color: var(--gm-ink);
  cursor: pointer;
}

.gm-menu-toggle span,
.gm-menu-toggle::before,
.gm-menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.gm-hero {
  padding: 24px 0 18px;
}

.gm-hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.54fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  min-height: clamp(440px, 58vw, 620px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 16%, rgba(244, 177, 43, 0.22), rgba(244, 177, 43, 0) 28%),
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 34%, rgba(255,255,255,0.18) 62%, rgba(16,24,32,0.02) 100%),
    var(--gm-hero-image) right center / cover no-repeat,
    #e5e8eb;
  box-shadow: var(--gm-shadow);
  padding: clamp(28px, 6vw, 72px);
}

.gm-hero-panel::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.gm-hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.gm-hero-panel > *:not(.gm-hero-bg-img) {
  position: relative;
  z-index: 1;
}

.gm-hero-panel::before {
  z-index: 1;
  background:
    radial-gradient(circle at 86% 16%, rgba(244, 177, 43, 0.22), rgba(244, 177, 43, 0) 28%),
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 34%, rgba(255,255,255,0.18) 62%, rgba(16,24,32,0.02) 100%);
}

.gm-hero-panel::after {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 54px);
  width: clamp(120px, 16vw, 210px);
  height: clamp(120px, 16vw, 210px);
  border: 22px solid rgba(216, 149, 29, 0.2);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.gm-hero-content {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.gm-kicker {
  margin: 0 0 14px;
  color: var(--gm-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gm-hero h1,
.gm-page-hero h1 {
  margin: 0;
  color: var(--gm-ink);
  font-size: clamp(2rem, 4.25vw, 4.25rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.02;
}

.gm-hero-copy {
  max-width: 550px;
  margin: 18px 0 0;
  color: var(--gm-muted);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
}

.gm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gm-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--gm-gold);
  border-radius: var(--gm-radius);
  background: var(--gm-gold);
  color: #101820;
  font-weight: 800;
  line-height: 1.1;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gm-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  border-color: var(--gm-gold-strong);
  background: var(--gm-gold-strong);
  color: #101820;
  transform: translateY(-1px);
}

.gm-button-secondary {
  border-color: var(--gm-line);
  background: #fff;
  color: var(--gm-ink);
}

.gm-button-secondary:hover {
  border-color: var(--gm-ink);
  background: var(--gm-ink);
  color: #fff;
}

.gm-hero-showcase {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(320px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 45px rgba(16, 24, 32, 0.22);
  backdrop-filter: blur(16px);
}

.gm-hero-showcase img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}

.gm-hero-perks {
  display: grid;
  gap: 8px;
}

.gm-hero-perks span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: var(--gm-radius);
  background: #fff;
  color: var(--gm-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.gm-hero-perks svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--gm-gold);
}

.gm-section {
  padding: clamp(34px, 6vw, 72px) 0;
}

.gm-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.gm-section-head-center {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 34px;
}

.gm-section h2 {
  margin: 0;
  color: var(--gm-ink);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
}

.gm-section-head p,
.gm-section-copy {
  max-width: 560px;
  margin: 0;
  color: var(--gm-muted);
}

.gm-section-head-center p {
  max-width: 520px;
  display: block;
  margin-inline: auto;
  text-align: center;
}

.gm-category-intro {
  padding: 0 12px;
  line-height: 1.55;
}

.gm-category-section,
.gm-home-products,
.gm-featured-products {
  margin: 18px 0;
}

.gm-category-section .gm-container,
.gm-home-products .gm-container,
.gm-featured-products .gm-container {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(16, 24, 32, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

.gm-category-section .gm-container::before,
.gm-home-products .gm-container::before {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border: 30px solid rgba(216, 149, 29, 0.1);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.gm-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.gm-category-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 9px;
  min-width: 0;
  color: var(--gm-ink);
}

.gm-category-image {
  display: block;
  width: min(176px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--gm-gold);
  border-radius: 999px;
  background: #f4f1ea;
  box-shadow: inset 0 0 0 8px #fff, 0 12px 24px rgba(16, 24, 32, 0.1);
}

.gm-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  color: transparent;
  font-size: 0;
}

.gm-brand img,
.gm-hero-showcase img,
.gm-hero-bg-img,
.gm-feature-image img,
.gm-preview-product img {
  color: transparent;
  font-size: 0;
}

.gm-category-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.gm-category-card small {
  display: block;
  max-width: 210px;
  color: var(--gm-muted);
  font-size: 0.84rem;
}

.gm-preview-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 190px));
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin-inline: auto;
}

.gm-preview-product {
  display: grid;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.06);
}

.gm-preview-product img {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  border-radius: 6px;
  background: #edf0f2;
}

.gm-preview-product h3 {
  margin: 12px 0 3px;
  color: var(--gm-ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.gm-preview-product p {
  margin: 0 0 12px;
  color: var(--gm-ink);
  font-weight: 850;
}

.gm-preview-product a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  margin-top: auto;
  border-radius: var(--gm-radius);
  background: var(--gm-gold);
  color: #101820;
  font-size: 0.82rem;
  font-weight: 800;
}

.gm-value-section {
  background: #fff;
  border-block: 1px solid var(--gm-line);
}

.gm-value-grid,
.gm-assurance-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.gm-feature-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--gm-radius);
  background: #e4e7ea;
  box-shadow: var(--gm-shadow);
}

.gm-feature-image img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.gm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.gm-steps div {
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: var(--gm-bg);
}

.gm-steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--gm-ink);
  color: var(--gm-gold-strong);
  font-weight: 850;
}

.gm-steps strong,
.gm-steps small {
  display: block;
}

.gm-steps small {
  margin-top: 6px;
  color: var(--gm-muted);
  line-height: 1.45;
}

.gm-page-hero {
  padding: clamp(42px, 7vw, 82px) 0 clamp(26px, 5vw, 48px);
  border-bottom: 1px solid var(--gm-line);
  background:
    linear-gradient(135deg, rgba(244, 177, 43, 0.16), rgba(38, 58, 77, 0.08)),
    #fff;
}

.gm-page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.gm-page-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--gm-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.gm-site-main {
  min-height: 60vh;
}

.gm-content-page,
.gm-shop-wrap {
  width: 100%;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px) 0;
}

.gm-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.gm-info-panel,
.gm-policy-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: var(--gm-surface);
}

.gm-info-panel h2,
.gm-policy-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.gm-clean-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gm-clean-list a,
.gm-info-panel a,
.gm-policy-card a {
  color: var(--gm-blue);
  font-weight: 760;
}

.gm-contact-card {
  border-top: 4px solid var(--gm-gold);
}

.gm-contact-form {
  grid-column: 1 / -1;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--gm-line);
  border-top: 4px solid var(--gm-green);
  border-radius: var(--gm-radius);
  background: var(--gm-surface);
}

.gm-contact-form h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.gm-field-wrap {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
}

.gm-field-wrap label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gm-ink);
}

.gm-field-wrap input,
.gm-field-wrap textarea {
  width: 100%;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: #fff;
  color: var(--gm-ink);
  padding: 12px 13px;
}

.gm-field-wrap input:focus,
.gm-field-wrap textarea:focus {
  border-color: var(--gm-gold);
  outline: 3px solid rgba(216, 149, 29, 0.2);
}

.gm-hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gm-form-notice {
  padding: 11px 12px;
  margin: 0 0 14px;
  border-left: 4px solid var(--gm-blue);
  background: var(--gm-bg);
  font-weight: 700;
}

.gm-form-success {
  border-left-color: var(--gm-green);
}

.gm-form-error {
  border-left-color: #b84a2a;
}

.gm-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gm-policy-card:nth-child(3n + 1) {
  border-top: 4px solid var(--gm-gold);
}

.gm-policy-card:nth-child(3n + 2) {
  border-top: 4px solid var(--gm-blue);
}

.gm-policy-card:nth-child(3n) {
  border-top: 4px solid var(--gm-green);
}

.gm-site-footer {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #101820;
  color: #f8f4ea;
}

.gm-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(190px, 0.48fr));
  gap: 26px;
  align-items: start;
  padding: 40px 0 28px;
}

.gm-footer-brand {
  margin: 0 0 10px;
  color: #fff;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.gm-footer-col {
  display: grid;
  gap: 8px;
}

.gm-footer-col p,
.gm-footer-col span {
  margin: 0;
  color: #d8dde2;
}

.gm-footer-title {
  color: #fff !important;
  font-weight: 820;
}

.gm-footer-col a {
  color: #fff;
  width: fit-content;
}

.gm-footer-col a:hover {
  color: var(--gm-gold-strong);
}

.gm-footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b9c0c5;
  font-size: 0.92rem;
}

.gm-footer-bottom p {
  margin: 0;
}

.gm-whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.34);
  pointer-events: auto;
}

.gm-whatsapp-float:hover {
  background: #128c3f;
  color: #fff;
}

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

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 20px;
}

.woocommerce .woocommerce-ordering select {
  max-width: 100%;
  min-height: 42px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: #fff;
  color: var(--gm-ink);
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  margin: 3px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: var(--gm-radius);
  background: #fff;
  color: var(--gm-ink);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--gm-gold);
  color: #101820;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 12px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: var(--gm-surface);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.06);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 6px;
  background: #edf0f2;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 12px 0 2px;
  color: var(--gm-ink);
  font-size: 0.96rem;
  font-weight: 780;
}

.woocommerce ul.products li.product .price {
  color: var(--gm-ink);
  font-weight: 850;
}

.woocommerce div.product,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  max-width: var(--gm-max);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 16px;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: 26px;
  align-items: start;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  padding: 20px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: var(--gm-surface);
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100%;
  float: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
  min-height: 46px;
  border: 1px solid var(--gm-line);
  border-radius: var(--gm-radius);
  background: #fff;
  color: var(--gm-ink);
}

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle {
  max-width: var(--gm-max);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (max-width: 980px) {
  .gm-menu-toggle {
    display: inline-block;
  }

  .gm-nav-wrap {
    gap: 10px;
  }

  .gm-primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--gm-line);
    background: rgba(255, 255, 255, 0.98);
  }

  .gm-primary-menu.is-open {
    display: grid;
  }

  .gm-primary-menu li,
  .gm-primary-menu a {
    width: 100%;
  }

  .gm-primary-menu .sub-menu {
    position: static;
    display: grid;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .gm-hero-panel,
  .gm-value-grid,
  .gm-assurance-grid,
  .woocommerce-checkout form.checkout,
  .gm-contact-grid,
  .gm-policy-grid {
    grid-template-columns: 1fr;
  }

  .gm-hero-showcase {
    justify-self: start;
  }

  .gm-categories,
  .woocommerce ul.products,
  .gm-preview-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .gm-header-inner {
    min-height: 70px;
  }

  .gm-brand img,
  .gm-brand .custom-logo {
    max-width: 178px;
    max-height: 48px;
  }

  .gm-hero-panel {
    min-height: 0;
    border-radius: 18px;
    padding: 28px 20px;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.78)),
      var(--gm-hero-image) right center / cover no-repeat,
      #e5e8eb;
  }

  .gm-hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .gm-section-head {
    display: block;
  }

  .gm-section-head p {
    margin-top: 10px;
  }

  .gm-categories,
  .gm-footer-inner,
  .woocommerce ul.products,
  .gm-preview-products {
    grid-template-columns: 1fr;
  }

  .gm-category-section .gm-container,
  .gm-home-products .gm-container,
  .gm-featured-products .gm-container {
    border-radius: 18px;
    padding: 20px;
  }

  .gm-whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}
