/* Adiva Garage product page ------------------------------------------------
   Sits inside the pink store template, so this stays in the store's palette
   rather than importing the Garage page's black. The Garage page is the
   destination; the product page is still part of the shop.

   Do NOT write a closing style tag anywhere in this file, comments included.
--------------------------------------------------------------------------- */

.apdp-lab { font-size: 14px; margin: 0 0 10px; color: #2E0E1E; }
.apdp-lab strong { font-weight: 700; }
.apdp-lab span { font-weight: 400; color: #7a5a6b; }

/* ------------------------------------------------------------- colour --- */
.apdp-colour { margin: 0 0 22px; }
.apdp-sw { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 14px; }
.apdp-o { position: relative; display: inline-flex; }
.apdp-o input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.apdp-o .apdp-chip {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.apdp-o .apdp-nm { font-size: 13.5px; line-height: 1; color: #2E0E1E; }
.apdp-o > .apdp-chip, .apdp-o > .apdp-nm { pointer-events: none; }
.apdp-o {
  align-items: center; gap: 9px; padding: 8px 14px 8px 9px;
  border: 1.5px solid #ecd6e1; border-radius: 40px; background: #fff;
  transition: border-color .16s, box-shadow .16s;
  min-height: 44px;   /* touch target */
}
.apdp-o:hover { border-color: #d9a8c2; }
.apdp-o:has(input:checked) { border-color: #C42E72; box-shadow: 0 0 0 1px #C42E72; }
.apdp-o:has(input:focus-visible) { outline: 2.5px solid #C42E72; outline-offset: 2px; }

/* :has() is well supported now, but if it is missing the swatches simply stay
   unhighlighted - the radio itself still works, so the product is still
   orderable. This is the visible fallback for that case. */
.apdp-o input:checked ~ .apdp-nm { font-weight: 700; }

.apdp-note-w { margin: 0; }
.apdp-note-w label { display: block; font-size: 13.5px; margin: 0 0 6px; color: #2E0E1E; }
.apdp-note-w label span { color: #7a5a6b; }
.apdp-note-w input {
  width: 100%; max-width: 420px; height: 44px; padding: 0 13px; font-size: 15px;
  border: 1.5px solid #ecd6e1; border-radius: 10px; background: #fff; color: #2E0E1E;
}
.apdp-note-w input:focus { outline: 0; border-color: #C42E72; }

/* -------------------------------------------------------------- packs --- */
.apdp-packs { margin: 20px 0 4px; clear: both; }
.apdp-tiers { display: flex; gap: 10px; flex-wrap: wrap; }
.apdp-tiers a {
  position: relative; flex: 1 1 150px; min-width: 150px;
  border: 1.5px solid #ecd6e1; border-radius: 12px; background: #fff;
  padding: 14px 14px 13px; text-decoration: none; color: #2E0E1E;
  transition: border-color .16s, box-shadow .16s;
}
.apdp-tiers a:hover { border-color: #d9a8c2; }
.apdp-tiers a.is-on { border-color: #C42E72; box-shadow: 0 0 0 1px #C42E72; }
.apdp-tiers b { display: block; font-size: 14.5px; font-weight: 700; }
.apdp-tiers span { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; color: #C42E72; }
.apdp-tiers del { color: #a98ba0; font-weight: 400; font-size: 13.5px; margin-left: 6px; }
.apdp-tiers i {
  position: absolute; top: -9px; right: 11px; font-style: normal;
  background: #C42E72; color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .02em; padding: 3px 9px; border-radius: 20px; white-space: nowrap;
}
.apdp-hint { margin: 10px 0 0; font-size: 13px; color: #7a5a6b; }

/* WooCommerce forces prices to display:block in this theme, which stacks the
   rupee symbol onto its own line inside these small cards. Same defect the
   checkout summary and the Garage cards both hit. */
.apdp-tiers .woocommerce-Price-amount,
.apdp-tiers .woocommerce-Price-currencySymbol,
.apdp-hint .woocommerce-Price-amount { display: inline !important; }

/* ------------------------------------------------------------ details --- */
.apdp-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: 1200px; margin: 44px auto 8px; padding: 0 20px;
}
.apdp-details h2 { font-size: 1.25rem; margin: 0 0 16px; color: #2E0E1E; }
.apdp-spec { margin: 0; }
.apdp-spec dt {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #C42E72; font-weight: 700; margin: 0 0 4px;
}
.apdp-spec dd {
  margin: 0 0 16px; padding: 0 0 16px; font-size: 14.5px; line-height: 1.6;
  color: #4a3140; border-bottom: 1px solid #f3e4ec;
}
.apdp-spec dd:last-child { border-bottom: 0; }
.apdp-faq { border-bottom: 1px solid #f3e4ec; padding: 0 0 2px; }
.apdp-faq summary {
  cursor: pointer; padding: 13px 0; font-size: 14.5px; font-weight: 600; color: #2E0E1E;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.apdp-faq summary::-webkit-details-marker { display: none; }
.apdp-faq summary::after {
  content: "+"; font-size: 19px; font-weight: 400; color: #C42E72; flex: none; line-height: 1;
}
.apdp-faq[open] summary::after { content: "\2013"; }
.apdp-faq p { margin: 0 0 15px; font-size: 14px; line-height: 1.65; color: #6b4a5c; }
.apdp-wa { margin: 18px 0 0; font-size: 14px; color: #6b4a5c; }
.apdp-wa a { color: #C42E72; font-weight: 600; }

@media (max-width: 800px) {
  .apdp-details { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .apdp-tiers a { flex: 1 1 100%; }
}

/* ----------------------------------------------------------- delivery --- */
.apdp-deliv {
  display: block; margin: 14px 0 0; padding: 11px 14px;
  background: #f4fbf6; border: 1px solid #cfe9d9; border-radius: 10px;
  font-size: 14px; color: #14663a; line-height: 1.5; clear: both;
}
.apdp-deliv strong { font-weight: 700; }
.apdp-deliv span { display: block; margin-top: 3px; font-size: 12.5px; color: #4a7a5e; }
.apdp-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #1e9e5a; margin-right: 8px; vertical-align: 1px;
}
