/* ==========================================================================
   ANJAAN WEAR — WordPress & WooCommerce layer
   Styles for things the static design didn't have: WhatsApp ordering,
   WooCommerce forms/notices/payment boxes, account links, blog, admin bar.
   ========================================================================== */

/* ---------- Admin bar & screen-reader helpers ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } #wpadminbar { position: fixed; } }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 9999; top: 8px; left: 8px; padding: 10px 16px; background: var(--plum); color: var(--milk); border-radius: 8px; }

/* ---------- WhatsApp ---------- */
:root { --wa: #1F7A4D; --wa-700: #155C39; --save: #2F5D45; }
.btn--wa { --b-bg: var(--wa); --b-fg: #fff; border-color: var(--wa); }
.btn--wa::before { background: var(--wa-700); }
.btn--wa svg { width: 18px; height: 18px; }
.btn--wa:hover svg { transform: none; }
.btn--ghost.btn--wa { --b-bg: transparent; --b-fg: var(--wa); border-color: rgba(31, 122, 77, .45); }
.btn--ghost.btn--wa::before { background: var(--wa); }
.btn--ghost.btn--wa:hover { color: #fff; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 34px -12px rgba(21, 92, 57, .7); transition: transform .5s var(--ease), bottom .5s var(--ease); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 122, 77, .45); animation: wa-pulse 2.6s infinite; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 122, 77, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 122, 77, 0); } }
.is-scrolled-far .wa-float { bottom: 88px; }
.pdp ~ .wa-float, .single-product .wa-float { bottom: 96px; }
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

.info__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.info__alt .btn { min-height: 50px; padding: 0 14px; letter-spacing: .1em; }
.info__alt .info__buynow { margin: 0; }
@media (max-width: 520px) { .info__alt { grid-template-columns: 1fr; } }
.buy-form { display: grid; gap: 22px; }
.buy-form .info__price { margin: 0; }
.info__desc p + p { margin-top: 8px; }

.cart__foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cart__foot-row .btn { min-height: 46px; padding: 0 10px; letter-spacing: .08em; }
.cart__ship.is-free p { color: var(--save); }
.citem.is-busy { opacity: .55; pointer-events: none; }

.co__wa { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: #EEF5EC; font-size: 13px; font-weight: 600; color: var(--save); }
.co__wa .btn { min-height: 38px; padding: 0 14px; }

/* ---------- Buttons: loading state for any button ---------- */
button.is-loading, a.is-loading { position: relative; pointer-events: none; }
.card__sizes button.is-loading, [data-quick].is-loading { color: transparent !important; }
.card__sizes button.is-loading::after, [data-quick].is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: 2px solid var(--plum); border-right-color: transparent; border-radius: 50%; animation: aw-spin .7s linear infinite; }
@keyframes aw-spin { to { transform: rotate(360deg); } }

/* ---------- Cards ---------- */
.card.is-soldout .card__media img { filter: grayscale(.4); opacity: .8; }
.card__sizes button.is-out, .card__sizes button:disabled { opacity: .35; text-decoration: line-through; pointer-events: none; }
.grid.is-busy { opacity: .45; transition: opacity .2s; pointer-events: none; }
.grid .card { animation-fill-mode: both; }
.wl-remove { z-index: 2; }

/* ---------- Option pickers ---------- */
.opt__swatches .swatch.is-out { position: relative; opacity: .45; }
.opt__swatches .swatch.is-out::after, .feature__sw .swatch.is-out::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; background: var(--plum); transform: rotate(45deg); }
.feature__sizes .chip.is-out { opacity: .35; text-decoration: line-through; }
.opt__error:empty { display: none; }
.qv__info .opt { margin-top: 2px; }
.qv__info [data-buy-add]:disabled { opacity: .5; }
.info__instal b { color: var(--save); }
.info__rating .stars svg.off { opacity: .25; }

/* ---------- Search ---------- */
.search__results.is-busy { opacity: .5; }
.search__results .s-all { grid-column: 1 / -1; justify-self: center; display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.search__results .s-all svg { width: 14px; height: 14px; }

/* ---------- Shop ---------- */
.shop__desc { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
/* Category text + questions under the grid: readable headings, spacing and links */
.shop-about { margin-top: clamp(48px, 6vw, 88px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); background: var(--milk-50, transparent); }
.shop-about__inner { display: grid; gap: 40px; }
.shop-about .shop__desc { margin: 0; padding: 0; border: 0; max-width: none; }
@media (min-width: 960px) { .shop-about__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; } }
.shop__desc { display: block; max-width: 820px; gap: 0; }
.shop__desc > * + * { margin-top: 12px; }
.shop__desc h2 { margin: 0 0 12px; font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: var(--plum); }
.shop__desc p { margin: 0; }
.shop__desc a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.shop__desc .aseo-faq { margin: 0; padding: 0; border: 0; }
.shop__desc .aseo-faq details { border-bottom: 1px solid var(--line); }
.shop__desc .aseo-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--f-text); font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.shop__desc .aseo-faq summary::-webkit-details-marker { display: none; }
.shop__desc .aseo-faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--milk-200, rgba(55, 25, 49, .06)); font-size: 16px; font-weight: 400; line-height: 1; transition: background .3s, color .3s; }
.shop__desc .aseo-faq details[open] > summary::after { content: "\2212"; background: var(--plum); color: var(--milk); }
.shop__desc .aseo-faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.shop__desc .aseo-faq details > :not(summary) { padding: 0 40px 16px 0; margin: 0; }
a.catbar__item { text-decoration: none; }
.shop-banner__sub[hidden], .shop-banner [data-banner-eyebrow][hidden] { display: none; }
.loadmore [data-more] { display: inline-flex; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-NoticeGroup .woocommerce-error {
  position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 18px 14px 48px; list-style: none;
  border-radius: 14px; background: var(--milk-200); color: var(--plum); font-size: 14px; line-height: 1.5; animation: rise .45s var(--ease) both;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { content: ""; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF3E5' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.woocommerce-info::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFF3E5'%3E%3Ccircle cx='12' cy='7' r='1.6'/%3E%3Crect x='10.8' y='10' width='2.4' height='8' rx='1'/%3E%3C/svg%3E"); }
.woocommerce-error { display: grid; gap: 6px; background: #FBEDEA; color: #8E2F3C; }
.woocommerce-error::before { background: #A2392F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Crect x='10.8' y='5' width='2.4' height='9' rx='1'/%3E%3Ccircle cx='12' cy='18' r='1.6'/%3E%3C/svg%3E") center / 12px no-repeat; }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a { text-decoration: underline; text-underline-offset: 3px; }
.pdp > .woocommerce-notices-wrapper, .cartpage .woocommerce-notices-wrapper, .checkout .woocommerce-notices-wrapper, .co-wrap > .woocommerce > .woocommerce-notices-wrapper { max-width: var(--maxw); margin-inline: auto; }
.checkout .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.blockUI.blockOverlay { background: rgba(255, 243, 229, .6) !important; opacity: 1 !important; }
.blockUI.blockOverlay::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border: 2px solid var(--plum); border-right-color: transparent; border-radius: 50%; animation: aw-spin .7s linear infinite; }

/* ---------- WooCommerce form rows (checkout, addresses) ---------- */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid > .form-row, .fgrid > .field { margin: 0; }
.fgrid .form-row-wide, .fgrid .fgrid__full, .fgrid #billing_country_field, .fgrid #billing_address_1_field, .fgrid #billing_address_2_field, .fgrid .notes { grid-column: 1 / -1; }
.form-row { position: relative; margin: 0 0 12px; }
.form-row.field label { left: 15px; top: 17px; }
.form-row .woocommerce-input-wrapper { display: block; position: relative; }
.form-row.field .woocommerce-input-wrapper { display: contents; }
.form-row label .required, .form-row label abbr { color: var(--ink-mute); text-decoration: none; border: 0; margin-left: 2px; }
.form-row label .optional { display: none; }
.form-row:not(.field) > label:not(.check):not(.woocommerce-form__label-for-checkbox) { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.form-row input.input-text, .form-row textarea, .form-row select { width: 100%; }
.form-row.field textarea { min-height: 96px; padding-top: 26px; }
.form-row.field--select select { height: 56px; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select, .form-row.woocommerce-invalid textarea { border-color: #B4463F; background-color: #FFF8F6; }
.form-row.woocommerce-invalid label { color: #A2392F !important; }
#billing_country_field .woocommerce-input-wrapper strong { display: flex; align-items: center; height: 56px; padding: 0 14px; border: 1px dashed var(--line-strong); border-radius: 10px; font-weight: 600; }
.form-row .description { margin-top: 6px; font-size: 12px; color: var(--ink-mute); }
.select2-container .select2-selection--single { height: 56px !important; border: 1px solid var(--line-strong) !important; border-radius: 10px !important; background: var(--milk) !important; }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 22px 40px 0 14px !important; line-height: 28px !important; color: var(--plum) !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 54px !important; right: 10px !important; }
.select2-dropdown { border-color: var(--line-strong) !important; border-radius: 10px !important; overflow: hidden; background: var(--milk-50) !important; }
.select2-results__option--highlighted { background: var(--plum) !important; }
.field--select .select2-container + label, .form-row.field--select > label { position: absolute; z-index: 1; transform: translateY(-9px) scale(.78); color: var(--plum); pointer-events: none; }
.woocommerce-form__label-for-checkbox, label.check { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.woocommerce-form__label-for-checkbox input[type=checkbox] { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--plum); }
label.check input[type=checkbox] { position: absolute; opacity: 0; }
.woocommerce-account-fields { margin-top: 14px; }
.woocommerce-account-fields .create-account { margin-top: 12px; }
.woocommerce-additional-fields { margin-top: 14px; }

/* ---------- Checkout ---------- */
.co-wrap > .woocommerce { display: block; }
form.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 80px; }
form.co .co__main { display: grid; gap: 14px; }
.co__summary { position: sticky; top: calc(var(--header-h) + 20px); }
.aw-review .co__items { display: grid; gap: 12px; max-height: 340px; overflow: auto; padding-right: 4px; margin-bottom: 4px; }
.aw-review .co__items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.co__thumb { position: relative; width: 56px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: visible; }
.co__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.co__thumb b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--plum); color: var(--milk); font-size: 11px; }
.co__iname { display: grid; gap: 2px; min-width: 0; }
.co__iname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co__iname small { font-size: 12px; color: var(--ink-mute); }
.co__iprice { font-weight: 700; white-space: nowrap; }
.totals .is-save dt { color: var(--save); }
.totals__hint { padding: 8px 12px; border-radius: 8px; background: var(--milk-200); font-size: 12px; font-weight: 600; text-align: center; color: var(--ink-soft); }
.totals .shipping dd input { display: none; }
#payment { display: grid; gap: 18px; background: none; }
#payment ul.payment_methods { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; border: 0; }
#payment ul.payment_methods > li { list-style: none; display: grid; gap: 10px; }
#payment .payment_box { margin: 0; }
#payment .payment_box p:last-child { margin-bottom: 0; }
#payment .payment_box::before { display: none; }
.opt-card__tag--save { background: var(--save); }
#payment .place-order { display: grid; gap: 14px; margin: 0; padding: 0; }
.woocommerce-terms-and-conditions-wrapper { display: grid; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.woocommerce-terms-and-conditions-wrapper a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-terms-and-conditions { max-height: 220px; overflow: auto; padding: 14px; border-radius: 12px; background: var(--milk-200); }
.co__place { min-height: 60px; border-radius: 14px; font-size: 13px; }
.co__place span { display: inline-flex; gap: 6px; }
.co__secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--ink-mute); }
.co__secure svg { width: 14px; height: 14px; }
.co__note { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--milk-200); font-size: 13px; }
.co__note svg { width: 18px; height: 18px; flex-shrink: 0; }
.co__note.is-free { background: #EEF5EC; color: var(--save); }
.aw-co-delivery .opt-card { cursor: default; border-color: var(--plum); background: #fff; }
.aw-co-delivery .opt-card__ui { border-color: var(--plum); }
.aw-co-delivery .opt-card__ui::after { transform: scale(1); }
.co__editbag { justify-self: start; font-size: 13px; }
.wc-bacs-bank-details-heading { font-size: 16px; margin: 6px 0; }
.wc-bacs-bank-details { display: grid; gap: 4px; padding: 14px 16px; margin: 0 0 4px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); list-style: none; }
.wc-bacs-bank-details li { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.wc-bacs-bank-details li strong { color: var(--plum); font-weight: 700; word-break: break-all; }
.wc-bacs-bank-details-account-name { font-weight: 700; margin-top: 8px; }
@media (max-width: 980px) {
  form.co { grid-template-columns: 1fr; }
  .co__summary { position: static; order: -1; }
}
@media (max-width: 640px) {
  .fgrid { grid-template-columns: 1fr; }
  .wc-bacs-bank-details li { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Thank you ---------- */
.woocommerce-order .done { padding-block: clamp(32px, 6vw, 80px); }
.done__bank { display: grid; gap: 10px; width: 100%; padding: 18px; border-radius: 16px; background: var(--milk-200); text-align: left; }
.done__bank h3 { font-size: 16px; }
.done__bank section, .done__bank .woocommerce-bacs-bank-details { display: grid; gap: 8px; }
.done__fine { font-size: 12px; color: var(--ink-mute); }
.done__items { width: 100%; text-align: left; }
.done__totals { width: 100%; text-align: left; }
.done__cta .btn--wa span { display: inline; }
.timeline--mini { grid-template-columns: repeat(5, 1fr); }
.timeline--mini::before { left: 10%; right: 10%; }
.track-cancelled { padding: 12px 16px; border-radius: 12px; background: #FBEDEA; color: #8E2F3C; font-weight: 700; }
.track-card__code { margin: 6px 0 18px; font-size: 14px; }
.track-card__bar span { width: var(--w, 0); }

/* ---------- Account ---------- */
.dash { padding-block: clamp(28px, 4vw, 56px) 80px; }
.dash__nav a { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: color .3s var(--ease), background .3s var(--ease); }
.dash__nav a svg { width: 18px; height: 18px; --bg: var(--milk-50); }
.dash__nav a small { margin-left: auto; font-size: 11px; font-weight: 700; opacity: .6; }
.dash__nav a small:empty, .dash__nav a small[data-wish-count]:not(.has) { display: none; }
.dash__nav a:hover { color: var(--plum); background: var(--milk-200); }
.dash__nav a.is-active { color: var(--milk); background: var(--plum); }
.dash__nav a.is-active svg { --bg: var(--plum); }
.stat { color: inherit; text-decoration: none; }
.pane__lead { margin: -6px 0 18px; color: var(--ink-soft); font-size: 14px; }
.addr.is-default { border-color: var(--plum); }
.addr header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.addr__badge { padding: 3px 10px; border-radius: 99px; background: var(--plum); color: var(--milk); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.addr address { font-style: normal; line-height: 1.6; color: var(--ink-soft); }
.addr-form__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.details__sub small { font-family: var(--f-text); font-size: 12px; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; }
.onotes { display: grid; gap: 10px; list-style: none; padding: 0; }
.onotes li { padding: 14px 16px; border-radius: 12px; background: var(--milk-50); box-shadow: 0 0 0 1px var(--line); }
.onotes small { display: block; margin-bottom: 4px; color: var(--ink-mute); }
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.pager .nav-links { display: flex; gap: 6px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; }
.pager .page-numbers.current { background: var(--plum); color: var(--milk); border-color: var(--plum); }
.status--placed { background: var(--milk-200); color: var(--plum); }
.account .woocommerce > .woocommerce-notices-wrapper { max-width: var(--maxw); margin: 20px auto 0; padding-inline: var(--gutter); }
.auth__panel .woocommerce-error, .auth__panel .woocommerce-message, .auth__panel .woocommerce-info { margin-bottom: 0; }
.auth__box .woocommerce-privacy-policy-text { font-size: 12px; color: var(--ink-mute); }
.auth__box .woocommerce-privacy-policy-text a { text-decoration: underline; }
.score__note { font-size: 13px; color: var(--ink-mute); }
.ritem--empty { color: var(--ink-soft); }
.ritem p + p { margin-top: 8px; }
@media (max-width: 980px) {
  .dash__nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .dash__nav a { flex-shrink: 0; height: 42px; }
}

/* ---------- Content pages & blog ---------- */
.prose--page { margin-inline: auto; display: block; color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.prose--page > * + * { margin-top: 1.1em; }
.prose--page h2, .prose--page h3 { color: var(--plum); letter-spacing: -.02em; margin-top: 1.6em; }
.prose--page a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.prose--page ul, .prose--page ol { padding-left: 1.2em; }
.prose--page img { border-radius: 14px; }
.prose--page blockquote { padding-left: 18px; border-left: 3px solid var(--plum); font-style: italic; }
.page-default__media { margin: 0 0 40px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 7; }
.page-default__media img { width: 100%; height: 100%; object-fit: cover; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.post-card { display: grid; gap: 14px; }
.post-card__media { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--milk-200); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: grid; gap: 8px; }
.post-card__title { font-size: 22px; letter-spacing: -.02em; }
.psec table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); font-size: 14px; line-height: 1.5; }
.psec table th, .psec table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.psec table th { background: var(--milk-200); color: var(--plum); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.cform__err:empty { display: none; }
.cform__err { color: #8E2F3C; font-size: 14px; font-weight: 600; }

/* ---------- Size guide from the editor ---------- */
.sg__table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sg__table-wrap th, .sg__table-wrap td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.sg__table-wrap th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.sg__table-wrap td:first-child { font-weight: 700; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .cart__foot-row { grid-template-columns: 1fr; }
}
.done__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.stat--accent b { color: var(--milk); }
.about-intro__text .reveal > p + p { margin-top: 1em; }
.aw-mini-cart { display: flex; flex-direction: column; flex: 1; min-height: 0; width: 100%; }
.fgrid #billing_country_field { display: none !important; }

/* ---------- Filter panel polish ---------- */
.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.presets button { height: 34px; padding: 0 4px; white-space: nowrap; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; }
.pill[hidden], .crow[hidden], .chip[hidden] { display: none !important; }
.pill small { font-weight: 700; opacity: .7; } /* was .55 — below readable contrast */

/* ---------- Product reviews ---------- */
.ritem__who { display: grid; gap: 2px; min-width: 0; }
.ritem__who strong { font-size: 15px; }
.ritem__who small { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 12px; color: var(--ink-mute); }
.ritem__verified { display: inline-flex; align-items: center; gap: 4px; color: var(--save); font-weight: 600; }
.ritem__verified svg { width: 12px; height: 12px; }
.ritem[hidden] { display: none; }
.score__bars .score__bar { display: contents; cursor: pointer; font: inherit; color: inherit; text-align: inherit; }
.score__bars li:has(.score__bar:not(:disabled)):hover span, .score__bars li:has(.is-active) span { color: var(--plum); font-weight: 800; }
.score__bars li:has(.is-active) i { background: var(--plum-700); }
.score__bars .score__bar:disabled { cursor: default; }
.rlist__filter { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--plum); font-weight: 700; }
.rlist__filter[hidden] { display: none; }
.rlist__more { margin-top: 18px; }
.rform__done { padding: 18px; border-radius: 14px; background: #EEF5EC; color: var(--save); font-weight: 600; }

/* ==========================================================================
   Complete the look
   ========================================================================== */
.look__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.look__media { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--milk-200); }
.look__media img { width: 100%; height: 100%; object-fit: cover; }
.look__count { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 243, 229, .92); color: var(--plum); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.look__panel .section-title { margin-bottom: 6px; }
.look__text { margin-bottom: 4px; color: var(--ink-soft); }
.look__list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: look; }
.look__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--milk-50, #fff); transition: border-color .3s; }
.look__item:hover { border-color: var(--line-strong); }
.look__item.is-this { background: var(--milk-200); border-color: transparent; }
.look__item.is-out { opacity: .6; }
.look__thumb { display: block; width: 72px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--milk-200); }
.look__thumb img { width: 100%; height: 100%; object-fit: cover; }
.look__info { display: grid; gap: 3px; min-width: 0; }
.look__info small { color: var(--ink-mute); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.look__info b { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look__price { font-size: 13.5px; color: var(--ink-soft); }
.look__price s { margin-left: 6px; } /* the colour is already muted; extra opacity made it unreadable */
.look__sizes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.look__sizes button { min-width: 34px; height: 30px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; font-size: 12px; font-weight: 700; transition: background .25s, color .25s, border-color .25s; }
.look__sizes button:hover:not(:disabled) { background: var(--plum); border-color: var(--plum); color: var(--milk); }
.look__sizes button.is-loading { opacity: .5; }
.look__sizes button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.look__go { font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.look__go.is-muted { text-decoration: none; color: var(--ink-mute); }
.look__hint { color: var(--ink-mute); font-size: 12px; white-space: nowrap; }
.look__item .btn--sm { white-space: nowrap; }
.look__item .btn--sm svg { width: 14px; height: 14px; }
.look__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.look__total span { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.look__total b { font-family: var(--f-display); font-size: 20px; }
@media (max-width: 860px) {
	.look__grid { grid-template-columns: 1fr; }
	.look__media { aspect-ratio: 16 / 11; }
	.look__hint { display: none; }
}
@media (max-width: 480px) {
	.look__item { grid-template-columns: 58px minmax(0, 1fr); }
	.look__thumb { width: 58px; }
	.look__item > :last-child:not(.look__info) { grid-column: 2; justify-self: start; }
	.look__item > .look__hint { display: none; }
}

/* ==========================================================================
   Spacing — no dead space between sections
   ========================================================================== */
.section { padding-block: clamp(40px, 5vw, 80px); }
.section--tight { padding-block: clamp(28px, 3.5vw, 48px); }
/* Two plain (same background) sections in a row share one gap. */
.section:not(.sale-sec):not(.reviews):not(.values):not(.facts) + .section:not(.sale-sec):not(.reviews):not(.values):not(.facts):not(.pdp-reviews) { padding-top: 0; }
.pdp-reviews, .related { padding-block: clamp(36px, 4.5vw, 64px); }
.look + .pdp-reviews { padding-top: clamp(36px, 4.5vw, 64px); }
.section-head { margin-bottom: clamp(20px, 2.8vw, 36px); }
.manifesto { padding-block: clamp(56px, 7vw, 104px); }
.facts { padding-block: clamp(32px, 4.5vw, 56px); }
/* The footer already has top padding. */
main > .section:last-child:not(.sale-sec):not(.reviews):not(.values):not(.facts) { padding-bottom: 0; }
.related .rail, .related + .sticky-buy { margin-bottom: 0; }
.page-hero__inner { padding-block: 20px clamp(24px, 3vw, 40px); }
.pdp > .container:first-child, .pdp__crumbs { padding-block: 14px 20px; }
/* Contact: simple form, no hours */
.contact__grid { grid-template-columns: 360px minmax(0, 1fr); }
.contact__aside { align-content: start; }
.cform .fgrid { row-gap: 14px; }
.contact-faq { padding-top: 0; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__main { order: -1; } }
/* Current page in footer & mobile menus */
.footer__col a[aria-current="page"] { color: var(--milk); background-size: 100% 1px; }
.menu__nav a.is-current { color: var(--plum); font-weight: 800; }
.header__quick a[aria-current="page"] { opacity: 1; }

/* Anti-spam notice (Anjaan Security plugin) */
.asec-note { margin: 0; color: var(--ink-mute); font-size: 11px; line-height: 1.5; }
p.asec-note { opacity: 1; } /* the security plugin adds opacity .6 on top of the muted colour */
.asec-note a { text-decoration: underline; text-underline-offset: 2px; }
.track-form .asec-note, .cform .asec-note, .rform .asec-note, .auth__form .asec-note { grid-column: 1 / -1; }
.footer .asec-note { color: rgba(255, 243, 229, .55); }
.woocommerce-checkout .asec-note { margin-top: 8px; }

/* Logo image (bundled Anjaan Wear logo or uploaded) */
.logo--img { display: inline-flex; align-items: center; }
.logo--img .logo__img { display: block; width: auto; height: 58px; max-width: none; }
.header .logo--img .logo__img { height: 58px; }
.logo--sm.logo--img .logo__img { height: 44px; }
.footer .logo--img .logo__img { height: 84px; }
@media (max-width: 760px) {
	.logo--img .logo__img, .header .logo--img .logo__img { height: 46px; }
	.footer .logo--img .logo__img { height: 70px; }
}

/* Journal — built from the existing pill, card and prose styles */
.journal-cats { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; margin: 0 0 32px; padding: 4px; border-radius: 99px; background: var(--milk-200); }
.journal-cats__item { display: grid; place-items: center; height: 40px; padding: 0 18px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--ink-soft); transition: background .35s, color .35s; }
.journal-cats__item:hover { color: var(--plum); }
.journal-cats__item.is-active { background: var(--plum); color: var(--milk); }
.post-meta, .post-toc, .post-tags { max-width: 760px; margin-inline: auto; }
.post-meta { margin-top: 22px; font-size: 13px; color: var(--ink-mute); }
.post-toc { margin-top: 22px; padding: 22px; border-radius: 16px; background: var(--milk-200); }
.post-toc__title { margin: 0 0 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.post-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 15px; }
.post-toc a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post-tags a { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.post-tags a:hover { border-color: var(--plum); color: var(--plum); }
.prose--page h2[id], .prose--page h3[id] { scroll-margin-top: 110px; }
.post-shop .section-head, .post-related .section-head { margin-bottom: 28px; }
.aw-size-guide { overflow-x: auto; }
@media (max-width: 640px) {
	.journal-cats { flex-wrap: nowrap; overflow-x: auto; border-radius: 16px; scrollbar-width: none; }
	.journal-cats__item { white-space: nowrap; }
}
/* Comments: keep long fields inside the column on phones */
.comments > * { min-width: 0; }
.comments textarea, .comments input[type="text"], .comments input[type="email"], .comments input[type="url"] { width: 100%; max-width: 100%; }
/* Article lists keep their markers (the global reset removes them) */
.post-article .prose--page ul { list-style: disc; }
.post-article .prose--page ol { list-style: decimal; }
.post-article .prose--page li + li { margin-top: .35em; }
.comments input[type="text"], .comments input[type="email"], .comments input[type="url"], .comments textarea { padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); }
.comments label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--plum); }
.comments .comment-form > p { margin-top: 14px; }
.comments .comment-reply-title { font-size: 22px; }
.comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comments .comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 500; color: var(--ink-soft); }
.post-toc { margin-bottom: 28px; }

/* COD advance split under the total (checkout + thank-you). */
.totals__split { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-mute); }
.totals__split dd { font-weight: 600; color: var(--ink); }
