:root {
    --cream: #f6f0e8;
    --cream-2: #fbf7f2;
    --paper: #fffdf9;
    --gold: #c4a06a;
    --gold-dark: #a9844f;
    --gold-soft: #f3e6d2;
    --ink: #2b241c;
    --muted: #7a7168;
    --line: #eadfce;
    --danger: #ef6d8c;
    --featured: #4caf7a;
    --dark: #171513;
    --radius: 22px;
    --shadow: 0 16px 40px rgba(80, 58, 32, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Cairo, "Segoe UI", Tahoma, sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

svg {
    width: 22px;
    height: 22px;
    display: block;
}

.skip-link {
    position: absolute;
    right: -9999px;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.topbar {
    background: #efe4d4;
    color: #6d5b43;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    align-items: center;
}

.topbar-inner span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.topbar svg {
    width: 15px;
    height: 15px;
    color: var(--gold-dark);
}

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 8px 24px rgba(80, 58, 32, 0.04);
}

.admin-bar .site-header {
    top: 32px;
}

.header-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    display: block;
    height: 58px;
    width: auto;
    max-width: 240px;
}

.brand-light img {
    height: 76px;
    max-width: 280px;
}

.header-search {
    display: flex;
    background: var(--cream-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}

.header-search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 18px;
    outline: none;
}

.header-search button {
    border: 0;
    background: var(--gold);
    color: #fff;
    width: 48px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
}

.header-actions a,
.header-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
}

.header-actions span {
    font-size: 13px;
    font-weight: 600;
}

.cart-btn {
    position: relative;
}

.cart-btn em {
    position: absolute;
    top: -6px;
    left: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    display: grid;
    place-items: center;
}

.header-wish {
    position: relative;
}

.header-wish .wish-count {
    position: absolute;
    top: -6px;
    left: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    display: grid;
    place-items: center;
}

.header-wish .wish-count[data-count="0"] {
    display: none;
}

.header-wish.is-active svg,
.wish.is-active svg,
.pdp-wish.is-active svg {
    fill: var(--danger);
    stroke: var(--danger);
}

.nav-toggle {
    display: none;
}

.site-nav {
    border-top: 1px solid var(--line);
}

.site-nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #4a433c;
}

.site-nav .is-active a,
.site-nav a:hover {
    color: var(--gold-dark);
    box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-icon svg {
    width: 14px;
    height: 14px;
    color: var(--gold-dark);
}

.hero {
    padding: 22px 0 8px;
}

.hero-slider {
    position: relative;
    min-height: 460px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #ead9c2;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    z-index: 1;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide.align-right::before {
    background: linear-gradient(to left, rgba(250, 243, 232, 0.72) 0%, rgba(250, 243, 232, 0.28) 34%, transparent 62%);
}

.hero-slide.align-left::before {
    background: linear-gradient(to right, rgba(250, 243, 232, 0.72) 0%, rgba(250, 243, 232, 0.28) 34%, transparent 62%);
}

.hero-copy {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: min(420px, 86%);
    padding: 8px 12px;
    border-radius: 24px;
    transform: translateY(-50%);
}

.hero-copy h1,
.section-head h2,
.pharmacist-copy h2 {
    margin: 0 0 12px;
    line-height: 1.25;
    font-size: clamp(1.85rem, 3.4vw, 2.8rem);
}

.hero-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    color: #6a5d50;
    font-size: 13px;
}

.align-right .hero-copy {
    right: 36px;
    left: auto;
}

.align-left .hero-copy {
    left: 36px;
    right: auto;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    color: var(--gold-dark);
    font-weight: 700;
}

.hero-copy p {
    margin: 0 0 18px;
    color: #5d5349;
    font-size: 16px;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #d4b27e, #b89055);
    color: #fff !important;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(176, 134, 70, 0.28);
}

.btn-block {
    width: 100%;
}

.hero-perks li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-perks svg {
    width: 16px;
    height: 16px;
    color: var(--gold-dark);
}

.hero-badge {
    position: absolute;
    left: 36px;
    bottom: 28px;
    z-index: 2;
    font-family: "Playfair Display", serif;
    font-style: italic;
    color: #8b7354;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px 14px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.hero-dots .is-active {
    width: 22px;
    border-radius: 999px;
    background: var(--gold);
}

.hero-arrow,
.brands-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--gold-dark);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-arrow.is-prev,
.brands-arrow.is-prev {
    right: 14px;
}

.hero-arrow.is-next,
.brands-arrow.is-next {
    left: 14px;
}

.hero-arrow.is-prev svg,
.brands-arrow.is-prev svg {
    transform: scaleX(-1);
}

.section {
    padding: 28px 0;
    scroll-margin-top: 140px;
}

.section-head {
    text-align: center;
    margin-bottom: 22px;
}

.section-head.split {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.section-head h2 {
    font-size: 28px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gold-dark);
    font-weight: 700;
}

.text-link svg {
    width: 16px;
    height: 16px;
    transform: scaleX(-1);
}

.brands-row,
.category-grid,
.product-grid,
.article-grid,
.trust-grid,
.promo-grid {
    display: grid;
    gap: 18px;
}

.brands-slider {
    position: relative;
}

.brands-viewport {
    overflow-x: auto;
    padding: 6px 52px;
    direction: ltr;
    scrollbar-width: none;
}

.brands-viewport::-webkit-scrollbar {
    display: none;
}

.brands-track {
    display: flex;
    gap: 18px;
    width: max-content;
}

.brand-chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    min-height: 96px;
    min-width: 150px;
    width: 150px;
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    box-shadow: var(--shadow);
}

.brand-chip img {
    width: 100%;
    max-width: 118px;
    height: 48px;
    object-fit: contain;
}

.brands-arrow {
    background: #fff;
}

.category-grid {
    grid-template-columns: repeat(6, 1fr);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    background: #fff;
    border-radius: 24px;
    text-align: center;
    padding: 18px 10px 16px;
    box-shadow: var(--shadow);
}

.category-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    overflow: hidden;
    flex-shrink: 0;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    width: 100%;
    min-height: 2.6em;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.promo-grid {
    grid-template-columns: 1fr 1fr;
}

.promo-card {
    min-height: 230px;
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    padding: 28px;
    color: #fff;
}

.promo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(92, 45, 58, 0.72), rgba(92, 45, 58, 0.18));
}

.promo-card.medical::before {
    background: linear-gradient(90deg, rgba(46, 84, 110, 0.76), rgba(46, 84, 110, 0.16));
}

.promo-card > div {
    position: relative;
    z-index: 1;
    max-width: 280px;
}

.promo-card h3 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.3;
}

.product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.product-count {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.product-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.view-toggle button {
    width: 38px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--gold-dark);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.view-toggle button svg {
    width: 18px;
    height: 18px;
}

.view-toggle button.is-active {
    background: var(--gold-dark);
    color: #fff;
}

.sort-field select {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    outline: none;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.product-grid.is-list {
    grid-template-columns: 1fr;
}

.product-card,
.article-card,
.entry-card,
.empty-state {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    transition: box-shadow .18s ease;
}

.product-card:hover {
    box-shadow: 0 14px 30px rgba(80, 58, 32, 0.12);
}

.product-grid.is-list .product-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: stretch;
    height: auto;
}

.product-media {
    position: relative;
    flex: 0 0 auto;
    margin: 10px 10px 0;
    background: #efe6da;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
}

.product-grid.is-list .product-media {
    margin: 0;
    aspect-ratio: auto;
    min-height: 210px;
    height: 100%;
    border-radius: 0;
}

.product-media > a:not(.wish) {
    display: block;
    width: 100%;
    height: 100%;
}

.product-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.product-media img {
    object-fit: cover;
    object-position: center 70%;
    background: #efe6da;
}

.badge-sale,
.badge-featured {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    inset-inline-end: auto;
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    z-index: 1;
}

.badge-sale {
    background: var(--danger);
}

.badge-featured {
    background: var(--featured);
}

.wish {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #c9b7a4;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(80, 58, 32, 0.08);
    z-index: 1;
    text-decoration: none;
}

.wish svg {
    width: 18px;
    height: 18px;
}

.wish.is-active {
    color: var(--danger);
}

.wish.is-active svg {
    fill: currentColor;
}

.product-body,
.entry-card,
.empty-state {
    padding: 16px;
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px 14px 14px;
}

.product-body h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    min-height: 42px;
    height: auto;
}

.product-title-en,
.product-title-ar {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.product-brand,
.product-body p,
.muted {
    color: var(--muted);
    font-size: 13px;
}

.product-brand {
    margin: 4px 0 6px;
    font-size: 12px;
    height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 10px;
    min-height: 20px;
    color: #d4b27e;
    font-size: 13px;
}

.product-rating strong {
    color: var(--ink);
    font-weight: 800;
}

.product-rating span {
    color: #9a9086;
}

.product-rating svg {
    width: 14px;
    height: 14px;
}

.price {
    display: flex;
    gap: 8px;
    align-items: baseline;
    min-height: 28px;
    margin: 0 0 12px;
}

.price strong {
    color: var(--gold-dark);
    font-size: 18px;
    font-weight: 800;
}

.price s {
    color: #c3b7ab;
    font-size: 13px;
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #c4a06a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background .18s ease, transform .18s ease;
}

.btn-cart:hover,
.btn-cart:focus-visible {
    background: #b08d55;
}

.btn-cart:active,
.btn-cart.is-pop {
    transform: scale(0.98);
    background: #a9844f;
}

.btn-cart.is-loading,
.pdp-add.is-loading {
    pointer-events: none;
    opacity: .78;
}

.btn-cart.is-added,
.pdp-add.is-done {
    background: #2f7a52;
}

.btn-cart.is-error,
.pdp-add.is-error {
    background: #b4534a;
}

.cart-count.is-bump {
    animation: nfc-count-bump .28s ease;
}

@keyframes nfc-count-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.28); }
    100% { transform: scale(1); }
}

.btn-cart svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.trust-grid {
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 28px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 10px;
    height: 100%;
}

.trust-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gold-soft);
    color: var(--gold-dark);
    flex-shrink: 0;
}

.trust-icon svg {
    width: 26px;
    height: 26px;
    transform-origin: center;
}

.trust-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
    min-height: 2.6em;
}

.trust-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
    min-height: 1.4em;
}

.trust-card.is-inview[data-trust="truck"] .trust-icon svg {
    animation: nfc-trust-truck 2.4s ease-in-out infinite;
}

.trust-card.is-inview[data-trust="shield"] .trust-icon {
    animation: nfc-trust-glow 2.4s ease-in-out infinite;
}

.trust-card.is-inview[data-trust="shield"] .trust-icon svg {
    animation: nfc-trust-pulse 2.4s ease-in-out infinite;
}

.trust-card.is-inview[data-trust="pharmacist"] .trust-icon svg {
    animation: nfc-trust-bob 2.2s ease-in-out infinite;
}

.trust-card.is-inview[data-trust="card"] .trust-icon svg {
    animation: nfc-trust-tilt 2.6s ease-in-out infinite;
}

.trust-card:nth-child(2) .trust-icon,
.trust-card:nth-child(2) .trust-icon svg {
    animation-delay: 0.15s;
}

.trust-card:nth-child(3) .trust-icon,
.trust-card:nth-child(3) .trust-icon svg {
    animation-delay: 0.3s;
}

.trust-card:nth-child(4) .trust-icon,
.trust-card:nth-child(4) .trust-icon svg {
    animation-delay: 0.45s;
}

@keyframes nfc-trust-truck {
    0%,
    100% {
        transform: translateX(0);
    }
    35% {
        transform: translateX(5px);
    }
    55% {
        transform: translateX(-3px);
    }
}

@keyframes nfc-trust-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

@keyframes nfc-trust-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(196, 160, 106, 0.35);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(196, 160, 106, 0);
    }
}

@keyframes nfc-trust-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes nfc-trust-tilt {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(8deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-icon,
    .trust-icon svg {
        animation: none !important;
    }
}

.pharmacist-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pharmacist-copy {
    padding: 48px;
}

.pharmacist-card figure {
    margin: 0;
    position: relative;
}

.pharmacist-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.pharmacist-card figcaption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-style: italic;
}

.article-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: stretch;
}

.article-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.article-card.is-featured {
    grid-row: span 2;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(80, 58, 32, .12);
}

.article-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f3ebe0;
    aspect-ratio: 16 / 10;
}

.article-card.is-featured .article-card-media {
    aspect-ratio: 4 / 3;
    flex: 1 1 auto;
    min-height: 240px;
}

.article-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.article-card:hover .article-card-media img {
    transform: scale(1.06);
}

.article-card-tag {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(80, 58, 32, .12);
}

.article-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    padding: 16px 16px 18px;
}

.article-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.article-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: auto;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
}

.article-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-card-meta svg {
    width: 14px;
    height: 14px;
}

.article-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-size: 13.5px;
    font-weight: 800;
    transition: gap .18s ease;
}

.article-card:hover .article-card-more {
    gap: 10px;
}

.article-card-more svg {
    width: 16px;
    height: 16px;
    transform: scaleX(-1);
}

@media (min-width: 900px) {
    .article-card:not(.is-featured) {
        flex-direction: row;
        align-items: stretch;
    }

    .article-card:not(.is-featured) .article-card-media {
        flex: 0 0 44%;
        width: 44%;
        aspect-ratio: auto;
        min-height: 100%;
        align-self: stretch;
    }

    .article-card:not(.is-featured) .article-card-body {
        padding: 16px 18px;
        justify-content: center;
    }

    .article-card:not(.is-featured) p {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .article-card.is-featured h3 {
        font-size: 22px;
    }

    .article-card.is-featured p {
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}

.newsletter {
    padding: 10px 0 36px;
}

.newsletter-card {
    background: linear-gradient(90deg, #f4e7d3, #efe0c8);
    border-radius: 28px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.newsletter-copy {
    display: flex;
    gap: 14px;
    align-items: center;
}

.gift-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fff;
    color: var(--gold-dark);
    display: grid;
    place-items: center;
}

.newsletter-copy h2,
.newsletter-copy p {
    margin: 0;
}

.newsletter-form {
    display: flex;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    min-width: min(420px, 100%);
}

.newsletter-form input {
    flex: 1;
    border: 0;
    padding: 12px 16px;
    outline: none;
}

.newsletter-form button {
    border: 0;
    background: var(--gold);
    color: #fff;
    padding: 0 22px;
    font-weight: 700;
    cursor: pointer;
}

.site-footer {
    background: var(--dark);
    color: #efe7dc;
    padding-top: 42px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 28px;
}

.site-footer h3 {
    color: var(--gold);
    font-size: 16px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a:hover {
    color: var(--gold);
}

.site-footer .muted {
    margin: 8px 0 0;
    color: #c9bfb3;
}

.site-footer .muted a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
}

.site-footer .muted svg {
    width: 16px;
    height: 16px;
}

.brand-light {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid #2e2a26;
    padding: 16px 0;
    color: #b7aea3;
    font-size: 13px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-credit {
    margin: 0;
}

.footer-brand {
    position: relative;
    display: inline-block;
    margin-inline-start: 6px;
    font-weight: 800;
    background: linear-gradient(110deg, #c9a36a 0%, #f3e2b8 38%, #c9a36a 52%, #e8c88a 72%, #c9a36a 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: nfc-brand-shine 3.6s ease-in-out infinite;
}

.footer-brand::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e8c88a, transparent);
    transform: scaleX(0.35);
    transform-origin: center;
    animation: nfc-brand-line 3.6s ease-in-out infinite;
}

.footer-brand:hover {
    animation-duration: 1.4s;
}

@keyframes nfc-brand-shine {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

@keyframes nfc-brand-line {
    0%, 100% { transform: scaleX(0.28); opacity: 0.45; }
    50% { transform: scaleX(1); opacity: 1; }
}

.content-wrap {
    padding: 32px 0 48px;
}

.is-pop {
    transform: scale(0.97);
}

@media (max-width: 980px) {
    .topbar-inner span:nth-child(2) {
        display: none;
    }

    .promo-grid,
    .trust-grid,
    .pharmacist-card,
    .footer-grid,
    .newsletter-card {
        grid-template-columns: 1fr 1fr;
        display: grid;
    }

    .article-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .article-card.is-featured {
        grid-row: auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy {
        padding: 28px;
        width: min(360px, 88%);
    }

    .hero-perks,
    .hero-badge {
        display: none;
    }

    .product-toolbar {
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .promo-grid,
    .pharmacist-card,
    .article-grid,
    .footer-grid,
    .newsletter-card {
        grid-template-columns: 1fr;
        display: grid;
    }

    .article-card.is-featured .article-card-media {
        min-height: 200px;
    }

    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }

    .product-grid.is-list .product-card {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 360px;
    }

    .hero-slide::before,
    .hero-slide.align-left::before,
    .hero-slide.align-right::before {
        background: linear-gradient(to top, rgba(250, 243, 232, 0.78) 0%, rgba(250, 243, 232, 0.18) 48%, transparent 70%);
    }
}
