/*
 THEGROWNS PDP 2.0 — CATEGORY IDENTITY
 STAGING ONLY
*/

/* Default / neutral */
body.single-product {
  --tg-identity-1:#303744;
  --tg-identity-2:#747d8b;
  --tg-identity-3:#a4abb6;
  --tg-identity-rgb:90,99,115;
}

/* Weight Management */
body.single-product.tg-pdp-weight {
  --tg-identity-1:#9c1530;
  --tg-identity-2:#d43233;
  --tg-identity-3:#f47732;
  --tg-identity-rgb:212,50,51;
}

/* Recovery & Repair */
body.single-product.tg-pdp-recovery {
  --tg-identity-1:#073d28;
  --tg-identity-2:#0b6b44;
  --tg-identity-3:#21a36c;
  --tg-identity-rgb:11,107,68;
}

/* Performance */
body.single-product.tg-pdp-performance {
  --tg-identity-1:#083faf;
  --tg-identity-2:#176bff;
  --tg-identity-3:#40a8ff;
  --tg-identity-rgb:23,107,255;
}

/* Skin & Appearance */
body.single-product.tg-pdp-skin {
  --tg-identity-1:#5b2697;
  --tg-identity-2:#a54fdf;
  --tg-identity-3:#dda7ff;
  --tg-identity-rgb:165,79,223;
}

/* Hormone Support */
body.single-product.tg-pdp-hormone {
  --tg-identity-1:#504900;
  --tg-identity-2:#8c8100;
  --tg-identity-3:#d5c400;
  --tg-identity-rgb:140,129,0;
}

/* Healthy Aging */
body.single-product.tg-pdp-aging {
  --tg-identity-1:#4a2f1a;
  --tg-identity-2:#7b4f2e;
  --tg-identity-3:#b67d57;
  --tg-identity-rgb:123,79,46;
}

/* Women's Wellness */
body.single-product.tg-pdp-women {
  --tg-identity-1:#a3005c;
  --tg-identity-2:#e84da1;
  --tg-identity-3:#ff8bcb;
  --tg-identity-rgb:232,77,161;
}

/* Cognitive Support */
body.single-product.tg-pdp-cognitive {
  --tg-identity-1:#0b7c7f;
  --tg-identity-2:#2bc6cc;
  --tg-identity-3:#a6f2f4;
  --tg-identity-rgb:43,198,204;
}

/* Shared gradient */
body.single-product {
  --tg-identity-gradient:linear-gradient(
    115deg,
    var(--tg-identity-1),
    var(--tg-identity-2) 55%,
    var(--tg-identity-3)
  );
}

/* Gallery, purchase panel, description card */
body.single-product div.product
.woocommerce-product-gallery,
body.single-product div.product
.summary.entry-summary,
body.single-product div.product.tg-pdp-integrated
.tg-pdp-relocated-description #tab-description {
  border:1px solid rgba(var(--tg-identity-rgb),.24) !important;
  box-shadow:
    0 18px 48px rgba(23,29,42,.045),
    0 7px 24px rgba(var(--tg-identity-rgb),.055) !important;
}

/* Category accent strip */
body.single-product div.product
.summary.entry-summary::after {
  content:"";
  display:block;
  height:3px;
  width:100%;
  border-radius:20px;
  margin-top:20px;
  background:var(--tg-identity-gradient);
}

/* Description logo divider */
body.single-product .tg-pdp-details-brand {
  border-bottom:1px solid rgba(var(--tg-identity-rgb),.18) !important;
}

/* Category-accented variation controls */
body.single-product div.product .summary.entry-summary
table.variations select:hover {
  border-color:rgba(var(--tg-identity-rgb),.55) !important;
}

body.single-product div.product .summary.entry-summary
table.variations select:focus {
  border-color:var(--tg-identity-2) !important;
  outline:2px solid rgba(var(--tg-identity-rgb),.18) !important;
  outline-offset:2px;
  box-shadow:0 0 0 4px rgba(var(--tg-identity-rgb),.07) !important;
}

/* Enabled Add to Cart — category gradient */
body.single-product div.product .summary.entry-summary
.single_add_to_cart_button:not(:disabled):not(.disabled) {
  background:var(--tg-identity-gradient) !important;
  background-image:var(--tg-identity-gradient) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border-radius:12px !important;
  box-shadow:0 10px 24px rgba(var(--tg-identity-rgb),.20) !important;
}

/* Disabled Add to Cart remains disabled and neutral */
body.single-product div.product .summary.entry-summary
.single_add_to_cart_button:disabled,
body.single-product div.product .summary.entry-summary
.single_add_to_cart_button.disabled {
  background:#a5a5a5 !important;
  background-image:none !important;
  box-shadow:none !important;
  cursor:not-allowed;
}

/* Section heading colors are already handled by
   the approved PDP gradient typography stylesheet. */

/* Mobile */
@media(max-width:767px) {
  body.single-product div.product
  .woocommerce-product-gallery,
  body.single-product div.product
  .summary.entry-summary,
  body.single-product div.product.tg-pdp-integrated
  .tg-pdp-relocated-description #tab-description {
    box-shadow:
      0 8px 24px rgba(23,29,42,.035),
      0 4px 16px rgba(var(--tg-identity-rgb),.045) !important;
  }
}

/* TG_PDP_OFFICIAL_BRAND_FINAL_20261023_START */

body.single-product {
  --tg-brand-a:#353b48;
  --tg-brand-b:#737987;
  --tg-brand-soft:rgba(75,82,98,.13);
}

body.single-product.tg-pdp-weight {
  --tg-brand-a:#9c1530;
  --tg-brand-b:#f47732;
  --tg-brand-soft:rgba(196,55,48,.13);
}

body.single-product.tg-pdp-recovery {
  --tg-brand-a:#073d28;
  --tg-brand-b:#21a36c;
  --tg-brand-soft:rgba(21,132,86,.13);
}

body.single-product.tg-pdp-performance {
  --tg-brand-a:#083faf;
  --tg-brand-b:#40a8ff;
  --tg-brand-soft:rgba(35,112,230,.13);
}

body.single-product.tg-pdp-skin {
  --tg-brand-a:#5b2697;
  --tg-brand-b:#dda7ff;
  --tg-brand-soft:rgba(155,81,216,.13);
}

body.single-product.tg-pdp-hormone {
  --tg-brand-a:#504900;
  --tg-brand-b:#d5c400;
  --tg-brand-soft:rgba(160,146,0,.13);
}

body.single-product.tg-pdp-aging {
  --tg-brand-a:#4a2f1a;
  --tg-brand-b:#e9c7a6;
  --tg-brand-soft:rgba(125,83,48,.13);
}

body.single-product.tg-pdp-women {
  --tg-brand-a:#a3005c;
  --tg-brand-b:#ff8bcb;
  --tg-brand-soft:rgba(216,65,145,.13);
}

body.single-product.tg-pdp-cognitive {
  --tg-brand-a:#0b7c7f;
  --tg-brand-b:#2bc6cc;
  --tg-brand-soft:rgba(33,167,172,.13);
}

/* Official brand logos */

body.single-product .tg-pdp-summary-official-logo,
body.single-product .tg-pdp-standard-official-logo {
  display:block;
  width:max-content;
  max-width:100%;
}

body.single-product .tg-pdp-summary-official-logo {
  margin:8px 0 12px;
}

body.single-product .tg-pdp-summary-official-logo img {
  display:block;
  width:135px;
  max-width:100%;
  height:auto;
  max-height:46px;
  object-fit:contain;
  object-position:left center;
}

body.single-product .tg-pdp-standard-official-logo {
  margin:0 0 10px;
}

body.single-product .tg-pdp-standard-official-logo img {
  display:block;
  width:112px;
  max-width:100%;
  max-height:40px;
  height:auto;
  object-fit:contain;
  object-position:left center;
}

/* Premium category-gradient selectors */

body.single-product div.product .summary.entry-summary
table.variations select {
  border:1px solid transparent !important;
  border-radius:12px !important;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(
      115deg,
      var(--tg-brand-a),
      var(--tg-brand-b)
    ) border-box !important;
  color:#1d2430 !important;
  font-weight:600 !important;
  box-shadow:0 4px 15px var(--tg-brand-soft) !important;
  transition:box-shadow .2s ease,filter .2s ease;
}

body.single-product div.product .summary.entry-summary
table.variations select:hover {
  box-shadow:0 5px 20px var(--tg-brand-soft) !important;
}

body.single-product div.product .summary.entry-summary
table.variations select:focus {
  outline:2px solid var(--tg-brand-a) !important;
  outline-offset:2px;
}

/* Brand standard refinements */

body.single-product .tg-pdp-branded-standard {
  border-top:1px solid var(--tg-brand-soft);
  padding-top:16px;
}

body.single-product .tg-pdp-branded-standard
.tg-pdp-standard-official-logo + * {
  color:var(--tg-brand-a);
}

@media(max-width:767px) {
  body.single-product .tg-pdp-summary-official-logo img {
    width:118px;
    max-height:40px;
  }

  body.single-product .tg-pdp-standard-official-logo img {
    width:105px;
  }
}

/* TG_PDP_OFFICIAL_BRAND_FINAL_20261023_END */

/* TG_HIDE_DUPLICATE_PRODUCT_KICKER_20261023 */
/* Keep official logo; hide redundant text underneath. */
body.single-product .summary.entry-summary
.tg-product-kicker.tg-pdp-official-kicker {
  display:none !important;
}
