/* =========================================================
   01. NISHADGLOW DESIGN SYSTEM
========================================================= */

:root {

    /* Brand */
    --color-primary: #e88a17;
    --color-primary-dark: #c96f08;
    --color-primary-light: #fff0dc;

    --color-secondary: #172232;

    /* Backgrounds */
    --color-background: #ffffff;
    --color-background-soft: #f7f8fa;
    --color-background-warm: #f7f2eb;
    --color-surface: #ffffff;

    /* Text */
    --color-text: #1b222c;
    --color-text-soft: #606873;
    --color-text-muted: #89919d;

    /* Borders */
    --color-border: #e5e8ec;
    --color-border-light: #eff1f4;

    /* Basic */
    --color-white: #ffffff;
    --color-black: #000000;

    /* Status */
    --color-success: #24915f;
    --color-danger: #d94747;
    --color-warning: #e8a029;

    /* Hero Overlay */
    --hero-overlay-left: rgba(7, 14, 22, 0.82);
    --hero-overlay-middle: rgba(7, 14, 22, 0.58);
    --hero-overlay-right: rgba(7, 14, 22, 0.34);

    /* Fonts */
    --font-heading: "Playfair Display", serif;
    --font-body: "DM Sans", sans-serif;

    /* Container */
    --container-width: 1180px;
    --container-padding: 24px;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 48px;
    --space-10: 64px;
    --space-11: 80px;
    --space-12: 96px;

    --section-spacing: 96px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.12);

    /* Transition */
    --transition-fast: 180ms ease;
    --transition-base: 280ms ease;
}


/* =========================================================
   02. RESET / GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--color-background);
    color: var(--color-text);

    font-family: var(--font-body);

    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-body);
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button {
    border: 0;

    background: none;

    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

.container {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        var(--container-width)
    );

    margin-inline: auto;
}

.section {
    padding:
        var(--section-spacing)
        0;
}


/* =========================================================
   03. GLOBAL BUTTONS
========================================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 26px;

    border-radius: var(--radius-pill);

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    transition:
        transform var(--transition-base),
        background var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base),
        box-shadow var(--transition-base);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--color-white);

    background: var(--color-primary);

    box-shadow:
        0 10px 28px
        rgba(232, 138, 23, 0.22);
}

.button-primary:hover {
    background: var(--color-primary-dark);

    box-shadow:
        0 14px 35px
        rgba(232, 138, 23, 0.30);
}

.button-secondary {
    color: var(--color-text);

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);
}

.button-secondary:hover {
    border-color: var(--color-primary);
}

.button-outline-light {
    color: var(--color-white);

    background:
        rgba(255, 255, 255, 0.03);

    border:
        1px solid
        rgba(255, 255, 255, 0.34);
}

.button-outline-light:hover {
    background:
        rgba(255, 255, 255, 0.10);

    border-color:
        rgba(255, 255, 255, 0.58);
}

.button-light {
    color: var(--color-text);

    background: var(--color-white);
}

.button-large {
    min-height: 52px;

    padding: 0 28px;
}


/* =========================================================
   04. HEADER
   Global header shell.
   - Homepage: transparent over the hero image.
   - Inner pages: white background with dark text.
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    padding: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border-light);
}

/* Homepage only: place the header directly over the hero. */
body:has(.hero-banner-section) .site-header {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    border-bottom: 0;
}

/* Three-column grid keeps the menu mathematically centered. */
.navbar {
    min-height: 100px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 32px;
}


/* =========================================================
   05. BRAND
   Left-side wordmark and compact tagline.
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    width: fit-content;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}

.brand-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-name {
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 3.5px;
    white-space: nowrap;
}

.brand-tagline {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 7px;
    font-weight: 500;
    line-height: 1.15;
    white-space: nowrap;
}

/* White branding on the homepage hero. */
body:has(.hero-banner-section) .brand-name {
    color: var(--color-white);
}

body:has(.hero-banner-section) .brand-tagline {
    color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   06. DESKTOP NAVIGATION
   Center navigation and right-side cart / order actions.
========================================================= */

/* Center menu */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 40px;
}

.nav-link {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-soft);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

/* Homepage menu uses white text over the hero image. */
body:has(.hero-banner-section) .nav-link {
    color: var(--color-white);
}

.nav-link:hover,
.nav-link.active,
body:has(.hero-banner-section) .nav-link:hover,
body:has(.hero-banner-section) .nav-link.active {
    color: var(--color-primary);
}

/* Active / hover underline */
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-pill);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 34px;
}

/* Right-side action group */
.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 18px;
}

/* Cart trigger */
.cart-button {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    color: var(--color-secondary);
    background: transparent;
    border: 0;
    font-size: 18px;
}

body:has(.hero-banner-section) .cart-button {
    color: var(--color-white);
}

/* Cart quantity badge */
.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: var(--radius-pill);
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
}

/* Header Order Now button */
.navbar-order-button {
    min-height: 46px;
    padding: 0 25px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(232, 138, 23, 0.20);
}

/* Mobile menu trigger is hidden on desktop. */
.mobile-menu-button {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    color: var(--color-secondary);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 17px;
}

body:has(.hero-banner-section) .mobile-menu-button {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.20);
}

/* Mobile navigation drawer/menu is hidden until .show is added. */
.mobile-navigation {
    display: none;
}


/* =========================================================
   07. HERO SECTION
========================================================= */

.hero-banner-section {
    position: relative;

    min-height: 820px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--color-secondary);
}


/* =========================================================
   07.1 HERO BACKGROUND
========================================================= */

.hero-banner-bg {
    position: absolute;

    inset: 0;

    z-index: 1;
}

.hero-banner-bg img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;
}


/* =========================================================
   07.2 HERO OVERLAY
========================================================= */

.hero-banner-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:

        linear-gradient(
            90deg,
            var(--hero-overlay-left) 0%,
            var(--hero-overlay-middle) 40%,
            rgba(7, 14, 22, 0.46) 68%,
            var(--hero-overlay-right) 100%
        ),

        linear-gradient(
            180deg,
            rgba(5, 10, 17, 0.14) 0%,
            rgba(5, 10, 17, 0.20) 55%,
            rgba(5, 10, 17, 0.48) 100%
        );
}


/* =========================================================
   07.3 HERO LAYOUT
========================================================= */

.hero-banner-grid {
    position: relative;

    z-index: 3;

    min-height: 820px;

    display: grid;

    grid-template-columns:
        minmax(0, 760px)
        minmax(0, 1fr);

    align-items: center;

    padding:
        125px 0
        55px;
}

.hero-banner-content {
    width: 100%;

    max-width: 760px;
}


/* =========================================================
   07.4 HERO EYEBROW
========================================================= */

.eyebrow {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 22px;
}

.eyebrow span {
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3.5px;

    text-transform: uppercase;
}

.eyebrow-line {
    width: 65px;
    height: 1px;

    background: var(--color-primary);
}

.eyebrow-light span {
    color:
        rgba(255, 255, 255, 0.82);
}


/* =========================================================
   07.5 HERO TITLE
========================================================= */

.hero-banner-title {
    max-width: 760px;

    color: var(--color-white);

    font-family: var(--font-heading);

    font-size:
        clamp(
            56px,
            4.4vw,
            74px
        );

    font-weight: 600;

    line-height: 0.98;

    letter-spacing: -2.5px;
}

.hero-title-top {
    display: block;

    white-space: nowrap;
}

.hero-title-bottom {
    display: flex;

    align-items: baseline;

    gap: 14px;

    margin-top: 8px;
}

.hero-title-living {
    color: var(--color-white);
}

.title-accent {
    color: var(--color-primary);

    white-space: nowrap;
}


/* =========================================================
   07.6 HERO DESCRIPTION
========================================================= */

.hero-banner-description {
    max-width: 540px;

    margin-top: 24px;

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   07.7 HERO ACTIONS
========================================================= */

.hero-actions {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;
}


/* =========================================================
   07.8 HERO BENEFITS
========================================================= */

.hero-benefits {
    display: flex;

    align-items: center;

    gap: 22px;

    margin-top: 44px;
}

.hero-benefit {
    display: flex;

    align-items: center;

    gap: 11px;
}

.benefit-icon {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--color-primary);

    font-size: 18px;
}

.hero-benefit div:last-child {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.hero-benefit strong {
    color: var(--color-white);

    font-size: 11px;

    line-height: 1.3;
}

.hero-benefit span {
    color:
        rgba(255, 255, 255, 0.62);

    font-size: 9px;

    line-height: 1.4;
}

.benefit-divider {
    width: 1px;
    height: 32px;

    flex-shrink: 0;

    background:
        rgba(255, 255, 255, 0.18);
}


/* =========================================================
   08. TRUST STRIP
========================================================= */

.trust-strip {
    position: relative;

    z-index: 10;

    background: var(--color-white);

    border-top:
        1px solid
        var(--color-border-light);

    border-bottom:
        1px solid
        var(--color-border-light);
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.trust-item {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    padding:
        26px 20px;

    border-right:
        1px solid
        var(--color-border-light);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--color-primary);

    background:
        var(--color-background-soft);

    border-radius: 50%;

    font-size: 17px;
}

.trust-item div:last-child {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.trust-item strong {
    font-size: 12px;

    line-height: 1.3;
}

.trust-item span {
    color: var(--color-text-muted);

    font-size: 10px;
}


/* =========================================================
   09. GLOBAL SECTION HEADING
========================================================= */

.section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 48px;
}

.section-heading > div {
    max-width: 580px;
}

.section-heading > p {
    max-width: 420px;

    color: var(--color-text-soft);

    font-size: 14px;

    line-height: 1.7;
}

.section-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: var(--color-primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.section-heading h2,
.why-content h2 {
    font-family: var(--font-heading);

    font-size:
        clamp(
            38px,
            3.5vw,
            52px
        );

    font-weight: 600;

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.section-heading h2 span,
.why-content h2 span {
    color: var(--color-primary);
}


/* =========================================================
   10. PRODUCTS SECTION
========================================================= */

.products-section {
    background: var(--color-background);
}

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.product-card {
    overflow: hidden;

    background: var(--color-surface);

    border:
        1px solid
        var(--color-border);

    border-radius: var(--radius-xl);

    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.product-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(232, 138, 23, 0.30);

    box-shadow: var(--shadow-md);
}

.product-image-area {
    position: relative;

    height: 320px;

    padding: 16px;

    overflow: hidden;

    background:
        var(--color-background-soft);
}

.product-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: var(--radius-lg);
}

.product-badge {
    position: absolute;

    z-index: 3;

    top: 16px;
    left: 16px;

    padding:
        7px 12px;

    color: var(--color-primary-dark);

    background:
        var(--color-primary-light);

    border-radius:
        var(--radius-pill);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.product-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color: var(--color-text-muted);

    background:
        linear-gradient(
            145deg,
            #faf9f6,
            #f2eee8
        );

    border-radius: var(--radius-lg);
}

.product-placeholder i {
    font-size: 30px;
}

.product-placeholder span {
    font-size: 12px;
}

.product-content {
    padding: 24px;
}

.product-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;

    color: var(--color-text-muted);

    font-size: 11px;
}

.rating {
    color: var(--color-primary);
}

.stock-status {
    color: var(--color-success);

    font-weight: 700;
}

.stock-status.out {
    color: var(--color-danger);
}

.product-content h3 {
    font-family: var(--font-heading);

    font-size: 23px;
    font-weight: 600;

    line-height: 1.25;
}

.product-content p {
    margin-top: 8px;

    color: var(--color-text-soft);

    font-size: 13px;

    line-height: 1.65;
}

.product-bottom {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-top: 22px;
}

.product-price {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.old-price {
    color: var(--color-text-muted);

    font-size: 11px;

    text-decoration: line-through;
}

.product-price strong {
    color: var(--color-primary-dark);

    font-size: 22px;
}

.product-button {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-white);

    background: var(--color-primary);

    border-radius: 50%;

    transition:
        background var(--transition-fast),
        transform var(--transition-fast);
}

.product-button:hover {
    background: var(--color-primary-dark);

    transform: translateX(2px);
}


/* =========================================================
   11. WHY SECTION
========================================================= */

.why-section {
    background:
        var(--color-background-soft);
}

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: center;

    gap: 72px;
}

.why-visual {
    min-height: 470px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 48px;

    background:
        linear-gradient(
            145deg,
            #eef2f7,
            #ffffff
        );

    border-radius: var(--radius-xl);
}

.visual-box {
    max-width: 330px;

    text-align: center;
}

.visual-box-icon {
    width: 100px;
    height: 100px;

    margin:
        0 auto
        22px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-primary);

    background: var(--color-white);

    border-radius: 50%;

    box-shadow: var(--shadow-sm);

    font-size: 36px;
}

.visual-box p {
    color: var(--color-text-soft);

    font-family: var(--font-heading);

    font-size: 23px;

    line-height: 1.45;
}

.why-content {
    max-width: 560px;
}

.why-description {
    margin-top: 20px;

    color: var(--color-text-soft);

    font-size: 15px;

    line-height: 1.75;
}

.feature-list {
    display: flex;

    flex-direction: column;

    gap: 22px;

    margin-top: 32px;
}

.feature-item {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.feature-check {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--color-primary-dark);

    background:
        var(--color-primary-light);

    border-radius: 50%;

    font-size: 12px;
}

.feature-item div:last-child {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.feature-item strong {
    font-size: 14px;
}

.feature-item span {
    color: var(--color-text-muted);

    font-size: 12px;
}


/* =========================================================
   12. ORDER CTA
========================================================= */

.order-cta {
    background: var(--color-white);
}

.order-cta-card {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 64px;

    padding: 64px;

    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            #182230,
            #28374a
        );

    border-radius: var(--radius-xl);

    box-shadow:
        0 26px 60px
        rgba(24, 34, 48, 0.15);
}

.order-cta-content > span {
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    opacity: 0.75;
}

.order-cta-content h2 {
    margin-top: 14px;

    font-family: var(--font-heading);

    font-size:
        clamp(
            38px,
            4vw,
            52px
        );

    line-height: 1.1;
}

.order-cta-content p {
    max-width: 460px;

    margin:
        18px 0
        28px;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 13px;

    line-height: 1.7;
}

.order-steps {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;
}

.order-step {
    width: 145px;
}

.order-step > span {
    display: block;

    margin-bottom: 14px;

    font-family: var(--font-heading);

    font-size: 38px;

    line-height: 1;

    opacity: 0.42;
}

.order-step strong {
    display: block;

    font-size: 12px;
}

.order-step p {
    margin-top: 5px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 10px;

    line-height: 1.5;
}

.step-line {
    width: 38px;
    height: 1px;

    flex-shrink: 0;

    margin-top: -36px;

    background:
        rgba(255, 255, 255, 0.25);
}


/* =========================================================
   11. HOW IT WORKS / STEPS
========================================================= */

.steps-section {
    background: var(--color-background-soft);
}


.steps-heading {
    max-width: 700px;

    margin:
        0 auto
        52px;

    text-align: center;
}


.steps-heading .section-eyebrow {
    margin-bottom: 14px;
}


.steps-heading h2 {
    font-family: var(--font-heading);

    font-size:
        clamp(
            40px,
            4vw,
            56px
        );

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.steps-heading h2 span {
    color: var(--color-primary);
}


.steps-heading p {
    max-width: 590px;

    margin:
        20px auto 0;

    color: var(--color-text-soft);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================
   STEPS GRID
========================= */

.steps-grid {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr
        auto
        1fr;

    align-items: center;

    gap: 26px;
}


/* =========================
   STEP CARD
========================= */

.step-card {
    position: relative;

    min-height: 310px;

    padding: 34px;

    overflow: hidden;

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-xs);

    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}


.step-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(232, 138, 23, 0.30);

    box-shadow: var(--shadow-sm);
}


/* =========================
   STEP NUMBER
========================= */

.step-number {
    position: absolute;

    top: 20px;
    right: 24px;

    color:
        rgba(232, 138, 23, 0.12);

    font-family: var(--font-heading);

    font-size: 64px;

    font-weight: 700;

    line-height: 1;
}


/* =========================
   STEP ICON
========================= */

.step-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    color: var(--color-primary);

    background:
        var(--color-primary-light);

    border-radius: 18px;

    font-size: 21px;
}


.step-card h3 {
    max-width: 220px;

    font-family: var(--font-heading);

    font-size: 24px;

    font-weight: 600;

    line-height: 1.25;
}


.step-card p {
    margin-top: 12px;

    color: var(--color-text-soft);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================
   STEP CONNECTOR
========================= */

.steps-connector {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-primary);

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: 50%;

    box-shadow: var(--shadow-xs);

    font-size: 11px;
}


/* =========================================================
   12. HOMEPAGE CTA
========================================================= */

.home-cta-section {
    background: var(--color-white);
}


.home-cta-card {
    position: relative;

    min-height: 420px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.65fr);

    align-items: center;

    gap: 50px;

    overflow: hidden;

    padding:
        64px 70px;

    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            #172232 0%,
            #213147 55%,
            #2b3d54 100%
        );

    border-radius:
        var(--radius-xl);

    box-shadow:
        0 30px 70px
        rgba(23, 34, 50, 0.16);
}


/* =========================
   CTA CONTENT
========================= */

.home-cta-content {
    position: relative;

    z-index: 3;

    max-width: 600px;
}


.home-cta-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--color-primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.home-cta-content h2 {
    font-family: var(--font-heading);

    font-size:
        clamp(
            42px,
            4vw,
            58px
        );

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -1.8px;
}


.home-cta-content h2 span {
    color: var(--color-primary);
}


.home-cta-content p {
    max-width: 510px;

    margin-top: 20px;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 14px;

    line-height: 1.75;
}


.home-cta-actions {
    margin-top: 30px;
}


/* =========================
   CTA VISUAL
========================= */

.home-cta-visual {
    position: relative;

    min-height: 290px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.cta-circle {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);
}


.cta-circle-one {
    width: 300px;
    height: 300px;
}


.cta-circle-two {
    width: 210px;
    height: 210px;

    border-color:
        rgba(232, 138, 23, 0.20);
}


.cta-icon-card {
    position: relative;

    z-index: 2;

    width: 190px;
    height: 190px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 24px;

    text-align: center;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    backdrop-filter:
        blur(14px);
}


.cta-icon-card i {
    color: var(--color-primary);

    font-size: 34px;
}


.cta-icon-card span {
    max-width: 130px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 12px;

    font-weight: 600;

    line-height: 1.5;
}


/* =========================================================
   PRODUCT EMPTY STATE
========================================================= */

.products-empty-state {
    grid-column:
        1 / -1;

    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;

    background:
        var(--color-background-soft);

    border:
        1px dashed
        var(--color-border);

    border-radius:
        var(--radius-xl);
}


.products-empty-icon {
    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    color: var(--color-primary);

    background:
        var(--color-primary-light);

    border-radius: 50%;

    font-size: 22px;
}


.products-empty-state h3 {
    font-family: var(--font-heading);

    font-size: 25px;
}


.products-empty-state p {
    margin-top: 8px;

    color:
        var(--color-text-muted);

    font-size: 13px;
}

/* =========================================================
   PRODUCT DETAILS PAGE
========================================================= */

.product-detail-page {
    background: var(--color-background);
}


/* =========================================================
   PRODUCT DETAILS MAIN SECTION
========================================================= */

.product-detail-section {
    padding:
        130px 0
        90px;

    background:
        var(--color-background);
}


/* =========================================================
   PRODUCT BREADCRUMB
========================================================= */

.product-breadcrumb {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 34px;

    color:
        var(--color-text-muted);

    font-size: 12px;
}

.product-breadcrumb a {
    transition:
        color var(--transition-fast);
}

.product-breadcrumb a:hover {
    color:
        var(--color-primary);
}

.product-breadcrumb i {
    font-size: 8px;
}


/* =========================================================
   PRODUCT DETAILS GRID
========================================================= */

.product-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: 70px;

    align-items: start;
}


/* =========================================================
   PRODUCT DETAILS GALLERY
========================================================= */

.product-detail-gallery {
    position: sticky;

    top: 30px;
}

.product-detail-image-wrap {
    position: relative;

    min-height: 600px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 24px;

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius:
        var(--radius-xl);
}

.product-detail-image {
    width: 100%;
    height: 550px;

    object-fit: cover;

    border-radius:
        var(--radius-lg);
}

.product-detail-placeholder {
    width: 100%;
    min-height: 520px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color:
        var(--color-text-muted);
}

.product-detail-placeholder i {
    font-size: 42px;
}

.product-detail-badge {
    position: absolute;

    top: 42px;
    left: 42px;

    z-index: 4;

    padding:
        8px 14px;

    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    border-radius:
        var(--radius-pill);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-detail-content {
    padding-top: 10px;
}

.product-detail-eyebrow {
    display: block;

    margin-bottom: 16px;

    color:
        var(--color-primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.product-detail-content h1 {
    max-width: 600px;

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            44px,
            4vw,
            64px
        );

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -2px;
}


/* =========================================================
   PRODUCT RATING
========================================================= */

.product-detail-rating {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 18px;
}

.product-detail-rating .stars {
    display: flex;

    gap: 4px;

    color:
        var(--color-primary);

    font-size: 12px;
}

.product-detail-rating > span {
    color:
        var(--color-text-muted);

    font-size: 11px;
}


/* =========================================================
   PRODUCT SHORT DESCRIPTION
========================================================= */

.product-detail-short-description {
    max-width: 540px;

    margin-top: 24px;

    color:
        var(--color-text-soft);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   PRODUCT PRICE
========================================================= */

.product-detail-price {
    display: flex;

    align-items: baseline;

    gap: 12px;

    margin-top: 28px;
}

.product-detail-price strong {
    color:
        var(--color-primary-dark);

    font-size: 34px;

    line-height: 1;
}

.product-detail-old-price {
    color:
        var(--color-text-muted);

    font-size: 15px;

    text-decoration: line-through;
}


/* =========================================================
   PRODUCT STOCK
========================================================= */

.product-detail-stock {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 18px;

    color:
        var(--color-text-soft);

    font-size: 12px;
}

.stock-dot {
    width: 8px;
    height: 8px;

    flex-shrink: 0;

    background:
        var(--color-success);

    border-radius: 50%;
}

.stock-dot.out {
    background:
        var(--color-danger);
}


/* =========================================================
   PRODUCT QUANTITY
========================================================= */

.product-quantity-section {
    margin-top: 30px;
}


.quantity-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    max-width: 220px;

    margin-bottom: 12px;
}


.quantity-heading > span {
    color: var(--color-text);

    font-size: 13px;
    font-weight: 700;
}


.quantity-heading small {
    color: var(--color-text-muted);

    font-size: 10px;
}


/* Quantity Control */

.quantity-selector {
    width: 170px;
    height: 52px;

    display: grid;

    grid-template-columns:
        48px
        1fr
        48px;

    align-items: center;

    overflow: hidden;

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-pill);
}


.quantity-btn {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-text);

    background: transparent;

    font-size: 12px;

    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}


.quantity-btn:hover {
    color: var(--color-primary);

    background:
        var(--color-background-soft);
}


.quantity-selector input {
    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--color-text);

    text-align: center;

    font-size: 15px;
    font-weight: 700;

    pointer-events: none;

    -moz-appearance: textfield;
}


.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    margin: 0;

    -webkit-appearance: none;
}


/* =========================================================
   PRODUCT CTA SPACING
========================================================= */

.product-detail-actions {
    margin-top: 26px;
}

/* =========================================================
   PRODUCT ACTION
========================================================= */

.product-detail-actions {
    margin-top: 30px;
}

.product-order-button {
    width: 100%;

    min-height: 58px;

    font-size: 15px;
}

.product-disabled-button {
    width: 100%;

    min-height: 58px;

    color:
        var(--color-text-muted);

    background:
        var(--color-background-soft);

    cursor: not-allowed;
}

.product-order-note {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 14px;

    color:
        var(--color-text-muted);

    font-size: 10px;

    line-height: 1.5;
}

.product-order-note i {
    color:
        var(--color-primary);
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

.product-description-section {
    padding:
        0 0
        96px;
}

.product-description-card {
    padding: 50px;

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius:
        var(--radius-xl);
}

.product-description-card h2 {
    max-width: 650px;

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            34px,
            3vw,
            46px
        );

    line-height: 1.1;
}

.product-description-content {
    max-width: 800px;

    margin-top: 24px;

    color:
        var(--color-text-soft);

    font-size: 14px;

    line-height: 1.85;
}

.product-description-content p + p {
    margin-top: 14px;
}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.related-products-section {
    background:
        var(--color-background-soft);
}


/* =========================================================
   PRODUCT BOTTOM CTA
========================================================= */

.product-bottom-cta {
    padding:
        80px 0;

    background:
        var(--color-white);
}

.product-bottom-cta-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
        44px 50px;

    color:
        var(--color-white);

    background:
        linear-gradient(
            135deg,
            #172232,
            #293a50
        );

    border-radius:
        var(--radius-xl);
}

.product-bottom-cta-card span {
    display: block;

    margin-bottom: 7px;

    color:
        var(--color-primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.product-bottom-cta-card h2 {
    font-family:
        var(--font-heading);

    font-size:
        clamp(
            30px,
            3vw,
            42px
        );

    line-height: 1.1;
}


/* =========================================================
   PRODUCT DETAILS RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .product-detail-section {
        padding-top: 110px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .product-detail-gallery {
        position: static;
    }

    .product-detail-image-wrap {
        min-height: 500px;
    }

    .product-detail-image {
        height: 460px;
    }

}


@media (max-width: 560px) {

    .product-detail-section {
        padding:
            100px 0
            60px;
    }

    .product-breadcrumb {
        margin-bottom: 24px;
    }

    .product-detail-grid {
        gap: 30px;
    }

    .product-detail-image-wrap {
        min-height: 360px;

        padding: 14px;

        border-radius:
            var(--radius-lg);
    }

    .product-detail-image {
        height: 330px;
    }

    .product-detail-badge {
        top: 24px;
        left: 24px;
    }

    .product-detail-content h1 {
        font-size: 40px;
    }

    .product-detail-price strong {
        font-size: 30px;
    }

    .product-description-section {
        padding-bottom: 60px;
    }

    .product-description-card {
        padding: 28px 22px;
    }

    .product-description-card h2 {
        font-size: 34px;
    }

    .product-bottom-cta {
        padding:
            56px 0;
    }

    .product-bottom-cta-card {
        flex-direction: column;

        align-items: flex-start;

        padding:
            32px 24px;
    }

    .product-bottom-cta-card .button {
        width: 100%;
    }

    .product-quantity-section {
        margin-top: 24px;
    }


    .quantity-selector {
        width: 160px;
        height: 50px;
    }

}

/* =========================================================
   CHECKOUT PAGE
========================================================= */

.checkout-page {
    background: #f7f8fa;
}

.checkout-section {
    min-height: 100vh;

    padding:
        72px 0
        80px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.checkout-breadcrumb {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 22px;

    color: var(--color-text-muted);

    font-size: 10px;
}

.checkout-breadcrumb a {
    transition: color var(--transition-fast);
}

.checkout-breadcrumb a:hover {
    color: var(--color-primary);
}

.checkout-breadcrumb i {
    font-size: 6px;
}


/* =========================================================
   MAIN GRID
========================================================= */

.checkout-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(340px, 0.78fr);

    align-items: start;

    gap: 28px;
}


/* =========================================================
   FORM CARD
========================================================= */

.checkout-form-card {
    padding: 34px 36px;

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: 22px;

    box-shadow:
        0 8px 28px
        rgba(15, 23, 42, 0.04);
}


.checkout-card-heading {
    margin-bottom: 26px;
}


.checkout-card-heading .section-eyebrow {
    margin-bottom: 10px;
}


.checkout-card-heading h1 {
    max-width: 640px;

    font-family: var(--font-heading);

    font-size:
        clamp(
            34px,
            3vw,
            46px
        );

    font-weight: 600;

    line-height: 1.06;

    letter-spacing: -1.5px;
}


.checkout-card-heading p {
    max-width: 560px;

    margin-top: 10px;

    color: var(--color-text-soft);

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   FORM
========================================================= */

.checkout-form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.form-group label {
    color: var(--color-text);

    font-size: 11px;

    font-weight: 700;
}


.form-control {
    width: 100%;

    min-height: 46px;

    padding:
        0 14px;

    color: var(--color-text);

    background: #f8f9fb;

    border:
        1px solid
        var(--color-border);

    border-radius: 12px;

    outline: none;

    font-size: 12px;

    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}


textarea.form-control {
    min-height: 96px;

    padding:
        12px 14px;

    resize: vertical;
}


.form-control::placeholder {
    color: #a3aab3;
}


.form-control:focus {
    background: var(--color-white);

    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px
        rgba(232, 138, 23, 0.08);
}


/* =========================================================
   FORM ERRORS
========================================================= */

.form-error {
    color: var(--color-danger);

    font-size: 9px;
}


.checkout-error-box {
    margin-bottom: 18px;

    padding:
        10px 12px;

    color: var(--color-danger);

    background:
        rgba(217, 71, 71, 0.07);

    border:
        1px solid
        rgba(217, 71, 71, 0.14);

    border-radius: 10px;

    font-size: 10px;
}


/* =========================================================
   ORDER SUMMARY CARD
========================================================= */

.order-summary-card {
    position: sticky;

    top: 24px;

    padding: 26px;

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: 22px;

    box-shadow:
        0 8px 28px
        rgba(15, 23, 42, 0.04);
}


.order-summary-eyebrow {
    display: block;

    margin-bottom: 6px;

    color: var(--color-primary);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.order-summary-card h2 {
    font-family: var(--font-heading);

    font-size: 27px;

    line-height: 1.1;
}


/* =========================================================
   PRODUCT SUMMARY
========================================================= */

.summary-product {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 18px;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.summary-product-image {
    width: 66px;
    height: 66px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;

    background:
        var(--color-background-soft);

    border-radius: 12px;
}


.summary-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.summary-product-info {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.summary-product-info strong {
    color: var(--color-text);

    font-size: 12px;

    line-height: 1.35;
}


.summary-product-info span,
.summary-product-info small {
    color: var(--color-text-muted);

    font-size: 9px;
}


/* =========================================================
   DELIVERY OPTIONS
========================================================= */

.delivery-options {
    margin-top: 18px;

    border-top:
        1px solid
        var(--color-border-light);

    border-bottom:
        1px solid
        var(--color-border-light);
}


.delivery-option {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding:
        18px 0;

    cursor: pointer;
}


.delivery-option + .delivery-option {
    border-top:
        1px solid
        var(--color-border-light);
}


.delivery-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.delivery-radio-ui {
    position: relative;

    width: 15px;
    height: 15px;

    flex-shrink: 0;

    margin-top: 2px;

    border:
        1px solid
        var(--color-text-muted);

    border-radius: 50%;
}


.delivery-radio-ui::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 7px;
    height: 7px;

    background: var(--color-primary);

    border-radius: 50%;

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(0.6);

    transition:
        all var(--transition-fast);
}


.delivery-option input:checked
+ .delivery-radio-ui {
    border-color:
        var(--color-primary);
}


.delivery-option input:checked
+ .delivery-radio-ui::after {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);
}


.delivery-option-content {
    display: flex;

    flex: 1;

    flex-direction: column;

    gap: 3px;
}


.delivery-option-content strong {
    color: var(--color-text);

    font-size: 12px;
}


.delivery-option-content small {
    color: var(--color-text-muted);

    font-size: 9px;
}


.delivery-option-content b {
    margin-top: 5px;

    color: var(--color-text);

    font-size: 14px;
}


.delivery-option.active
.delivery-option-content strong {
    color: var(--color-primary-dark);
}


/* =========================================================
   PRICE SUMMARY
========================================================= */

.summary-pricing {
    display: flex;

    flex-direction: column;

    gap: 12px;

    padding:
        18px 0;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.summary-row,
.summary-total {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.summary-row span {
    color: var(--color-text-soft);

    font-size: 10px;
}


.summary-row strong {
    color: var(--color-text);

    font-size: 10px;
}


/* =========================================================
   TOTAL
========================================================= */

.summary-total {
    padding:
        18px 0
        14px;
}


.summary-total span {
    color: var(--color-text);

    font-size: 13px;

    font-weight: 700;
}


.summary-total strong {
    color: var(--color-primary-dark);

    font-size: 24px;

    line-height: 1;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.checkout-submit {
    width: 100%;

    min-height: 48px;

    margin-top: 6px;

    border: 0;

    font-size: 12px;
}


/* =========================================================
   COD NOTICE
========================================================= */

.cod-notice {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 10px;

    padding:
        12px;

    background:
        linear-gradient(
            135deg,
            #fff4df,
            #ffedd1
        );

    border-radius: 12px;
}


.cod-notice-icon {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--color-primary-dark);

    background: var(--color-white);

    border-radius: 50%;

    font-size: 12px;
}


.cod-notice > div:last-child {
    display: flex;

    flex-direction: column;

    gap: 1px;
}


.cod-notice strong {
    font-size: 10px;
}


.cod-notice span {
    color: var(--color-text-soft);

    font-size: 8px;
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.checkout-security-note {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-top: 8px;

    color: var(--color-text-muted);

    font-size: 8px;

    text-align: center;
}


.checkout-security-note i {
    color: var(--color-primary);
}


/* =========================================================
   CHECKOUT RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .checkout-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, 0.8fr);

        gap: 22px;
    }


    .checkout-form-card {
        padding:
            30px;
    }


    .order-summary-card {
        padding:
            24px;
    }

}


@media (max-width: 850px) {

    .checkout-section {
        padding-top: 88px;
    }


    .checkout-grid {
        grid-template-columns: 1fr;
    }


    .order-summary-card {
        position: static;

        order: 2;
    }


    .checkout-form-card {
        order: 1;
    }

}


@media (max-width: 560px) {

    .checkout-section {
        padding:
            72px 0
            52px;
    }


    .checkout-breadcrumb {
        margin-bottom: 18px;
    }


    .checkout-form-card,
    .order-summary-card {
        padding:
            22px 18px;

        border-radius: 18px;
    }


    .checkout-card-heading {
        margin-bottom: 22px;
    }


    .checkout-card-heading h1 {
        font-size: 34px;
    }


    .checkout-card-heading p {
        font-size: 11px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .form-control {
        min-height: 46px;
    }


    textarea.form-control {
        min-height: 100px;
    }


    .order-summary-card h2 {
        font-size: 25px;
    }


    .summary-product-image {
        width: 60px;
        height: 60px;
    }


    .summary-total strong {
        font-size: 22px;
    }

}

/* =========================================================
   ORDER SUCCESS PAGE
========================================================= */

.order-success-page {
    background: var(--color-background-soft);
}

.order-success-section {
    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 80px 0;
}

.order-success-card {
    max-width: 640px;

    margin: 0 auto;

    padding: 48px;

    text-align: center;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-sm);
}

.success-icon {
    width: 72px;
    height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    color: var(--color-white);

    background: var(--color-success);

    border-radius: 50%;

    font-size: 26px;
}

.success-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--color-primary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.order-success-card h1 {
    font-family: var(--font-heading);

    font-size: 48px;

    line-height: 1.1;
}

.success-message {
    max-width: 500px;

    margin: 16px auto 28px;

    color: var(--color-text-soft);

    font-size: 13px;

    line-height: 1.7;
}

.success-order-info {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 30px;
}

.success-order-info > div {
    padding: 18px 14px;

    background: var(--color-background-soft);

    border-radius: var(--radius-md);
}

.success-order-info span {
    display: block;

    margin-bottom: 6px;

    color: var(--color-text-muted);

    font-size: 9px;
}

.success-order-info strong {
    font-size: 12px;
}

@media (max-width: 560px) {

    .order-success-card {
        padding: 34px 22px;
    }

    .order-success-card h1 {
        font-size: 40px;
    }

    .success-order-info {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   13. FOOTER
========================================================= */

.footer {
    padding:
        72px 0
        24px;

    background:
        var(--color-background-soft);

    border-top:
        1px solid
        var(--color-border-light);
}

.footer .brand-name {
    color: var(--color-text);
}

.footer .brand-tagline {
    color: var(--color-primary);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        repeat(3, 1fr);

    gap: 48px;

    padding-bottom: 48px;
}

.footer-brand > p {
    max-width: 310px;

    margin-top: 20px;

    color: var(--color-text-soft);

    font-size: 12px;

    line-height: 1.7;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h4 {
    margin-bottom: 6px;

    font-size: 13px;
}

.footer-column a,
.footer-column p {
    color: var(--color-text-soft);

    font-size: 12px;

    transition:
        color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-top: 22px;

    border-top:
        1px solid
        var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);

    font-size: 11px;
}

.footer-socials {
    display: flex;

    gap: 8px;
}

.footer-socials a {
    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-text);

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: 50%;

    font-size: 11px;

    transition:
        all var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--color-white);

    background: var(--color-primary);

    border-color: var(--color-primary);

    transform: translateY(-2px);
}


/* =========================================================
   14. ADMIN DASHBOARD
========================================================= */

.dashboard-page {
    min-height: 100vh;

    padding:
        48px 0
        80px;

    background:
        var(--color-background-soft);
}


/* =========================================================
   14.1 DASHBOARD HEADER
========================================================= */

.dashboard-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 32px;
}

.dashboard-heading span {
    display: block;

    margin-bottom: 6px;

    color: var(--color-primary);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.dashboard-heading h1 {
    font-family: var(--font-heading);

    font-size:
        clamp(
            36px,
            4vw,
            48px
        );

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.dashboard-heading .button {
    flex-shrink: 0;
}


/* =========================================================
   14.2 DASHBOARD STAT CARDS
========================================================= */

.dashboard-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 28px;
}

.dashboard-stat-card {
    position: relative;

    min-height: 130px;

    overflow: hidden;

    padding: 24px;

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-xs);

    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}

.dashboard-stat-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(232, 138, 23, 0.28);

    box-shadow: var(--shadow-sm);
}

.dashboard-stat-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--color-primary),
            var(--color-primary-dark)
        );
}

.dashboard-stat-card span {
    display: block;

    margin-bottom: 10px;

    color: var(--color-text-muted);

    font-size: 12px;
    font-weight: 600;
}

.dashboard-stat-card strong {
    display: block;

    color: var(--color-text);

    font-size: 30px;
    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   14.3 DASHBOARD TABLE
========================================================= */

.dashboard-table-card {
    padding: 24px;

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-xs);
}

.dashboard-table-card h2 {
    margin-bottom: 20px;

    font-size: 22px;
    font-weight: 700;
}

.table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.dashboard-table-card table {
    width: 100%;

    min-width: 760px;

    border-collapse: collapse;
}

.dashboard-table-card thead {
    background:
        var(--color-background-soft);
}

.dashboard-table-card th {
    padding:
        14px 16px;

    color: var(--color-text-muted);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-align: left;

    text-transform: uppercase;

    border-bottom:
        1px solid
        var(--color-border);
}

.dashboard-table-card td {
    padding: 16px;

    color: var(--color-text-soft);

    font-size: 13px;

    border-bottom:
        1px solid
        var(--color-border-light);
}

.dashboard-table-card tbody tr {
    transition:
        background var(--transition-fast);
}

.dashboard-table-card tbody tr:hover {
    background:
        var(--color-background-soft);
}

.dashboard-table-card tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-table-card td[colspan] {
    padding:
        42px 20px;

    color: var(--color-text-muted);

    text-align: center;
}


/* =========================================================
   DASHBOARD HEADER ACTIONS
========================================================= */

.dashboard-header-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   DASHBOARD TABLE HEADER
========================================================= */

.dashboard-table-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.dashboard-table-header h2 {
    margin-bottom: 0;
}


.dashboard-table-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--color-primary);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.dashboard-view-all {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--color-primary);

    font-size: 11px;

    font-weight: 700;

    transition:
        gap var(--transition-fast),
        color var(--transition-fast);
}


.dashboard-view-all:hover {
    gap: 10px;

    color: var(--color-primary-dark);
}


/* =========================================================
   ORDER NUMBER
========================================================= */

.dashboard-order-number {
    color: var(--color-text);

    font-size: 11px;
}


/* =========================================================
   CUSTOMER
========================================================= */

.dashboard-customer {
    display: flex;

    align-items: center;

    gap: 9px;
}


.dashboard-customer-avatar {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--color-primary-dark);

    background: var(--color-primary-light);

    border-radius: 50%;

    font-size: 10px;

    font-weight: 700;
}


.dashboard-customer > span {
    color: var(--color-text);

    font-size: 11px;

    font-weight: 600;
}


/* =========================================================
   ORDER TOTAL
========================================================= */

.dashboard-order-total {
    color: var(--color-text);

    font-size: 11px;
}


/* =========================================================
   ORDER ACTION
========================================================= */

.dashboard-order-action {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding:
        7px 10px;

    color: var(--color-primary-dark);

    background: var(--color-primary-light);

    border-radius: var(--radius-pill);

    font-size: 9px;

    font-weight: 700;

    transition:
        background var(--transition-fast),
        color var(--transition-fast);
}


.dashboard-order-action:hover {
    color: var(--color-white);

    background: var(--color-primary);
}


/* =========================================================
   EMPTY ORDERS
========================================================= */

.dashboard-table-card
.dashboard-empty-orders {
    padding:
        54px 20px;

    text-align: center;
}


.dashboard-empty-orders > strong {
    display: block;

    margin-top: 12px;

    color: var(--color-text);

    font-size: 13px;
}


.dashboard-empty-orders > span {
    display: block;

    margin-top: 4px;

    color: var(--color-text-muted);

    font-size: 10px;
}


.dashboard-empty-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto;

    color: var(--color-primary);

    background: var(--color-primary-light);

    border-radius: 50%;

    font-size: 17px;
}


/* =========================================================
   DASHBOARD RESPONSIVE EXTRA
========================================================= */

@media (max-width: 700px) {

    .dashboard-header-actions {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .dashboard-header-actions .button {
        width: 100%;
    }


    .dashboard-table-header {
        align-items: flex-start;

        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .dashboard-header-actions {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   15. TABLET — 1100PX
========================================================= */

@media (max-width: 1100px) {

    :root {
        --section-spacing: 80px;
    }


    .nav-links {
        gap: 26px;
    }


    .hero-banner-section,
    .hero-banner-grid {
        min-height: 760px;
    }


    .hero-banner-grid {
        grid-template-columns:
            minmax(0, 650px)
            1fr;

        padding:
            115px 0
            50px;
    }


    .hero-banner-title {
        font-size: 58px;
    }


    .hero-benefits {
        flex-wrap: wrap;
    }


    .benefit-divider {
        display: none;
    }


    .product-image-area {
        height: 280px;
    }


    .why-grid {
        gap: 48px;
    }


    .order-cta-card {
        gap: 40px;

        padding: 50px;
    }


    .step-line {
        display: none;
    }


    .dashboard-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   16. TABLET / MOBILE — 850PX
========================================================= */

@media (max-width: 850px) {

    :root {
        --container-padding: 20px;
        --section-spacing: 68px;
    }


    /* -------------------------
       HEADER
       Compact two-column layout on tablet/mobile.
    ------------------------- */

    .navbar {
        min-height: 82px;
        grid-template-columns: 1fr auto;
        column-gap: 18px;
    }

    .nav-links {
        display: none;
    }

    .navbar-order-button {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .nav-actions {
        gap: 8px;
    }


    /* -------------------------
       MOBILE MENU
       Floating white panel under the header.
    ------------------------- */

    .mobile-navigation {
        position: fixed;
        z-index: 1100;
        top: 86px;
        left: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 18px;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition:
            opacity var(--transition-base),
            transform var(--transition-base),
            visibility var(--transition-base);
    }

    .mobile-navigation.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-navigation > a:not(.button) {
        padding: 10px 12px;
        color: var(--color-text);
        border-radius: var(--radius-sm);
        font-size: 13px;
        font-weight: 600;
    }

    .mobile-navigation > a:not(.button):hover {
        color: var(--color-primary);
        background: var(--color-background-soft);
    }


    /* -------------------------
       HERO
    ------------------------- */

    .hero-banner-section,
    .hero-banner-grid {
        min-height: 760px;
    }


    .hero-banner-grid {
        grid-template-columns: 1fr;

        padding:
            110px 0
            46px;
    }


    .hero-banner-content {
        max-width: 100%;
    }


    .hero-banner-title {
        max-width: 100%;

        font-size:
            clamp(
                44px,
                8vw,
                58px
            );

        letter-spacing: -2px;
    }


    .hero-title-top {
        white-space: normal;
    }


    .hero-title-bottom {
        flex-wrap: nowrap;

        gap: 10px;
    }


    .hero-banner-description {
        max-width: 520px;

        font-size: 15px;
    }


    .hero-benefits {
        flex-wrap: wrap;

        margin-top: 36px;
    }


    /* -------------------------
       TRUST
    ------------------------- */

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .trust-item:nth-child(2) {
        border-right: 0;
    }


    /* -------------------------
       SECTIONS
    ------------------------- */

    .section-heading {
        flex-direction: column;

        align-items: flex-start;

        gap: 16px;

        margin-bottom: 36px;
    }


    /* -------------------------
       PRODUCTS
    ------------------------- */

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* -------------------------
       WHY
    ------------------------- */

    .why-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    /* -------------------------
       ORDER CTA
    ------------------------- */

    .order-cta-card {
        grid-template-columns: 1fr;

        padding:
            44px 34px;
    }


    /* -------------------------
       FOOTER
    ------------------------- */

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   17. MOBILE — 560PX
========================================================= */

@media (max-width: 560px) {

    :root {
        --container-padding: 18px;
        --section-spacing: 56px;
    }


    /* -------------------------
       HEADER / BRAND
       Keep the compact header balanced on small screens.
    ------------------------- */

    .navbar {
        min-height: 74px;
        column-gap: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 32px;
    }

    .brand-name {
        font-size: 12px;
        letter-spacing: 2.6px;
    }

    .brand-tagline {
        font-size: 5px;
    }

    .cart-button,
    .mobile-menu-button {
        width: 36px;
        height: 36px;
    }

    .nav-actions {
        gap: 6px;
    }

    .mobile-navigation {
        top: 78px;
        left: 18px;
        right: 18px;
    }


    /* -------------------------
       HERO
    ------------------------- */

    .hero-banner-section,
    .hero-banner-grid {
        min-height: 720px;
    }


    .hero-banner-grid {
        padding:
            100px 0
            38px;
    }


    .eyebrow {
        gap: 12px;

        margin-bottom: 18px;
    }


    .eyebrow span {
        font-size: 9px;

        letter-spacing: 2px;
    }


    .eyebrow-line {
        width: 40px;
    }


    /* Hero title */

    .hero-banner-title {
        font-size:
            clamp(
                36px,
                9.5vw,
                46px
            );

        line-height: 1.02;

        letter-spacing: -1.4px;
    }


    .hero-title-top {
        display: block;

        white-space: nowrap;
    }


    .hero-title-bottom {
        display: flex;

        align-items: baseline;

        flex-wrap: nowrap;

        gap: 7px;

        margin-top: 6px;
    }


    .hero-title-living {
        flex-shrink: 0;
    }


    .title-accent {
        white-space: nowrap;

        flex-shrink: 1;
    }


    .hero-banner-description {
        margin-top: 20px;

        font-size: 14px;

        line-height: 1.65;
    }


    .hero-actions {
        flex-direction: column;

        align-items: stretch;

        margin-top: 26px;
    }


    .hero-actions .button {
        width: 100%;
    }


    .hero-benefits {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            20px 14px;

        margin-top: 32px;
    }


    .hero-benefit:last-child {
        grid-column:
            1 / -1;
    }


    .benefit-divider {
        display: none;
    }


    /* -------------------------
       TRUST STRIP
    ------------------------- */

    .trust-grid {
        grid-template-columns: 1fr;
    }


    .trust-item {
        justify-content: flex-start;

        border-right: 0;

        border-bottom:
            1px solid
            var(--color-border-light);
    }


    .trust-item:last-child {
        border-bottom: 0;
    }


    /* -------------------------
       SECTION HEADINGS
    ------------------------- */

    .section-heading h2,
    .why-content h2 {
        font-size: 39px;
    }


    /* -------------------------
       PRODUCTS
    ------------------------- */

    .product-grid {
        grid-template-columns: 1fr;
    }


    .product-image-area {
        height: 310px;
    }


    /* -------------------------
       WHY
    ------------------------- */

    .why-visual {
        min-height: 360px;

        padding: 28px;
    }


    .visual-box p {
        font-size: 21px;
    }


    /* -------------------------
       ORDER CTA
    ------------------------- */

    .order-cta-card {
        padding:
            34px 24px;
    }


    .order-steps {
        flex-direction: column;

        align-items: flex-start;

        gap: 24px;
    }


    .order-step {
        width: auto;
    }


    .order-step > span {
        margin-bottom: 5px;
    }


    /* -------------------------
       FOOTER
    ------------------------- */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }


    /* -------------------------
       DASHBOARD
    ------------------------- */

    .dashboard-page {
        padding:
            32px 0
            60px;
    }


    .dashboard-heading {
        flex-direction: column;

        align-items: flex-start;
    }


    .dashboard-heading .button {
        width: 100%;
    }


    .dashboard-stats {
        grid-template-columns: 1fr;
    }


    .dashboard-stat-card {
        min-height: auto;

        padding: 20px;
    }


    .dashboard-table-card {
        padding: 18px;
    }

}


/* =========================================================
   18. VERY SMALL MOBILE — 430PX
========================================================= */

@media (max-width: 430px) {

    .hero-banner-title {
        font-size:
            clamp(
                32px,
                8.4vw,
                38px
            );

        letter-spacing: -1px;
    }


    .hero-title-top {
        white-space: nowrap;
    }


    .hero-title-bottom {
        gap: 6px;
    }


    .title-accent {
        font-size: 0.92em;
    }


    .hero-banner-description {
        font-size: 13px;
    }

}

/* =========================================================
   STEPS + CTA RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .steps-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;
    }


    .steps-connector {
        display: none;
    }


    .home-cta-card {
        grid-template-columns:
            1fr
            0.6fr;

        padding:
            54px 48px;
    }

}


@media (max-width: 760px) {

    .steps-heading {
        margin-bottom: 36px;
    }


    .steps-grid {
        grid-template-columns: 1fr;
    }


    .step-card {
        min-height: auto;

        padding: 28px;
    }


    .home-cta-card {
        grid-template-columns: 1fr;

        gap: 20px;

        padding:
            44px 32px;
    }


    .home-cta-visual {
        min-height: 230px;
    }

}


@media (max-width: 560px) {

    .steps-heading {
        text-align: left;
    }


    .steps-heading p {
        margin-left: 0;
    }


    .steps-heading h2 {
        font-size: 39px;
    }


    .step-icon {
        width: 52px;
        height: 52px;

        margin-bottom: 22px;
    }


    .step-number {
        font-size: 54px;
    }


    .home-cta-card {
        min-height: auto;

        padding:
            36px 24px;
    }


    .home-cta-content h2 {
        font-size: 39px;
    }


    .home-cta-actions .button {
        width: 100%;
    }


    .home-cta-visual {
        min-height: 210px;
    }


    .cta-circle-one {
        width: 230px;
        height: 230px;
    }


    .cta-circle-two {
        width: 165px;
        height: 165px;
    }


    .cta-icon-card {
        width: 150px;
        height: 150px;
    }

}


/* =========================================================
   ORDERS LIST PAGE
========================================================= */

.admin-page-description {
    max-width: 520px;

    margin-top: 8px;

    color: var(--color-text-muted);

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   ORDERS TOOLBAR
========================================================= */

.orders-toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.orders-search-form {
    display: flex;

    align-items: center;

    gap: 10px;

    flex: 1;

    max-width: 620px;
}


.orders-search-box {
    min-height: 46px;

    display: flex;

    align-items: center;

    gap: 10px;

    flex: 1;

    padding: 0 14px;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-pill);

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}


.orders-search-box:focus-within {
    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px
        rgba(232, 138, 23, 0.08);
}


.orders-search-box i {
    color: var(--color-text-muted);

    font-size: 12px;
}


.orders-search-box input {
    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--color-text);

    font-size: 11px;
}


.orders-search-box input::placeholder {
    color: var(--color-text-muted);
}


.orders-search-button {
    min-height: 46px;

    padding: 0 20px;
}


.orders-count {
    min-width: 90px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 11px 14px;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-pill);
}


.orders-count span {
    color: var(--color-text-muted);

    font-size: 9px;

    font-weight: 600;
}


.orders-count strong {
    color: var(--color-text);

    font-size: 12px;
}


/* =========================================================
   STATUS FILTERS
========================================================= */

.order-filters {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 18px;
}


.order-filter {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 14px;

    color: var(--color-text-soft);

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-pill);

    font-size: 9px;

    font-weight: 700;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}


.order-filter:hover,
.order-filter.active {
    color: var(--color-white);

    background: var(--color-primary);

    border-color: var(--color-primary);
}


/* =========================================================
   ORDER TABLE
========================================================= */

.admin-table-card {
    overflow: hidden;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-xs);
}


.admin-table-card table {
    width: 100%;

    min-width: 1050px;

    border-collapse: collapse;
}


.admin-table-card th {
    padding: 14px 16px;

    color: var(--color-text-muted);

    background: var(--color-background-soft);

    border-bottom: 1px solid var(--color-border);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-align: left;

    text-transform: uppercase;
}


.admin-table-card td {
    padding: 15px 16px;

    color: var(--color-text-soft);

    border-bottom: 1px solid var(--color-border-light);

    font-size: 11px;

    vertical-align: middle;
}


.admin-table-card tbody tr:last-child td {
    border-bottom: 0;
}


.admin-table-card tbody tr {
    transition: background var(--transition-fast);
}


.admin-table-card tbody tr:hover {
    background: #fcfcfd;
}


/* =========================================================
   CUSTOMER INFO
========================================================= */

.order-customer-info {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.order-customer-info strong {
    color: var(--color-text);

    font-size: 10px;
}


.order-customer-info span {
    color: var(--color-text-muted);

    font-size: 8px;
}


/* =========================================================
   PHONE
========================================================= */

.order-phone-link {
    color: var(--color-text-soft);

    font-size: 10px;

    transition: color var(--transition-fast);
}


.order-phone-link:hover {
    color: var(--color-primary);
}


/* =========================================================
   LOCATION
========================================================= */

.order-location {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.order-location strong {
    color: var(--color-text);

    font-size: 10px;
}


.order-location span {
    color: var(--color-text-muted);

    font-size: 8px;
}


/* =========================================================
   DATE
========================================================= */

.order-date {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.order-date strong {
    color: var(--color-text);

    font-size: 9px;
}


.order-date span {
    color: var(--color-text-muted);

    font-size: 8px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.orders-empty-cell {
    padding: 0 !important;
}


.orders-empty-state {
    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;
}


.orders-empty-icon {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    color: var(--color-primary);

    background: var(--color-primary-light);

    border-radius: 50%;

    font-size: 18px;
}


.orders-empty-state strong {
    color: var(--color-text);

    font-size: 13px;
}


.orders-empty-state span {
    margin-top: 5px;

    color: var(--color-text-muted);

    font-size: 9px;
}


/* =========================================================
   ORDERS RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .orders-toolbar {
        align-items: stretch;

        flex-direction: column;
    }


    .orders-search-form {
        max-width: none;
    }


    .orders-count {
        width: fit-content;
    }

}


@media (max-width: 560px) {

    .orders-search-form {
        flex-direction: column;
    }


    .orders-search-box,
    .orders-search-button {
        width: 100%;
    }


    .order-filters {
        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 4px;
    }


    .order-filter {
        flex-shrink: 0;
    }

}

/* =========================================================
   PRODUCT ADMIN FORM
========================================================= */

.product-admin-page {
    background:
        var(--color-background-soft);
}


.product-admin-form {
    width: 100%;
}


.product-form-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(320px, 0.65fr);

    align-items: start;

    gap: 22px;
}


.product-form-main,
.product-form-sidebar {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


/* =========================================================
   PRODUCT FORM CARD
========================================================= */

.product-form-card {
    padding: 28px;

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-xl);

    box-shadow:
        var(--shadow-xs);
}


.product-form-card-heading {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 24px;
}


.product-form-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color:
        var(--color-primary);

    background:
        var(--color-primary-light);

    border-radius:
        12px;

    font-size: 14px;
}


.product-form-card-heading h2 {
    color:
        var(--color-text);

    font-size: 16px;

    line-height: 1.3;
}


.product-form-card-heading p {
    margin-top: 3px;

    color:
        var(--color-text-muted);

    font-size: 9px;

    line-height: 1.5;
}


.product-form-card
.form-group + .form-group {
    margin-top: 18px;
}


.form-helper {
    color:
        var(--color-text-muted);

    font-size: 8px;

    line-height: 1.5;
}


.optional-label {
    color:
        var(--color-text-muted);

    font-weight: 400;
}


/* =========================================================
   PRICE INPUT
========================================================= */

.price-input-wrap {
    position: relative;
}


.price-input-wrap > span {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 15px;

    color:
        var(--color-text-muted);

    font-size: 12px;

    transform:
        translateY(-50%);
}


.price-input-wrap
.form-control {
    padding-left: 34px;
}


/* =========================================================
   IMAGE UPLOAD
========================================================= */

.product-image-upload {
    display: block;

    cursor: pointer;
}


.product-image-input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    overflow: hidden;
}


.product-image-preview {
    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 7px;

    overflow: hidden;

    padding: 30px;

    text-align: center;

    background:
        var(--color-background-soft);

    border:
        1px dashed
        #cfd4db;

    border-radius:
        var(--radius-lg);

    transition:
        border-color var(--transition-fast),
        background var(--transition-fast);
}


.product-image-preview:hover {
    background:
        #fffaf2;

    border-color:
        var(--color-primary);
}


.product-image-preview i {
    margin-bottom: 6px;

    color:
        var(--color-primary);

    font-size: 28px;
}


.product-image-preview strong {
    color:
        var(--color-text);

    font-size: 11px;
}


.product-image-preview span {
    color:
        var(--color-text-muted);

    font-size: 8px;
}


.product-image-preview.has-image {
    padding: 0;

    border-style: solid;
}


.product-image-preview img {
    width: 100%;
    height: 250px;

    object-fit: cover;
}


/* =========================================================
   PRODUCT SETTINGS
========================================================= */

.product-setting-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        16px 0;

    cursor: pointer;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.product-setting-row:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


.product-setting-row:first-of-type {
    padding-top: 0;
}


.product-setting-row > div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.product-setting-row strong {
    color:
        var(--color-text);

    font-size: 10px;
}


.product-setting-row span {
    color:
        var(--color-text-muted);

    font-size: 8px;

    line-height: 1.5;
}


/* =========================================================
   ADMIN TOGGLE
========================================================= */

.admin-toggle {
    position: relative;

    width: 42px;
    height: 23px;

    flex-shrink: 0;
}


.admin-toggle input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.admin-toggle-ui {
    position: absolute;

    inset: 0;

    display: block;

    background:
        #d9dde3;

    border-radius:
        var(--radius-pill);

    transition:
        background var(--transition-fast);
}


.admin-toggle-ui::after {
    content: "";

    position: absolute;

    top: 3px;
    left: 3px;

    width: 17px;
    height: 17px;

    background:
        var(--color-white);

    border-radius: 50%;

    box-shadow:
        0 2px 5px
        rgba(0, 0, 0, 0.15);

    transition:
        transform var(--transition-fast);
}


.admin-toggle
input:checked
+ .admin-toggle-ui {
    background:
        var(--color-primary);
}


.admin-toggle
input:checked
+ .admin-toggle-ui::after {
    transform:
        translateX(19px);
}


/* =========================================================
   PRODUCT FORM ACTIONS
========================================================= */

.product-form-actions {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 10px;
}


.product-save-button {
    width: 100%;
}


.product-cancel-button {
    min-width: 100px;
}


/* =========================================================
   PRODUCT FORM RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .product-form-grid {
        grid-template-columns: 1fr;
    }


    .product-form-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        align-items: start;
    }


    .product-form-actions {
        grid-column:
            1 / -1;
    }

}


@media (max-width: 600px) {

    .product-form-sidebar {
        display: flex;
    }


    .product-form-card {
        padding:
            22px 18px;
    }


    .product-form-card
    .form-row {
        grid-template-columns: 1fr;
    }


    .product-image-preview {
        min-height: 220px;
    }


    .product-image-preview img {
        height: 220px;
    }


    .product-form-actions {
        grid-template-columns: 1fr;
    }


    .product-cancel-button {
        width: 100%;
    }

}

/* =========================================================
   ORDER DETAILS PAGE
========================================================= */

.admin-page {
    min-height: 100vh;

    padding:
        48px 0
        80px;

    background:
        var(--color-background-soft);
}


/* =========================================================
   ORDER DETAILS HEADER
========================================================= */

.admin-page-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 30px;
}


.admin-eyebrow {
    display: block;

    margin-bottom: 7px;

    color:
        var(--color-primary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.admin-page-header h1 {
    margin: 0;

    color:
        var(--color-text);

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            36px,
            4vw,
            52px
        );

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -1.5px;
}


/* =========================================================
   ORDER DETAILS GRID
========================================================= */

.order-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 22px;

    align-items: start;
}


/* Status card full width */
.order-detail-grid
.admin-detail-card:last-child {
    grid-column:
        1 / -1;
}


/* =========================================================
   DETAIL CARD
========================================================= */

.admin-detail-card {
    padding: 28px;

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-xl);

    box-shadow:
        0 8px 30px
        rgba(15, 23, 42, 0.045);
}


.admin-detail-card h2 {
    margin:
        0 0
        22px;

    color:
        var(--color-text);

    font-size: 18px;

    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   CUSTOMER DETAILS
========================================================= */

.detail-list {
    display: flex;

    flex-direction: column;
}


.detail-list > div {
    display: grid;

    grid-template-columns:
        120px
        minmax(0, 1fr);

    gap: 20px;

    align-items: start;

    padding:
        13px 0;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.detail-list > div:first-child {
    padding-top: 0;
}


.detail-list > div:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


.detail-list span {
    color:
        var(--color-text-muted);

    font-size: 10px;

    font-weight: 600;
}


.detail-list strong {
    color:
        var(--color-text);

    font-size: 11px;

    font-weight: 600;

    line-height: 1.6;

    text-align: right;

    overflow-wrap: anywhere;
}


/* =========================================================
   ORDER PRODUCT
========================================================= */

.admin-order-product {
    display: flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 20px;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.admin-order-product img {
    width: 72px;
    height: 72px;

    flex-shrink: 0;

    object-fit: cover;

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius:
        var(--radius-md);
}


.admin-order-product > div {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.admin-order-product strong {
    color:
        var(--color-text);

    font-size: 12px;

    line-height: 1.4;
}


.admin-order-product span {
    color:
        var(--color-text-muted);

    font-size: 10px;
}


/* =========================================================
   ORDER PRICE SUMMARY
========================================================= */

.detail-price-list {
    display: flex;

    flex-direction: column;

    gap: 0;

    margin-top: 16px;
}


.detail-price-list > div {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        10px 0;
}


.detail-price-list span {
    color:
        var(--color-text-muted);

    font-size: 10px;
}


.detail-price-list strong {
    color:
        var(--color-text);

    font-size: 11px;
}


.detail-price-list
.detail-total {
    margin-top: 8px;

    padding-top: 17px;

    border-top:
        1px solid
        var(--color-border);
}


.detail-price-list
.detail-total span {
    color:
        var(--color-text);

    font-size: 12px;

    font-weight: 700;
}


.detail-price-list
.detail-total strong {
    color:
        var(--color-primary-dark);

    font-size: 22px;

    font-weight: 700;
}


/* =========================================================
   STATUS UPDATE AREA
========================================================= */

.admin-detail-card form {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: end;

    gap: 14px;
}


.admin-detail-card form
.form-group {
    margin: 0;
}


.admin-detail-card form
.form-group label {
    display: block;

    margin-bottom: 7px;

    color:
        var(--color-text);

    font-size: 10px;

    font-weight: 700;
}


.admin-detail-card select.form-control {
    width: 100%;
    height: 48px;

    padding:
        0 14px;

    color:
        var(--color-text);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-md);

    outline: none;

    font-size: 11px;

    cursor: pointer;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}


.admin-detail-card
select.form-control:focus {
    border-color:
        var(--color-primary);

    box-shadow:
        0 0 0 3px
        rgba(232, 138, 23, 0.10);
}


.admin-update-button {
    min-width: 170px;

    height: 48px;

    margin: 0;
}


/* =========================================================
   STATUS BADGES
========================================================= */

.order-status {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        6px 11px;

    border-radius:
        var(--radius-pill);

    font-size: 9px;

    font-weight: 700;
}


.status-pending {
    color: #9a6700;

    background: #fff4d6;
}


.status-confirmed {
    color: #2468a2;

    background: #e8f3ff;
}


.status-processing {
    color: #7044a0;

    background: #f3ebff;
}


.status-shipped {
    color: #08727b;

    background: #e6f7f8;
}


.status-delivered {
    color: #147544;

    background: #e5f8ed;
}


.status-cancelled,
.status-returned {
    color: #b33f3f;

    background: #fdeaea;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.admin-page-header
.button-secondary {
    flex-shrink: 0;

    background:
        var(--color-white);

    box-shadow:
        var(--shadow-xs);
}


/* =========================================================
   ORDER DETAILS TABLET
========================================================= */

@media (max-width: 850px) {

    .admin-page {
        padding:
            36px 0
            64px;
    }


    .order-detail-grid {
        grid-template-columns: 1fr;
    }


    .order-detail-grid
    .admin-detail-card:last-child {
        grid-column: auto;
    }


    .admin-detail-card form {
        grid-template-columns: 1fr;
    }


    .admin-update-button {
        width: 100%;

        min-width: 0;
    }

}


/* =========================================================
   ORDER DETAILS MOBILE
========================================================= */

@media (max-width: 560px) {

    .admin-page {
        padding:
            28px 0
            50px;
    }


    .admin-page-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }


    .admin-page-header h1 {
        font-size: 38px;
    }


    .admin-page-header
    .button {
        width: 100%;
    }


    .admin-detail-card {
        padding:
            22px 18px;

        border-radius:
            18px;
    }


    .admin-detail-card h2 {
        margin-bottom: 18px;

        font-size: 16px;
    }


    .detail-list > div {
        grid-template-columns:
            90px
            minmax(0, 1fr);

        gap: 12px;
    }


    .admin-order-product img {
        width: 60px;
        height: 60px;
    }

}

/* =========================================================
   ORDER STATUS UPDATE + HISTORY
========================================================= */

.order-status-update-card,
.order-history-card {
    grid-column: 1 / -1;
}


/* =========================================================
   STATUS UPDATE FORM
========================================================= */

.status-update-form {
    display: grid !important;

    grid-template-columns:
        minmax(180px, 0.7fr)
        minmax(260px, 1.3fr)
        auto !important;

    align-items: end;

    gap: 14px;
}


.status-update-form .form-group {
    margin: 0;
}


.status-update-form label {
    display: block;

    margin-bottom: 7px;

    color: var(--color-text);

    font-size: 10px;

    font-weight: 700;
}


.status-update-form .form-control {
    width: 100%;

    height: 48px;

    min-height: 48px;

    padding:
        0 14px;

    color: var(--color-text);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-md);

    outline: none;

    font-size: 11px;
}


.status-update-form .form-control:focus {
    background:
        var(--color-white);

    border-color:
        var(--color-primary);

    box-shadow:
        0 0 0 3px
        rgba(232, 138, 23, 0.09);
}


.admin-update-button {
    min-width: 170px;

    height: 48px;

    margin: 0;
}


/* =========================================================
   ORDER HISTORY HEADING
========================================================= */

.order-history-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}


.order-history-heading
.admin-eyebrow {
    margin-bottom: 5px;
}


.order-history-heading h2 {
    margin: 0;
}


/* =========================================================
   TIMELINE
========================================================= */

.order-timeline {
    display: flex;

    flex-direction: column;
}


.order-timeline-item {
    display: grid;

    grid-template-columns:
        28px
        minmax(0, 1fr);

    gap: 14px;
}


/* =========================================================
   TIMELINE MARKER
========================================================= */

.timeline-marker {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;
}


.timeline-dot {
    position: relative;

    z-index: 2;

    width: 13px;
    height: 13px;

    margin-top: 3px;

    background:
        var(--color-primary);

    border:
        3px solid
        var(--color-primary-light);

    border-radius: 50%;

    box-shadow:
        0 0 0 2px
        rgba(232, 138, 23, 0.08);
}


.timeline-line {
    width: 1px;

    flex: 1;

    min-height: 65px;

    background:
        var(--color-border);
}


/* =========================================================
   TIMELINE CONTENT
========================================================= */

.timeline-content {
    min-width: 0;

    padding-bottom: 30px;
}


.order-timeline-item:last-child
.timeline-content {
    padding-bottom: 0;
}


.timeline-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;
}


.timeline-top strong {
    color: var(--color-text);

    font-size: 12px;

    font-weight: 700;

    line-height: 1.5;
}


.timeline-top time {
    flex-shrink: 0;

    color: var(--color-text-muted);

    font-size: 9px;

    line-height: 1.5;
}


/* =========================================================
   WHO CHANGED STATUS
========================================================= */

.timeline-meta {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 6px;

    color: var(--color-text-muted);

    font-size: 9px;
}


.timeline-meta i {
    color: var(--color-primary);

    font-size: 8px;
}


/* =========================================================
   STATUS NOTE
========================================================= */

.timeline-note {
    display: inline-block;

    max-width: 650px;

    margin-top: 10px;

    padding:
        9px 12px;

    color: var(--color-text-soft);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius:
        var(--radius-sm);

    font-size: 9px;

    line-height: 1.55;
}


.timeline-empty {
    padding:
        24px;

    color: var(--color-text-muted);

    background:
        var(--color-background-soft);

    border-radius:
        var(--radius-md);

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   STATUS HISTORY RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .status-update-form {
        grid-template-columns:
            1fr !important;
    }


    .admin-update-button {
        width: 100%;

        min-width: 0;
    }

}


@media (max-width: 560px) {

    .timeline-top {
        flex-direction: column;

        gap: 5px;
    }


    .timeline-content {
        padding-bottom: 24px;
    }


    .timeline-line {
        min-height: 58px;
    }

}

/* =========================================================
   PRODUCT MANAGEMENT TABLE
========================================================= */

.product-admin-table {
    min-width: 1050px !important;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.admin-product-info {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 220px;
}


.admin-product-image {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    overflow: hidden;

    color: var(--color-text-muted);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius:
        12px;
}


.admin-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.admin-product-info > div:last-child {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.admin-product-info strong {
    max-width: 200px;

    overflow: hidden;

    color:
        var(--color-text);

    font-size: 11px;

    line-height: 1.4;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.admin-product-info span {
    max-width: 180px;

    overflow: hidden;

    color:
        var(--color-text-muted);

    font-size: 8px;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* =========================================================
   PRODUCT PRICE
========================================================= */

.admin-product-price {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.admin-product-price strong {
    color:
        var(--color-text);

    font-size: 11px;
}


.admin-product-price span {
    color:
        var(--color-text-muted);

    font-size: 8px;

    text-decoration: line-through;
}


/* =========================================================
   QUICK STOCK FORM
========================================================= */

.quick-stock-form {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 6px;
}


.quick-stock-form input {
    width: 58px;
    height: 30px;

    padding:
        0 7px;

    color:
        var(--color-text);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border);

    border-radius:
        8px;

    outline: none;

    font-size: 9px;
}


.quick-stock-form input:focus {
    border-color:
        var(--color-primary);
}


.quick-stock-form button {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    border-radius:
        8px;

    font-size: 9px;

    transition:
        background var(--transition-fast),
        color var(--transition-fast);
}


.quick-stock-form button:hover {
    color:
        var(--color-white);

    background:
        var(--color-primary);
}


/* =========================================================
   STOCK BADGES
========================================================= */

.product-stock-badge {
    display: inline-flex;

    align-items: center;

    padding:
        4px 7px;

    border-radius:
        var(--radius-pill);

    font-size: 7px;

    font-weight: 700;
}


.stock-good {
    color: #147545;

    background: #e5f8ed;
}


.stock-low {
    color: #9a6700;

    background: #fff3d2;
}


.stock-out {
    color: #b33e3e;

    background: #fde8e8;
}


/* =========================================================
   PRODUCT STATUS
========================================================= */

.product-admin-status {
    display: inline-flex;

    align-items: center;

    padding:
        5px 8px;

    border-radius:
        var(--radius-pill);

    font-size: 8px;

    font-weight: 700;
}


.product-admin-status.active {
    color: #147545;

    background: #e5f8ed;
}


.product-admin-status.inactive {
    color: #7d858f;

    background: #eef0f3;
}


/* =========================================================
   PRODUCT FEATURE ICONS
========================================================= */

.product-feature-icons {
    display: flex;

    align-items: center;

    gap: 6px;
}


.product-feature-icons span:not(.empty-feature) {
    width: 26px;
    height: 26px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    border-radius: 50%;

    font-size: 9px;
}


.empty-feature {
    color:
        var(--color-text-muted);
}


/* =========================================================
   PRODUCT TABLE ACTIONS
========================================================= */

.product-admin-actions {
    display: flex;

    align-items: center;

    gap: 5px;
}


.product-table-action {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--color-text-soft);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius:
        8px;

    font-size: 9px;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}


.product-table-action:hover {
    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    border-color:
        rgba(232, 138, 23, 0.2);
}


.product-table-action.edit:hover {
    color: #2468a2;

    background: #e8f3ff;
}


.product-table-action.delete:hover {
    color: #b23c3c;

    background: #fdeaea;
}


/* =========================================================
   DELETE PRODUCT
========================================================= */

.delete-product-wrapper {
    min-height:
        calc(100vh - 100px);

    display: flex;

    align-items: center;
    justify-content: center;
}


.delete-product-card {
    width: 100%;
    max-width: 530px;

    padding:
        42px;

    text-align: center;

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-xl);

    box-shadow:
        var(--shadow-sm);
}


.delete-product-icon {
    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto
        20px;

    color:
        var(--color-danger);

    background:
        rgba(217, 71, 71, 0.09);

    border-radius: 50%;

    font-size: 20px;
}


.delete-product-card h1 {
    font-family:
        var(--font-heading);

    font-size: 34px;

    line-height: 1.1;
}


.delete-product-card > p {
    max-width: 400px;

    margin:
        14px auto 24px;

    color:
        var(--color-text-soft);

    font-size: 11px;

    line-height: 1.65;
}


.delete-product-preview {
    display: flex;

    align-items: center;

    gap: 12px;

    margin:
        0 0
        26px;

    padding: 12px;

    text-align: left;

    background:
        var(--color-background-soft);

    border-radius:
        var(--radius-md);
}


.delete-product-preview img {
    width: 58px;
    height: 58px;

    object-fit: cover;

    border-radius:
        10px;
}


.delete-product-preview > div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.delete-product-preview strong {
    font-size: 11px;
}


.delete-product-preview span {
    color:
        var(--color-text-muted);

    font-size: 9px;
}


.delete-product-actions {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}


.delete-confirm-button {
    color:
        var(--color-white);

    background:
        var(--color-danger);
}


.delete-confirm-button:hover {
    background:
        #bc3939;
}


/* =========================================================
   PRODUCT ADMIN RESPONSIVE
========================================================= */

@media (max-width: 560px) {

    .delete-product-card {
        padding:
            30px 20px;
    }


    .delete-product-actions {
        grid-template-columns:
            1fr;
    }

}

/* =========================================================
   CART
========================================================= */

.cart-section {
    padding: 80px 0 100px;
}


.cart-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 28px;
}


.cart-page-header h1 {
    margin-top: 7px;

    font-family: var(--font-heading);

    font-size: clamp(34px, 4vw, 52px);
}


.cart-page-header p {
    margin-top: 8px;

    color: var(--color-text-muted);

    font-size: 11px;
}


.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(320px, 0.6fr);

    gap: 24px;

    align-items: start;
}


/* Items */

.cart-items-card {
    overflow: hidden;

    background: var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-xl);
}


.cart-item {
    display: grid;

    grid-template-columns:
        84px
        minmax(150px, 1fr)
        auto
        auto
        auto;

    align-items: center;

    gap: 18px;

    padding: 20px;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.cart-item:last-child {
    border-bottom: 0;
}


.cart-item-image {
    width: 84px;
    height: 84px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        var(--color-background-soft);

    border-radius:
        var(--radius-md);
}


.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.cart-item-info {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.cart-item-name {
    color: var(--color-text);

    font-size: 12px;

    font-weight: 700;
}


.cart-item-unit-price {
    color:
        var(--color-text-muted);

    font-size: 9px;
}


.cart-low-stock {
    color:
        var(--color-warning);

    font-size: 8px;

    font-weight: 700;
}


/* Quantity */

.cart-quantity-form {
    display: flex;

    align-items: center;

    gap: 5px;
}


.cart-qty-btn {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border);

    border-radius:
        8px;

    font-size: 8px;
}


.cart-quantity-form input {
    width: 45px;
    height: 30px;

    text-align: center;

    border:
        1px solid
        var(--color-border);

    border-radius:
        8px;

    font-size: 9px;
}


.cart-update-btn {
    height: 30px;

    padding:
        0 8px;

    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    border-radius:
        8px;

    font-size: 8px;

    font-weight: 700;
}


.cart-item-total strong {
    font-size: 12px;
}


.cart-remove-button {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--color-danger);

    background:
        rgba(217,71,71,.08);

    border-radius:
        8px;
}


/* Summary */

.cart-summary-card {
    position: sticky;

    top: 24px;

    padding: 26px;

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-xl);
}


.cart-summary-card h2 {
    margin:
        5px 0
        22px;

    font-family:
        var(--font-heading);

    font-size: 28px;
}


.cart-summary-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 10px 0;

    font-size: 10px;
}


.cart-summary-row span {
    color:
        var(--color-text-muted);
}


.cart-summary-note {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    margin: 14px 0;

    padding: 12px;

    color:
        var(--color-text-soft);

    background:
        var(--color-background-soft);

    border-radius:
        var(--radius-md);

    font-size: 8px;

    line-height: 1.5;
}


.cart-summary-total {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 8px;

    padding:
        18px 0;

    border-top:
        1px solid
        var(--color-border);
}


.cart-summary-total strong {
    color:
        var(--color-primary);

    font-size: 22px;
}


.cart-checkout-button {
    width: 100%;

    margin-top: 6px;
}


.cart-secure-note {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-top: 13px;

    color:
        var(--color-text-muted);

    font-size: 8px;
}


/* Empty */

.cart-empty-state {
    min-height: 420px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-xl);
}


.cart-empty-icon {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    color:
        var(--color-primary);

    background:
        var(--color-primary-light);

    border-radius: 50%;

    font-size: 22px;
}


.cart-empty-state h2 {
    font-family:
        var(--font-heading);

    font-size: 30px;
}


.cart-empty-state p {
    margin:
        8px 0
        20px;

    color:
        var(--color-text-muted);

    font-size: 10px;
}


/* Navbar cart */

.nav-cart-link {
    position: relative;

    width: 40px;
    height: 40px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    color:
        var(--color-text);

    background:
        var(--color-background-soft);

    border-radius: 50%;
}


.nav-cart-count {
    position: absolute;

    top: -4px;
    right: -4px;

    min-width: 18px;
    height: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 4px;

    color:
        var(--color-white);

    background:
        var(--color-primary);

    border:
        2px solid
        var(--color-white);

    border-radius:
        var(--radius-pill);

    font-size: 7px;

    font-weight: 700;
}


/* Product buttons */

.product-action-buttons {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 16px;
}


.product-action-buttons form {
    margin: 0;
}


.product-cart-button,
.product-order-button {
    width: 100%;
}


/* Cart checkout item */

.checkout-cart-items {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-bottom: 20px;
}


.checkout-cart-item {
    display: grid;

    grid-template-columns:
        52px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;

    padding-bottom: 10px;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.checkout-cart-image {
    width: 52px;
    height: 52px;

    overflow: hidden;

    background:
        var(--color-background-soft);

    border-radius:
        10px;
}


.checkout-cart-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.checkout-cart-item > div:nth-child(2) {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.checkout-cart-item strong {
    font-size: 9px;
}


.checkout-cart-item span {
    color:
        var(--color-text-muted);

    font-size: 8px;
}


.checkout-cart-item b {
    font-size: 9px;
}


/* Responsive */

@media (max-width: 900px) {

    .cart-layout {
        grid-template-columns:
            1fr;
    }


    .cart-summary-card {
        position: static;
    }

}


@media (max-width: 700px) {

    .cart-page-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .cart-item {
        grid-template-columns:
            70px
            1fr
            auto;
    }


    .cart-item-image {
        width: 70px;
        height: 70px;
    }


    .cart-quantity-form {
        grid-column:
            2 / 4;
    }


    .cart-item-total {
        grid-column:
            2 / 3;
    }

}


@media (max-width: 520px) {

    .product-action-buttons {
        grid-template-columns:
            1fr;
    }

}

.product-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.product-cart-form {
    margin: 0;
}

.product-cart-button,
.product-order-button {
    width: 100%;
}

.product-cart-button:disabled,
.product-order-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* =========================================================
   PRODUCT DETAILS — LAYOUT FIX
========================================================= */

.product-detail-page {
    width: 100%;
    overflow: hidden;
    background: var(--color-white);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.product-detail-breadcrumb-section {
    padding: 24px 0 0;
}


.product-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--color-text-muted);
    font-size: 10px;
}


.product-detail-breadcrumb a {
    color: var(--color-text-soft);
}


.product-detail-breadcrumb i {
    font-size: 7px;
}


/* =========================================================
   PRODUCT MAIN SECTION
========================================================= */

.product-detail-section {
    padding: 60px 0 80px;
}


.product-detail-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.95fr);

    align-items: start;
    gap: 54px;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-detail-media {
    min-width: 0;
}


.product-detail-image {
    position: relative;

    width: 100%;
    overflow: hidden;

    background: var(--color-background-soft);

    border-radius: var(--radius-xl);
}


.product-detail-image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1.25;

    object-fit: cover;
}


.product-image-placeholder {
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-text-muted);

    background: var(--color-background-soft);

    font-size: 30px;
}


.product-detail-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 2;

    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    color: var(--color-primary-dark);
    background: var(--color-primary-light);

    border-radius: var(--radius-pill);

    font-size: 8px;
    font-weight: 700;
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-detail-content {
    min-width: 0;

    padding-top: 12px;
}


.product-detail-title {
    margin: 8px 0 10px;

    color: var(--color-text);

    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
}


.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;
}


.product-rating-stars {
    display: flex;
    gap: 3px;

    color: var(--color-text);

    font-size: 9px;
}


.product-detail-rating span {
    color: var(--color-text-muted);

    font-size: 8px;
}


.product-detail-short-description {
    max-width: 520px;

    margin-bottom: 22px;

    color: var(--color-text-soft);

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   PRICE
========================================================= */

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 8px;
}


.product-detail-price strong {
    color: var(--color-primary-dark);

    font-size: 30px;
    font-weight: 700;
}


.product-old-price {
    color: var(--color-text-muted);

    font-size: 12px;

    text-decoration: line-through;
}


/* =========================================================
   STOCK
========================================================= */

.product-stock-status {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 26px;
}


.stock-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}


.stock-status-dot.in-stock {
    background: var(--color-success);
}


.stock-status-dot.low-stock {
    background: var(--color-warning);
}


.stock-status-dot.out-stock {
    background: var(--color-danger);
}


.product-stock-status strong {
    color: var(--color-text);

    font-size: 9px;
}


.product-stock-status small {
    color: var(--color-text-muted);

    font-size: 8px;
}


/* =========================================================
   QUANTITY
========================================================= */

.product-quantity-section {
    margin-bottom: 18px;
}


.quantity-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 210px;

    margin-bottom: 8px;
}


.quantity-heading span {
    color: var(--color-text);

    font-size: 9px;
    font-weight: 700;
}


.quantity-heading small {
    color: var(--color-text-muted);

    font-size: 7px;
}


.quantity-selector {
    width: 155px;
    height: 46px;

    display: grid;
    grid-template-columns: 42px 1fr 42px;

    align-items: center;

    overflow: hidden;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-pill);
}


.quantity-btn {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-text);

    background: transparent;

    font-size: 8px;
}


.quantity-input {
    width: 100%;

    border: 0;
    outline: 0;

    text-align: center;

    background: transparent;

    color: var(--color-text);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.product-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 8px;
}


.product-cart-form {
    margin: 0;
}


.product-cart-button,
.product-order-button {
    width: 100%;
    min-height: 48px;
}


.product-cart-button:disabled,
.product-order-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================================================
   PRODUCT META
========================================================= */

.product-detail-meta {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-top: 18px;
}


.product-detail-meta > div {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--color-text-soft);

    font-size: 9px;
}


.product-detail-meta i {
    width: 15px;

    color: var(--color-primary);

    text-align: center;
}


/* =========================================================
   DESCRIPTION — IMPORTANT FIX
========================================================= */

.product-description-section {
    position: relative;

    clear: both;

    width: 100%;

    padding: 0 0 90px;
}


.product-description-card {
    position: static !important;

    width: 100%;

    margin: 0 !important;

    padding: 38px 42px;

    background: var(--color-background-soft);

    border: 1px solid var(--color-border-light);

    border-radius: var(--radius-xl);

    transform: none !important;
}


.product-description-card h2 {
    margin: 7px 0 16px;

    color: var(--color-text);

    font-family: var(--font-heading);

    font-size: clamp(30px, 4vw, 44px);
}


.product-description-content {
    max-width: 850px;

    color: var(--color-text-soft);

    font-size: 11px;
    line-height: 1.8;
}


.product-description-content p {
    margin: 0 0 14px;
}


/* =========================================================
   RELATED PRODUCTS — IMPORTANT FIX
========================================================= */

.related-products-section {
    width: 100%;

    padding: 80px 0 100px;

    background: var(--color-background-soft);
}


.related-products-section .section-heading {
    margin-bottom: 30px;
}


.related-products-section .products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


.related-products-section .product-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-xs);
}


.related-products-section .product-card-image {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    aspect-ratio: 1 / 1;

    background: var(--color-background-soft);
}


.related-products-section .product-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform var(--transition-base);
}


.related-products-section .product-card:hover
.product-card-image img {
    transform: scale(1.035);
}


.related-products-section .product-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 10px;

    color: var(--color-primary-dark);
    background: var(--color-primary-light);

    border-radius: var(--radius-pill);

    font-size: 7px;
    font-weight: 700;
}


.related-products-section .product-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 18px;
}


.related-products-section .product-card-title {

    color: var(--color-text);

    font-family: var(--font-heading);

    font-size: 20px;
    font-weight: 700;
}


.related-products-section .product-card-content p {
    margin: 8px 0 14px;

    color: var(--color-text-muted);

    font-size: 9px;
    line-height: 1.55;
}


.related-products-section .product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: auto;
}


.related-products-section .product-card-price {
    display: flex;
    align-items: center;
    gap: 7px;
}


.related-products-section .product-card-price strong {
    color: var(--color-text);

    font-size: 13px;
}


.related-products-section .product-card-price span {
    color: var(--color-text-muted);

    font-size: 9px;

    text-decoration: line-through;
}


.related-products-section .product-card-arrow {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-white);

    background: var(--color-primary);

    border-radius: 50%;

    font-size: 9px;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.product-bottom-cta {
    padding: 70px 0;
}


.product-bottom-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 36px 40px;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);
}


.product-bottom-cta-inner h2 {
    max-width: 620px;

    margin-top: 7px;

    color: var(--color-text);

    font-size: clamp(24px, 3vw, 38px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .product-detail-grid {
        grid-template-columns: 1fr;

        gap: 34px;
    }


    .product-detail-image img {
        aspect-ratio: 4 / 4.5;
    }


    .related-products-section .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .product-detail-section {
        padding: 40px 0 60px;
    }


    .product-detail-title {
        font-size: 40px;
    }


    .product-action-buttons {
        grid-template-columns: 1fr;
    }


    .product-description-card {
        padding: 26px 20px;
    }


    .related-products-section {
        padding: 60px 0 70px;
    }


    .related-products-section .products-grid {
        grid-template-columns: 1fr;
    }


    .product-bottom-cta-inner {
        align-items: flex-start;

        flex-direction: column;

        padding: 28px 22px;
    }

}

/* =========================================================
   HOMEPAGE PRODUCTS — FINAL
========================================================= */

/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: 18px;

    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}


.product-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(232, 138, 23, 0.25);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-card-image {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    aspect-ratio: 1 / 0.78;

    background: var(--color-background-soft);
}


.product-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 450ms ease;
}


.product-card:hover
.product-card-image img {
    transform: scale(1.035);
}


/* Placeholder */

.product-card-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-text-muted);

    font-size: 30px;
}


/* Badge */

.product-card-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 11px;

    color: var(--color-primary-dark);

    background:
        rgba(255, 240, 220, 0.96);

    border-radius:
        var(--radius-pill);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 20px 18px 18px;
}


/* =========================================================
   PRODUCT TITLE
========================================================= */

.product-card-title {
    margin: 0;

    font-family: var(--font-body);

    font-size: 20px;
    font-weight: 600;

    line-height: 1.35;

    letter-spacing: -0.02em;
}


.product-card-title a {
    color: var(--color-text);

    transition:
        color var(--transition-fast);
}


.product-card-title a:hover {
    color: var(--color-primary-dark);
}


/* =========================================================
   RATING
========================================================= */

.product-card-rating {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 17px;
}


.product-card-stars {
    display: flex;

    align-items: center;

    gap: 2px;

    color: #d59b37;

    font-size: 12px;
}


.product-card-rating > span {
    color: var(--color-text-soft);

    font-size: 12px;
}


/* =========================================================
   PRICE
========================================================= */

.product-card-price {
    display: flex;

    align-items: baseline;

    gap: 12px;

    margin-top: 8px;
}


.product-card-price strong {
    color: var(--color-primary-dark);

    font-size: 22px;
    font-weight: 700;

    line-height: 1;
}


.product-card-price span {
    color: var(--color-text-muted);

    font-size: 17px;

    text-decoration: line-through;
}


/* =========================================================
   PRODUCT ACTIONS
========================================================= */

.product-card-actions {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 12px;

    margin-top: 24px;
}


.product-card-cart-form {
    margin: 0;
}


/* =========================================================
   ADD TO CART BUTTON
========================================================= */

.product-card-add-button {
    width: 100%;
    min-height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 15px;

    color: var(--color-text);

    background: var(--color-white);

    border:
        1px solid
        var(--color-text);

    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}


.product-card-add-button:hover:not(:disabled) {
    color: var(--color-white);

    background: var(--color-secondary);

    border-color: var(--color-secondary);
}


/* =========================================================
   BUY NOW BUTTON
========================================================= */

.product-card-buy-button {
    width: 100%;
    min-height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 15px;

    color: var(--color-white);

    background: #bd8b48;

    border: 1px solid #bd8b48;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}


.product-card-buy-button:hover {
    color: var(--color-white);

    background: var(--color-primary-dark);

    border-color: var(--color-primary-dark);
}


/* Disabled */

.product-card-add-button:disabled,
.product-card-buy-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 560px) {

    .product-card-title {
        font-size: 18px;
    }


    .product-card-price strong {
        font-size: 20px;
    }


    .product-card-price span {
        font-size: 14px;
    }


    .product-card-actions {
        gap: 8px;
    }


    .product-card-add-button,
    .product-card-buy-button {
        min-height: 42px;

        padding: 0 10px;

        font-size: 10px;
    }

}

/* =========================================================
   PRODUCT CARD CART
========================================================= */

.product-card-cart-form {
    margin: 0;
    padding: 0;
}


.product-card-cart-form .product-button {
    border: 0;
    cursor: pointer;
}

/* =========================================================
   FLY PRODUCT TO CART ANIMATION
========================================================= */

.cart-flying-image {
    position: fixed;

    z-index: 999999;

    display: block;

    margin: 0;

    pointer-events: none;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.20);

    transform:
        translate(0, 0)
        scale(1);

    transform-origin:
        center center;

    opacity: 1;

    transition:
        transform 700ms
            cubic-bezier(
                0.25,
                0.85,
                0.25,
                1
            ),
        opacity 650ms ease,
        border-radius 650ms ease;
}


/* =========================================================
   CART RECEIVE EFFECT
========================================================= */

.cart-button {
    transform-origin: center;

    transition:
        transform 180ms ease,
        background 180ms ease;
}


.cart-button.cart-receive-animation {
    animation:
        cartReceivePulse
        420ms
        ease;
}


@keyframes cartReceivePulse {

    0% {
        transform:
            scale(1);
    }

    35% {
        transform:
            scale(1.22)
            rotate(-8deg);
    }

    65% {
        transform:
            scale(0.94)
            rotate(5deg);
    }

    100% {
        transform:
            scale(1)
            rotate(0);
    }

}


/* =========================================================
   CART BUTTON DISABLE DURING ANIMATION
========================================================= */

.product-card-cart-form
.product-button:disabled {
    pointer-events: none;

    opacity: 0.75;
}

/* =========================================================
   CART DRAWER
========================================================= */

body.cart-drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
}


/* Overlay */

.cart-drawer-overlay {
    position: fixed;

    inset: 0;

    z-index: 9997;

    visibility: hidden;

    background:
        rgba(11, 17, 24, 0.38);

    opacity: 0;

    backdrop-filter:
        blur(2px);

    transition:
        opacity 280ms ease,
        visibility 280ms ease;
}


.cart-drawer-overlay.show {
    visibility: visible;

    opacity: 1;
}


/* Drawer */

.cart-drawer {
    position: fixed;

    z-index: 9998;

    top: 0;
    right: 0;

    width:
        min(440px, 100%);

    height:
        100dvh;

    display: grid;

    grid-template-rows:
        auto
        minmax(0, 1fr)
        auto;

    background:
        var(--color-white);

    box-shadow:
        -20px 0 60px
        rgba(0, 0, 0, 0.14);

    transform:
        translateX(102%);

    transition:
        transform 380ms
        cubic-bezier(
            .22,
            .8,
            .22,
            1
        );
}


.cart-drawer.open {
    transform:
        translateX(0);
}


/* =========================================================
   DRAWER HEADER
========================================================= */

.cart-drawer-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        24px 24px
        20px;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.cart-drawer-eyebrow {
    display: block;

    margin-bottom: 4px;

    color:
        var(--color-primary);

    font-size: 8px;

    font-weight: 800;

    letter-spacing:
        .08em;

    text-transform:
        uppercase;
}


.cart-drawer-header h2 {
    margin: 0;

    color:
        var(--color-text);

    font-family:
        var(--font-heading);

    font-size: 26px;
}


.cart-drawer-close {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color:
        var(--color-text);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius:
        50%;

    cursor: pointer;

    transition:
        background var(--transition-fast),
        transform var(--transition-fast);
}


.cart-drawer-close:hover {
    background:
        var(--color-primary-light);

    transform:
        rotate(5deg);
}


/* =========================================================
   DRAWER BODY
========================================================= */

.cart-drawer-body {
    overflow-y: auto;

    padding:
        6px 24px;
}


/* Loading */

.cart-drawer-loading {
    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color:
        var(--color-text-muted);

    font-size: 10px;
}


/* =========================================================
   CART ITEM
========================================================= */

.cart-drawer-item {
    display: grid;

    grid-template-columns:
        78px
        minmax(0, 1fr);

    gap: 14px;

    padding:
        18px 0;

    border-bottom:
        1px solid
        var(--color-border-light);
}


.cart-drawer-item-image {
    width: 78px;
    height: 88px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        var(--color-background-soft);

    border-radius:
        14px;
}


.cart-drawer-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.cart-image-placeholder {
    color:
        var(--color-text-muted);
}


/* Content */

.cart-drawer-item-content {
    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


.cart-drawer-item-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
}


.cart-drawer-item-top > div {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.cart-drawer-item-name {
    overflow: hidden;

    color:
        var(--color-text);

    font-size: 11px;

    font-weight: 700;

    line-height: 1.4;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.cart-drawer-item-price {
    color:
        var(--color-text-muted);

    font-size: 9px;
}


.cart-drawer-remove {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color:
        var(--color-danger);

    background:
        rgba(217, 71, 71, .07);

    border-radius:
        8px;

    cursor: pointer;
}


/* Bottom */

.cart-drawer-item-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;
}


.cart-drawer-line-total {
    color:
        var(--color-text);

    font-size: 11px;
}


/* =========================================================
   DRAWER QUANTITY
========================================================= */

.drawer-quantity {
    height: 34px;

    display: grid;

    grid-template-columns:
        32px
        34px
        32px;

    align-items: center;

    overflow: hidden;

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-pill);
}


.drawer-quantity button {
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        var(--color-text);

    background:
        transparent;

    cursor: pointer;

    font-size: 7px;
}


.drawer-qty-value {
    color:
        var(--color-text);

    font-size: 9px;

    font-weight: 700;

    text-align: center;
}


/* =========================================================
   DRAWER FOOTER
========================================================= */

.cart-drawer-footer {
    padding:
        20px 24px
        24px;

    background:
        var(--color-white);

    border-top:
        1px solid
        var(--color-border-light);
}


.cart-drawer-footer.is-empty {
    display: none;
}


.cart-drawer-subtotal {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 10px;
}


.cart-drawer-subtotal span {
    color:
        var(--color-text-soft);

    font-size: 10px;

    font-weight: 600;
}


.cart-drawer-subtotal strong {
    color:
        var(--color-primary);

    font-size: 20px;
}


.cart-drawer-delivery-note {
    display: flex;

    align-items: center;

    gap: 7px;

    margin:
        0 0 14px;

    color:
        var(--color-text-muted);

    font-size: 8px;

    line-height: 1.5;
}


.cart-drawer-delivery-note i {
    color:
        var(--color-primary);
}


.cart-drawer-checkout {
    width: 100%;

    min-height: 50px;
}


/* =========================================================
   EMPTY CART
========================================================= */

.cart-drawer-empty {
    min-height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding:
        50px 20px;

    text-align: center;
}


.cart-drawer-empty-icon {
    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    color:
        var(--color-primary);

    background:
        var(--color-primary-light);

    border-radius:
        50%;

    font-size: 21px;
}


.cart-drawer-empty h3 {
    margin: 0;

    color:
        var(--color-text);

    font-family:
        var(--font-heading);

    font-size: 27px;
}


.cart-drawer-empty p {
    max-width: 260px;

    margin:
        8px 0
        20px;

    color:
        var(--color-text-muted);

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   FLY TO CART
========================================================= */

.cart-flying-image {
    position: fixed;

    z-index: 10000;

    display: block;

    margin: 0;

    pointer-events: none;

    object-fit: cover;

    border-radius: 18px;

    opacity: 1;

    box-shadow:
        0 20px 55px
        rgba(0, 0, 0, .25);

    transform:
        translate(0, 0)
        scale(1);

    transform-origin:
        center;

    transition:
        transform 750ms
            cubic-bezier(
                .2,
                .78,
                .22,
                1
            ),
        opacity 650ms ease,
        border-radius 650ms ease;
}


/* =========================================================
   CART ICON ANIMATION
========================================================= */

.cart-button.cart-receive-animation {
    animation:
        cartReceive
        430ms ease;
}


@keyframes cartReceive {

    0% {
        transform:
            scale(1);
    }

    35% {
        transform:
            scale(1.24)
            rotate(-7deg);
    }

    65% {
        transform:
            scale(.94)
            rotate(4deg);
    }

    100% {
        transform:
            scale(1)
            rotate(0);
    }

}


/* Count */

.cart-count.cart-count-pop {
    animation:
        cartCountPop
        380ms ease;
}


@keyframes cartCountPop {

    0% {
        transform:
            scale(1);
    }

    45% {
        transform:
            scale(1.5);
    }

    100% {
        transform:
            scale(1);
    }

}


/* Added success */

.js-cart-button.cart-added {
    color:
        var(--color-white) !important;

    background:
        var(--color-success) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .cart-drawer {
        width: 100%;
    }


    .cart-drawer-header {
        padding:
            20px 18px
            17px;
    }


    .cart-drawer-body {
        padding:
            4px 18px;
    }


    .cart-drawer-footer {
        padding:
            18px;
    }


    .cart-drawer-item {
        grid-template-columns:
            68px
            minmax(0, 1fr);
    }


    .cart-drawer-item-image {
        width: 68px;
        height: 78px;
    }

}

.checkout-breadcrumb-cart {
    padding: 0;

    color: var(--color-text-soft);
    background: transparent;

    border: 0;

    font: inherit;

    cursor: pointer;

    transition:
        color var(--transition-fast);
}

.checkout-breadcrumb-cart:hover {
    color: var(--color-primary);
}


/* =========================================================
   PRODUCT PAGE — PREMIUM REDESIGN
========================================================= */

.product-page {
    overflow: hidden;
    background: var(--color-white);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.product-breadcrumb-section {
    padding: 24px 0 0;
}


.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--color-text-muted);

    font-size: 9px;
}


.product-breadcrumb a {
    color: var(--color-text-soft);

    transition:
        color var(--transition-fast);
}


.product-breadcrumb a:hover {
    color: var(--color-primary);
}


.product-breadcrumb i {
    font-size: 6px;
}


/* =========================================================
   MAIN
========================================================= */

.product-page-main {
    padding: 38px 0  90px;
}


.product-page-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    align-items: center;

    gap: 72px;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-gallery {
    min-width: 0;
}


.product-main-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 1 / 1;

    background: var(--color-background-soft);

    border-radius: var(--radius-xl);
}


.product-main-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.product-main-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-text-muted);

    font-size: 34px;
}


.product-main-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    padding: 7px 12px;

    color: var(--color-primary-dark);

    background: rgba(255, 240, 220, .96);

    border: 1px solid rgba(232, 138, 23, .15);

    border-radius: var(--radius-pill);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.product-image-caption {
    display: flex;

    align-items: center;

    gap: 22px;

    margin-top: 14px;

    padding: 0 5px;

    color: var(--color-text-muted);

    font-size: 8px;
}


.product-image-caption > div {
    display: flex;

    align-items: center;

    gap: 7px;
}


.product-image-caption i {
    color: var(--color-primary);
}


/* =========================================================
   INFO
========================================================= */

.product-info-panel {
    min-width: 0;

    max-width: 560px;
}


.product-info-panel h1 {
    margin: 8px 0 12px;

    color: var(--color-text);

    font-family: var(--font-heading);

    font-size: clamp(44px, 5vw, 60px);

    line-height: 1.02;

    letter-spacing: -.03em;
}


/* Rating */

.product-page-rating {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 23px;
}


.product-page-rating > div {
    display: flex;

    gap: 3px;

    color: var(--color-text);

    font-size: 8px;
}


.product-page-rating span {
    color: var(--color-text-muted);

    font-size: 8px;
}


/* Description */

.product-page-short-description {
    max-width: 500px;

    margin: 0 0 23px;

    color: var(--color-text-soft);

    font-size: 11px;

    line-height: 1.8;
}


/* Price */

.product-page-price {
    display: flex;

    align-items: baseline;

    gap: 11px;

    margin-bottom: 8px;
}


.product-page-price strong {
    color: var(--color-primary-dark);

    font-size: 32px;

    font-weight: 800;
}


.product-page-price span {
    color: var(--color-text-muted);

    font-size: 11px;

    text-decoration: line-through;
}


/* Stock */

.product-page-stock {
    display: flex;

    align-items: center;

    gap: 7px;

    min-height: 20px;
}


.product-stock-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}


.product-stock-dot.available {
    background: var(--color-success);
}


.product-stock-dot.low {
    background: var(--color-warning);
}


.product-stock-dot.unavailable {
    background: var(--color-danger);
}


.product-page-stock strong {
    font-size: 9px;
}


.product-page-stock small {
    color: var(--color-text-muted);

    font-size: 8px;
}


.product-info-divider {
    width: 100%;

    height: 1px;

    margin: 26px 0;

    background: var(--color-border-light);
}


/* =========================================================
   QUANTITY
========================================================= */

.product-page-quantity {
    margin-bottom: 19px;
}


.product-quantity-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 10px;
}


.product-quantity-heading > div {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.product-quantity-heading strong {
    color: var(--color-text);

    font-size: 9px;
}


.product-quantity-heading span,
.product-quantity-heading small {
    color: var(--color-text-muted);

    font-size: 7px;
}


/* Quantity selector */

.product-page .quantity-selector {
    width: 150px;
    height: 44px;

    display: grid;

    grid-template-columns:
        42px 1fr 42px;

    align-items: center;

    overflow: hidden;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-pill);
}


.product-page .quantity-btn {
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: transparent;

    color: var(--color-text);

    font-size: 7px;

    cursor: pointer;
}


.product-page .quantity-btn:hover {
    background: var(--color-background-soft);
}


.product-page .quantity-input {
    width: 100%;

    border: 0;

    background: transparent;

    color: var(--color-text);

    text-align: center;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   BUTTONS
========================================================= */

.product-page-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-bottom: 23px;
}


.product-detail-cart-form {
    margin: 0;
}


.product-add-cart-button,
.product-buy-button {
    width: 100%;
    min-height: 50px;
}


.product-add-cart-button {
    color: var(--color-text);

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-pill);
}


.product-add-cart-button:hover:not(:disabled) {
    color: var(--color-primary-dark);

    background: var(--color-primary-light);

    border-color:
        rgba(232, 138, 23, .3);
}


/* =========================================================
   BENEFITS
========================================================= */

.product-page-benefits {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;
}


.product-benefit {
    display: flex;

    align-items: center;

    gap: 9px;

    padding: 12px;

    background: var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius: var(--radius-md);
}


.product-benefit-icon {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--color-primary);

    background: var(--color-primary-light);

    border-radius: 9px;

    font-size: 9px;
}


.product-benefit > div:last-child {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.product-benefit strong {
    color: var(--color-text);

    font-size: 7px;
}


.product-benefit span {
    color: var(--color-text-muted);

    font-size: 6px;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-information-section {
    padding: 0 0 95px;
}


.product-information-card {
    display: grid;

    grid-template-columns:
        .72fr 1.28fr;

    gap: 65px;

    padding: 48px;

    background: var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius: var(--radius-xl);
}


.product-information-heading h2 {
    max-width: 420px;

    margin-top: 9px;

    font-family: var(--font-heading);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;
}


.product-information-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 22px;
}


.product-info-label {
    display: block;

    margin-bottom: 9px;

    color: var(--color-text);

    font-size: 10px;

    font-weight: 700;
}


.product-description-text,
.product-information-content p {
    color: var(--color-text-soft);

    font-size: 10px;

    line-height: 1.8;
}


.product-description-text p {
    margin: 0 0 12px;
}


.product-information-features {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;
}


.product-information-features > div {
    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--color-text-soft);

    font-size: 7px;
}


.product-information-features i {
    color: var(--color-success);
}


/* =========================================================
   RELATED
========================================================= */

.product-related-section {
    padding: 90px 0 100px;

    background: var(--color-background-soft);
}


.product-related-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 32px;
}


.product-related-heading h2 {
    margin-top: 7px;

    font-family: var(--font-heading);

    font-size: clamp(34px, 4vw, 48px);
}


.related-view-all {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--color-primary-dark);

    font-size: 9px;

    font-weight: 700;
}


.product-related-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* Card */

.related-product-card {
    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);

    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}


.related-product-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}


.related-product-image {
    position: relative;

    display: block;

    overflow: hidden;

    aspect-ratio: 1 / .92;

    background: var(--color-background-soft);
}


.related-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 450ms ease;
}


.related-product-card:hover
.related-product-image img {
    transform: scale(1.04);
}


.related-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-text-muted);
}


.related-product-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 10px;

    color: var(--color-primary-dark);

    background: var(--color-primary-light);

    border-radius: var(--radius-pill);

    font-size: 6px;

    font-weight: 800;
}


/* Related content */

.related-product-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 18px;
}


.related-product-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 8px;

    color: var(--color-primary);

    font-size: 6px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;
}


.related-product-meta small {
    color: var(--color-success);

    font-size: 6px;

    letter-spacing: 0;

    text-transform: none;
}


.related-product-content h3 {
    margin: 0;
}


.related-product-content h3 a {
    color: var(--color-text);

    font-family: var(--font-heading);

    font-size: 20px;
}


.related-product-content p {
    margin: 8px 0 16px;

    color: var(--color-text-muted);

    font-size: 8px;

    line-height: 1.6;
}


.related-product-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: auto;
}


.related-product-price {
    display: flex;

    align-items: baseline;

    gap: 7px;
}


.related-product-price span {
    color: var(--color-text-muted);

    font-size: 8px;

    text-decoration: line-through;
}


.related-product-price strong {
    color: var(--color-text);

    font-size: 13px;
}


.related-product-bottom form {
    margin: 0;
}


.related-cart-button {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-white);

    background: var(--color-primary);

    border-radius: 50%;

    cursor: pointer;

    font-size: 9px;

    transition:
        background var(--transition-fast),
        transform var(--transition-fast);
}


.related-cart-button:hover {
    background: var(--color-primary-dark);

    transform: translateY(-2px);
}


/* =========================================================
   FINAL CTA
========================================================= */

.product-final-cta {
    padding: 80px 0;
}


.product-final-cta-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 40px;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);
}


.product-final-cta-card h2 {
    max-width: 650px;

    margin-top: 8px;

    color: var(--color-text);

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.2;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .product-page-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .product-info-panel {
        max-width: none;
    }


    .product-information-card {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .product-related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .product-breadcrumb-section {
        padding-top: 18px;
    }


    .product-page-main {
        padding: 30px 0 65px;
    }


    .product-page-grid {
        gap: 28px;
    }


    .product-main-image {
        border-radius: 20px;
    }


    .product-info-panel h1 {
        font-size: 35px;
    }


    .product-page-actions {
        grid-template-columns: 1fr;
    }


    .product-page-benefits {
        grid-template-columns: 1fr;
    }


    .product-information-section {
        padding-bottom: 65px;
    }


    .product-information-card {
        padding: 28px 22px;
    }


    .product-information-features {
        grid-template-columns: 1fr;
    }


    .product-related-section {
        padding: 65px 0;
    }


    .product-related-heading {
        align-items: flex-start;

        flex-direction: column;
    }


    .product-related-grid {
        grid-template-columns: 1fr;
    }


    .product-final-cta {
        padding: 60px 0;
    }


    .product-final-cta-card {
        align-items: flex-start;

        flex-direction: column;

        padding: 28px 22px;
    }

}


/* =========================================================
   PRODUCT DETAILS — TYPOGRAPHY CONSISTENCY
========================================================= */

/* Small eyebrow text */
.product-page .section-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}


/* Breadcrumb */
.product-breadcrumb {
    font-size: 11px;
}


/* Product title */
.product-info-panel h1 {
    font-size: clamp(42px, 4vw, 45px);
    line-height: 1.05;
}


/* Rating stars */
.product-page-rating > div {
    font-size: 11px;
}


/* Rating helper text */
.product-page-rating span {
    font-size: 10px;
}


/* Short description */
.product-page-short-description {
    font-size: 14px;
    line-height: 1.7;
}


/* Price */
.product-page-price strong {
    font-size: 30px;
}


/* Old price */
.product-page-price span {
    font-size: 13px;
}


/* Stock title */
.product-page-stock strong {
    font-size: 11px;
}


/* Stock helper */
.product-page-stock small {
    font-size: 10px;
}


/* Quantity label */
.product-quantity-heading strong {
    font-size: 11px;
}


/* Quantity helper text */
.product-quantity-heading span,
.product-quantity-heading small {
    font-size: 9px;
}


/* Quantity value */
.product-page .quantity-input {
    font-size: 12px;
}


/* Buttons */
.product-add-cart-button,
.product-buy-button {
    font-size: 11px;
    font-weight: 700;
}


/* Product details section heading */
.product-information-heading h2 {
    font-size: clamp(32px, 3.5vw, 44px);
}


/* Product details label */
.product-info-label {
    font-size: 12px;
}


/* Product description */
.product-description-text,
.product-information-content p {
    font-size: 13px;
    line-height: 1.75;
}


/* Related section heading */
.product-related-heading h2 {
    font-size: clamp(34px, 4vw, 46px);
}


/* Related card meta */
.related-product-meta {
    font-size: 8px;
}


/* Related stock */
.related-product-meta small {
    font-size: 8px;
}


/* Related product title */
.related-product-content h3 a {
    font-size: 20px;
}


/* Related description */
.related-product-content p {
    font-size: 11px;
}


/* Related price */
.related-product-price span {
    font-size: 10px;
}


.related-product-price strong {
    font-size: 14px;
}


/* Final CTA */
.product-final-cta-card h2 {
    font-size: clamp(28px, 3vw, 40px);
}


/* =========================================================
   PRODUCT ACTIONS
========================================================= */

.product-page-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 22px;
}


.product-detail-cart-form {
    margin: 0;
}


/* Small cart icon button */

.product-detail-cart-icon {
    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--color-white);

    background: var(--color-primary);

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    font-size: 15px;

    box-shadow:
        0 8px 20px
        rgba(232, 138, 23, 0.18);

    transition:
        background var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}


.product-detail-cart-icon:hover:not(:disabled) {
    background: var(--color-primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 26px
        rgba(232, 138, 23, 0.26);
}


.product-detail-cart-icon:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* Buy now */

.product-buy-button {
    min-height: 48px;

    padding: 0 24px;

    font-size: 11px;
}


/* Mobile */

@media (max-width: 520px) {

    .product-page-actions {
        width: 100%;
    }


    .product-buy-button {
        flex: 1;
    }

}


/* =========================================================
   PRODUCT ACTION AREA — COMPACT LAYOUT
========================================================= */

.product-page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 10px;

    width: fit-content;
    max-width: 100%;

    margin-top: 18px;
    margin-bottom: 22px;
}


/* =========================================================
   BUY NOW BUTTON
========================================================= */

.product-buy-button {
    width: auto !important;

    min-width: 180px;
    min-height: 48px;

    padding: 0 26px;

    flex: 0 0 auto;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   CART ICON BUTTON
========================================================= */

.product-detail-cart-form {
    margin: 0;

    flex: 0 0 auto;
}


.product-detail-cart-icon {
    width: 48px;
    height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--color-white);

    background: var(--color-primary);

    border: 0;

    border-radius: 50%;

    cursor: pointer;

    font-size: 15px;

    box-shadow:
        0 8px 20px
        rgba(232, 138, 23, 0.18);

    transition:
        background var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}


.product-detail-cart-icon:hover:not(:disabled) {
    background: var(--color-primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 26px
        rgba(232, 138, 23, 0.24);
}


/* =========================================================
   QUANTITY AREA — COMPACT
========================================================= */

.product-page-quantity {
    width: fit-content;

    margin-bottom: 0;
}


.product-quantity-heading {
    width: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 10px;
}


.product-page .quantity-selector {
    width: 150px;
    height: 44px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .product-page-actions {
        width: 100%;
    }


    .product-buy-button {
        flex: 1;

        min-width: 0;
    }

}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo-link {
    display: inline-flex;
    align-items: center;

    width: fit-content;
}


.footer-logo {
    width: auto;
    height: 52px;
}

/* =========================================================
   NAVBAR LOGO
========================================================= */

.brand-logo-link {
    display: inline-flex;
    align-items: center;

    justify-self: start;

    width: fit-content;
}


.navbar-logo {
    display: block;

    width: auto;
    height: 52px;

    object-fit: contain;
}


/* Tablet */

@media (max-width: 850px) {

    .navbar-logo {
        height: 44px;
    }

}


/* Mobile */

@media (max-width: 560px) {

    .navbar-logo {
        height: 38px;
    }

}

/* =========================================================
   PRODUCT INFORMATION SECTION
========================================================= */

.product-information-section {
    width: 100%;

    padding:
        0
        0
        90px;
}


/* =========================================================
   PRODUCT INFORMATION CARD
========================================================= */

.product-information-card {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 30px;

    padding:
        46px
        48px;

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius:
        var(--radius-xl);
}


/* =========================================================
   PRODUCT INFORMATION HEADING
========================================================= */

.product-information-heading {
    width: 100%;

    max-width: 720px;
}


.product-information-heading
.section-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color:
        var(--color-primary);

    font-size: 10px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.product-information-heading h2 {
    max-width: 650px;

    margin: 0;

    color:
        var(--color-text);

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            36px,
            4vw,
            48px
        );

    font-weight: 600;

    line-height: 1.1;

    letter-spacing:
        -0.02em;
}


/* =========================================================
   PRODUCT INFORMATION CONTENT
========================================================= */

.product-information-content {
    width: 100%;

    max-width: 920px;

    display: flex;

    flex-direction: column;

    gap: 14px;
}


/* =========================================================
   ABOUT LABEL
========================================================= */

.product-info-label {
    display: block;

    margin: 0;

    color:
        var(--color-text);

    font-size: 13px;

    font-weight: 700;

    line-height: 1.4;
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

.product-description-text {
    width: 100%;

    color:
        var(--color-text-soft);

    font-size: 14px;

    font-weight: 400;

    line-height: 1.8;
}


/* Paragraphs created by Django linebreaks */

.product-description-text p {
    margin:
        0
        0
        14px;
}


.product-description-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   EMPTY DESCRIPTION
========================================================= */

.product-description-empty {
    margin: 0;

    color:
        var(--color-text-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .product-information-section {
        padding-bottom:
            75px;
    }


    .product-information-card {
        gap: 26px;

        padding:
            38px
            34px;
    }


    .product-information-heading h2 {
        font-size:
            clamp(
                34px,
                5vw,
                44px
            );
    }


    .product-information-content {
        max-width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .product-information-section {
        padding-bottom:
            60px;
    }


    .product-information-card {
        gap: 22px;

        padding:
            28px
            22px;

        border-radius:
            20px;
    }


    .product-information-heading
    .section-eyebrow {
        margin-bottom: 8px;

        font-size: 9px;
    }


    .product-information-heading h2 {
        font-size: 32px;

        line-height: 1.12;
    }


    .product-info-label {
        font-size: 12px;
    }


    .product-description-text,
    .product-description-empty {
        font-size: 13px;

        line-height: 1.75;
    }


    .product-description-text p {
        margin-bottom: 12px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .product-information-card {
        padding:
            24px
            18px;
    }


    .product-information-heading h2 {
        font-size: 29px;
    }

}

/* =========================================================
   ADMIN PRODUCT IMAGE LABEL
========================================================= */

.product-image-admin-label {
    display: block;

    margin-bottom: 9px;

    color: var(--color-text);

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   ADMIN PRODUCT GALLERY
========================================================= */

.product-gallery-admin {
    margin-top: 24px;

    padding-top: 22px;

    border-top:
        1px solid
        var(--color-border-light);
}


/* =========================================================
   GALLERY HEADING
========================================================= */

.product-gallery-admin-heading {
    display: flex;

    flex-direction: column;

    gap: 3px;

    margin-bottom: 12px;
}


.product-gallery-admin-heading strong {
    color:
        var(--color-text);

    font-size: 11px;
}


.product-gallery-admin-heading span {
    color:
        var(--color-text-muted);

    font-size: 8px;

    line-height: 1.5;
}


/* =========================================================
   GALLERY GRID
========================================================= */

.product-gallery-admin-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 10px;
}


/* =========================================================
   GALLERY UPLOAD ITEM
========================================================= */

.product-gallery-upload {
    position: relative;

    display: block;

    cursor: pointer;
}


/* Hide actual input */

.product-gallery-upload
input {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   GALLERY BOX
========================================================= */

.product-gallery-upload-box {
    width: 100%;

    aspect-ratio:
        1 / 0.82;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 6px;

    overflow: hidden;

    color:
        var(--color-text-muted);

    background:
        var(--color-background-soft);

    border:
        1px dashed
        #cfd4db;

    border-radius:
        12px;

    transition:
        border-color
        var(--transition-fast),
        background
        var(--transition-fast),
        transform
        var(--transition-fast);
}


.product-gallery-upload-box:hover {
    background:
        #fffaf2;

    border-color:
        var(--color-primary);

    transform:
        translateY(-1px);
}


/* Icon */

.product-gallery-upload-box i {
    color:
        var(--color-primary);

    font-size: 15px;
}


/* Label */

.product-gallery-upload-box span {
    font-size: 8px;

    font-weight: 600;
}


/* Existing / selected image */

.product-gallery-upload-box img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   ADMIN GALLERY MOBILE
========================================================= */

@media (max-width: 600px) {

    .product-gallery-admin-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* =========================================================
   PRODUCT IMAGE GALLERY
========================================================= */

.product-gallery {
    min-width: 0;

    width: 100%;
}


/* =========================================================
   MAIN PRODUCT IMAGE
========================================================= */

.product-main-image {
    position: relative;

    width: 100%;

    overflow: hidden;

    aspect-ratio:
        1 / 1;

    background:
        var(--color-background-soft);

    border-radius:
        var(--radius-xl);
}


.product-main-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 1;

    transform:
        scale(1);

    transition:
        opacity 180ms ease,
        transform 260ms ease;
}


/* Image switching effect */

.product-main-image
img.is-changing {
    opacity: 0.15;

    transform:
        scale(0.985);
}


/* =========================================================
   GALLERY TABS
========================================================= */

.product-gallery-tabs {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 10px;

    margin-top: 12px;
}


/* =========================================================
   GALLERY TAB
========================================================= */

.product-gallery-tab {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 0;

    aspect-ratio:
        1 / 0.78;

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border);

    border-radius:
        11px;

    cursor: pointer;

    opacity: 0.82;

    transition:
        opacity
        var(--transition-fast),
        border-color
        var(--transition-fast),
        transform
        var(--transition-fast),
        box-shadow
        var(--transition-fast);
}


/* Thumbnail image */

.product-gallery-tab img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Hover */

.product-gallery-tab:hover {
    opacity: 1;

    border-color:
        rgba(
            232,
            138,
            23,
            0.45
        );

    transform:
        translateY(-2px);
}


/* Active thumbnail */

.product-gallery-tab.active {
    opacity: 1;

    border-color:
        var(--color-primary);

    box-shadow:
        0 0 0 2px
        rgba(
            232,
            138,
            23,
            0.10
        );
}


/* Active indicator */

.product-gallery-tab.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 20px;
    height: 2px;

    background:
        var(--color-primary);

    border-radius:
        999px;

    transform:
        translateX(-50%);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .product-gallery-tabs {
        gap: 8px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .product-gallery-tabs {
        display: flex;

        overflow-x: auto;

        gap: 8px;

        padding-bottom: 5px;

        scrollbar-width: none;
    }


    .product-gallery-tabs::-webkit-scrollbar {
        display: none;
    }


    .product-gallery-tab {
        width: 78px;

        flex:
            0 0
            78px;
    }

}


/* =========================================================
   CUSTOMER INFORMATION HEADER
========================================================= */

.customer-information-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 22px;
}


.customer-information-header h2 {
    margin: 0;
}


/* =========================================================
   CUSTOMER EDIT TRIGGER
========================================================= */

.customer-edit-trigger {
    min-height: 34px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding:
        0
        13px;

    color:
        var(--color-primary-dark);

    background:
        var(--color-primary-light);

    border: 0;

    border-radius:
        var(--radius-pill);

    cursor: pointer;

    font-family:
        var(--font-body);

    font-size: 9px;

    font-weight: 700;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}


.customer-edit-trigger:hover {
    color:
        var(--color-white);

    background:
        var(--color-primary);

    transform:
        translateY(-1px);
}


.customer-edit-trigger i {
    font-size: 10px;
}


/* =========================================================
   PHONE LINK
========================================================= */

.customer-phone-link {
    color:
        inherit;

    transition:
        color var(--transition-fast);
}


.customer-phone-link:hover {
    color:
        var(--color-primary);
}


/* =========================================================
   MODAL
========================================================= */

.customer-edit-modal {
    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}


.customer-edit-modal.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   BACKDROP
========================================================= */

.customer-edit-backdrop {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 0;

    background:
        rgba(
            15,
            23,
            42,
            0.48
        );

    border: 0;

    cursor: default;

    backdrop-filter:
        blur(4px);
}


/* =========================================================
   DIALOG
========================================================= */

.customer-edit-dialog {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 620px;

    max-height:
        calc(
            100vh - 48px
        );

    overflow-y: auto;

    padding: 30px;

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius:
        var(--radius-xl);

    box-shadow:
        0 35px 90px
        rgba(
            15,
            23,
            42,
            .20
        );

    transform:
        translateY(14px)
        scale(.985);

    transition:
        transform 180ms ease;
}


.customer-edit-modal.is-open
.customer-edit-dialog {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   MODAL HEADER
========================================================= */

.customer-edit-modal-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 26px;
}


.customer-edit-eyebrow {
    display: block;

    margin-bottom: 6px;

    color:
        var(--color-primary);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.customer-edit-modal-header h3 {
    margin: 0;

    color:
        var(--color-text);

    font-family:
        var(--font-heading);

    font-size: 28px;

    font-weight: 600;

    line-height: 1.15;
}


.customer-edit-modal-header p {
    max-width: 420px;

    margin:
        7px 0
        0;

    color:
        var(--color-text-muted);

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.customer-edit-close {
    width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 0;

    color:
        var(--color-text-soft);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border-light);

    border-radius: 50%;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}


.customer-edit-close:hover {
    color:
        var(--color-white);

    background:
        var(--color-primary);
}


/* =========================================================
   FORM
========================================================= */

.customer-edit-form {
    display: flex;

    flex-direction: column;

    gap: 17px;
}


.customer-edit-form
.form-group {
    margin: 0;
}


.customer-edit-form
label {
    display: block;

    margin-bottom: 7px;

    color:
        var(--color-text);

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   INPUTS
========================================================= */

.customer-edit-form
.form-control {
    width: 100%;

    min-height: 46px;

    padding:
        0
        14px;

    color:
        var(--color-text);

    background:
        var(--color-background-soft);

    border:
        1px solid
        var(--color-border);

    border-radius:
        11px;

    outline: none;

    font-family:
        var(--font-body);

    font-size: 11px;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast);
}


.customer-edit-form
textarea.form-control {
    min-height: 96px;

    padding:
        13px
        14px;

    resize: vertical;

    line-height: 1.6;
}


.customer-edit-form
.form-control:focus {
    background:
        var(--color-white);

    border-color:
        rgba(
            232,
            138,
            23,
            .60
        );

    box-shadow:
        0 0 0 3px
        rgba(
            232,
            138,
            23,
            .07
        );
}


/* =========================================================
   TWO COLUMN ROW
========================================================= */

.customer-edit-two-column {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;
}


/* =========================================================
   ERRORS
========================================================= */

.customer-edit-field-error {
    display: flex;

    flex-direction: column;

    gap: 3px;

    margin-top: 6px;

    color:
        var(--color-danger);

    font-size: 9px;

    line-height: 1.5;
}


/* =========================================================
   ACTIONS
========================================================= */

.customer-edit-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    margin-top: 6px;

    padding-top: 20px;

    border-top:
        1px solid
        var(--color-border-light);
}


/* =========================================================
   MODAL BODY LOCK
========================================================= */

body.customer-modal-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .customer-edit-modal {
        align-items: flex-end;

        padding: 10px;
    }


    .customer-edit-dialog {
        max-height:
            calc(
                100vh - 20px
            );

        padding:
            24px 18px;

        border-radius:
            20px;
    }


    .customer-edit-modal-header h3 {
        font-size: 24px;
    }


    .customer-edit-two-column {
        grid-template-columns:
            1fr;
    }


    .customer-edit-actions {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }


    .customer-edit-actions
    .button {
        width: 100%;
    }

}

.form-alert-error {
    margin-bottom: 20px;
    padding: 14px 16px;

    border: 1px solid rgba(220, 38, 38, 0.22);
    border-radius: 12px;

    background: rgba(220, 38, 38, 0.07);
    color: #dc2626;

    font-size: 12px;
    line-height: 1.6;
}

.form-alert-error p {
    margin: 0;
}

.form-field-error {
    margin-top: 7px;

    color: #dc2626;

    font-size: 10px;
    line-height: 1.5;
}

.form-field-error span {
    display: block;
}

/* =========================================================
   DASHBOARD CLICKABLE STAT CARDS
========================================================= */

.dashboard-stat-link {
    display: block;

    color: inherit;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.dashboard-stat-link:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 32px
        rgba(15, 23, 42, 0.08);

    border-color:
        rgba(232, 138, 23, 0.35);
}


.dashboard-stat-link:focus-visible {
    outline:
        2px solid
        var(--color-primary);

    outline-offset:
        3px;
}


.dashboard-stat-link span,
.dashboard-stat-link strong {
    color: inherit;
}


/* =========================================================
   END OF NISHADGLOW STYLESHEET
========================================================= */
