/* =====================================================================
 * Shop UI - the modern finish for the customer website
 *
 * Loaded after style.css and components.css. It does not replace them; it
 * refines them: one palette driven by the shop's chosen colour (Settings >
 * General > Website colour, printed as --gold / --gold-dark / --ink /
 * --accent-rgb by shopThemeStyle()), softer surfaces, consistent rounding,
 * and the leftover purple tints from the first theme replaced by the
 * shop's own colour.
 *
 * Logical properties only (inline-start/end), so Arabic needs nothing extra.
 * ===================================================================== */

:root {
    --accent-rgb: 180, 138, 63;

    /* Everything soft is mixed from the accent, so a colour change in
       Settings re-tints the whole shop. */
    --sand: color-mix(in srgb, var(--gold) 6%, #fff);
    --sand-deep: color-mix(in srgb, var(--gold) 12%, #fff);
    --gold-tint: color-mix(in srgb, var(--gold) 14%, #fff);
    --line: color-mix(in srgb, var(--ink) 9%, #fff);
    --ink-soft: color-mix(in srgb, var(--ink) 72%, #fff);
    --ink-muted: color-mix(in srgb, var(--ink) 50%, #fff);
    --accent-ring: rgba(var(--accent-rgb), .18);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 12, 10, .05), 0 2px 8px rgba(15, 12, 10, .04);
    --shadow-md: 0 10px 30px -8px rgba(15, 12, 10, .14);
    --shadow-lg: 0 24px 60px -16px rgba(15, 12, 10, .22);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

body { background: #fff; color: var(--ink); }
a:hover { color: var(--gold-dark); }
::selection { background: var(--gold-tint); color: var(--ink); }
:focus-visible { outline-color: var(--gold); }

/* ---------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------ */

.btn {
    font-weight: 600;
    transition: transform .15s var(--ease), background-color .2s ease, color .2s ease,
                border-color .2s ease, box-shadow .2s ease;
}
.btn-primary {
    --bs-btn-bg: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--gold-dark);
    --bs-btn-hover-border-color: var(--gold-dark);
    --bs-btn-active-bg: var(--gold-dark);
    --bs-btn-active-border-color: var(--gold-dark);
    --bs-btn-disabled-bg: var(--sand-deep);
    --bs-btn-disabled-border-color: var(--sand-deep);
    --bs-btn-disabled-color: var(--ink-muted);
    background: var(--bs-btn-bg);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-primary:disabled,
.btn-primary.disabled { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--ink-muted); opacity: 1; }

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), .75);
}
.btn-gold:hover,
.btn-gold:focus { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-1px); }

.btn-outline-dark { border-color: var(--line); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline-primary { border-color: var(--gold); color: var(--gold-dark); }
.btn-outline-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-link { color: var(--gold-dark); }

/* ---------------------------------------------------------------------
 * Forms
 * ------------------------------------------------------------------ */

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 12px;
    min-height: 46px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
textarea.form-control { min-height: 110px; }
.form-control-sm, .form-select-sm { min-height: 36px; border-radius: 10px; }
.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--ink-soft); }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.form-check-input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--accent-ring); }
.input-group > .form-control:not(:last-child) { border-start-end-radius: 0; border-end-end-radius: 0; }

/* ---------------------------------------------------------------------
 * Cards, alerts, tables, pagination
 * ------------------------------------------------------------------ */

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.card-header { background: transparent; border-bottom-color: var(--line); }
.card-header:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.alert { border: 0; border-radius: var(--radius); }
.alert-info { background: var(--sand); color: var(--ink-soft); }

.table { --bs-table-border-color: var(--line); }
.table > thead th {
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
}

.pagination { gap: .35rem; }
.pagination .page-link {
    border: 1px solid var(--line);
    border-radius: 999px !important;
    min-width: 40px;
    text-align: center;
    color: var(--ink);
}
.pagination .page-link:hover { background: var(--sand); color: var(--gold-dark); }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }

.breadcrumb { font-size: .84rem; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--gold-dark); }

.badge { font-weight: 600; letter-spacing: .02em; border-radius: 999px; padding: .38em .7em; }
.badge-sale { background: var(--gold) !important; color: #fff; }
.badge-new { background: var(--ink) !important; color: #fff; }
.badge-soft { background: var(--gold-tint) !important; color: var(--gold-dark) !important; }

/* ---------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------ */

.announcement-bar {
    background: var(--ink);
    background-image: radial-gradient(ellipse at 50% -40%, rgba(var(--accent-rgb), .45), transparent 70%);
    color: rgba(255, 255, 255, .9);
    font-size: .82rem;
    letter-spacing: .02em;
}
.announcement-bar i { color: var(--gold); }

.site-header { box-shadow: none; }
.header-utility { border-bottom: 1px solid var(--line); }
.lang-switch a.active { background: var(--ink); color: #fff; }

.header-main {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-search .form-control {
    background: var(--sand);
    border: 1px solid transparent;
    border-radius: 999px;
}
.header-search .form-control:focus {
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.header-search .btn {
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
}
.header-search .btn:hover { background: var(--gold-dark); }
.header-icon:hover { background: var(--sand-deep); }

.cart-badge {
    background: var(--gold);
    box-shadow: 0 0 0 2px #fff;
    font-weight: 700;
}

.header-nav { border-top: 0; }
.nav-list > li > a { position: relative; }
.nav-list > li > a::after {
    content: "";
    position: absolute;
    inset-inline: .9rem;
    bottom: .35rem;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
}
.nav-list > li > a:hover::after,
.nav-list > li:focus-within > a::after { transform: scaleX(1); }

.mega-menu {
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.mega-item:hover { background: var(--sand); }
.mega-thumb { background: var(--sand-deep); }

.search-suggest { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.search-suggest a { border-bottom-color: var(--line); }
.search-suggest a:hover { background: var(--sand); }

.offcanvas { border: 0 !important; }
@media (max-width: 991.98px) {
    .offcanvas-start, .offcanvas-end { box-shadow: var(--shadow-lg); }
}
label[for="sort"] { white-space: nowrap; }
.drawer-nav > li > a:hover { color: var(--gold-dark); }

/* ---------------------------------------------------------------------
 * Hero (banners) and the built-in welcome when there are none
 * ------------------------------------------------------------------ */

.hero-slide { min-height: clamp(420px, 62vh, 640px); }
.hero-content h1,
.hero-content .hero-title {
    font-size: clamp(2.3rem, 5.2vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.hero-content p { font-size: clamp(1rem, 1.4vw, 1.15rem); opacity: .9; }
.hero .eyebrow { color: var(--gold); }
.hero .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    transition: width .3s var(--ease), background-color .3s ease;
}
.hero .carousel-indicators .active { width: 28px; background: var(--gold); }

.hero-plain {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 10vw, 7.5rem);
    color: #fff;
    text-align: center;
    background:
        radial-gradient(60% 80% at 15% 10%, rgba(var(--accent-rgb), .45), transparent 70%),
        radial-gradient(50% 70% at 90% 100%, rgba(var(--accent-rgb), .3), transparent 70%),
        var(--ink);
}
/* Two faint rings, like light through a perfume bottle */
.hero-plain::before,
.hero-plain::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), .35);
    pointer-events: none;
}
.hero-plain::before { width: 520px; height: 520px; inset-inline-start: -160px; top: -220px; }
.hero-plain::after { width: 380px; height: 380px; inset-inline-end: -120px; bottom: -200px; }
.hero-plain__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.hero-plain__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.4rem;
    font-size: 1.5rem;
    color: var(--gold);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(var(--accent-rgb), .45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.hero-plain__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 6.4vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: .01em;
    color: #fff;
    margin-bottom: 1rem;
    text-wrap: balance;
}
.hero-plain__text {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, .75);
    max-width: 560px;
    margin: 0 auto 2rem;
}
.hero-plain__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------ */

.section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    letter-spacing: -.005em;
}
.eyebrow { color: var(--gold-dark); display: inline-flex; align-items: center; gap: .55rem; }
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.hero .eyebrow::before, .hero-plain .eyebrow::before { display: none; }
.link-arrow { color: var(--gold-dark); font-weight: 600; }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }
.lang-ar .link-arrow:hover i { transform: translateX(-3px); }

/* Promise boxes under the hero */
.value-prop {
    border: 0;
    background: var(--sand);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem;
    align-items: center;
    transition: background-color .2s ease, transform .2s var(--ease);
}
.value-prop:hover { background: var(--sand-deep); transform: translateY(-2px); }
.value-prop i {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--gold-dark);
    box-shadow: var(--shadow-sm);
    font-size: 1.05rem;
}

/* ---------------------------------------------------------------------
 * Category and brand tiles
 * ------------------------------------------------------------------ */

.category-tile {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s ease;
    isolation: isolate;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-tile img { transition: transform .6s var(--ease); }
.category-tile:hover img { transform: scale(1.06); }
.category-tile__label {
    background: linear-gradient(to top, color-mix(in srgb, var(--ink) 85%, transparent), transparent);
    font-weight: 600;
    letter-spacing: .02em;
}

/* No photo: the category's initial on a soft tint of the shop colour */
.category-tile--plain {
    display: grid;
    place-items: center;
    background:
        radial-gradient(80% 60% at 50% 35%, #fff, transparent 75%),
        linear-gradient(160deg, var(--sand-deep), var(--gold-tint));
    border: 1px solid var(--line);
}
.category-tile__mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(4rem, 9vw, 6.5rem);
    line-height: 1;
    color: var(--gold);
    opacity: .55;
    transform: translateY(-12%);
    transition: transform .4s var(--ease), opacity .3s ease;
}
.category-tile--plain:hover .category-tile__mark { transform: translateY(-16%) scale(1.06); opacity: .8; }
.category-tile--plain .category-tile__label { color: #fff; }

.brand-tile {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    padding-inline: .75rem;
    color: var(--ink-soft);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease), color .2s ease;
}
.lang-ar .brand-tile { letter-spacing: 0; text-transform: none; }
.brand-tile:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------------
 * Product card
 * ------------------------------------------------------------------ */

.product-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.product-card__media { background: var(--sand); }
.product-card__img { transition: transform .6s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__badges { top: .75rem; inset-inline-start: .75rem; inset-inline-end: auto; }
.product-card__badges .badge { font-size: .66rem; box-shadow: var(--shadow-sm); }
.product-card__wish {
    top: .65rem;
    inset-inline-end: .65rem;
    inset-inline-start: auto;
    background: rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--ink-soft);
    transition: transform .2s var(--ease), color .2s ease;
}
.product-card__wish:hover { transform: scale(1.08); color: var(--sale); }
.product-card__body { padding: .95rem 1rem 1rem; }
.product-brand { color: var(--gold-dark); font-weight: 600; font-size: .68rem; }
.lang-ar .product-brand { letter-spacing: 0; }
.product-title { font-size: .95rem; color: var(--ink); }
.product-title a:hover { color: var(--gold-dark); }
.product-card__meta { color: var(--ink-muted); }
.product-card__meta span + span::before { content: "·"; margin-inline-end: .4rem; }
.product-price { color: var(--ink); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.original-price { color: var(--ink-muted); }
.product-card .js-add-to-cart { border-radius: 999px; padding-block: .55rem; }

/* ---------------------------------------------------------------------
 * Listing filters
 * ------------------------------------------------------------------ */

.filter-group { border-bottom-color: var(--line); }
.filter-group__title { color: var(--ink-muted); }
.filter-chip { color: var(--ink-soft); background: var(--sand); border-color: var(--line); }
.filter-chip:hover { background: var(--gold-tint); color: var(--gold-dark); border-color: var(--gold-tint); }

/* ---------------------------------------------------------------------
 * Product page
 * ------------------------------------------------------------------ */

.product-gallery .main-image { border-radius: var(--radius-lg); background: var(--sand); }
.product-gallery .thumbnail { border-radius: 12px; }
.product-gallery .thumbnail.active,
.product-gallery .thumbnail:hover { border-color: var(--gold) !important; }
.product-info .product-price { color: var(--ink); }
.stock-pill { border-radius: 999px; }
.quantity-selector {
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.quantity-selector .btn { border: 0; border-radius: 0; }
.quantity-selector .form-control { border: 0; box-shadow: none; min-height: 44px; }

/* ---------------------------------------------------------------------
 * Cart, checkout, account
 * ------------------------------------------------------------------ */

.cart-item { border-color: var(--line) !important; }
.cart-summary,
.checkout-summary,
.summary-card { border-radius: var(--radius-lg); }
.payment-option {
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}
.payment-option:hover { background: var(--sand); }
.payment-option.is-selected {
    border-color: var(--gold);
    background: var(--sand);
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.payment-option i { color: var(--gold-dark); }
.payment-option input { accent-color: var(--gold); }
.checkout-totals .total { border-top-color: var(--line); color: var(--ink); }

.order-progress__step::before { background: var(--line); }
.order-progress__dot { background: var(--line); }
.order-progress__step.is-current .order-progress__dot { box-shadow: 0 0 0 4px var(--accent-ring); }

.cms-page table th,
.cms-page table td { border-color: var(--line); }

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------ */

.site-footer {
    position: relative;
    background: var(--ink);
    background-image: radial-gradient(60% 50% at 100% 0%, rgba(var(--accent-rgb), .16), transparent 70%);
    color: rgba(255, 255, 255, .72);
}
.site-footer::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-heading { color: #fff; }
.footer-text { color: rgba(255, 255, 255, .58); }
.footer-links a,
.footer-contact a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); }
.footer-contact i { color: var(--gold); }
.footer-social a { background: rgba(255, 255, 255, .08); transition: background-color .2s ease, transform .2s var(--ease); }
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }
.site-footer .form-control { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.site-footer .form-control::placeholder { color: rgba(255, 255, 255, .45); }
.site-footer .form-control:focus { background: rgba(255, 255, 255, .1); }
.pay-chip { color: var(--ink); border-radius: 999px; }

/* ---------------------------------------------------------------------
 * Phone bottom bar, toast, pop-ups
 * ------------------------------------------------------------------ */

.mobile-nav {
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-top-color: var(--line);
}
.mobile-nav__item { color: var(--ink-muted); }
.mobile-nav__item.is-active,
.mobile-nav__item:hover { color: var(--gold-dark); }

.app-toast { background: var(--ink); box-shadow: var(--shadow-lg); }

.modal-content { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal-header, .modal-footer { border-color: var(--line); }
.modal-backdrop.show { opacity: .4; }
.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .4rem;
}
.dropdown-item { border-radius: 10px; padding: .5rem .75rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--sand); color: var(--ink); }
.dropdown-item.active, .dropdown-item:active { background: var(--gold); color: #fff; }

/* Respect people who turn animation off */
@media (prefers-reduced-motion: reduce) {
    .product-card, .product-card__img, .category-tile, .category-tile img,
    .category-tile__mark, .value-prop, .brand-tile, .btn { transition: none !important; }
    .product-card:hover, .category-tile:hover, .value-prop:hover, .brand-tile:hover { transform: none; }
}

/* ---------------------------------------------------------------------
 * Tabs (product description / details / reviews, account)
 * ------------------------------------------------------------------ */

.nav-tabs { border-bottom: 1px solid var(--line); gap: .25rem; }
.nav-tabs .nav-link {
    position: relative;
    border: 0;
    background: none;
    color: var(--ink-muted);
    font-weight: 600;
    padding: .8rem 1.1rem;
}
.nav-tabs .nav-link:hover { color: var(--ink); }
.nav-tabs .nav-link.active { color: var(--ink); background: none; }
.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    inset-inline: .75rem;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
}
.nav-tabs + .tab-content { border: 0 !important; padding-inline: 0 !important; }
.nav-pills .nav-link { border-radius: 999px; color: var(--ink-soft); font-weight: 600; }
.nav-pills .nav-link.active { background: var(--ink); color: #fff; }
.list-group-item.active { background: var(--ink); border-color: var(--ink); }
.list-group-item-action:hover { background: var(--sand); }

/* Phones: two promise boxes side by side leave no room for the icon
   beside the text, so the icon sits on top. */
@media (max-width: 575.98px) {
    .value-prop { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .95rem; }
    .value-prop i { flex-basis: auto; width: 38px; height: 38px; font-size: .95rem; }
    .value-prop h3 { font-size: .9rem; }
    .value-prop p { font-size: .8rem; }
}

/* A price never breaks inside itself; the old price moves under the new
   one when the card is narrow. */
.product-card .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: .45rem;
}
.product-card .original-price { white-space: nowrap; margin-inline-start: 0; }
@media (max-width: 575.98px) {
    .product-card__body { padding: .8rem .8rem .9rem; }
    .product-card .product-price { font-size: .95rem; }
    .product-card .js-add-to-cart { font-size: .82rem; padding-inline: .5rem; }
}

/* Shop name drawn as text (no logo uploaded): a long name like
   "BHASIN BOKHUR & PERFUMES" must never push the account and cart icons
   off a phone screen. It shrinks, and wraps onto two lines if it must. */
@media (max-width: 991.98px) {
    .header-logo { flex-shrink: 1; min-width: 0; }
    .header-logo .wordmark {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
        font-size: clamp(.9rem, 4vw, 1.35rem);
        line-height: 1.15;
        letter-spacing: .03em;
    }
    .header-actions { flex-shrink: 0; }
}
/* Same for the shop name in the footer. */
.site-footer .wordmark { white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }

/* Oils and bakhoor: the running total under the quantity box, and the
   tola / kilo prices under the gram price on a card. */
.pdp-line-total {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem;
    margin: -.25rem 0 1rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: var(--sand);
    color: var(--ink-soft);
    font-size: .92rem;
}
.pdp-line-total strong { color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pdp-line-total small { color: var(--ink-muted); }
.product-card__units {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem .6rem;
    margin-top: .2rem;
    font-size: .74rem;
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
}
.product-card__units span { white-space: nowrap; }
.product-card__units span + span::before { content: "·"; margin-inline-end: .6rem; }
