.page-hero { padding: 54px 0; background: linear-gradient(135deg, var(--cream), var(--beige)); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero h1 { margin: 0; font: 700 clamp(2.1rem, 4vw, 4rem)/1.05 var(--serif); }
.page-hero p { max-width: 700px; color: var(--muted); }
.breadcrumb { padding: 18px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .78rem; }
.breadcrumb strong { color: var(--ink); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; }
.thumbs { display: grid; align-content: start; gap: 10px; }
.thumb { width: 84px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; padding: 6px; overflow: hidden; background: var(--product-bg, var(--cream)); cursor: pointer; }
.thumb.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(10,146,63,.12); }
.thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center center; }
.detail-image { height: clamp(500px, 42vw, 590px); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; background: var(--product-bg, #f8efe5); box-shadow: none; }
.detail-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center center; transform: none; }
.detail-info { padding-top: 4px; }
.verified { display: flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; }
.detail-info h1 { margin: 8px 0 4px; font: 700 clamp(2.2rem, 3.5vw, 3rem)/1.04 var(--serif); }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #f3b600; margin: 12px 0; }
.rating span { margin-left: 0; color: var(--muted); font-size: .8rem; }
.detail-price { font-size: 1.9rem; font-weight: 800; margin: 14px 0 0; }
.tax-note { color: var(--muted); font-size: .8rem; }
.option-block { margin: 17px 0; }
.option-block > strong { display: block; margin-bottom: 9px; font-size: .86rem; }
.pack-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pack-option { min-width: 68px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }
.pack-option.active { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.product-description { margin-top: 17px; padding: 15px 0; border-block: 1px solid var(--line); }
.product-description > strong { display: block; margin-bottom: 5px; font-size: .86rem; }
.product-description p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.product-description .desc-body { position: relative; overflow: hidden; transition: max-height .3s ease; }
.product-description .desc-body.collapsed { max-height: 4.8em; }
.product-description .desc-toggle { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--green); font-weight: 700; font-size: .82rem; cursor: pointer; }
.product-description .desc-toggle:hover { text-decoration: underline; }
.variant-stock { margin-top: 7px; color: var(--green); font-size: .74rem; font-weight: 700; }
.variant-stock.out-of-stock { color: var(--red); }
.quantity-block { margin-bottom: 13px; }
.detail-actions { display: grid; grid-template-columns: auto minmax(150px, 1.25fr) minmax(125px, .9fr) 46px; gap: 10px; margin: 18px 0; }
.detail-actions .btn, .detail-actions .stepper { min-height: 46px; }
.detail-actions .stepper button { width: 38px; height: 44px; }
.detail-wish { width: 46px; height: 46px; position: static; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; font-size: 1.25rem; }
.detail-wish.active { color: var(--red); }
.detail-facts { margin: 22px 0; padding: 16px 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact { display: flex; align-items: center; justify-content: center; gap: 9px; text-align: left; }
.fact-icon { flex: 0 0 auto; display: grid; place-items: center; color: var(--green); }
.fact b { display: block; font-size: .79rem; line-height: 1.25; }
.fact span { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; line-height: 1.3; }
.product-detail-page > .container > .section { padding: 20px 0; }
.product-detail-page > .container > .section > .section-head { max-width: 100%; width: 100%; }

.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1.8fr) 350px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.profile-account-layout { grid-template-columns: 250px minmax(0, 1fr); }
.account-side { padding: 22px 16px; background: linear-gradient(180deg, var(--cream), var(--surface)); border-right: 1px solid var(--line); }
.account-side h2 { margin: 6px 16px 18px; font: 700 1.35rem var(--serif); }
.account-nav { display: grid; gap: 4px; }
.account-nav a { padding: 14px 16px; border-radius: 10px; font-size: .88rem; font-weight: 650; }
.account-nav a.active, .account-nav a:hover { background: var(--green-soft); color: var(--green); }
.help-card { margin-top: 80px; padding: 20px; text-align: center; }
.help-actions { display: grid; gap: 9px; margin-top: 14px; }
.help-actions .btn { padding-inline: 10px; font-size: .76rem; }
.profile-center { padding: 34px; }
.profile-head { display: flex; align-items: start; justify-content: space-between; }
.profile-head h1 { margin: 0; font: 700 1.7rem var(--serif); }
.profile-summary { display: flex; align-items: center; gap: 24px; margin: 28px 0; }
.avatar { width: 112px; height: 112px; flex: 0 0 112px; display: grid; place-items: center; overflow: hidden; border: 3px solid var(--surface); border-radius: 50%; background: linear-gradient(135deg, #edf4ef, #dcecdf); color: var(--green); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-neutral svg { width: 44px; height: 44px; stroke-width: 1.65; }
.profile-name h2 { margin: 0 0 7px; font: 700 1.65rem var(--serif); }
.profile-name span { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 24px; }
.readonly-value { width: 100%; min-height: 47px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; color: var(--ink); background: var(--cream); }
.gender-field { min-width: 0; margin: 0 0 15px; padding: 0; border: 0; }
.gender-field legend { margin-bottom: 7px; padding: 0; font-size: .8rem; font-weight: 700; }
.gender-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gender-options label { position: relative; cursor: pointer; }
.gender-options input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gender-options span { min-height: 47px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--surface); font-size: .86rem; font-weight: 700; transition: .18s ease; }
.gender-options input:checked + span { border-color: var(--green); color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(10,146,63,.08); }
.gender-options input:focus-visible + span { border-color: #b8cec0; box-shadow: 0 0 0 2px rgba(22,139,74,.12); }
.profile-center input[readonly] { opacity: 1; color: var(--ink); background: var(--cream); cursor: default; }
.profile-center input[readonly]:focus { outline: none; border-color: var(--line); box-shadow: none; }
.profile-actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.profile-actions[hidden] { display: none !important; }
.profile-actions .btn { min-width: 170px; }
.profile-success { margin: 18px 0 0; padding: 11px 14px; display: flex; align-items: center; gap: 9px; border: 1px solid #b9dfc4; border-radius: 10px; color: var(--green); background: var(--green-soft); font-size: .84rem; font-weight: 700; }
.profile-error { margin: 18px 0 0; padding: 11px 14px; display: flex; align-items: center; gap: 9px; border: 1px solid #f3c4c6; border-radius: 10px; color: var(--red); background: #fde9ea; font-size: .84rem; font-weight: 700; }
.password-nag { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin: 0 0 22px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
.password-nag-icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: color-mix(in srgb, var(--gold) 24%, var(--surface)); }
.password-nag-copy { flex: 1 1 auto; min-width: 0; }
.password-nag-copy strong { display: block; margin-bottom: 2px; font-size: .92rem; }
.password-nag-copy p { margin: 0; color: var(--muted); font-size: .82rem; }
.password-nag-cta { flex: 0 0 auto; white-space: nowrap; }
.account-password-form { padding: 34px; margin-top: 22px; }
.account-password-form .form-grid { grid-template-columns: 1fr 1fr 1fr; }

/* Address edit form (myaccount/form-edit-address.php override) — wraps
   WooCommerce's own woocommerce_form_field() output (kept for its per-field
   validation/Select2 behaviour) in the site's field chrome instead of WC's
   default unstyled form-row markup. */
.address-edit-form { padding: 34px; margin: 22px 0 0; }
.address-edit-form h2 { margin-top: 0; }
.woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 24px; margin-bottom: 6px; }
.woocommerce-address-fields__field-wrapper .form-row { display: grid; gap: 7px; margin: 0 0 15px; }
.woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.woocommerce-address-fields__field-wrapper label { font-size: .8rem; font-weight: 700; }
.woocommerce-address-fields__field-wrapper label .required { color: var(--red); text-decoration: none; }
.woocommerce-address-fields__field-wrapper input.input-text,
.woocommerce-address-fields__field-wrapper select,
.woocommerce-address-fields__field-wrapper textarea { width: 100%; min-height: 47px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; color: var(--ink); background: var(--surface); font: inherit; }
.woocommerce-address-fields__field-wrapper .select2-container { width: 100% !important; }
@media (max-width: 640px) {
  .address-edit-form { padding: 22px 18px; }
  .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .password-nag { flex-wrap: wrap; }
  .password-nag-cta { width: 100%; }
  .account-password-form { padding: 22px 18px; }
  .account-password-form .form-grid { grid-template-columns: 1fr; }
}
.saved-address { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.address-box { padding: 18px; margin: 10px 0 26px; display: flex; justify-content: space-between; gap: 20px; box-shadow: none; font-size: .86rem; }
.profile-save { width: min(100%, 230px); margin: auto; display: flex; }
.secure-note { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--muted); font-size: .78rem; }
.account-right { padding: 22px; border-left: 1px solid var(--line); background: var(--cream); }
.mini-panel { padding: 18px; margin-bottom: 18px; box-shadow: none; }
.mini-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mini-panel h2 { margin: 0; font: 700 1.2rem var(--serif); }
.order-mini, .address-mini { padding: 12px; margin: 10px 0; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.order-mini { grid-template-columns: 55px 1fr auto; align-items: center; }
.order-mini img { width: 55px; height: 55px; border-radius: 8px; object-fit: cover; }
.order-mini strong, .order-mini span { display: block; font-size: .79rem; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 30px; align-items: start; }
.panel { padding: 24px; }
.panel h2 { margin-top: 0; font-family: var(--serif); }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.cart-item h3 { margin: 0 0 5px; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; }
.summary-row.total { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1.2rem; font-weight: 800; }
.checkout-form { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.checkout-form .wide { grid-column: 1 / -1; }
.payment-box { padding: 16px; border: 1px solid #bfd8c6; border-radius: 12px; background: var(--green-soft); }
.order-card { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items: center; padding: 22px; margin-bottom: 16px; }
.order-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.timeline { padding: 28px; }
.timeline-step { position: relative; padding: 0 0 28px 40px; }
.timeline-step::before { content: ''; position: absolute; left: 12px; top: 12px; bottom: -4px; width: 2px; background: var(--line); }
.timeline-step:last-child::before { display: none; }
.timeline-step::after { content: ''; position: absolute; left: 5px; top: 5px; width: 16px; height: 16px; border: 3px solid var(--surface); border-radius: 50%; background: var(--line); box-shadow: 0 0 0 2px var(--line); }
.timeline-step.done::after { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.policy { max-width: 900px; margin: 0 auto; }
.policy h2 { margin-top: 32px; font-family: var(--serif); }
.policy p, .policy li { color: var(--muted); }
.licence-grid { margin: 26px 0; display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.licence-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; padding: 14px 18px; background: var(--surface); }
.licence-label { color: var(--ink); font-weight: 700; font-size: .86rem; }
.licence-value { color: var(--ink); font-size: .86rem; text-align: right; }
.licence-value.is-pending { color: var(--muted); font-style: italic; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-support > p { margin-bottom: 20px; }
.support-method { margin: 11px 0; padding: 15px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 12px; transition: .2s ease; }
.support-method:hover { border-color: #abd4b7; background: var(--green-soft); transform: translateY(-1px); }
.support-method strong, .support-method small { display: block; }
.support-method small { margin-top: 2px; color: var(--muted); }
.office-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.office-note-fssai { margin-top: 10px; }
.support-choice { position: relative; }
.support-choice-icon { margin-bottom: 16px; }
.success-box { text-align: center; padding: 62px 30px; }
.success-check { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: var(--green); font-size: 2.3rem; }
