/*
Theme Name: 21GH Store Child
Description: Lightweight WooCommerce storefront child theme for Blocksy.
Author: 21GH
Template: blocksy
Version: 1.0.0
Text Domain: gh-store
*/

:root {
  --gh-black: #0b0c0e;
  --gh-ink: #17191d;
  --gh-muted: #6f737b;
  --gh-line: #e7e7e8;
  --gh-soft: #f5f5f5;
  --gh-white: #fff;
  --gh-accent: #d8ff3e;
  --gh-width: 1320px;
}

body {
  color: var(--gh-ink);
  background: var(--gh-white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ct-header,
.ct-footer,
.ct-trending-block { display: none !important; }

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

.gh-promo {
  position: relative;
  z-index: 50;
  padding: 9px 16px;
  color: var(--gh-white);
  background: var(--gh-black);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gh-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--gh-line);
  background: rgba(255,255,255,.98);
}

.gh-header-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 28px;
}

.gh-brand {
  color: var(--gh-black);
  text-decoration: none;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -.055em;
}

.gh-brand span {
  margin-left: 6px;
  color: var(--gh-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  vertical-align: middle;
}

.gh-category-menu,
.gh-utility,
.gh-secondary-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gh-category-menu { justify-content: center; gap: clamp(20px, 2.7vw, 44px); }
.gh-category-menu a,
.gh-secondary-list a {
  color: var(--gh-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gh-category-menu a:hover,
.gh-secondary-list a:hover { color: #666; }

.gh-utility { justify-content: flex-end; gap: 17px; }
.gh-icon-link,
.gh-menu-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--gh-black);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gh-icon-link svg,
.gh-menu-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.gh-cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 20px;
  color: var(--gh-black);
  background: var(--gh-accent);
  font-size: 9px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
}

.gh-search-panel { display: none; padding: 18px 0; border-top: 1px solid var(--gh-line); }
.gh-search-panel.is-open { display: block; }
.gh-search-panel form { display: flex; max-width: 720px; margin: auto; }
.gh-search-panel input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--gh-line); border-radius: 0; }
.gh-search-panel button { height: 48px; border-radius: 0; background: var(--gh-black); }

.gh-secondary { border-top: 1px solid var(--gh-line); }
.gh-secondary-list { min-height: 46px; justify-content: center; gap: 38px; }
.gh-secondary-list a { font-size: 10px; color: var(--gh-muted); }

.gh-mobile-panel { display: none; border-top: 1px solid var(--gh-line); }
.gh-mobile-panel.is-open { display: block; }
.gh-mobile-panel ul { list-style: none; margin: 0; padding: 16px 0 24px; }
.gh-mobile-panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--gh-line); color: var(--gh-black); font-weight: 700; text-decoration: none; }
.gh-menu-toggle { display: none; }

.gh-home { background: var(--gh-white); }
.gh-hero {
  position: relative;
  min-height: clamp(520px, 66vw, 760px);
  overflow: hidden;
  background: var(--gh-soft);
}
.gh-hero-media { position: absolute; inset: 0; }
.gh-placeholder-visual { display: grid; place-items: center; overflow: hidden; background: #272a2f; }
.gh-placeholder-visual:before { content: ""; position: absolute; width: min(58vw,760px); aspect-ratio: 1; right: 3vw; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.gh-placeholder-visual span { position: absolute; right: 11vw; color: rgba(255,255,255,.32); font-size: 11px; font-weight: 800; letter-spacing: .22em; line-height: 1.8; text-align: center; text-transform: uppercase; }
.gh-hero-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.04) 70%); }
.gh-hero-content { position: relative; z-index: 1; min-height: inherit; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.gh-kicker { margin: 0 0 14px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.gh-hero h1 { max-width: 700px; margin: 0; color: #fff; font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -.055em; }
.gh-hero p:not(.gh-kicker) { max-width: 470px; margin: 22px 0 32px; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.6vw, 19px); }
.gh-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid var(--gh-black); border-radius: 0; color: #fff; background: var(--gh-black); text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gh-button--light { color: var(--gh-black); border-color: #fff; background: #fff; }

.gh-section { padding: clamp(68px, 8vw, 118px) 0; }
.gh-section--soft { background: var(--gh-soft); }
.gh-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; }
.gh-section-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.gh-section-head a { color: var(--gh-ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gh-demo-note { margin: -20px 0 32px; color: var(--gh-muted); font-size: 12px; }

.gh-home ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap: 34px 20px !important; }
.gh-home ul.products li.product { width: auto !important; margin: 0 !important; }
.gh-home ul.products li.product figure,
.gh-home ul.products li.product .ct-image-container { background: var(--gh-soft); }
.gh-home ul.products li.product .woocommerce-loop-product__title { font-size: 15px; line-height: 1.35; }
.gh-home ul.products li.product .woocommerce-loop-product__title a,
.woocommerce-shop ul.products li.product .woocommerce-loop-product__title a,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title a { color: var(--gh-black); }
.gh-home ul.products li.product .price { color: var(--gh-black); font-weight: 700; }
.gh-home ul.products li.product .button { min-height: 42px; border-radius: 0; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.gh-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gh-category-card { position: relative; aspect-ratio: 4/3; overflow: hidden; color: #fff; background: #202226; text-decoration: none; }
.gh-category-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.62), transparent 64%); }
.gh-category-placeholder { position: absolute; inset: 0; background: #34373b; transition: transform .35s ease; }
.gh-category-placeholder:before { content: ""; position: absolute; width: 42%; aspect-ratio: 1/1.8; left: 31%; top: 12%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.05); transform: skew(-8deg); }
.gh-category-card--2 .gh-category-placeholder { background: #b7b9b7; }
.gh-category-card--3 .gh-category-placeholder { background: #74787d; }
.gh-category-card:hover .gh-category-placeholder { transform: scale(1.025); }
.gh-category-card-content { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 24px; }
.gh-category-card h3 { margin: 0 0 5px; color: #fff; font-size: 24px; letter-spacing: -.03em; }
.gh-category-card span { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.gh-advantages { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--gh-line); border-bottom: 1px solid var(--gh-line); }
.gh-advantage { padding: 34px; border-right: 1px solid var(--gh-line); }
.gh-advantage:last-child { border: 0; }
.gh-advantage strong { display: block; margin-bottom: 7px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.gh-advantage span { color: var(--gh-muted); font-size: 13px; }

.gh-intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10vw; align-items: end; }
.gh-intro h2 { margin: 0; font-size: clamp(38px,5vw,70px); line-height: 1.02; letter-spacing: -.055em; }
.gh-intro-grid > div:last-child { padding-bottom: 6px; color: var(--gh-muted); }
.gh-intro-grid a, .gh-faq-grid > div:first-child > a { color: var(--gh-black); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.gh-showcase { padding: 0 0 clamp(70px,9vw,130px); }
.gh-showcase-grid { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 620px; background: var(--gh-soft); }
.gh-showcase-visual { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 520px; background: #dedfe0; }
.gh-showcase-visual:before { content: ""; width: min(42%,260px); aspect-ratio: 1/2.25; border: 1px solid #a9abad; background: rgba(255,255,255,.35); box-shadow: 30px 30px 0 rgba(0,0,0,.035); transform: rotate(7deg); }
.gh-showcase-visual span { position: absolute; color: #96999d; font-size: 10px; font-weight: 800; letter-spacing: .2em; line-height: 1.7; text-align: center; text-transform: uppercase; }
.gh-showcase-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(38px,6vw,86px); color: #fff; background: #17191d; }
.gh-showcase-copy h2 { margin: 0; color: #fff; font-size: clamp(38px,4.6vw,68px); line-height: 1; letter-spacing: -.055em; }
.gh-showcase-copy p:not(.gh-kicker) { margin: 24px 0 30px; color: rgba(255,255,255,.62); }
.gh-showcase-copy .gh-button { color: var(--gh-black); border-color: #fff; background: #fff; }

.gh-faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; }
.gh-faq h2 { margin: 0 0 24px; font-size: clamp(35px,4.5vw,62px); line-height: 1; letter-spacing: -.05em; }
.gh-faq details { border-top: 1px solid var(--gh-line); }
.gh-faq details:last-child { border-bottom: 1px solid var(--gh-line); }
.gh-faq summary { position: relative; padding: 23px 42px 23px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; }
.gh-faq summary::-webkit-details-marker { display: none; }
.gh-faq summary:after { content: "+"; position: absolute; right: 2px; font-size: 22px; font-weight: 400; }
.gh-faq details[open] summary:after { content: "−"; }
.gh-faq details p { margin: -5px 0 24px; color: var(--gh-muted); font-size: 14px; }

.woocommerce-shop .site-main,
.tax-product_cat .site-main,
.single-product .site-main,
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main { background: #fff; }
.woocommerce-shop [data-products],
.tax-product_cat [data-products] { --shop-columns: repeat(4,minmax(0,1fr)); --grid-columns-gap: 22px; --grid-rows-gap: 46px; }
.gh-shop-categories { width: 100%; margin: 0 0 32px; overflow-x: auto; border-top: 1px solid var(--gh-line); border-bottom: 1px solid var(--gh-line); }
.gh-shop-categories ul { display: flex; gap: 26px; width: max-content; margin: 0; padding: 15px 2px; list-style: none; }
.gh-shop-categories a { color: var(--gh-ink); text-decoration: none; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gh-catalogue-notice { width: 100%; margin: 0 0 24px; padding: 14px 17px; border-left: 3px solid var(--gh-accent); color: #4d5158; background: var(--gh-soft); font-size: 12px; }
.star-rating, .woocommerce-review-link { display: none !important; }
.woo-listing-top { margin-bottom: 34px; }
.woocommerce-ordering select { border-radius: 0; }
.single-product .entry-summary .entry-title { font-size: clamp(30px,4vw,52px); line-height: 1.05; letter-spacing: -.045em; }
.single-product .entry-summary .price { font-size: 24px; }
.single-product .single_add_to_cart_button { min-height: 54px; border-radius: 0; text-transform: uppercase; letter-spacing: .08em; }
.single-product .woocommerce-product-gallery { background: var(--gh-soft); }
.woocommerce-tabs .tabs { border-color: var(--gh-line); }
.woocommerce-cart .ct-woocommerce-cart-form .cart_totals,
.woocommerce-checkout .ct-order-review { border: 1px solid var(--gh-line); background: var(--gh-soft); }
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order { min-height: 54px; border-radius: 0; text-transform: uppercase; letter-spacing: .08em; }
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea { border-radius: 0; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order { color: #fff !important; background: var(--gh-black) !important; }
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button:hover { background: #303238 !important; }
.onsale { color: var(--gh-black) !important; background: var(--gh-accent) !important; }
.cookie-notification { border-radius: 0 !important; box-shadow: 0 15px 50px rgba(0,0,0,.15) !important; }
.cookie-notification .ct-cookies-accept-button { background: var(--gh-black) !important; }
.cookie-notification .ct-cookies-decline-button { color: var(--gh-black) !important; background: var(--gh-soft) !important; }

.gh-newsletter { padding: 74px 0; color: #fff; background: var(--gh-black); }
.gh-newsletter-inner { display: grid; grid-template-columns: 1fr minmax(360px, 600px); align-items: center; gap: 70px; }
.gh-newsletter h2 { margin: 0 0 10px; color: #fff; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.04em; }
.gh-newsletter p { margin: 0; color: rgba(255,255,255,.62); }
.gh-newsletter-form { display: flex; }
.gh-newsletter-form input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid #555; border-radius: 0; color: #fff; background: #15171a; }
.gh-newsletter-form button { min-height: 52px; border-radius: 0; color: var(--gh-black); background: var(--gh-accent); }

.gh-footer { padding: 72px 0 26px; color: rgba(255,255,255,.65); background: #111214; }
.gh-footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,1fr); gap: 60px; }
.gh-footer h3 { margin: 0 0 20px; color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.gh-footer ul { list-style: none; margin: 0; padding: 0; }
.gh-footer li { margin: 10px 0; }
.gh-footer a { color: rgba(255,255,255,.62); text-decoration: none; font-size: 13px; }
.gh-footer a:hover { color: #fff; }
.gh-footer-brand { color: #fff; font-size: 27px; font-weight: 850; letter-spacing: -.05em; }
.gh-footer-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid #292b2f; font-size: 11px; }

.gh-age-gate { position: fixed; z-index: 99999; inset: 0; display: none; place-items: center; padding: 24px; background: rgba(8,9,11,.92); }
.gh-age-gate.is-visible { display: grid; }
.gh-age-dialog { width: min(100%, 520px); padding: clamp(34px,6vw,58px); background: #fff; text-align: center; }
.gh-age-mark { display: inline-block; margin-bottom: 24px; padding: 7px 10px; color: #fff; background: var(--gh-black); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.gh-age-dialog h2 { margin: 0 0 14px; font-size: 34px; letter-spacing: -.04em; }
.gh-age-dialog p { margin: 0 auto 28px; color: var(--gh-muted); }
.gh-age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gh-age-actions button { min-height: 48px; border-radius: 0; }
.gh-age-exit { color: var(--gh-black); border: 1px solid var(--gh-line); background: #fff; }

@media (max-width: 1024px) {
  .gh-header-main { grid-template-columns: 150px 1fr 150px; }
  .gh-category-menu { gap: 18px; }
  .gh-category-menu a { font-size: 10px; }
  .gh-home ul.products { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .gh-footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .gh-container { width: min(calc(100% - 32px), var(--gh-width)); }
  .gh-promo { font-size: 9px; }
  .gh-header-main { min-height: 66px; grid-template-columns: 1fr auto; gap: 12px; }
  .gh-brand { font-size: 23px; }
  .gh-brand span { display: none; }
  .gh-category-menu,
  .gh-secondary,
  .gh-account-link { display: none; }
  .gh-menu-toggle { display: inline-grid; }
  .gh-utility { gap: 4px; }
  .gh-hero { min-height: 570px; }
  .gh-hero-media:after { background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.08) 75%); }
  .gh-placeholder-visual span { display: none; }
  .gh-hero-content { justify-content: flex-end; padding-bottom: 58px; }
  .gh-hero h1 { font-size: 45px; }
  .gh-section-head { align-items: center; }
  .gh-home ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 28px 12px !important; }
  .gh-category-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .gh-category-card { aspect-ratio: 3/4; }
  .gh-category-card-content { left: 16px; right: 16px; bottom: 16px; }
  .gh-category-card h3 { font-size: 19px; }
  .gh-advantages { grid-template-columns: 1fr; }
  .gh-advantage { border-right: 0; border-bottom: 1px solid var(--gh-line); }
  .gh-newsletter-inner { grid-template-columns: 1fr; gap: 30px; }
  .gh-newsletter-form { display: grid; gap: 10px; }
  .gh-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .gh-intro-grid, .gh-faq-grid, .gh-showcase-grid { grid-template-columns: 1fr; }
  .gh-showcase-copy { min-height: 440px; }
  .woocommerce-shop [data-products], .tax-product_cat [data-products] { --shop-columns: repeat(2,minmax(0,1fr)); }
  .single-product .product-entry-wrapper { grid-template-columns: 1fr !important; }
}

@media (max-width: 420px) {
  .gh-home ul.products { grid-template-columns: 1fr !important; }
  .gh-category-grid { grid-template-columns: 1fr; }
  .gh-footer-grid { grid-template-columns: 1fr; }
  .gh-age-actions { grid-template-columns: 1fr; }
}
