/*
Theme Name: Goodscorner Shelving Child
Description: Product-led Thai storefront presentation layer for Goodscorner.
Author: Goodscorner
Version: 1.1.0
Template: vividlife-home
Text Domain: goodscorner-child
*/

:root {
  --gc-ink: #15201e;
  --gc-ink-soft: #5d6b65;
  --gc-paper: #f6f2e9;
  --gc-surface: #fffdf8;
  --gc-steel: #d8dfda;
  --gc-steel-dark: #aebbb5;
  --gc-teal: #174b46;
  --gc-teal-deep: #0e302d;
  --gc-coral: #d94d3f;
  --gc-white: #fff;
  --gc-shadow: 0 18px 48px rgba(21, 32, 30, .10);
  --gc-radius: 10px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--gc-paper);
  color: var(--gc-ink);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
body *, body *::before, body *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.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; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--gc-coral) !important; outline-offset: 3px !important; }

.gc-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.gc-topbar { background: var(--gc-teal-deep); color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .04em; }
.gc-topbar .gc-shell { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gc-header { position: relative; z-index: 20; background: var(--gc-surface); border-bottom: 1px solid var(--gc-steel); }
.gc-header-main { min-height: 82px; display: grid; grid-template-columns: auto minmax(130px, auto) minmax(180px, 1fr) auto; align-items: center; gap: 22px; }
.gc-brand { color: var(--gc-teal-deep); font-size: 21px; font-weight: 900; letter-spacing: .11em; line-height: 1; text-decoration: none; white-space: nowrap; }
.gc-menu-toggle { display: none; border: 1px solid var(--gc-steel); background: var(--gc-surface); color: var(--gc-ink); border-radius: 6px; min-width: 44px; min-height: 44px; font-size: 20px; }
.gc-search { display: flex; min-width: 0; border: 1px solid var(--gc-steel-dark); background: var(--gc-white); border-radius: 4px; overflow: hidden; }
.gc-search input { width: 100%; min-width: 0; min-height: 42px; border: 0; padding: 8px 13px; color: var(--gc-ink); background: transparent; font: inherit; }
.gc-search input:focus { outline: 0 !important; box-shadow: inset 0 0 0 2px var(--gc-coral); }
.gc-search button { flex: 0 0 48px; border: 0; border-left: 1px solid var(--gc-steel); background: var(--gc-teal); color: var(--gc-white); font-size: 24px; cursor: pointer; }
.gc-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.gc-header-actions a { text-decoration: none; }
.gc-header-actions a:hover { color: var(--gc-coral); }
.gc-header-actions b { display: inline-grid; place-items: center; min-width: 22px; min-height: 22px; margin-left: 4px; border-radius: 99px; background: var(--gc-coral); color: var(--gc-white); font-size: 11px; }
.gc-nav-wrap { border-top: 1px solid rgba(216,223,218,.7); }
.gc-primary-nav { display: flex; align-items: center; gap: 28px; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.gc-primary-nav::-webkit-scrollbar { display: none; }
.gc-primary-nav a { flex: 0 0 auto; padding: 10px 0; color: var(--gc-ink-soft); font-size: 13px; font-weight: 700; text-decoration: none; }
.gc-primary-nav a:hover, .gc-primary-nav .gc-nav-active { color: var(--gc-teal); }
.gc-primary-nav .gc-nav-active { border-bottom: 2px solid var(--gc-coral); }

.gc-hero { position: relative; min-height: 620px; isolation: isolate; background: var(--gc-teal-deep); color: var(--gc-white); overflow: hidden; }
.gc-hero-image { position: absolute; z-index: -2; inset: 0; background-position: center; background-size: cover; }
.gc-hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(14,48,45,.96) 0%, rgba(14,48,45,.76) 44%, rgba(14,48,45,.25) 100%); }
.gc-hero-inner { min-height: 620px; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 72px; }
.gc-hero-copy { max-width: 700px; }
.gc-eyebrow { margin: 0 0 14px; color: var(--gc-coral); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gc-hero .gc-eyebrow { color: #ffd0bd; }
.gc-hero h1 { max-width: 720px; margin: 0; color: var(--gc-white); font-size: clamp(40px, 6vw, 80px); font-weight: 900; letter-spacing: -.045em; line-height: 1.08; }
.gc-hero h1 em { color: #ffd0bd; font-style: normal; }
.gc-hero-lede { max-width: 520px; margin: 26px 0 0; color: rgba(255,255,255,.84); font-size: 17px; line-height: 1.9; }
.gc-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.gc-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 19px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 900; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.gc-button:hover { transform: translateY(-2px); }
.gc-button-light { background: var(--gc-white); color: var(--gc-teal-deep); }
.gc-button-light:hover { background: #ffd0bd; }
.gc-button-dark { background: var(--gc-teal-deep); color: var(--gc-white); }
.gc-button-dark:hover { background: var(--gc-coral); }
.gc-hero-text-link { color: var(--gc-white); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.gc-hero-note { align-self: flex-end; width: 215px; padding: 22px; border: 1px solid rgba(255,255,255,.30); background: rgba(14,48,45,.72); backdrop-filter: blur(4px); }
.gc-hero-note span, .gc-hero-note small { display: block; color: rgba(255,255,255,.72); font-size: 12px; }
.gc-hero-note strong { display: block; margin: 5px 0; color: var(--gc-white); font-size: 29px; line-height: 1.2; }
.gc-hero-note small { line-height: 1.5; }

.gc-section { padding: 84px 0; }
.gc-intro { background: var(--gc-surface); }
.gc-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 60px; align-items: end; }
.gc-section h2 { margin: 0; color: var(--gc-ink); font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.15; }
.gc-intro-copy { max-width: 500px; margin: 0; color: var(--gc-ink-soft); font-size: 16px; line-height: 1.9; }
.gc-decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 62px; border-top: 1px solid var(--gc-steel); }
.gc-decision-grid article { min-height: 185px; padding: 25px 28px 15px 0; border-right: 1px solid var(--gc-steel); }
.gc-decision-grid article:not(:first-child) { padding-left: 28px; }
.gc-decision-grid article:last-child { border-right: 0; }
.gc-decision-number { color: var(--gc-coral); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.gc-decision-grid h3 { margin: 23px 0 7px; font-size: 20px; line-height: 1.25; }
.gc-decision-grid p { margin: 0; color: var(--gc-ink-soft); font-size: 14px; line-height: 1.8; }
.gc-products-section { background: var(--gc-paper); }
.gc-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.gc-text-link { color: var(--gc-teal); font-size: 13px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.gc-text-link:hover { color: var(--gc-coral); }
.gc-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gc-product-card { min-width: 0; overflow: hidden; background: var(--gc-surface); border: 1px solid var(--gc-steel); }
.gc-product-image { position: relative; display: block; aspect-ratio: 1.18; overflow: hidden; background: #e8ece8; }
.gc-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gc-product-card:hover .gc-product-image img { transform: scale(1.025); }
.gc-badge { position: absolute; top: 14px; left: 14px; padding: 5px 8px; background: var(--gc-coral); color: var(--gc-white); font-size: 11px; font-weight: 900; }
.gc-product-body { padding: 22px 24px 24px; }
.gc-product-kicker { margin: 0 0 7px; color: var(--gc-ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.gc-product-body h3 { min-height: 56px; margin: 0; font-size: 22px; line-height: 1.3; }
.gc-product-body h3 a { text-decoration: none; }
.gc-product-body h3 a:hover { color: var(--gc-teal); }
.gc-price { margin-top: 12px; color: var(--gc-coral); font-size: 24px; font-weight: 900; }
.gc-chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.gc-chip-list span { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 9px; border: 1px solid var(--gc-steel); border-radius: 99px; color: var(--gc-ink-soft); font-size: 11px; line-height: 1.3; }
.gc-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--gc-steel); }
.gc-add-link { color: var(--gc-teal); font-size: 12px; font-weight: 900; text-decoration: none; }
.gc-add-link:hover { color: var(--gc-coral); }
.gc-empty { color: var(--gc-ink-soft); }

.gc-detail-strip { background: var(--gc-steel); }
.gc-detail-grid { display: grid; grid-template-columns: 1fr 1.15fr auto; gap: 45px; align-items: center; }
.gc-detail-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gc-detail-points p { margin: 0; }
.gc-detail-points strong, .gc-detail-points span { display: block; }
.gc-detail-points strong { font-size: 14px; }
.gc-detail-points span { margin-top: 4px; color: var(--gc-ink-soft); font-size: 12px; line-height: 1.5; }

.gc-footer { padding: 58px 0 22px; background: var(--gc-teal-deep); color: rgba(255,255,255,.76); }
.gc-footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 70px; padding-bottom: 44px; }
.gc-footer .gc-brand { color: var(--gc-white); }
.gc-footer p { margin: 18px 0 0; font-size: 13px; line-height: 1.8; }
.gc-footer h2 { margin: 0 0 16px; color: var(--gc-white); font-size: 14px; }
.gc-footer ul { margin: 0; padding: 0; list-style: none; }
.gc-footer li { margin: 8px 0; font-size: 13px; }
.gc-footer a { text-decoration: none; }
.gc-footer a:hover { color: #ffd0bd; }
.gc-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.20); color: rgba(255,255,255,.52); font-size: 11px; }

/* Prevent the unverified # LINE widget from presenting a false working CTA. */
.line-banner-container, .line-floating-btn { display: none !important; }

/* WooCommerce inner pages */
.vl-commerce, .woocommerce-page .site-main { background: var(--gc-paper); }
.vl-commerce .container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.vl-breadcrumb { padding: 26px 0 0; color: var(--gc-ink-soft); font-size: 12px; }
.vl-breadcrumb a { text-decoration: none; }
.vl-single .product { padding: 30px 0 76px; }
.vl-single .summary { min-width: 0; }
.vl-single .product_title { color: var(--gc-ink); font-size: clamp(27px, 4vw, 44px); line-height: 1.2; }
.vl-single .price { color: var(--gc-coral); font-size: 27px; font-weight: 900; }
.vl-single .single_add_to_cart_button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { min-height: 46px; border: 0; border-radius: 4px; background: var(--gc-teal); color: var(--gc-white); font-family: inherit; font-weight: 900; }
.vl-single .single_add_to_cart_button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--gc-coral); color: var(--gc-white); }
.vl-single .product_meta { color: var(--gc-ink-soft); font-size: 13px; }
.gc-single-specs { clear: both; margin: 26px 0 0; padding: 22px; border: 1px solid var(--gc-steel); background: var(--gc-surface); }
.gc-single-specs > h2 { margin: 0 0 15px; color: var(--gc-ink); font-size: 20px; }
.gc-spec-row { padding: 14px 0; border-top: 1px solid var(--gc-steel); }
.gc-spec-row h3 { margin: 0; color: var(--gc-ink-soft); font-size: 13px; }
.gc-spec-row .gc-chip-list { margin-top: 8px; }
.woocommerce ul.products li.product .button { font-size: 12px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--gc-ink-soft); font-size: 13px; }

@media (max-width: 840px) {
  .gc-header-main { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; min-height: 74px; }
  .gc-menu-toggle { display: inline-grid; place-items: center; }
  .gc-header-main .gc-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 12px; }
  .gc-header-main { padding-block: 12px; }
  .gc-nav-wrap { display: none; }
  .gc-header-actions { gap: 8px; font-size: 12px; }
  .gc-header-actions a:first-child { display: none; }
  .gc-primary-nav { display: flex; }
  .gc-header.menu-open .gc-nav-wrap { display: block; }
  .gc-header.menu-open .gc-primary-nav { padding: 8px 0 12px; flex-wrap: wrap; gap: 0 20px; }
  .gc-hero, .gc-hero-inner { min-height: 560px; }
  .gc-hero-inner { align-items: end; padding-block: 50px; }
  .gc-hero-note { display: none; }
  .gc-detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .gc-detail-points { max-width: 700px; }
}

@media (max-width: 600px) {
  .gc-shell, .vl-commerce .container { width: min(100% - 32px, 1180px); }
  .gc-topbar .gc-shell { min-height: 30px; font-size: 10px; }
  .gc-topbar .gc-shell span:last-child { display: none; }
  .gc-brand { font-size: 16px; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; }
  .gc-header-actions { min-width: 0; }
  .gc-header-actions a:last-child { white-space: nowrap; }
  .gc-search button { flex-basis: 46px; }
  .gc-hero { min-height: 590px; }
  .gc-hero-inner { min-height: 590px; padding-block: 42px 46px; }
  .gc-hero-shade { background: linear-gradient(0deg, rgba(14,48,45,.97) 4%, rgba(14,48,45,.35) 100%); }
  .gc-hero-copy { max-width: 100%; }
  .gc-hero h1 { font-size: clamp(36px, 12vw, 58px); }
  .gc-hero-lede { margin-top: 18px; font-size: 14px; line-height: 1.75; }
  .gc-hero-actions { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 24px; }
  .gc-button { width: 100%; }
  .gc-hero-text-link { text-align: center; }
  .gc-section { padding: 58px 0; }
  .gc-intro-grid { display: block; }
  .gc-intro-copy { margin-top: 22px; font-size: 14px; }
  .gc-decision-grid { display: block; margin-top: 38px; }
  .gc-decision-grid article, .gc-decision-grid article:not(:first-child) { min-height: 0; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--gc-steel); }
  .gc-decision-grid article:last-child { border-bottom: 0; }
  .gc-decision-grid h3 { margin: 10px 0 4px; font-size: 18px; }
  .gc-section-heading { display: block; }
  .gc-section-heading .gc-text-link { display: inline-block; margin-top: 15px; }
  .gc-product-grid { grid-template-columns: 1fr; gap: 18px; }
  .gc-product-body { padding: 18px; }
  .gc-product-body h3 { min-height: 0; font-size: 20px; }
  .gc-card-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .gc-detail-points { display: block; }
  .gc-detail-points p { padding: 12px 0; border-top: 1px solid rgba(21,32,30,.16); }
  .gc-footer { padding-top: 45px; }
  .gc-footer-grid { display: block; padding-bottom: 28px; }
  .gc-footer-grid > div { margin-bottom: 28px; }
  .gc-footer-bottom { display: block; line-height: 1.7; }
  .gc-footer-bottom span { display: block; }
  .gc-single-specs { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
