/* ==========================================================================
   AAKIFAH — COMPLETE RESPONSIVE DESIGN SYSTEM

   Responsive support:
   Android phones
   iPhone / iOS
   iPad
   Android tablets
   MacBook / Mac
   Windows laptops
   Windows PC
   Large desktop monitors
   Touch devices
   Landscape phones

   Palette:
   ivory       #FBF6EF
   paper       #F3ECDF
   wine        #6B1220
   wine-dark   #4A0D16
   gold        #B8912F
   gold-light  #E4C97A
   emerald     #1F4A3D
   ink         #2A211D
   muted       #8A7C6F

   Typography:
   Display — Cormorant Garamond
   Body    — Jost
========================================================================== */


/* ==========================================================================
   ROOT / DESIGN TOKENS
========================================================================== */

:root {
    --ivory: #fbf6ef;
    --paper: #f3ecdf;

    --wine: #6b1220;
    --wine-dark: #4a0d16;

    --gold: #b8912f;
    --gold-light: #e4c97a;

    --emerald: #1f4a3d;

    --ink: #2a211d;
    --muted: #8a7c6f;

    --white: #ffffff;

    --line: rgba(42, 33, 29, 0.12);

    --shadow-soft: 0 12px 32px rgba(42, 21, 12, 0.10);

    --shadow-lift: 0 20px 48px rgba(42, 21, 12, 0.16);

    --radius: 2px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ==========================================================================
   GLOBAL RESET
========================================================================== */

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    font-family: "Jost", "Segoe UI", sans-serif;

    color: var(--ink);
    background: var(--ivory);

    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overflow-x: hidden;
}


/* ==========================================================================
   MEDIA SAFETY
========================================================================== */

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

iframe {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
    max-width: 100%;
}

button,
.btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

a {
    -webkit-tap-highlight-color: transparent;
}


/* ==========================================================================
   TYPOGRAPHY
========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: "Cormorant Garamond", "Georgia", serif;

    font-weight: 600;

    letter-spacing: 0.01em;

    color: var(--ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    overflow-wrap: break-word;
}

.eyebrow {
    font-family: "Jost", sans-serif;

    font-size: 0.78rem;

    letter-spacing: 0.28em;

    text-transform: uppercase;

    color: var(--wine);

    font-weight: 500;
}

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

a:hover {
    color: var(--wine);
}

::selection {
    background: var(--gold-light);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--wine);
    outline-offset: 3px;
}


/* ==========================================================================
   REDUCED MOTION
========================================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}


/* ==========================================================================
   CONTAINERS
========================================================================== */

.container-xl {
    width: 100%;
    max-width: 1320px;

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================================
   SECTIONS
========================================================================== */

section {
    padding: 96px 0;
}

section.tight {
    padding: 64px 0;
}

.bg-paper {
    background: var(--paper);
}

.bg-wine {
    background: var(--wine);
    color: var(--ivory);
}

.bg-ink {
    background: var(--ink);
    color: var(--ivory);
}


/* ==========================================================================
   ZARI RULE
========================================================================== */

.zari-rule {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin: 18px 0 34px;
}

.zari-rule.left {
    justify-content: flex-start;
}

.zari-rule::before,
.zari-rule::after {
    content: "";

    height: 1px;
    width: 64px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold)
    );
}

.zari-rule::after {
    background: linear-gradient(
        90deg,
        var(--gold),
        transparent
    );
}

.zari-rule.left::before {
    display: none;
}

.zari-rule span {
    width: 8px;
    height: 8px;

    background: var(--gold);

    transform: rotate(45deg);

    flex-shrink: 0;
}


/* ==========================================================================
   SECTION HEADINGS
========================================================================== */

.section-heading {
    text-align: center;

    margin-bottom: 46px;
}

.section-heading.left {
    text-align: left;
}

.section-heading h2 {
    font-size: clamp(2rem, 3.2vw, 2.9rem);

    margin: 0;
}

.section-heading p {
    color: var(--muted);

    max-width: 560px;

    margin: 14px auto 0;
}

.section-heading.left p {
    margin-left: 0;
}


/* ==========================================================================
   BUTTONS
========================================================================== */

.btn {
    border-radius: var(--radius);

    font-weight: 500;

    letter-spacing: 0.03em;

    padding: 0.75rem 1.9rem;

    min-height: 44px;

    transition: all 0.35s var(--ease);

    border: 1px solid transparent;
}

.btn-brand {
    background: var(--wine);

    color: var(--ivory);

    border-color: var(--wine);
}

.btn-brand:hover {
    background: var(--wine-dark);

    border-color: var(--wine-dark);

    color: var(--ivory);

    transform: translateY(-2px);

    box-shadow: var(--shadow-soft);
}

.btn-outline-brand {
    background: transparent;

    color: var(--wine);

    border-color: var(--wine);
}

.btn-outline-brand:hover {
    background: var(--wine);

    color: var(--ivory);

    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);

    border-color: var(--gold);

    color: var(--ink);
}

.btn-gold:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    color: var(--ink);

    transform: translateY(-2px);
}

.btn-ghost-light {
    background: transparent;

    border-color: rgba(255, 255, 255, 0.6);

    color: var(--ivory);
}

.btn-ghost-light:hover {
    background: var(--ivory);

    color: var(--wine);
}

.btn-sm-pill {
    border-radius: 40px;

    padding: 0.4rem 1.1rem;

    font-size: 0.85rem;

    min-height: 38px;
}

.btn-icon-circle {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);

    background: var(--white);

    transition: all 0.3s var(--ease);
}

.btn-icon-circle:hover {
    background: var(--wine);

    border-color: var(--wine);

    color: var(--ivory);

    transform: translateY(-2px);
}


/* ==========================================================================
   NAVBAR — ORIGINAL AAKIFAH
========================================================================== */

.navbar-aakifah,
.navbar-aakifah {
    background: rgba(251, 246, 239, 0.96);

    backdrop-filter: saturate(140%) blur(6px);

    -webkit-backdrop-filter: saturate(140%) blur(6px);

    padding: 20px 0;

    transition:
        padding 0.3s var(--ease),
        box-shadow 0.3s var(--ease);

    border-bottom: 1px solid transparent;

    width: 100%;
}

.navbar-aakifah.is-stuck,
.navbar-aakifah.is-stuck {
    padding: 12px 0;

    box-shadow:
        0 6px 24px rgba(42, 21, 12, 0.08);

    border-bottom-color: var(--line);
}

.brand-mark {
    font-family: "Cormorant Garamond", serif;

    font-size: 1.7rem;

    font-weight: 700;

    letter-spacing: 0.05em;

    color: var(--wine) !important;

    white-space: nowrap;
}

.brand-mark span {
    color: var(--ink);
}

.navbar-aakifah .nav-link,
.navbar-aakifah .nav-link {
    font-size: 0.85rem;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    color: var(--ink);

    margin: 0 14px;

    position: relative;

    padding: 6px 0 !important;
}

.navbar-aakifah .nav-link::after,
.navbar-aakifah .nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    height: 1px;

    width: 0;

    background: var(--wine);

    transition: width 0.3s var(--ease);
}

.navbar-aakifah .nav-link:hover::after,
.navbar-aakifah .nav-link.active::after,
.navbar-aakifah .nav-link:hover::after,
.navbar-aakifah .nav-link.active::after {
    width: 100%;
}

.navbar-aakifah .nav-link.active,
.navbar-aakifah .nav-link.active {
    color: var(--wine);
}

.nav-icon-link {
    position: relative;

    color: var(--ink);

    margin-left: 6px;
}

/* FIX: icon stays visible (ivory) on the wine circle when hovering */
.nav-icon-link:hover,
.nav-icon-link:focus,
.nav-icon-link.btn-icon-circle:hover,
.nav-icon-link.btn-icon-circle:focus {
    background: var(--wine);

    border-color: var(--wine);

    color: var(--ivory);
}

.nav-icon-link:hover .bi,
.nav-icon-link:focus .bi {
    color: var(--ivory);
}

.nav-badge {
    position: absolute;

    top: -7px;
    right: -9px;

    background: var(--wine);

    color: var(--ivory);

    font-size: 0.62rem;

    font-weight: 600;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

/* FIX: keep the count badge readable when the circle turns wine */
.nav-icon-link:hover .nav-badge,
.nav-icon-link:focus .nav-badge {
    background: var(--gold);

    color: var(--ink);
}


/* ==========================================================================
   HERO
========================================================================== */

.hero {
    position: relative;

    min-height: 88vh;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            180deg,
            rgba(42, 17, 10, 0.55),
            rgba(42, 17, 10, 0.72)
        ),
        url("https://loremflickr.com/g/1600/1000/indian,bride,fashion?lock=9001")
        center / cover no-repeat;

    color: var(--ivory);

    padding: 80px 0;
}

.hero-content {
    max-width: 640px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);

    line-height: 1.05;

    color: var(--ivory);
}

.hero p.lead {
    color: rgba(251, 246, 239, 0.85);

    font-size: 1.12rem;

    max-width: 480px;
}

.hero .zari-rule.left::before,
.hero .zari-rule.left span,
.hero .zari-rule.left::after {
    background: var(--gold-light);
}


/* ==========================================================================
   PAGE BANNER
========================================================================== */

.page-banner {
    position: relative;

    padding: 150px 20px 70px;

    text-align: center;

    color: var(--ivory);

    background:
        linear-gradient(
            180deg,
            rgba(42, 17, 10, 0.6),
            rgba(42, 17, 10, 0.72)
        ),
        var(
            --banner-img,
            url("https://loremflickr.com/g/1600/500/textile,indian?lock=9002")
        )
        center / cover no-repeat;
}

.page-banner h1 {
    color: var(--ivory);

    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-banner .breadcrumb {
    justify-content: center;

    background: transparent;

    margin: 0;
    padding: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
    color: rgba(251, 246, 239, 0.75);

    font-size: 0.85rem;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.page-banner .breadcrumb-item.active {
    color: var(--gold-light);
}


/* ==========================================================================
   CATEGORY CARDS
========================================================================== */

.cat-card {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius);

    display: block;

    height: 460px;

    box-shadow: var(--shadow-soft);
}

.cat-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s var(--ease);
}

.cat-card:hover img {
    transform: scale(1.08);
}

.cat-card .cat-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(20, 10, 6, 0.86) 0%,
            rgba(20, 10, 6, 0.15) 55%,
            rgba(20, 10, 6, 0.05) 100%
        );

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 30px;

    color: var(--ivory);
}

.cat-card h3 {
    color: var(--ivory);

    margin-bottom: 4px;

    font-size: 1.7rem;
}

.cat-card p {
    color: rgba(251, 246, 239, 0.82);

    font-size: 0.92rem;

    max-width: 90%;
}

.cat-card .cat-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

    font-size: 0.8rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--gold-light);

    transition:
        gap 0.3s var(--ease);
}

.cat-card:hover .cat-link {
    gap: 14px;

    color: var(--gold-light);
}


/* ==========================================================================
   PRODUCT CARDS
========================================================================== */

.product-card {
    background: var(--white);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow:
        0 2px 10px rgba(42, 21, 12, 0.06);

    transition:
        box-shadow 0.35s var(--ease),
        transform 0.35s var(--ease);

    height: 100%;

    display: flex;

    flex-direction: column;

    min-width: 0;
}

.product-card:hover {
    box-shadow: var(--shadow-lift);

    transform: translateY(-6px);
}

.product-thumb {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: var(--paper);
}

.product-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s var(--ease);
}

.product-card:hover .product-thumb img {
    transform: scale(1.07);
}

.product-badges {
    position: absolute;

    top: 12px;
    left: 12px;

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.badge-aakifah {
    font-size: 0.68rem;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    padding: 5px 10px;

    border-radius: 40px;

    font-weight: 600;
}

.badge-new {
    background: var(--emerald);

    color: var(--ivory);
}

.badge-sale {
    background: var(--wine);

    color: var(--ivory);
}

.product-actions {
    position: absolute;

    right: 12px;
    top: 12px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    opacity: 0;

    transform: translateX(8px);

    transition: all 0.3s var(--ease);
}

.product-card:hover .product-actions {
    opacity: 1;

    transform: translateX(0);
}

.product-actions button {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    border: none;

    background: var(--white);

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.15);

    transition: all 0.25s var(--ease);
}

.product-actions button:hover {
    background: var(--wine);

    color: var(--ivory);
}

.product-actions button.active-fav {
    background: var(--wine);

    color: var(--ivory);
}

.quick-add-bar {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 10px;

    background: rgba(42, 21, 12, 0.88);

    transform: translateY(100%);

    transition:
        transform 0.35s var(--ease);

    text-align: center;
}

.product-card:hover .quick-add-bar {
    transform: translateY(0);
}

.quick-add-bar button {
    color: var(--ivory);

    font-size: 0.78rem;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    background: transparent;

    border: none;
}

.product-body {
    padding: 18px 18px 20px;

    flex: 1;

    display: flex;

    flex-direction: column;

    min-width: 0;
}

.product-cat-label {
    font-size: 0.72rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--muted);
}

.product-name {
    font-family: "Cormorant Garamond", serif;

    font-size: 1.28rem;

    font-weight: 600;

    margin: 4px 0 6px;

    overflow-wrap: anywhere;
}

.product-name a {
    color: var(--ink);
}

.product-name a:hover {
    color: var(--wine);
}

.product-rating {
    color: var(--gold);

    font-size: 0.85rem;

    letter-spacing: 1px;
}

.product-rating span.count {
    color: var(--muted);

    font-size: 0.78rem;

    margin-left: 4px;

    letter-spacing: normal;
}

.product-price {
    margin-top: auto;

    padding-top: 10px;

    display: flex;

    align-items: baseline;

    gap: 8px;

    flex-wrap: wrap;
}

.price-now {
    font-weight: 600;

    font-size: 1.08rem;

    color: var(--wine);
}

.price-old {
    text-decoration: line-through;

    color: var(--muted);

    font-size: 0.88rem;
}

.price-off {
    font-size: 0.78rem;

    color: var(--emerald);

    font-weight: 600;
}


/* ==========================================================================
   FEATURE / TRUST STRIP
========================================================================== */

.feature-tile {
    text-align: center;

    padding: 30px 18px;
}

.feature-tile .icon-wrap {
    width: 62px;
    height: 62px;

    border-radius: 50%;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--paper);

    color: var(--wine);

    font-size: 1.5rem;

    transition: all 0.3s var(--ease);
}

.feature-tile:hover .icon-wrap {
    background: var(--wine);

    color: var(--ivory);

    transform: rotate(8deg) scale(1.05);
}

.feature-tile h5 {
    margin-bottom: 8px;
}

.feature-tile p {
    color: var(--muted);

    font-size: 0.9rem;

    margin: 0;
}


/* ==========================================================================
   TESTIMONIALS
========================================================================== */

.testimonial-card {
    background: var(--white);

    padding: 34px;

    border-radius: var(--radius);

    box-shadow: var(--shadow-soft);

    height: 100%;
}

.testimonial-card .stars {
    color: var(--gold);

    letter-spacing: 2px;

    margin-bottom: 14px;
}

.testimonial-card p.quote {
    font-family: "Cormorant Garamond", serif;

    font-size: 1.15rem;

    font-style: italic;

    color: var(--ink);
}

.testimonial-person {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 18px;
}

.testimonial-person img {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    object-fit: cover;

    flex-shrink: 0;
}

.testimonial-person strong {
    display: block;

    font-size: 0.92rem;
}

.testimonial-person span {
    color: var(--muted);

    font-size: 0.8rem;
}


/* ==========================================================================
   NEWSLETTER
========================================================================== */

.newsletter-band {
    background: var(--wine);

    color: var(--ivory);

    text-align: center;
}

.newsletter-band h2 {
    color: var(--ivory);
}

.newsletter-form {
    width: 100%;

    max-width: 460px;

    margin: 26px auto 0;

    display: flex;

    gap: 10px;
}

.newsletter-form input {
    border: none;

    padding: 0.85rem 1.1rem;

    flex: 1;

    min-width: 0;

    border-radius: var(--radius);
}

.newsletter-form .invalid-feedback {
    color: var(--gold-light);

    text-align: left;

    display: none;
}


/* ==========================================================================
   FOOTER
========================================================================== */

footer.site-footer {
    background: var(--ink);

    color: rgba(251, 246, 239, 0.75);

    padding: 70px 0 0;
}

footer.site-footer h5 {
    color: var(--ivory);

    font-family: "Jost";

    font-size: 0.95rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    margin-bottom: 20px;

    font-weight: 600;
}

footer.site-footer .brand-mark {
    color: var(--gold-light) !important;
}

footer.site-footer ul {
    list-style: none;

    padding: 0;

    margin: 0;
}

footer.site-footer ul li {
    margin-bottom: 10px;
}

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

footer.site-footer .footer-social a {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    border: 1px solid rgba(251, 246, 239, 0.25);

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-right: 8px;

    transition: all 0.3s var(--ease);
}

footer.site-footer .footer-social a:hover {
    background: var(--gold);

    border-color: var(--gold);

    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid rgba(251, 246, 239, 0.12);

    margin-top: 50px;

    padding: 22px 0;

    font-size: 0.82rem;

    text-align: center;

    color: rgba(251, 246, 239, 0.55);
}


/* ==========================================================================
   FORMS
========================================================================== */

.form-control,
.form-select {
    border-radius: var(--radius);

    border: 1px solid var(--line);

    padding: 0.7rem 0.9rem;

    background: var(--white);

    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--wine);

    box-shadow:
        0 0 0 3px rgba(107, 18, 32, 0.1);
}

.form-label {
    font-size: 0.82rem;

    letter-spacing: 0.05em;

    text-transform: uppercase;

    color: var(--muted);

    margin-bottom: 6px;
}

.auth-card {
    background: var(--white);

    padding: 50px;

    box-shadow: var(--shadow-soft);

    border-radius: var(--radius);
}

.auth-side {
    background:
        linear-gradient(
            180deg,
            rgba(42, 17, 10, 0.55),
            rgba(42, 17, 10, 0.78)
        ),
        url("https://loremflickr.com/g/900/1200/indian,textile,fashion?lock=9003")
        center / cover no-repeat;

    min-height: 100%;

    color: var(--ivory);

    display: flex;

    align-items: flex-end;

    padding: 50px;
}


/* ==========================================================================
   SHOP / FILTERS
========================================================================== */

.filter-panel {
    background: var(--white);

    padding: 26px;

    border-radius: var(--radius);

    box-shadow: var(--shadow-soft);
}

.filter-panel h6 {
    font-size: 0.78rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--ink);

    margin: 22px 0 12px;
}

.filter-panel h6:first-child {
    margin-top: 0;
}

.color-swatch {
    width: 24px;
    height: 24px;

    border-radius: 50%;

    display: inline-block;

    border: 2px solid var(--white);

    box-shadow: 0 0 0 1px var(--line);

    cursor: pointer;
}

.color-swatch.selected {
    box-shadow: 0 0 0 2px var(--wine);
}

.toolbar-shop {
    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 30px;
}

.empty-state {
    text-align: center;

    padding: 90px 20px;
}

.empty-state .icon-wrap {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: var(--paper);

    color: var(--wine);

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 24px;

    font-size: 2.2rem;
}


/* ==========================================================================
   CART / WISHLIST
========================================================================== */

.cart-line {
    display: grid;

    grid-template-columns:
        100px
        minmax(0, 1fr)
        auto
        auto
        auto;

    gap: 20px;

    align-items: center;

    padding: 22px 0;

    border-bottom: 1px solid var(--line);

    min-width: 0;
}

.cart-line img {
    width: 100px;
    height: 120px;

    object-fit: cover;

    border-radius: var(--radius);
}

.qty-stepper {
    display: inline-flex;

    align-items: center;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    max-width: 100%;
}

.qty-stepper button {
    width: 32px;
    height: 32px;

    border: none;

    background: transparent;

    cursor: pointer;
}

.qty-stepper input {
    width: 40px;

    text-align: center;

    border: none;

    background: transparent;
}

.summary-card {
    background: var(--white);

    padding: 28px;

    border-radius: var(--radius);

    box-shadow: var(--shadow-soft);
}

.summary-card .row-line {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 12px;

    color: var(--muted);

    font-size: 0.92rem;
}

.summary-card .row-total {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    font-size: 1.15rem;

    font-weight: 600;

    color: var(--ink);

    border-top: 1px solid var(--line);

    padding-top: 14px;

    margin-top: 8px;
}


/* ==========================================================================
   ACCOUNT
========================================================================== */

.account-sidebar {
    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow-soft);

    overflow: hidden;
}

.account-sidebar .nav-link {
    padding: 14px 22px;

    border-bottom: 1px solid var(--line);

    color: var(--ink);

    font-size: 0.9rem;

    border-radius: 0 !important;
}

.account-sidebar .nav-link.active {
    background: var(--wine);

    color: #fff !important;
}

.account-sidebar .nav-link:last-child {
    border-bottom: none;
}


/* ==========================================================================
   PRODUCT DETAIL
========================================================================== */

.pd-thumb-list img {
    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: var(--radius);

    cursor: pointer;

    border: 2px solid transparent;

    opacity: 0.75;

    transition: all 0.25s var(--ease);
}

.pd-thumb-list img:hover,
.pd-thumb-list img.active {
    opacity: 1;

    border-color: var(--wine);
}

.pd-main-img {
    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    border-radius: var(--radius);
}

.size-swatch,
.color-dot {
    border: 1px solid var(--line);

    background: var(--white);

    min-width: 44px;

    height: 44px;

    padding: 0 10px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: var(--radius);

    font-size: 0.85rem;

    cursor: pointer;

    transition: all 0.2s var(--ease);
}

.size-swatch.selected,
.size-swatch:hover {
    border-color: var(--wine);

    background: var(--wine);

    color: var(--ivory);
}

.color-dot {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    padding: 0;
}

.color-dot.selected {
    box-shadow:
        0 0 0 2px var(--white),
        0 0 0 4px var(--wine);
}

.pd-tabs .nav-link {
    color: var(--muted);

    border: none;

    border-bottom: 2px solid transparent;

    border-radius: 0;

    font-size: 0.85rem;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    padding: 12px 18px;
}

.pd-tabs .nav-link.active {
    color: var(--wine);

    border-bottom-color: var(--wine);

    background: transparent;
}


/* ==========================================================================
   MISC
========================================================================== */

.divider-diamond {
    width: 10px;
    height: 10px;

    background: var(--gold);

    transform: rotate(45deg);

    margin: 0 auto;
}

.toast-aakifah {
    background: var(--ink);

    color: var(--ivory);

    border-left: 3px solid var(--gold);
}

.stat-block {
    text-align: center;
}

.stat-block .num {
    font-family: "Cormorant Garamond", serif;

    font-size: 2.6rem;

    color: var(--wine);

    font-weight: 700;
}

.stat-block .lbl {
    font-size: 0.78rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--muted);
}

.map-placeholder {
    background:
        var(--paper)
        url("https://loremflickr.com/g/1000/420/map,city?lock=9004")
        center / cover;

    height: 320px;

    border-radius: var(--radius);

    display: flex;

    align-items: flex-end;

    padding: 20px;

    color: var(--white);

    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}


/* ==========================================================================
   PAYMENT OPTIONS
========================================================================== */

.payment-option {
    border: 1px solid var(--line);

    border-radius: var(--radius);

    padding: 16px 18px;

    cursor: pointer;

    transition: all 0.25s var(--ease);

    background: var(--white);
}

.payment-option:hover {
    border-color: var(--gold);
}

.payment-option.border-brand-selected {
    border-color: var(--wine);

    box-shadow: 0 0 0 1px var(--wine);

    background: rgba(107, 18, 32, 0.03);
}

.success-check {
    width: 84px;
    height: 84px;

    border-radius: 50%;

    background: var(--emerald);

    color: var(--ivory);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 2.4rem;

    margin: 0 auto 22px;
}

.step-track {
    display: flex;

    justify-content: center;

    gap: 8px;

    align-items: center;

    margin-bottom: 40px;

    font-size: 0.78rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--muted);
}

.step-track .step.active {
    color: var(--wine);

    font-weight: 600;
}

.step-track .sep {
    width: 30px;

    height: 1px;

    background: var(--line);
}


/* ==========================================================================
   REVEAL ON SCROLL
========================================================================== */

.reveal {
    opacity: 0;

    transform: translateY(24px);

    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* ==========================================================================
   LAPTOP / SMALL DESKTOP — 1199px
========================================================================== */

@media (max-width: 1199.98px) {

    .navbar-aakifah .nav-link,
    .navbar-aakifah .nav-link {
        margin-left: 8px;

        margin-right: 8px;
    }

    .cat-card {
        height: 400px;
    }

    .product-body {
        padding: 16px;
    }

    .section-heading {
        margin-bottom: 38px;
    }
}


/* ==========================================================================
   TABLETS / IPAD — 991px
========================================================================== */

@media (max-width: 991.98px) {

    .container-xl {
        width: 100%;

        padding-left: 20px;

        padding-right: 20px;
    }

    section {
        padding: 68px 0;
    }

    section.tight {
        padding: 50px 0;
    }


    /* Navbar */

    .navbar-aakifah,
    .navbar-aakifah {
        padding: 14px 0;
    }

    .navbar-aakifah.is-stuck,
    .navbar-aakifah.is-stuck {
        padding: 10px 0;
    }

    .navbar-aakifah .navbar-collapse,
    .navbar-aakifah .navbar-collapse {
        margin-top: 15px;

        padding: 12px 0;

        border-top: 1px solid var(--line);
    }

    .navbar-aakifah .nav-link,
    .navbar-aakifah .nav-link {
        margin: 0;

        padding: 12px 4px !important;
    }

    .navbar-aakifah .nav-link::after,
    .navbar-aakifah .nav-link::after {
        display: none;
    }

    .navbar-aakifah .nav-link.active,
    .navbar-aakifah .nav-link.active {
        background: rgba(107, 18, 32, 0.06);

        padding-left: 10px !important;
    }

    .nav-icon-link {
        margin-left: 8px;
    }


    /* Hero */

    .hero {
        min-height: 75vh;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 7vw, 4.4rem);
    }


    /* Banner */

    .page-banner {
        padding: 125px 20px 60px;
    }


    /* Category */

    .cat-card {
        height: 340px;
    }


    /* Product */

    .product-actions {
        opacity: 1;

        transform: none;
    }

    .product-actions button {
        width: 40px;

        height: 40px;
    }

    .quick-add-bar {
        transform: translateY(0);
    }


    /* Cart */

    .cart-line {
        grid-template-columns:
            80px
            minmax(0, 1fr);

        grid-template-areas:
            "img name"
            "img price"
            "img qty";

        row-gap: 8px;
    }

    .cart-line img {
        grid-area: img;

        width: 80px;

        height: 96px;
    }


    /* Authentication */

    .auth-card {
        padding: 36px;
    }

    .auth-side {
        display: none;
    }


    /* Filters */

    .filter-panel {
        padding: 22px;
    }


    /* Footer */

    footer.site-footer {
        padding-top: 55px;
    }
}


/* ==========================================================================
   MOBILE — 767px
========================================================================== */

@media (max-width: 767.98px) {

    body {
        font-size: 15px;

        line-height: 1.6;
    }

    .container-xl {
        padding-left: 16px;

        padding-right: 16px;
    }

    section {
        padding: 54px 0;
    }

    section.tight {
        padding: 42px 0;
    }


    /* Typography */

    .eyebrow {
        font-size: 0.7rem;

        letter-spacing: 0.2em;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }

    .section-heading p {
        font-size: 0.9rem;

        padding: 0 8px;
    }


    /* Navbar */

    .navbar-aakifah,
    .navbar-aakifah {
        padding: 12px 0;
    }

    .brand-mark {
        font-size: 1.5rem;
    }

    .navbar-aakifah .nav-link,
    .navbar-aakifah .nav-link {
        font-size: 0.8rem;

        padding: 10px 4px !important;
    }

    .nav-icon-link {
        margin-left: 5px;
    }

    .nav-badge {
        width: 16px;

        height: 16px;

        font-size: 0.58rem;
    }


    /* Hero */

    .hero {
        min-height: 72vh;

        padding: 90px 0 55px;
    }

    .hero-content {
        width: 100%;

        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);

        line-height: 1.02;
    }

    .hero p.lead {
        font-size: 1rem;

        max-width: 100%;
    }


    /* Buttons */

    .btn {
        padding: 0.72rem 1.25rem;

        min-height: 44px;
    }

    .btn-sm-pill {
        min-height: 38px;
    }

    .btn-icon-circle {
        width: 44px;

        height: 44px;
    }


    /* Zari */

    .zari-rule {
        gap: 10px;

        margin: 14px 0 26px;
    }

    .zari-rule::before,
    .zari-rule::after {
        width: 38px;
    }


    /* Page banner */

    .page-banner {
        padding: 115px 16px 55px;
    }

    .page-banner h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }


    /* Category */

    .cat-card {
        height: 320px;
    }

    .cat-card .cat-overlay {
        padding: 22px;
    }

    .cat-card h3 {
        font-size: 1.5rem;
    }

    .cat-card p {
        font-size: 0.85rem;
    }


    /* Product */

    .product-card:hover {
        transform: none;
    }

    .product-thumb {
        aspect-ratio: 4 / 5;
    }

    .product-card:hover .product-thumb img {
        transform: none;
    }

    .product-body {
        padding: 14px;
    }

    .product-name {
        font-size: 1.15rem;
    }

    .product-cat-label {
        font-size: 0.66rem;
    }

    .product-price {
        flex-wrap: wrap;

        gap: 5px 8px;
    }

    .price-now {
        font-size: 1rem;
    }

    .price-old {
        font-size: 0.8rem;
    }

    .price-off {
        font-size: 0.72rem;
    }

    .product-actions {
        right: 8px;

        top: 8px;

        gap: 6px;
    }

    .product-actions button {
        width: 38px;

        height: 38px;
    }

    .quick-add-bar {
        padding: 8px;
    }

    .quick-add-bar button {
        font-size: 0.7rem;
    }


    /* Features */

    .feature-tile {
        padding: 24px 14px;
    }

    .feature-tile .icon-wrap {
        width: 56px;

        height: 56px;

        font-size: 1.3rem;
    }


    /* Testimonials */

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-card p.quote {
        font-size: 1.05rem;
    }


    /* Newsletter */

    .newsletter-form {
        width: 100%;

        max-width: 100%;

        flex-direction: column;

        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;

        min-height: 46px;
    }


    /* Forms */

    .auth-card {
        padding: 28px 20px;
    }

    .form-control,
    .form-select {
        min-height: 44px;

        font-size: 16px;
    }


    /* Shop */

    .toolbar-shop {
        align-items: stretch;

        flex-direction: column;

        margin-bottom: 22px;
    }

    .toolbar-shop > * {
        width: 100%;
    }


    /* Filters */

    .filter-panel {
        padding: 18px;
    }


    /* Cart */

    .cart-line {
        grid-template-columns:
            70px
            minmax(0, 1fr);

        gap: 12px;

        padding: 18px 0;
    }

    .cart-line img {
        width: 70px;

        height: 88px;
    }

    .qty-stepper button {
        width: 34px;

        height: 34px;
    }

    .qty-stepper input {
        width: 36px;
    }

    .summary-card {
        padding: 22px 18px;
    }


    /* Account */

    .account-sidebar .nav-link {
        padding: 12px 16px;
    }


    /* Product detail */

    .pd-main-img {
        aspect-ratio: 4 / 5;
    }

    .pd-thumb-list img {
        aspect-ratio: 1 / 1;
    }

    .size-swatch {
        min-width: 42px;

        height: 42px;
    }

    .color-dot {
        width: 36px;

        height: 36px;
    }

    .pd-tabs {
        overflow-x: auto;

        flex-wrap: nowrap !important;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: thin;
    }

    .pd-tabs .nav-link {
        white-space: nowrap;

        padding: 10px 14px;
    }


    /* Footer */

    footer.site-footer {
        padding-top: 50px;
    }

    footer.site-footer .footer-social a {
        width: 42px;

        height: 42px;
    }

    .footer-bottom {
        margin-top: 35px;

        padding: 18px 12px;
    }


    /* Map */

    .map-placeholder {
        height: 240px;
    }


    /* Payment */

    .payment-option {
        padding: 14px;
    }

    .step-track {
        gap: 5px;

        font-size: 0.68rem;

        overflow-x: auto;

        justify-content: flex-start;

        white-space: nowrap;

        padding-bottom: 5px;

        -webkit-overflow-scrolling: touch;
    }

    .step-track .sep {
        width: 18px;

        flex-shrink: 0;
    }
}


/* ==========================================================================
   SMALL PHONES — 479px
========================================================================== */

@media (max-width: 479.98px) {

    .container-xl {
        padding-left: 12px;

        padding-right: 12px;
    }

    section {
        padding: 46px 0;
    }


    /* Navbar */

    .brand-mark {
        font-size: 1.35rem;
    }


    /* Hero */

    .hero {
        min-height: 68vh;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 13vw, 3.2rem);
    }

    .hero p.lead {
        font-size: 0.94rem;
    }


    /* Hero buttons */

    .hero .btn {
        width: 100%;

        margin-bottom: 8px;
    }


    /* Products */

    .product-body {
        padding: 12px;
    }

    .product-name {
        font-size: 1.05rem;
    }

    .product-rating {
        font-size: 0.76rem;
    }

    .product-actions button {
        width: 36px;

        height: 36px;
    }


    /* Category */

    .cat-card {
        height: 280px;
    }

    .cat-card .cat-overlay {
        padding: 18px;
    }


    /* Authentication */

    .auth-card {
        padding: 22px 16px;
    }


    /* Cart */

    .cart-line {
        grid-template-columns:
            60px
            minmax(0, 1fr);

        gap: 10px;
    }

    .cart-line img {
        width: 60px;

        height: 76px;
    }


    /* Newsletter */

    .newsletter-band {
        padding-left: 12px;

        padding-right: 12px;
    }


    /* Footer */

    footer.site-footer {
        padding-top: 42px;
    }
}


/* ==========================================================================
   EXTRA SMALL PHONES — 359px
========================================================================== */

@media (max-width: 359.98px) {

    body {
        font-size: 14px;
    }

    .container-xl {
        padding-left: 10px;

        padding-right: 10px;
    }

    .brand-mark {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-actions button {
        width: 34px;

        height: 34px;
    }

    .cat-card {
        height: 250px;
    }
}


/* ==========================================================================
   TOUCH DEVICES
========================================================================== */

@media (hover: none) and (pointer: coarse) {

    .product-card:hover {
        transform: none;

        box-shadow:
            0 2px 10px
            rgba(42, 21, 12, 0.06);
    }

    .product-card:hover .product-thumb img {
        transform: none;
    }

    .cat-card:hover img {
        transform: none;
    }

    .btn-brand:hover,
    .btn-outline-brand:hover,
    .btn-gold:hover {
        transform: none;
    }

    .product-actions {
        opacity: 1;

        transform: none;
    }

    .quick-add-bar {
        transform: translateY(0);
    }
}


/* ==========================================================================
   LANDSCAPE PHONES
========================================================================== */

@media (max-height: 500px) and (orientation: landscape) {

    .hero {
        min-height: 100vh;

        padding: 90px 0 40px;
    }

    .page-banner {
        padding: 105px 20px 45px;
    }
}


/* ==========================================================================
   IOS SAFE AREA
========================================================================== */

@supports (padding: max(0px)) {

    .navbar-aakifah,
    .navbar-aakifah {
        padding-left:
            max(12px, env(safe-area-inset-left));

        padding-right:
            max(12px, env(safe-area-inset-right));
    }

    footer.site-footer {
        padding-bottom:
            max(
                20px,
                env(safe-area-inset-bottom)
            );
    }
}


/* ==========================================================================
   HIGH CONTRAST
========================================================================== */

@media (prefers-contrast: more) {

    .form-control,
    .form-select,
    .payment-option,
    .btn-icon-circle {
        border-width: 2px;
    }

    .product-card {
        box-shadow:
            0 0 0 1px var(--line);
    }
}


/* ==========================================================================
   PRINT
========================================================================== */

@media print {

    .navbar-aakifah,
    .navbar-aakifah,
    .product-actions,
    .quick-add-bar,
    footer.site-footer,
    .btn {
        display: none !important;
    }

    body {
        background: #fff;

        color: #000;
    }

    section {
        padding: 20px 0;
    }
}


/* ==========================================================================
   END OF AAKIFAH RESPONSIVE DESIGN SYSTEM
========================================================================== */