/*
Theme Name: Dry Gold Organic
Description: Custom one-page catalog theme for Dry Gold Organic — black, gold and white branding with WhatsApp ordering.
Version: 1.0.17
Author: kingAbid
*/

    :root {
      color-scheme: light dark;
      --bg: #f7f5ef;
      --surface: #ffffff;
      --ink: #15130f;
      --muted: #625d53;
      --line: #ded8c9;
      --gold: #a77a21;
      --gold-bright: #d5ad54;
      --black: #11110f;
      --label: #171713;
      --whatsapp: #1f7a50;
      --shadow: 0 18px 55px rgba(31, 26, 16, .11);
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #11110f;
        --surface: #1a1916;
        --ink: #f6f2e7;
        --muted: #c7c0b3;
        --line: #37332c;
        --gold: #d2a94d;
        --gold-bright: #eccb76;
        --black: #080806;
        --label: #0b0b09;
        --whatsapp: #3da673;
        --shadow: 0 20px 60px rgba(0,0,0,.35);
      }
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: "DM Sans", sans-serif;
      font-size: 16px;
      line-height: 1.55;
    }
    button, a { font: inherit; }
    a { color: inherit; }
    img { max-width: 100%; display: block; }
    .wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
    .site-head { position: relative; z-index: 10; }
    .header-top { display: flex; justify-content: center; padding: 10px 0; }
    .brand { display: inline-flex; align-items: center; line-height: 0; }
    .brand img { height: 52px; width: auto; }
    .header-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .nav-inner {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px 36px;
      min-height: 48px;
      padding-top: 6px;
      padding-bottom: 6px;
    }
    .header-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
    .header-nav a:hover, .header-nav a:focus-visible { color: var(--gold); }
    .page-main { padding: 56px 0 80px; max-width: 820px; }
    .page-title { margin: 10px 0 24px; }
    .page-content { line-height: 1.8; }
    .page-content p { margin: 0 0 18px; }
    .blog-list { display: grid; gap: 22px; }
    .blog-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--surface); }
    .blog-card h2 { font-size: 1.5rem; margin: 8px 0 10px; }
    .blog-card h2 a { color: var(--ink); text-decoration: none; }
    .blog-card h2 a:hover { color: var(--gold); }
    .blog-date { color: var(--muted); font-size: .8rem; margin: 0; }
    .blog-more { color: var(--gold-2); font-weight: 700; text-decoration: none; }
    .blog-empty { color: var(--muted); }
    .hero {
      min-height: 0;
      display: grid;
      grid-template-columns: 1fr;
      align-items: center;
      justify-items: center;
      gap: 34px;
      padding: 56px 0 44px;
      text-align: center;
    }
    .hero-copy { max-width: 780px; }
    .hero-copy .actions { justify-content: center; }
    .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .77rem; margin: 0 0 20px; }
    h1, h2, h3 { font-family: "Playfair Display", serif; margin: 0; line-height: 1.04; }
    h1 { font-size: clamp(3rem, 6.7vw, 6.2rem); max-width: 720px; letter-spacing: -.045em; }
    h1 span { color: var(--gold); }
    .hero-copy > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 590px; margin: 26px 0 0; }
    .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 34px; }
    .btn {
      min-height: 48px;
      padding: 0 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--black);
      color: #fff;
      text-decoration: none;
      border: 1px solid var(--black);
      border-radius: 4px;
      font-weight: 700;
      cursor: pointer;
    }
    .btn:hover, .btn:focus-visible { background: var(--gold); border-color: var(--gold); color: #111; }
    .btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
    .btn.secondary:hover, .btn.secondary:focus-visible { border-color: var(--gold); color: var(--gold); background: transparent; }
    .arrow { font-size: 1.2rem; line-height: 1; }
    .hero-visual { position: relative; min-height: 0; display: flex; justify-content: center; align-items: center; order: -1; width: 100%; max-width: 100%; margin: 0 auto; }
    .hero-visual::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: min(800px, 100%);
      aspect-ratio: 1;
      border: 1px solid var(--gold);
      border-radius: 50%;
      opacity: .32;
      pointer-events: none;
    }
    .hero-img-wrap { position: relative; display: inline-block; width: min(680px, 94%); line-height: 0; }
    .hero-img-wrap::after {
      content: "100%\A ORGANIC";
      white-space: pre;
      position: absolute;
      right: -14px;
      top: -20px;
      width: 92px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: var(--gold);
      color: #111;
      display: grid;
      place-items: center;
      text-align: center;
      font-weight: 800;
      font-size: .72rem;
      line-height: 1.25;
      border: 5px double rgba(17,17,15,.7);
      transform: rotate(8deg);
      box-shadow: var(--shadow);
    }
    .hero-product {
      position: relative;
      z-index: 1;
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 3 / 2;
      object-fit: cover;
      object-position: center;
      border-radius: 8px;
      box-shadow: var(--shadow);
      transform: rotate(-2.2deg);
    }
    .benefits {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .benefit { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); font-weight: 700; font-size: .85rem; }
    .benefit:last-child { border-right: 0; }
    .benefit svg { width: 25px; height: 25px; margin: 0 auto 9px; stroke: var(--gold); fill: none; stroke-width: 1.7; }
    .section { padding: 104px 0; }
    #products.section { padding-top: 58px; }
    .section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
    h2 { font-size: clamp(2.4rem, 4.7vw, 4.5rem); letter-spacing: -.035em; }
    .section-head p { color: var(--muted); max-width: 430px; margin: 0 0 7px; }
    .products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .product-card { background: var(--surface); border: 1px solid var(--line); overflow: hidden; border-radius: 7px; }
    .product-stage {
      min-height: 370px;
      display: grid;
      place-items: center;
      padding: 28px 18px 12px;
      background: linear-gradient(180deg, rgba(167,122,33,.07), transparent 60%);
      overflow: hidden;
    }
    .real-pouch { width: 84%; max-height: 340px; object-fit: cover; object-position: center; border-radius: 5px; box-shadow: 0 14px 34px rgba(0,0,0,.16); }
    .pouch {
      width: 81%;
      height: 325px;
      background: #fafafa;
      border: 1px solid #d8d8d8;
      border-radius: 16px 16px 8px 8px;
      box-shadow: 0 14px 34px rgba(0,0,0,.16);
      padding: 48px 14px 15px;
      position: relative;
      color: #111;
    }
    .pouch::before, .pouch::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #ddd; top: 24px; box-shadow: 0 5px 0 #e8e8e8; }
    .pouch::after { top: auto; bottom: 48px; box-shadow: none; background: #d6d6d6; }
    .pouch-brand { position: absolute; top: 32px; left: 0; right: 0; text-align: center; font-family: "Playfair Display", serif; font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
    .pouch-label {
      height: 207px;
      background: var(--label);
      border-radius: 4px;
      padding: 16px 10px 12px;
      text-align: center;
      position: relative;
      overflow: hidden;
      color: white;
    }
    .pouch-label::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 15%, rgba(213,173,84,.75) 0 1px, transparent 1.7px) 0 0/17px 17px; opacity: .35; pointer-events: none; }
    .pouch-name { position: relative; z-index: 2; font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.05rem; line-height: 1; color: var(--gold-bright); text-transform: uppercase; text-shadow: 0 1px #000; }
    .pouch-sub { position: relative; z-index: 2; font-size: .64rem; color: #f0d99a; margin-top: 4px; }
    .label-photo { position: absolute; left: 0; right: 0; bottom: 0; height: 142px; width: 100%; object-fit: cover; opacity: .92; }
    .organic-seal { position: absolute; z-index: 3; width: 48px; height: 48px; border-radius: 50%; left: 8px; top: 72px; display: grid; place-items: center; background: var(--gold-bright); border: 4px double #7b5713; color: #251a06; font-size: .48rem; line-height: 1.1; font-weight: 800; }
    .pouch-icons { position: absolute; bottom: 13px; left: 11px; right: 11px; display: flex; justify-content: space-around; font-size: .39rem; text-transform: uppercase; letter-spacing: .02em; }
    .pouch-icons span { width: 24%; text-align: center; line-height: 1.05; overflow-wrap: anywhere; }
    .product-info { padding: 20px; border-top: 1px solid var(--line); }
    .product-info h3 { font-size: 1.35rem; letter-spacing: -.015em; }
    .product-info p { color: var(--muted); margin: 7px 0 17px; font-size: .9rem; min-height: 44px; }
    .order-link { display: inline-flex; align-items: center; gap: 8px; color: var(--whatsapp); font-weight: 800; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
    .order-link:hover, .order-link:focus-visible { color: var(--gold); }
    .card-link { display: block; color: inherit; text-decoration: none; }
    .card-link:hover .product-info h3 { color: var(--gold); }
    .product-cta { padding: 0 20px 20px; }
    .crumbs { padding: 30px 0 4px; font-size: .85rem; color: var(--muted); }
    .crumbs a { color: var(--gold); font-weight: 700; text-decoration: none; }
    .crumbs span[aria-hidden="true"] { margin: 0 6px; }
    .pdetail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); padding: 26px 0 84px; align-items: start; }
    .pdetail-media { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow); }
    .pdetail-stage { min-height: 0; padding: 0; background: none; }
    .pdetail-media .real-pouch { width: auto; max-width: 100%; max-height: 440px; margin: 0 auto; display: block; }
    .pdetail-media .pouch { margin: 0 auto; }
    .pdetail-info .eyebrow { margin-bottom: 6px; }
    .pdetail-info h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -.03em; margin: 0 0 12px; }
    .pdetail-desc { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
    .pdetail-price { font-size: 1.7rem; font-weight: 800; color: var(--gold); margin: 20px 0 4px; }
    .size-options { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 20px 0 4px; }
    .size-label { font-weight: 800; font-size: .9rem; }
    .size-pill { cursor: pointer; position: relative; }
    .size-pill input { position: absolute; opacity: 0; pointer-events: none; }
    .size-pill span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: .85rem; font-weight: 700; background: var(--surface); }
    .size-pill input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; }
    .size-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
    .product-benefits { margin: 20px 0; }
    .pdetail-note { color: var(--muted); font-size: .9rem; margin-top: 16px; max-width: 44ch; }
    .related { padding-bottom: 90px; }
    .story { background: var(--black); color: #f7f3e8; }
    .story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
    .story .eyebrow { color: var(--gold-bright); }
    .story h2 { max-width: 580px; }
    .story p { color: #cbc4b7; font-size: 1.05rem; }
    .story-points { display: grid; gap: 22px; }
    .story-point { border-top: 1px solid #413c31; padding-top: 20px; }
    .story-point strong { display: block; color: var(--gold-bright); margin-bottom: 4px; }
    .order { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
    .order p { color: var(--muted); max-width: 620px; }
    .order-panel { background: var(--surface); border: 1px solid var(--line); padding: 28px; border-radius: 8px; }
    .order-panel strong { font-family: "Playfair Display", serif; display: block; font-size: 1.25rem; }
    .order-panel p { font-size: .9rem; margin: 7px 0 18px; }
    .whatsapp-btn { width: 100%; background: var(--whatsapp); border-color: var(--whatsapp); }
    .whatsapp-btn:hover, .whatsapp-btn:focus-visible { background: var(--gold); }
    footer { padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; gap: 20px; }
    .toast {
      position: fixed;
      z-index: 20;
      left: 50%;
      bottom: 24px;
      transform: translate(-50%, 18px);
      width: min(92vw, 460px);
      background: var(--ink);
      color: var(--bg);
      padding: 14px 17px;
      border-radius: 5px;
      box-shadow: var(--shadow);
      opacity: 0;
      pointer-events: none;
      transition: .22s ease;
      text-align: center;
      font-size: .9rem;
    }
    .toast.show { opacity: 1; transform: translate(-50%, 0); }
    @media (max-width: 980px) {
      .products { grid-template-columns: repeat(2, 1fr); }
      .story-inner, .order { gap: 40px; }
    }
    @media (max-width: 720px) {
      .wrap { width: min(100% - 28px, 1180px); }
      .brand img { height: 48px; }
      .header-top { padding: 14px 0; }
      .nav-inner { gap: 8px 22px; min-height: 52px; }
      .header-nav a { font-size: .85rem; }
      .page-main { padding: 36px 0 56px; }
      .hero { grid-template-columns: 1fr; padding: 30px 0 32px; gap: 26px; }
      h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
      .hero-visual { order: -1; min-height: 0; margin-top: 0; }
      .hero-img-wrap::after { width: 72px; right: -8px; top: -12px; }
      .hero-img-wrap { width: min(320px, 86%); }
      .hero-product { width: 100%; }
      .hero-copy { text-align: center; }
      .hero-copy .actions { justify-content: center; }
      .benefits { grid-template-columns: repeat(4, 1fr); }
      .benefit { padding: 14px 4px; font-size: .68rem; }
      .benefit:nth-child(2) { border-right: 1px solid var(--line); }
      .benefit:nth-child(-n+2) { border-bottom: 0; }
      .benefit svg { width: 20px; height: 20px; margin-bottom: 6px; }
      .section { padding: 76px 0; }
      #products.section { padding-top: 38px; }
      .section-head { align-items: start; flex-direction: column; margin-bottom: 30px; }
      .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .product-stage { min-height: 0; padding: 16px 10px 8px; }
      .pouch { width: min(270px, 82%); height: 365px; }
      .pouch-label { height: 240px; }
      .label-photo { height: 170px; }
      .real-pouch { width: 94%; max-height: 185px; }
      .product-info { padding: 12px; }
      .product-info h3 { font-size: 1.02rem; }
      .product-info p { font-size: .78rem; margin: 5px 0 10px; min-height: 0; }
      .order-link { font-size: .8rem; }
      .product-cta { padding: 0 12px 12px; }
      .pdetail { grid-template-columns: 1fr; gap: 26px; padding: 18px 0 60px; }
      .pdetail-media .real-pouch { max-height: 300px; }
      .related { padding-bottom: 70px; }
      .story-inner, .order { grid-template-columns: 1fr; }
      footer { flex-direction: column; }
    }
    @media (max-width: 390px) {
      .nav a:nth-child(2) { display: none; }
      .actions { align-items: stretch; flex-direction: column; }
      .btn { width: 100%; }
    }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .toast { transition: none; } }
  