/* ============================================================
   VOZIQA — Premium Polish Layer
   Loaded last; refines interaction, depth, and rhythm to
   match Sapphire / Khaadi / COS-tier fashion brands.
   ============================================================ */

/* ─── Global typography refinements ─────────────────── */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
    letter-spacing: -0.01em;
}

h1 em,
h2 em {
    font-weight: 400;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #8a6f1f;
    position: relative;
    padding-left: 28px;
}

.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--color-gold);
    transform: translateY(-50%);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--sp-6);
    padding-top: var(--sp-7);
}

.section-header .eyebrow {
    margin-bottom: var(--sp-3);
    padding-left: 0;
}

.section-header .eyebrow::before {
    display: none;
}

.section-header h2 {
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: var(--sp-3);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: var(--fs-md);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

/* ─── Focus ring (accessibility + premium feel) ─────── */
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

.btn:focus-visible,
.navbar__icon-btn:focus-visible {
    outline-offset: 4px;
}

/* ─── Buttons: glow, loading, depth ─────────────────── */
.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.12) 55%,
            transparent 100%);
    transform: translateX(-120%);
    transition: transform 700ms var(--ease-out);
    z-index: -1;
    pointer-events: none;
}

.btn-primary:hover:not(:disabled),
.btn-gold:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 10, 46, 0.22), 0 4px 10px rgba(201, 168, 76, 0.18);
}

.btn-primary:hover::before,
.btn-gold:hover::before {
    transform: translateX(120%);
}

.btn-primary:active:not(:disabled),
.btn-gold:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-outline:hover:not(:disabled) {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Loading state */
.btn.is-loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
}

.btn.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    color: var(--color-ivory);
    animation: vz-spin 700ms linear infinite;
}

.btn-outline.is-loading::after,
.btn-ghost.is-loading::after {
    color: var(--color-plum);
}

@keyframes vz-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── Inputs: richer focus ──────────────────────────── */
.input,
.textarea,
.select {
    transition: border-color 180ms var(--ease-out),
        box-shadow 180ms var(--ease-out),
        background-color 180ms var(--ease-out);
}

.input:hover:not(:focus),
.textarea:hover:not(:focus),
.select:hover:not(:focus) {
    border-color: var(--color-border-dark);
}

.input:focus,
.textarea:focus,
.select:focus {
    background: #fffdf9;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.18);
}

/* ─── Product card: Khaadi/Sapphire-grade polish ────── */
.product-card {
    transition: transform var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(26, 10, 46, 0.10), 0 2px 6px rgba(26, 10, 46, 0.06);
}

.product-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 10, 46, 0.18) 0%, transparent 40%);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover .product-card__media::after {
    opacity: 1;
}

.product-card:hover .product-card__media img {
    transform: scale(1.06);
}

.product-card__body {
    padding: var(--sp-4) var(--sp-3) var(--sp-3);
    text-align: center;
}

.product-card__name {
    font-size: var(--fs-sm);
    letter-spacing: 0.03em;
    font-weight: var(--fw-medium);
    transition: color var(--duration-fast) var(--ease-out);
    display: inline-block;
    position: relative;
}

.product-card__name::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transform: translateX(-50%);
    transition: width var(--duration-base) var(--ease-out);
}

.product-card:hover .product-card__name::after {
    width: 32px;
}

.product-card__price {
    margin-top: var(--sp-2);
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
}

.product-card__price-sale {
    font-weight: var(--fw-semibold);
}

/* Quick view — slide up from bottom, not middle */
.product-card__quickview {
    bottom: var(--sp-3);
    transform: translate(-50%, 16px);
    padding: 10px 20px;
    background: var(--color-white);
    color: var(--color-plum);
    box-shadow: 0 10px 30px rgba(26, 10, 46, 0.18);
    letter-spacing: 0.12em;
    font-size: 10px;
}

.product-card__quickview:hover {
    background: var(--color-plum);
    color: var(--color-ivory);
}

.product-card:hover .product-card__quickview {
    transform: translate(-50%, 0);
}

/* Wishlist button refined */
.product-card__wishlist {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(26, 10, 46, 0.08);
}

.product-card__wishlist:hover {
    background: var(--color-white);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(26, 10, 46, 0.14);
}

/* Badges — sharper, more premium */
.badge-softdark {
    background: var(--color-plum);
    color: var(--color-ivory);
    font-size: 10px;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.14em;
    padding: 5px 10px;
    border-radius: var(--r-sm);
    text-transform: uppercase;
}

.discount-pill {
    background: var(--color-sale);
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 4px 9px;
    border-radius: var(--r-sm);
    box-shadow: 0 2px 6px rgba(183, 62, 62, 0.25);
}

/* ─── Navbar: premium badge styling ─────────────────── */
.navbar {
    transition: background var(--duration-base), border-color var(--duration-base), box-shadow var(--duration-base), padding var(--duration-base);
}

.navbar--scrolled {
    box-shadow: 0 2px 16px rgba(26, 10, 46, 0.06);
}

.navbar__logo {
    letter-spacing: 0.28em;
    font-weight: var(--fw-medium);
}

.navbar__link {
    font-size: 12px;
    letter-spacing: 0.16em;
}

.navbar__icon-btn {
    transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.navbar__icon-btn:hover {
    transform: translateY(-1px);
}

.navbar__badge {
    background: var(--color-plum);
    color: var(--color-gold);
    font-weight: var(--fw-bold);
    border: 1.5px solid var(--color-ivory);
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
}

.navbar__account-initial {
    background: var(--color-plum);
    color: var(--color-gold);
    font-weight: var(--fw-semibold);
    font-size: 12px;
    letter-spacing: 0;
    border: 1.5px solid var(--color-gold);
}

/* ─── Announcement bar refinements ──────────────────── */
.announcement {
    background: linear-gradient(90deg, var(--color-plum) 0%, #2A1548 50%, var(--color-plum) 100%);
    font-size: 11px;
    letter-spacing: 0.22em;
    font-weight: var(--fw-medium);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.announcement__item {
    color: var(--color-ivory);
}

/* ─── Category card refinements ─────────────────────── */
.category-card {
    transition: box-shadow var(--duration-slow) var(--ease-out);
}

.category-card:hover {
    box-shadow: 0 20px 48px rgba(26, 10, 46, 0.18);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0);
    z-index: 3;
    transition: border-color var(--duration-slow) var(--ease-out);
    pointer-events: none;
}

.category-card:hover::before {
    border-color: rgba(201, 168, 76, 0.4);
}

.category-card__link {
    position: relative;
    padding-right: 22px;
    transition: padding-right var(--duration-base) var(--ease-out);
}

.category-card__link::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--duration-base) var(--ease-out);
    opacity: 0.8;
}

.category-card:hover .category-card__link {
    padding-right: 30px;
}

.category-card:hover .category-card__link::after {
    transform: translateY(-50%) translateX(6px);
    opacity: 1;
}

/* ─── Hero: subtle shimmer ──────────────────────────── */
.hero__eyebrow {
    opacity: 0;
    animation: vz-fade-up 1s var(--ease-out) 0.1s forwards;
}

.hero__title {
    opacity: 0;
    animation: vz-fade-up 1s var(--ease-out) 0.25s forwards;
}

.hero__sub {
    opacity: 0;
    animation: vz-fade-up 1s var(--ease-out) 0.4s forwards;
}

.hero__cta {
    opacity: 0;
    animation: vz-fade-up 1s var(--ease-out) 0.55s forwards;
}

@keyframes vz-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__scroll {
    font-size: 10px;
    letter-spacing: 0.4em;
}

/* ─── Trust row ─────────────────────────────────────── */
.trust-item {
    transition: transform var(--duration-base) var(--ease-out);
}

.trust-item:hover {
    transform: translateY(-4px);
}

.trust-item__icon {
    transition: transform var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}

.trust-item:hover .trust-item__icon {
    color: var(--color-gold);
    transform: scale(1.08);
}

/* ─── Footer: social icons, polish ──────────────────── */
.footer__social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-full);
    transition: all var(--duration-base) var(--ease-out);
    color: rgba(255, 255, 255, 0.75);
}

.footer__social a svg {
    width: 16px;
    height: 16px;
}

.footer__social a:hover {
    background: var(--color-gold);
    color: var(--color-plum);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(201, 168, 76, 0.35);
}

.footer__col a {
    transition: color var(--duration-fast) var(--ease-out), padding-left var(--duration-base) var(--ease-out);
    position: relative;
}

.footer__col a:hover {
    color: var(--color-gold);
    padding-left: 8px;
}

.footer__col a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--duration-base) var(--ease-out);
    transform: translateY(-50%);
}

.footer__col a:hover::before {
    width: 4px;
}

/* Payment strip — refined */
.payment-chip {
    transition: all var(--duration-fast) var(--ease-out);
    font-size: 10px;
    letter-spacing: 0.1em;
}

.payment-chip:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.35);
    color: var(--color-gold-soft);
}

/* ─── Newsletter strip ──────────────────────────────── */
.newsletter-strip {
    background: linear-gradient(135deg, var(--color-plum) 0%, #2A1548 55%, var(--color-plum-soft) 100%);
    color: var(--color-ivory);
    padding: var(--sp-9) var(--sp-4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-strip::before,
.newsletter-strip::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.newsletter-strip::before {
    width: 300px;
    height: 300px;
    top: -60px;
    left: -60px;
    background: var(--color-gold);
}

.newsletter-strip::after {
    width: 360px;
    height: 360px;
    bottom: -100px;
    right: -80px;
    background: var(--color-rose);
}

.newsletter-strip .eyebrow {
    color: var(--color-gold);
    padding-left: 0;
}

.newsletter-strip .eyebrow::before {
    display: none;
}

.newsletter-strip h3 {
    font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
    color: var(--color-ivory);
    margin: var(--sp-3) 0 var(--sp-2);
}

.newsletter-strip p {
    color: rgba(251, 247, 242, 0.75);
    margin-bottom: var(--sp-5);
}

.newsletter-strip form {
    display: flex;
    gap: var(--sp-2);
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-strip .input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-ivory);
    backdrop-filter: blur(8px);
}

.newsletter-strip .input::placeholder {
    color: rgba(251, 247, 242, 0.5);
}

.newsletter-strip .input:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.25);
}

.newsletter-strip .btn-primary {
    background: var(--color-gold);
    color: var(--color-plum);
}

.newsletter-strip .btn-primary:hover {
    background: #D8BC5F;
    color: var(--color-plum);
}

/* ─── Toast improvements ────────────────────────────── */
.toast {
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    box-shadow: 0 14px 40px rgba(26, 10, 46, 0.18);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.toast--success {
    border-left: 3px solid var(--color-success);
}

.toast--error {
    border-left: 3px solid var(--color-error);
}

.toast--info {
    border-left: 3px solid var(--color-info);
}

/* ─── Modal polish ──────────────────────────────────── */
.modal {
    border-radius: var(--r-lg);
    box-shadow: 0 32px 80px rgba(26, 10, 46, 0.24);
}

.modal__close {
    transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.modal__close:hover {
    transform: rotate(90deg);
    background: var(--color-ivory);
}

/* ─── Scrollbar styling ─────────────────────────────── */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-ivory);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border-dark);
    border-radius: var(--r-full);
    border: 2px solid var(--color-ivory);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-plum-soft);
}

/* ─── Selection ─────────────────────────────────────── */
::selection {
    background: var(--color-gold);
    color: var(--color-plum);
}

/* ─── Carousel nav polish ───────────────────────────── */
.vz-carousel__nav {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-plum);
    border-radius: var(--r-full);
    box-shadow: 0 6px 20px rgba(26, 10, 46, 0.1);
    transition: all var(--duration-base) var(--ease-out);
    font-size: 20px;
}

.vz-carousel__nav:hover {
    background: var(--color-plum);
    color: var(--color-ivory);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 28px rgba(26, 10, 46, 0.18);
}

.vz-carousel__dots button {
    transition: all var(--duration-base) var(--ease-out);
}

.vz-carousel__dots button.is-active {
    background: var(--color-gold);
    transform: scaleX(2.2);
    border-radius: 4px;
}

/* ─── Breadcrumbs ───────────────────────────────────── */
.breadcrumbs {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    padding: var(--sp-4) 0;
    text-transform: uppercase;
}

.breadcrumbs a {
    color: var(--color-text-muted);
    transition: color var(--duration-fast) var(--ease-out);
}

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

.breadcrumbs .sep {
    margin: 0 var(--sp-2);
    color: var(--color-text-subtle);
}

/* ─── Shop / filter refinements ─────────────────────── */
.shop-toolbar,
.shop__toolbar {
    gap: var(--sp-3);
}

.shop-toolbar .select,
.shop__toolbar .select {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 10px 36px 10px 14px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A0A2E' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* ─── Size/Color pickers on PDP ─────────────────────── */
.size-option,
.color-option,
.pdp-size,
.pdp-color {
    transition: all var(--duration-fast) var(--ease-out);
}

.size-option:hover,
.pdp-size:hover {
    border-color: var(--color-plum);
}

.size-option.is-selected,
.pdp-size.is-selected,
.size-option[aria-pressed="true"],
.pdp-size[aria-pressed="true"] {
    background: var(--color-plum);
    color: var(--color-ivory);
    border-color: var(--color-plum);
}

/* ─── Skeleton shimmer ─────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--color-ivory-dark) 0%, #fff 50%, var(--color-ivory-dark) 100%);
    background-size: 200% 100%;
    animation: vz-shimmer 1.4s ease-in-out infinite;
    border-radius: var(--r-sm);
    color: transparent;
    user-select: none;
}

.skeleton--text {
    display: block;
    height: 12px;
    width: 100%;
    margin-bottom: 6px;
}

.skeleton--text-lg {
    height: 18px;
}

.skeleton--circle {
    border-radius: var(--r-full);
}

.skeleton--block {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--r-md);
}

.skeleton-card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.skeleton-card .skeleton--block {
    margin-bottom: var(--sp-2);
}

.order-skeleton {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-4);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    margin-bottom: var(--sp-3);
    background: var(--color-white);
}

@keyframes vz-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ─── Editorial band ────────────────────────────────── */
.editorial {
    padding: var(--sp-9) var(--sp-4);
    background: var(--color-plum);
    color: var(--color-ivory);
    text-align: center;
    position: relative;
    margin: var(--sp-8) 0;
    overflow: hidden;
}

.editorial::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(201, 168, 76, 0.2), transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(232, 196, 184, 0.12), transparent 40%);
    pointer-events: none;
}

.editorial h2 {
    color: var(--color-ivory);
    font-size: clamp(1.75rem, 1.3rem + 2vw, 2.8rem);
    max-width: 720px;
    margin: var(--sp-3) auto var(--sp-4);
    line-height: 1.2;
}

.editorial p {
    color: rgba(251, 247, 242, 0.78);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* ─── As-seen-on row ────────────────────────────────── */
.as-seen {
    padding: var(--sp-7) 0;
    text-align: center;
}

.as-seen__row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-6);
}

.as-seen__name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--color-text-muted);
    font-style: italic;
    letter-spacing: 0.02em;
    transition: color var(--duration-base) var(--ease-out);
    cursor: default;
}

.as-seen__name:hover {
    color: var(--color-plum);
}

/* ─── Quick-access tiles ────────────────────────────── */
.quick-access__card {
    transition: all var(--duration-base) var(--ease-out);
    border: 1px solid var(--color-border);
    background: var(--color-white);
}

.quick-access__card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: 0 12px 28px rgba(26, 10, 46, 0.08);
}

.quick-access__icon {
    transition: transform var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}

.quick-access__card:hover .quick-access__icon {
    color: var(--color-gold);
    transform: scale(1.1);
}

/* ─── WhatsApp bubble polish ────────────────────────── */
.wa-bubble {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

.wa-bubble:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ─── Mobile polish ─────────────────────────────────── */
@media (max-width: 768px) {
    .section-header {
        padding-top: var(--sp-6);
    }

    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .newsletter-strip form {
        flex-direction: column;
    }

    .announcement {
        font-size: 10px;
        letter-spacing: 0.18em;
    }

    .announcement__item {
        padding: 0 var(--sp-4);
    }

    .navbar__logo {
        font-size: var(--fs-lg);
        letter-spacing: 0.2em;
    }

    .footer__social a {
        width: 36px;
        height: 36px;
    }

    .editorial {
        padding: var(--sp-7) var(--sp-4);
        margin: var(--sp-6) 0;
    }
}

/* ─── Reduced motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .hero__eyebrow,
    .hero__title,
    .hero__sub,
    .hero__cta,
    .btn::before {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    * {
        transition-duration: 1ms !important;
    }
}

/* ─── Form field validation states ─── */
.field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--sp-3);
}

.field>label,
.field__label {
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
}

.field input,
.field select,
.field textarea {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: var(--fs-sm);
    background: #fff;
    color: var(--color-plum);
    transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
    width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
    border-color: #c74646;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c74646' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 38px;
}

.field.is-invalid input:focus,
.field.is-invalid textarea:focus {
    box-shadow: 0 0 0 3px rgba(199, 70, 70, 0.18);
}

.field.is-valid input,
.field.is-valid select,
.field.is-valid textarea {
    border-color: #3e8e5a;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233e8e5a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 38px;
}

.field__error {
    color: #c74646;
    font-size: var(--fs-xs);
    letter-spacing: 0.02em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field__hint {
    color: var(--color-text-muted);
    font-size: var(--fs-xs);
}

/* ─── Wishlist heart-pop animation (9.16) ──────────── */
@keyframes vz-heart-pop {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.35);
    }

    55% {
        transform: scale(0.9);
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes vz-heart-burst {
    0% {
        box-shadow: 0 0 0 0 rgba(232, 120, 120, 0.55);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(232, 120, 120, 0);
    }
}

.product-card__wishlist.is-animating {
    animation: vz-heart-burst 0.55s ease-out;
}

.product-card__wishlist.is-animating svg,
.pdp-wishlist.is-animating svg {
    animation: vz-heart-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card__wishlist svg,
.pdp-wishlist svg {
    transition: fill 0.18s ease, stroke 0.18s ease;
}

.product-card__wishlist.active,
.pdp-wishlist.active {
    background: #ffe9e9;
}

.product-card__wishlist.active svg,
.pdp-wishlist.active svg {
    fill: var(--color-sale, #e87878);
    stroke: var(--color-sale, #e87878);
}

/* ─── 404 + offline pages (9.20) ─────────────────── */
.page-404__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.page-404__search {
    display: flex;
    gap: var(--sp-2);
    max-width: 420px;
    margin: var(--sp-4) auto var(--sp-3);
}

.page-404__search .input {
    flex: 1;
}

.page-404__actions {
    display: flex;
    gap: var(--sp-2);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--sp-5);
}

.page-404__chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    flex-wrap: wrap;
}

.page-404__chips-label {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.chip {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--r-full);
    background: #fff;
    color: var(--color-plum);
    font-size: var(--fs-xs);
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 160ms ease;
}

.chip:hover {
    background: var(--color-plum);
    color: #fff;
    border-color: var(--color-plum);
}

/* ─── Blog editorial polish (9.21) ───────────────── */
.vz-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-plum));
    z-index: 9999;
    transition: width 60ms linear;
    pointer-events: none;
}

.blog-body .blog-prose p,
.blog-body .blog-prose li {
    text-wrap: pretty;
}

.blog-body .blog-prose blockquote {
    border-left: 3px solid var(--color-gold);
    padding: var(--sp-2) var(--sp-4);
    margin: var(--sp-5) 0;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-plum);
    font-size: 1.2rem;
    line-height: 1.55;
    background: #fbf7f2;
    border-radius: 2px;
}

.blog-byline-card {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4);
    margin-top: var(--sp-6);
    background: var(--color-ivory);
    border-radius: var(--r-md);
    border: 1px solid var(--color-border);
}

.blog-byline-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-plum), var(--color-gold));
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 22px;
    flex-shrink: 0;
}

.blog-byline-card__name {
    font-family: var(--font-heading);
    color: var(--color-plum);
    font-size: 1.05rem;
    font-style: italic;
    margin: 0 0 2px;
}

.blog-byline-card__bio {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ─── Skip-link (a11y 9.22) ──────────────────────── */
.skip-link {
    position: absolute;
    top: -60px;
    left: 8px;
    z-index: 10001;
    background: var(--color-plum);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: var(--fs-sm);
    text-decoration: none;
    font-weight: 500;
    transition: top 140ms ease;
}

.skip-link:focus {
    top: 8px;
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}