/* ═══════════════════════════════════════════════════════════════
   STROVE – Global Stylesheet
   Single source of truth for all public-facing pages
   ═══════════════════════════════════════════════════════════════ */

/* ── IMPORT FONTS ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
    --brand-dark: #0d0d0d;
    --brand-light: #faf8f5;
    --brand-accent: #c8a96e;
    --brand-accent-dk: #b5923a;
    --brand-muted: #6b6b6b;
    --brand-border: #e8e2d9;
    --brand-white: #ffffff;
    --brand-success: #16a34a;
    --brand-danger: #dc2626;

    --navbar-h: 70px;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .10);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, .14);

    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-pill: 20px;

    --transition: .25s ease;
    --transition-slow: .45s cubic-bezier(.4, 0, .2, 1);
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--brand-light);
    color: var(--brand-dark);
    padding-top: var(--navbar-h);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

button {
    font-family: inherit;
}

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--brand-light);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-accent);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE LOADER
   ═══════════════════════════════════════════════════════════════ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity .4s, visibility .4s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    width: 40px;
    height: 40px;
    border: 3px solid var(--brand-border);
    border-top-color: var(--brand-accent);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

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

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.site-navbar {
    height: var(--navbar-h);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    transition: box-shadow var(--transition);
}

.site-navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
}

.navbar-brand-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-dark) !important;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 1;
}

.navbar-brand-text span {
    color: var(--brand-accent);
}

.site-navbar .nav-link {
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--brand-dark) !important;
    padding: .45rem .95rem !important;
    position: relative;
    transition: color var(--transition);
}

.site-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: .95rem;
    right: .95rem;
    height: 2px;
    background: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown */
.site-navbar .dropdown-menu {
    border-radius: var(--radius-sm);
    border: 1px solid var(--brand-border);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    margin-top: .25rem;
    animation: dropDown .2s ease forwards;
}

@keyframes dropDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.site-navbar .dropdown-item {
    font-size: .83rem;
    font-weight: 500;
    color: var(--brand-dark);
    padding: .45rem .75rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.site-navbar .dropdown-item:hover {
    background: var(--brand-light);
    color: var(--brand-accent);
}

/* Cart icon */
.cart-icon-wrap {
    position: relative;
    cursor: pointer;
    padding: .3rem;
}

.cart-icon-wrap i {
    font-size: 1.3rem;
    transition: transform var(--transition);
}

.cart-icon-wrap:hover i {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -7px;
    background: var(--brand-accent);
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s;
    border: 2px solid var(--brand-white);
}

.cart-badge.bump {
    transform: scale(1.45);
}

/* Navbar user btn */
.site-navbar .btn-user {
    border: 1.5px solid var(--brand-border);
    border-radius: 0;
    font-size: .79rem;
    font-weight: 600;
    padding: .38rem .85rem;
    background: transparent;
    color: var(--brand-dark);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.site-navbar .btn-user:hover {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
}

/* ── Search Bar ─────────────────────────────────────────────── */
.search-wrap {
    position: relative;
}

.search-wrap input {
    border: 1px solid var(--brand-border);
    border-radius: 0;
    font-size: .83rem;
    padding: .42rem .9rem;
    padding-right: 2.2rem;
    width: 200px;
    background: var(--brand-light);
    color: var(--brand-dark);
    transition: width .3s ease, border-color .2s, box-shadow .2s;
    font-family: var(--font-body);
}

.search-wrap input::placeholder {
    color: var(--brand-muted);
}

.search-wrap input:focus {
    width: 260px;
    border-color: var(--brand-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 169, 110, .12);
}

.search-wrap button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--brand-muted);
    cursor: pointer;
    font-size: .9rem;
    transition: color var(--transition);
}

.search-wrap button:hover {
    color: var(--brand-accent);
}

/* ── Mobile Offcanvas ─────────────────────────────────────────── */
#mobileNav .offcanvas-header {
    border-bottom: 1px solid var(--brand-border);
    padding: 1rem 1.25rem;
}

#mobileNav .offcanvas-body {
    padding: 0;
}

#mobileNav .nav-link {
    font-size: .88rem;
    font-weight: 500;
    color: var(--brand-dark);
    padding: .55rem .5rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

#mobileNav .nav-link:hover {
    background: var(--brand-light);
    color: var(--brand-accent);
}

/* ═══════════════════════════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════════════════════════ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    z-index: 1060;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: var(--brand-white);
    z-index: 1061;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 32px rgba(0, 0, 0, .12);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand-light);
}

.cart-drawer-header h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--brand-border);
    align-items: flex-start;
    transition: background var(--transition);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--brand-light);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: .87rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-variant {
    font-size: .73rem;
    color: var(--brand-muted);
    margin-top: 2px;
}

.cart-item-price {
    font-size: .87rem;
    font-weight: 700;
    color: var(--brand-accent);
    margin-top: 4px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: 7px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid var(--brand-border);
    background: var(--brand-white);
    border-radius: var(--radius-sm);
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    line-height: 1;
}

.qty-btn:hover {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
}

.qty-value {
    font-size: .83rem;
    font-weight: 600;
    min-width: 22px;
    text-align: center;
}

.cart-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--brand-muted);
}

.cart-empty i {
    font-size: 3.5rem;
    margin-bottom: .85rem;
    opacity: .5;
}

.cart-empty p {
    font-size: .9rem;
}

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--brand-border);
    background: var(--brand-light);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--brand-border);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-dark-brand {
    background: var(--brand-dark);
    color: #fff !important;
    border: 2px solid var(--brand-dark);
    font-size: .83rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .65rem 1.6rem;
    border-radius: 0;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform .15s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-dark-brand:hover {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-dark-brand:active {
    transform: translateY(0);
}

.btn-dark-brand:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

.btn-accent-brand {
    background: var(--brand-accent);
    color: #fff !important;
    border: 2px solid var(--brand-accent);
    font-size: .83rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .65rem 1.6rem;
    border-radius: 0;
    transition: background var(--transition), transform .15s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-accent-brand:hover {
    background: var(--brand-accent-dk);
    border-color: var(--brand-accent-dk);
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-accent-brand:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

.btn-outline-brand {
    background: transparent;
    color: var(--brand-dark) !important;
    border: 2px solid var(--brand-dark);
    font-size: .83rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .65rem 1.6rem;
    border-radius: 0;
    transition: all var(--transition), transform .15s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline-brand:hover {
    background: var(--brand-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-outline-accent {
    background: transparent;
    color: var(--brand-accent) !important;
    border: 2px solid var(--brand-accent);
    font-size: .83rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .65rem 1.6rem;
    border-radius: 0;
    transition: all var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
}

.btn-outline-accent:hover {
    background: var(--brand-accent);
    color: #fff !important;
}

/* spin icon utility */
.spin-icon {
    animation: spin .6s linear infinite;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.section-label {
    font-size: .68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-accent);
    font-weight: 600;
    margin-bottom: .4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--brand-dark);
}

.divider-accent {
    width: 42px;
    height: 3px;
    background: var(--brand-accent);
    margin: .8rem 0 1.6rem;
    border-radius: 2px;
}

.divider-accent.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD
   ═══════════════════════════════════════════════════════════════ */
.product-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    transition: box-shadow var(--transition), transform var(--transition);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius-sm);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card .card-img-wrap {
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #f0ece6;
    position: relative;
}

.product-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

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

.product-card .card-body {
    padding: .9rem 1rem 1rem;
}

.product-card .card-title {
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: .3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--brand-dark);
}

.product-card .price-new {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: .98rem;
}

.product-card .price-old {
    font-size: .78rem;
    color: var(--brand-muted);
    text-decoration: line-through;
    margin-left: .35rem;
}

.badge-sale {
    background: var(--brand-accent);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .22rem .5rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.badge-featured {
    background: var(--brand-dark);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .22rem .5rem;
    border-radius: var(--radius-sm);
}

/* Quick-add button slides up on hover */
.quick-add-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    color: #fff;
    text-align: center;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    padding: .6rem;
    transform: translateY(100%);
    transition: transform .25s ease, background var(--transition);
    cursor: pointer;
    border: none;
    width: 100%;
    font-family: var(--font-body);
}

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

.quick-add-btn:hover {
    background: var(--brand-accent);
}

/* ── Wishlist button overlay ─────────────────────────────────── */
.product-card .wishlist-overlay {
    position: absolute;
    top: .6rem;
    right: .6rem;
    background: rgba(255, 255, 255, .9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .85rem;
    opacity: 0;
    transform: scale(.8);
    transition: opacity var(--transition), transform var(--transition);
    color: var(--brand-muted);
}

.product-card:hover .wishlist-overlay {
    opacity: 1;
    transform: scale(1);
}

.product-card .wishlist-overlay:hover {
    color: var(--brand-danger);
    background: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION (Home)
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    min-height: 88vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2520 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200, 169, 110, .18), transparent);
    pointer-events: none;
}

/* Floating decorative circles */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(200, 169, 110, .12);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: .7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brand-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.hero-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--brand-accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.08;
    margin: 1rem 0 1.5rem;
    letter-spacing: -1px;
}

.hero-title em {
    color: var(--brand-accent);
    font-style: italic;
}

.hero-subtitle {
    color: rgba(255, 255, 255, .62);
    font-size: .96rem;
    max-width: 420px;
    line-height: 1.75;
    margin-bottom: 2.25rem;
}

.hero-stats {
    display: flex;
    gap: 1.75rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, .15);
    align-self: stretch;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hero-stat-lbl {
    font-size: .7rem;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-top: .2rem;
}

.hero-img-wrap {
    position: relative;
}

.hero-img-wrap img {
    border-radius: var(--radius-sm);
    height: 540px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
    box-shadow: var(--shadow-lg);
}

.hero-img-badge {
    position: absolute;
    bottom: 28px;
    left: -22px;
    background: var(--brand-accent);
    color: #fff;
    padding: .85rem 1.3rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: .92rem;
    box-shadow: 0 6px 24px rgba(200, 169, 110, .5);
    line-height: 1.4;
}

.hero-img-badge small {
    display: block;
    font-size: .64rem;
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: .15rem;
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE STRIP
   ═══════════════════════════════════════════════════════════════ */
.marquee-strip {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, .65);
    padding: .8rem 0;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

.marquee-inner {
    display: inline-flex;
    animation: marquee 22s linear infinite;
    gap: 2.5rem;
}

.marquee-inner:hover {
    animation-play-state: paused;
}

.marquee-inner span {
    font-size: .72rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    font-weight: 500;
}

.marquee-inner span i {
    color: var(--brand-accent);
    margin-right: .5rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORY CARDS (Home)
   ═══════════════════════════════════════════════════════════════ */
.cat-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #f0ece6;
    border-radius: var(--radius-sm);
    display: block;
}

.cat-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform .55s ease;
    display: block;
}

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

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .15) 55%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.cat-card-overlay h5 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 .15rem;
}

.cat-card-overlay small {
    color: rgba(255, 255, 255, .65);
    font-size: .74rem;
    letter-spacing: .3px;
}

/* ── Category hero (category/show.blade.php) ─────────────────── */
.cat-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #2d2520 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.cat-hero::after {
    content: attr(data-name);
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    color: rgba(255, 255, 255, .04);
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: -4px;
}

.subcategory-pill {
    background: transparent;
    border: 1.5px solid var(--brand-border);
    color: var(--brand-dark);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .3px;
    padding: .38rem .9rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    display: inline-block;
}

.subcategory-pill:hover,
.subcategory-pill.active {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
}

/* ═══════════════════════════════════════════════════════════════
   OFFER BANNER (Home)
   ═══════════════════════════════════════════════════════════════ */
.offer-banner {
    background: linear-gradient(100deg, #c8a96e 0%, #d4b97e 45%, #c8a96e 100%);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.offer-banner::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, .14), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .08), transparent 40%);
    pointer-events: none;
}

.offer-banner>* {
    position: relative;
    z-index: 1;
}

.offer-banner h3 {
    font-family: var(--font-display);
    color: var(--brand-dark);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: .5rem;
}

.offer-banner p {
    color: rgba(0, 0, 0, .68);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES ROW (Home)
   ═══════════════════════════════════════════════════════════════ */
.feature-tile {
    text-align: center;
    padding: 1.75rem 1rem;
    border: 1px solid var(--brand-border);
    background: var(--brand-white);
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.feature-tile:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.feature-tile i {
    font-size: 2rem;
    color: var(--brand-accent);
}

.feature-tile h6 {
    font-weight: 700;
    font-size: .9rem;
    margin: .65rem 0 .35rem;
}

.feature-tile p {
    margin: 0;
    color: var(--brand-muted);
    font-size: .8rem;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS (Home)
   ═══════════════════════════════════════════════════════════════ */
.testimonial-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    padding: 1.85rem;
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: .95rem;
    letter-spacing: .15rem;
}

.testimonial-text {
    font-size: .88rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin: .85rem 0;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    font-size: .84rem;
}

.testimonial-loc {
    font-size: .76rem;
    color: var(--brand-muted);
}

/* ── Avatar ────────────────────────────────────────────────────── */
.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-dk));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════════════════════════ */
.product-thumb-list {
    display: flex;
    gap: .5rem;
    flex-direction: column;
}

.product-thumb-item {
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
    background: #f0ece6;
    flex-shrink: 0;
}

.product-thumb-item.active,
.product-thumb-item:hover {
    border-color: var(--brand-accent);
}

.product-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-img-wrap {
    aspect-ratio: 3/4;
    background: #f0ece6;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-sm);
}

.main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s;
}

.zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .7rem;
    padding: .28rem .6rem;
    border-radius: var(--radius-sm);
    letter-spacing: .3px;
}

/* Variant selectors */
.size-btn {
    min-width: 48px;
    height: 44px;
    border: 1.5px solid var(--brand-border);
    background: var(--brand-white);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    border-radius: 0;
    padding: 0 .75rem;
    font-family: var(--font-body);
    color: var(--brand-dark);
}

.size-btn:hover,
.size-btn.selected {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: #fff;
}

.size-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s, border-color .15s, box-shadow .15s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.color-dot.selected,
.color-dot:hover {
    border-color: var(--brand-dark);
    transform: scale(1.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

/* Qty box (product detail) */
.qty-box {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--brand-border);
    width: fit-content;
    border-radius: 0;
}

.qty-box button {
    width: 42px;
    height: 46px;
    border: none;
    background: var(--brand-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    font-family: var(--font-body);
    color: var(--brand-dark);
}

.qty-box button:hover {
    background: var(--brand-accent);
    color: #fff;
}

.qty-box input {
    width: 54px;
    height: 46px;
    border: none;
    border-left: 1px solid var(--brand-border);
    border-right: 1px solid var(--brand-border);
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--brand-dark);
    background: var(--brand-white);
}

.qty-box input:focus {
    outline: none;
}

/* remove arrows */
.qty-box input[type=number]::-webkit-inner-spin-button,
.qty-box input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Tab nav */
.tab-nav .nav-link {
    font-size: .83rem;
    font-weight: 600;
    color: var(--brand-muted);
    border-radius: 0;
    border-bottom: 2px solid transparent;
    padding: .7rem 1.35rem;
    transition: color var(--transition), border-color var(--transition);
}

.tab-nav .nav-link.active {
    color: var(--brand-dark);
    border-bottom-color: var(--brand-accent);
    background: none;
}

.tab-nav .nav-link:hover {
    color: var(--brand-dark);
}

/* Trust badges */
.trust-badge {
    font-size: .77rem;
    color: var(--brand-muted);
    display: flex;
    align-items: center;
    gap: .3rem;
}

.trust-badge i {
    color: var(--brand-accent);
}

/* ═══════════════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════════════ */
.cart-row {
    transition: background var(--transition);
    border-radius: var(--radius-sm);
}

.cart-row:hover {
    background: rgba(200, 169, 110, .04);
}

/* Cart order summary box */
.summary-box {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    padding: 1.75rem;
    position: sticky;
    top: 80px;
    border-radius: var(--radius-sm);
}

.summary-box h5 {
    font-family: var(--font-display);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: .87rem;
    margin-bottom: .55rem;
    color: var(--brand-dark);
}

.summary-row.total {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: .5rem;
    padding-top: .75rem;
    border-top: 2px solid var(--brand-border);
}

/* Coupon input */
.coupon-wrap .form-control {
    border-radius: 0;
    border-color: var(--brand-border);
    font-size: .83rem;
    background: var(--brand-light);
}

.coupon-wrap .form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: none;
}

.coupon-wrap .btn {
    border-radius: 0;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .4px;
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════════════════════ */
.checkout-form .form-control,
.checkout-form .form-select {
    border-radius: 0;
    font-size: .87rem;
    border-color: var(--brand-border);
    padding: .6rem .9rem;
    background: var(--brand-white);
    font-family: var(--font-body);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.checkout-form .form-control:focus,
.checkout-form .form-select:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, .12);
}

.checkout-form label {
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .28rem;
    letter-spacing: .2px;
    color: var(--brand-dark);
}

.section-box {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-sm);
}

.section-box h5 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .55rem;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--brand-accent);
    color: #fff;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-method-card {
    border: 1.5px solid var(--brand-border);
    padding: .9rem 1rem;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    display: flex;
    align-items: center;
    gap: .75rem;
    border-radius: var(--radius-sm);
}

.payment-method-card:hover {
    border-color: var(--brand-accent);
}

.payment-method-card.selected {
    border-color: var(--brand-dark);
    background: var(--brand-light);
    box-shadow: 0 0 0 1px var(--brand-dark);
}

.payment-method-card i {
    color: var(--brand-accent);
}

.payment-method-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.payment-method-sub {
    font-size: .71rem;
    color: var(--brand-muted);
    margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   ORDER SUCCESS PAGE
   ═══════════════════════════════════════════════════════════════ */
.success-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: popIn .4s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon i {
    font-size: 2.5rem;
    color: var(--brand-success);
}

.order-detail-box {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
}

.order-detail-box .detail-label {
    font-size: .8rem;
    color: var(--brand-muted);
    margin-bottom: .2rem;
}

.order-detail-box .detail-val {
    font-weight: 700;
    font-size: .9rem;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS LISTING PAGE
   ═══════════════════════════════════════════════════════════════ */
.filter-sidebar .form-check-label {
    font-size: .83rem;
    cursor: pointer;
}

.filter-sidebar .form-check {
    margin-bottom: .35rem;
}

.filter-sidebar .form-check-input:checked {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
}

.filter-header {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    border-bottom: 1px solid var(--brand-border);
    padding-bottom: .5rem;
    margin-bottom: .85rem;
    color: var(--brand-dark);
}

.active-filter-badge {
    background: var(--brand-dark);
    color: #fff;
    font-size: .7rem;
    padding: .22rem .55rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    transition: background var(--transition);
}

.active-filter-badge:hover {
    background: var(--brand-danger);
}

/* Sort select */
.sort-select {
    border-radius: 0;
    border-color: var(--brand-border);
    font-size: .82rem;
    font-family: var(--font-body);
    background: var(--brand-white);
}

.sort-select:focus {
    border-color: var(--brand-accent);
    box-shadow: none;
}

/* Color swatches in filter */
.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
    vertical-align: middle;
    margin-right: 4px;
}

.color-swatch.selected,
.color-swatch:hover {
    border-color: var(--brand-dark);
    transform: scale(1.15);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */
.about-hero {
    background: var(--brand-dark);
    padding: clamp(3rem, 8vw, 5.5rem) 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200, 169, 110, .15), transparent);
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(200, 169, 110, .1);
    pointer-events: none;
}

.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
}

.stat-item {
    text-align: center;
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid var(--brand-border);
    background: var(--brand-white);
    height: 100%;
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.stat-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    color: var(--brand-muted);
    margin-top: .3rem;
}

.values-card {
    padding: 1.75rem;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    text-align: center;
    height: 100%;
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.values-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.values-card i {
    font-size: 2rem;
    color: var(--brand-accent);
}

.values-card h6 {
    font-weight: 700;
    margin: .85rem 0 .5rem;
}

.values-card p {
    font-size: .81rem;
    color: var(--brand-muted);
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-input {
    border-radius: 0 !important;
    border-color: var(--brand-border) !important;
    font-size: .87rem !important;
    padding: .65rem .9rem !important;
    font-family: var(--font-body) !important;
    transition: border-color var(--transition) !important, box-shadow var(--transition) !important;
}

.contact-input:focus {
    border-color: var(--brand-accent) !important;
    box-shadow: 0 0 0 3px rgba(200, 169, 110, .12) !important;
}

.info-tile {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition);
}

.info-tile:hover {
    box-shadow: var(--shadow-sm);
}

.info-tile-icon {
    width: 44px;
    height: 44px;
    background: #faf3e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brand-accent);
    font-size: 1.15rem;
}

.info-tile-title {
    font-weight: 700;
    font-size: .87rem;
    margin-bottom: .2rem;
}

.info-tile-text {
    font-size: .81rem;
    color: var(--brand-muted);
    line-height: 1.55;
}

.hours-box {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.hours-box h6 {
    font-family: var(--font-display);
    margin-bottom: .8rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    margin-bottom: .45rem;
}

.hours-row .day {
    color: var(--brand-muted);
}

.hours-row .time {
    font-weight: 600;
}

.hours-row.closed .time {
    color: var(--brand-danger);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, .68);
    padding: 4rem 0 1.75rem;
    margin-top: 5rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-dk), var(--brand-accent));
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.footer-brand span {
    color: var(--brand-accent);
}

.footer-desc {
    font-size: .83rem;
    line-height: 1.75;
    max-width: 270px;
    margin-top: .75rem;
}

.footer-heading {
    font-family: var(--font-display);
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: .3px;
}

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

.footer-links li {
    margin-bottom: .5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    font-size: .83rem;
    transition: color var(--transition), padding-left var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.footer-links a:hover {
    color: var(--brand-accent);
    padding-left: .25rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: .65rem;
}

.footer-contact-item i {
    color: var(--brand-accent);
    margin-top: .12rem;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .55);
    font-size: 1rem;
    transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    color: #fff;
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .1);
    margin: 2.25rem 0 1.5rem;
}

.footer-bottom {
    font-size: .78rem;
    color: rgba(255, 255, 255, .38);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: .5rem;
    filter: grayscale(40%);
    opacity: .7;
    transition: opacity var(--transition);
}

.footer-payment-icons:hover {
    opacity: 1;
    filter: none;
}

/* Newsletter form */
.newsletter-form {
    display: flex;
    gap: .5rem;
}

.newsletter-form input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: .81rem;
    padding: .5rem .85rem;
    border-radius: 0;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, .35);
}

.newsletter-form input:focus {
    border-color: var(--brand-accent);
    background: rgba(255, 255, 255, .1);
}

.newsletter-form button {
    white-space: nowrap;
    font-size: .76rem;
    padding: .5rem .9rem;
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════ */
.breadcrumb {
    font-size: .78rem;
    --bs-breadcrumb-divider-color: var(--brand-muted);
    flex-wrap: wrap;
}

.breadcrumb-item a {
    color: var(--brand-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--brand-accent);
}

.breadcrumb-item.active {
    color: var(--brand-muted);
}

/* ═══════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════ */
.pagination .page-link {
    border-radius: 0 !important;
    color: var(--brand-dark);
    border-color: var(--brand-border);
    font-size: .82rem;
    font-weight: 600;
    padding: .45rem .8rem;
    transition: all var(--transition);
}

.pagination .page-link:hover {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
}

.pagination .page-item.active .page-link {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   FORM ELEMENTS (global)
   ═══════════════════════════════════════════════════════════════ */
.form-check-input:checked {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(200, 169, 110, .2);
    border-color: var(--brand-accent);
}

/* ═══════════════════════════════════════════════════════════════
   STOCK STATUS
   ═══════════════════════════════════════════════════════════════ */
.stock-in {
    color: var(--brand-success);
    font-size: .83rem;
    font-weight: 500;
}

.stock-out {
    color: var(--brand-danger);
    font-size: .83rem;
    font-weight: 500;
}

.stock-low {
    color: #d97706;
    font-size: .83rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   BACK-TO-TOP
   ═══════════════════════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    background: var(--brand-dark);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brand-accent);
}

/* ═══════════════════════════════════════════════════════════════
   TOASTR OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
#toast-container>.toast {
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-md) !important;
    font-family: var(--font-body) !important;
    font-size: .85rem !important;
    padding: 12px 14px 12px 50px !important;
}

#toast-container>.toast-success {
    background-color: #0f5132 !important;
}

#toast-container>.toast-error {
    background-color: #842029 !important;
}

#toast-container>.toast-info {
    background-color: #0c4a6e !important;
}

/* ═══════════════════════════════════════════════════════════════
   BOOTSTRAP FORM OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
.form-control,
.form-select {
    font-family: var(--font-body);
    border-color: var(--brand-border);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, .15);
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS & EFFECTS
   ═══════════════════════════════════════════════════════════════ */
/* Fade-in on scroll (add .fade-up class to elements) */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, #f0ece6 25%, #e8e2d9 50%, #f0ece6 75%);
    background-size: 200% 100%;
    animation: skeleton-load 1.4s ease infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-load {
    from {
        background-position: 200% 0;
    }

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

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 991px) ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .hero-img-wrap img {
        height: 420px;
    }

    .hero-img-badge {
        left: 0;
        bottom: 16px;
    }

    .cat-card img {
        height: 260px;
    }

    .product-thumb-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: .5rem;
    }

    .product-thumb-item {
        flex-shrink: 0;
    }

    .main-img-wrap {
        aspect-ratio: 4/3;
    }

    .section-box {
        padding: 1.25rem;
    }
}

/* ── Mobile (≤ 767px) ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
    :root {
        --navbar-h: 60px;
    }

    body {
        padding-top: var(--navbar-h);
    }

    .navbar-brand-text {
        font-size: 1.35rem;
    }

    .hero-section {
        min-height: 75vh;
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
        letter-spacing: -.5px;
    }

    .hero-subtitle {
        font-size: .88rem;
    }

    .hero-stats {
        gap: 1.1rem;
    }

    .cat-card img {
        height: 200px;
    }

    .cat-card-overlay h5 {
        font-size: 1rem;
    }

    .cart-drawer {
        width: 100vw;
    }

    .search-wrap input {
        width: 130px;
    }

    .search-wrap input:focus {
        width: 150px;
    }

    .offer-banner {
        padding: 2rem 1.25rem;
    }

    .section-title {
        font-size: clamp(1.45rem, 5vw, 2rem);
    }

    .about-hero {
        text-align: center;
    }

    .about-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .checkout-form .row {
        gap: .5rem;
    }

    .site-footer {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .filter-sidebar {
        margin-bottom: 1.5rem;
    }

    .filter-sidebar.sticky-top {
        position: static;
    }

    .product-thumb-list {
        flex-direction: row;
    }

    .main-img-wrap {
        aspect-ratio: 1/1;
    }

    .qty-box button {
        width: 36px;
        height: 40px;
    }

    .qty-box input {
        width: 46px;
        height: 40px;
    }
}

/* ── Small Mobile (≤ 575px) ────────────────────────────────────── */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title em {
        display: block;
    }

    .hero-stats>div {
        min-width: 0;
    }

    .cat-card img {
        height: 160px;
    }

    .product-card .card-body {
        padding: .65rem .75rem;
    }

    .product-card .card-title {
        font-size: .82rem;
    }

    .product-card .price-new {
        font-size: .9rem;
    }

    .btn-dark-brand,
    .btn-accent-brand,
    .btn-outline-brand {
        font-size: .78rem;
        padding: .6rem 1.15rem;
    }

    .section-box {
        padding: 1rem;
    }

    .payment-method-card {
        padding: .7rem .75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .footer-desc {
        max-width: 100%;
    }

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

    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
}

/* ── Large Desktop (≥ 1400px) ──────────────────────────────────── */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4.8rem;
    }

    .cat-card img {
        height: 360px;
    }
}

/* Page heading */
.orders-page-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2rem);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

/* Individual order card */
.order-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--brand-border);
}

.order-number {
    font-weight: 700;
    font-size: .95rem;
    color: var(--brand-dark);
    letter-spacing: .2px;
}

.order-date {
    font-size: .77rem;
    color: var(--brand-muted);
    margin-top: .2rem;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: .28rem .65rem;
    border-radius: var(--radius-pill);
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-shipped {
    background: #e0f2fe;
    color: #0369a1;
}

.status-delivered {
    background: #dcfce7;
    color: #15803d;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-refunded {
    background: #f3e8ff;
    color: #6b21a8;
}

.status-paid {
    background: #dcfce7;
    color: #15803d;
}

.status-unpaid {
    background: #fee2e2;
    color: #991b1b;
}

.status-cod {
    background: #fef3c7;
    color: #92400e;
}

/* Item thumbnails row */
.order-items-preview {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.order-thumb {
    width: 68px;
    flex-shrink: 0;
    text-align: center;
}

.order-thumb-img {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
}

.order-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.order-card:hover .order-thumb-img img {
    transform: scale(1.06);
}

.order-thumb-label {
    font-size: .68rem;
    color: var(--brand-muted);
    margin-top: .25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-thumb-more {
    width: 68px;
    height: 68px;
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .73rem;
    color: var(--brand-muted);
    font-weight: 600;
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    padding-top: .85rem;
    border-top: 1px solid var(--brand-border);
}

.order-total-text {
    font-size: .88rem;
    color: var(--brand-dark);
}

.order-total-text strong {
    font-size: .98rem;
    font-family: var(--font-display);
}

.order-total-text .text-muted {
    color: var(--brand-muted) !important;
    font-size: .78rem;
}

/* Empty state */
.orders-empty {
    text-align: center;
    padding: 4.5rem 1rem;
}

.orders-empty i {
    font-size: 4rem;
    color: var(--brand-muted);
    opacity: .45;
}

.orders-empty h5 {
    margin-top: 1rem;
    font-family: var(--font-display);
}

/* ═══════════════════════════════════════════════════════════════
   ORDER DETAIL PAGE  (orders/show.blade.php)
   ═══════════════════════════════════════════════════════════════ */

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.order-detail-back {
    font-size: .81rem;
    color: var(--brand-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .5rem;
    transition: color var(--transition);
}

.order-detail-back:hover {
    color: var(--brand-accent);
}

.order-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: .15rem;
    line-height: 1.2;
}

.order-detail-date {
    font-size: .8rem;
    color: var(--brand-muted);
}

/* Tracking stepper */
.order-tracker {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.tracker-steps {
    display: flex;
    position: relative;
    justify-content: space-between;
}

/* Base line */
.tracker-steps::before {
    content: '';
    position: absolute;
    top: 13px;
    left: calc(100% / 8);
    right: calc(100% / 8);
    height: 2px;
    background: var(--brand-border);
    z-index: 0;
}

/* Progress line */
.tracker-progress {
    position: absolute;
    top: 13px;
    left: calc(100% / 8);
    height: 2px;
    background: var(--brand-accent);
    z-index: 1;
    transition: width .5s ease;
}

.tracker-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.tracker-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--brand-border);
    background: var(--brand-white);
    color: var(--brand-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 700;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.tracker-step.done .tracker-step-dot {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
}

.tracker-step.current .tracker-step-dot {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 13, 13, .1);
}

.tracker-step-label {
    font-size: .7rem;
    margin-top: .4rem;
    color: var(--brand-muted);
    font-weight: 400;
    white-space: nowrap;
}

.tracker-step.done .tracker-step-label,
.tracker-step.current .tracker-step-label {
    color: var(--brand-dark);
    font-weight: 600;
}

/* Order items list */
.order-items-box {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.order-items-box h6 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--brand-border);
}

.order-item-row {
    display: flex;
    gap: 1rem;
    padding: .85rem 0;
    align-items: center;
    border-bottom: 1px solid var(--brand-border);
}

.order-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-item-row:first-child {
    padding-top: 0;
}

.order-item-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--brand-light);
    flex-shrink: 0;
    border: 1px solid var(--brand-border);
}

.order-item-name {
    font-weight: 600;
    font-size: .88rem;
}

.order-item-variant {
    font-size: .75rem;
    color: var(--brand-muted);
    margin-top: 2px;
}

.order-item-qty {
    font-size: .81rem;
    margin-top: 4px;
    color: var(--brand-muted);
}

.order-item-total {
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
}

/* Shipping address box */
.order-address-box {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
}

.order-address-box h6 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.order-address-text {
    font-size: .87rem;
    line-height: 1.9;
    color: var(--brand-dark);
}

/* Payment summary box */
.order-payment-box {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
}

.order-payment-box h6 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--brand-border);
}

.order-payment-row {
    display: flex;
    justify-content: space-between;
    font-size: .84rem;
    margin-bottom: .5rem;
    color: var(--brand-dark);
}

.order-payment-row.total {
    font-weight: 700;
    font-size: 1rem;
    padding-top: .65rem;
    margin-top: .35rem;
    border-top: 2px solid var(--brand-border);
    margin-bottom: 1rem;
}

.order-payment-method {
    font-size: .81rem;
    color: var(--brand-muted);
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem .75rem;
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
}

/* Cancelled/Refunded banner */
.order-status-banner {
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    font-size: .87rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.5rem;
}

.order-status-banner.cancelled {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.order-status-banner.refunded {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
}

/* ── Responsive: Orders pages ────────────────────────────────── */
@media (max-width: 767.98px) {
    .order-card {
        padding: 1.1rem;
    }

    .order-card-header {
        gap: .5rem;
    }

    .order-tracker {
        padding: 1.25rem 1rem;
    }

    .tracker-step-label {
        font-size: .62rem;
    }

    .order-items-box,
    .order-address-box,
    .order-payment-box {
        padding: 1.1rem;
    }

    .order-payment-box {
        position: static;
    }

    .order-detail-header {
        flex-direction: column;
        gap: .6rem;
    }

    .order-thumb {
        width: 58px;
    }

    .order-thumb-img {
        width: 58px;
        height: 58px;
    }

    .order-thumb-more {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 575.98px) {
    .order-card {
        padding: .9rem;
    }

    .order-items-preview {
        gap: .4rem;
    }

    .order-thumb {
        width: 52px;
    }

    .order-thumb-img {
        width: 52px;
        height: 52px;
    }

    .order-thumb-more {
        width: 52px;
        height: 52px;
        font-size: .65rem;
    }

    .tracker-steps::before {
        left: 5%;
        right: 5%;
    }

    .tracker-progress {
        left: 5%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PROFILE PAGE  (profile/show.blade.php)
   ═══════════════════════════════════════════════════════════════ */

/* ── Layout wrapper ──────────────────────────────────────────── */
.profile-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

/* ── Avatar card (left sidebar) ──────────────────────────────── */
.profile-avatar-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: 2rem 1.5rem;
    text-align: center;
    position: sticky;
    top: 84px;
}

.avatar-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    cursor: pointer;
}

.avatar-wrap img,
.avatar-wrap .avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.avatar-wrap .avatar-initials {
    background: var(--brand-accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.avatar-wrap:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay i {
    color: #fff;
    font-size: 1.3rem;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .15rem;
}

.profile-email {
    font-size: .8rem;
    color: var(--brand-muted);
    margin-bottom: .75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Status badge */
.profile-status-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: .22rem .75rem;
    border-radius: var(--radius-pill);
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-inactive {
    background: #f3f4f6;
    color: #374151;
}

.status-suspended {
    background: #fee2e2;
    color: #991b1b;
}

/* Stat row in sidebar */
.profile-stat-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--brand-border);
    flex-wrap: wrap;
}

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

.profile-stat-num {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1;
}

.profile-stat-label {
    font-size: .68rem;
    color: var(--brand-muted);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Quick nav links in sidebar */
.profile-nav-link {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .82rem;
    color: var(--brand-muted);
    text-decoration: none;
    padding: .45rem 0;
    border-radius: var(--radius-sm);
    transition: color var(--transition);
}

.profile-nav-link:hover {
    color: var(--brand-dark);
}

.profile-nav-link i {
    color: var(--brand-accent);
    flex-shrink: 0;
}

.profile-nav-logout {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .82rem;
    color: var(--brand-danger);
    background: transparent;
    border: none;
    padding: .45rem 0;
    cursor: pointer;
    width: 100%;
    font-family: var(--font-body);
    transition: opacity var(--transition);
}

.profile-nav-logout:hover {
    opacity: .75;
}

/* ── Tab navigation ──────────────────────────────────────────── */
.profile-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--brand-border);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.profile-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: .7rem 1.2rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--brand-muted);
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-body);
    transition: color var(--transition), border-color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.profile-tab-btn:hover {
    color: var(--brand-dark);
}

.profile-tab-btn.active {
    color: var(--brand-dark);
    border-bottom-color: var(--brand-accent);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ── Section title inside a tab ──────────────────────────────── */
.profile-section-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.profile-section-title i {
    color: var(--brand-accent);
}

.profile-section-title.danger {
    color: var(--brand-danger);
}

.profile-section-title.danger i {
    color: var(--brand-danger);
}

/* ── Form controls ───────────────────────────────────────────── */
.form-label-sm {
    font-size: .77rem;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: .3rem;
    display: block;
}

.profile-input {
    width: 100%;
    border: 1.5px solid var(--brand-border);
    border-radius: 0;
    font-size: .88rem;
    padding: .65rem .9rem;
    font-family: var(--font-body);
    color: var(--brand-dark);
    background: var(--brand-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.profile-input:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, .1);
}

.profile-input:disabled {
    background: #f9f9f7;
    color: var(--brand-muted);
    cursor: not-allowed;
}

.profile-input.is-invalid {
    border-color: var(--brand-danger);
}

.invalid-msg {
    font-size: .74rem;
    color: var(--brand-danger);
    margin-top: .25rem;
}

/* Phone input with prefix */
.input-group-phone {
    display: flex;
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 .75rem;
    background: #f4f1ed;
    border: 1.5px solid var(--brand-border);
    border-right: none;
    font-size: .84rem;
    color: var(--brand-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.input-group-phone .profile-input {
    flex: 1;
    border-left: none;
}

.input-group-phone .profile-input:focus {
    border-left: none;
}

/* Password input with toggle button */
.input-pw-wrap {
    position: relative;
}

.input-pw-wrap .profile-input {
    padding-right: 2.6rem;
}

.toggle-pw-btn {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--brand-muted);
    cursor: pointer;
    font-size: .95rem;
    padding: 0;
    line-height: 1;
    transition: color var(--transition);
}

.toggle-pw-btn:hover {
    color: var(--brand-dark);
}

/* ── Password strength meter ─────────────────────────────────── */
.pw-strength-wrap {
    margin-top: .45rem;
}

.pw-strength-bar {
    height: 3px;
    background: var(--brand-border);
    border-radius: 2px;
    overflow: hidden;
}

.pw-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width .3s ease, background .3s ease;
}

.pw-strength-label {
    font-size: .72rem;
    margin-top: .2rem;
    color: var(--brand-muted);
    font-weight: 500;
}

/* ── Save / action buttons ───────────────────────────────────── */
.btn-save {
    background: var(--brand-dark);
    color: #fff;
    border: none;
    padding: .65rem 1.75rem;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .3px;
    border-radius: 0;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background var(--transition), transform .15s;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
}

.btn-save:hover {
    background: var(--brand-accent);
    color: #fff;
    transform: translateY(-1px);
}

.btn-save:active {
    transform: translateY(0);
}

.btn-save:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.btn-outline-danger-brand {
    background: transparent;
    color: var(--brand-danger);
    border: 1.5px solid var(--brand-danger);
    padding: .65rem 1.75rem;
    font-size: .84rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: background var(--transition), color var(--transition);
}

.btn-outline-danger-brand:hover {
    background: var(--brand-danger);
    color: #fff;
}

/* ── Inline alert (success / error strip) ────────────────────── */
.inline-alert {
    font-size: .82rem;
    padding: .6rem .9rem;
    border-radius: 0;
    display: none;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
}

.inline-alert.success {
    background: #f0fdf4;
    color: #166534;
    border-left: 3px solid #16a34a;
}

.inline-alert.error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #ef4444;
}

/* ── Password tips box ───────────────────────────────────────── */
.pw-tips-box {
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    padding: .85rem 1rem;
    font-size: .78rem;
    color: var(--brand-muted);
    max-width: 520px;
    margin-top: 1.25rem;
    line-height: 1.6;
}

.pw-tips-box strong {
    color: var(--brand-dark);
    display: block;
    margin-bottom: .35rem;
}

.pw-tips-box ul {
    margin: 0;
    padding-left: 1.1rem;
}

/* ── Danger zone box ─────────────────────────────────────────── */
.danger-zone-box {
    border: 1px solid #fecaca;
    background: #fff5f5;
    padding: 1.5rem;
    border-radius: 0;
    max-width: 540px;
}

.danger-zone-box h6 {
    font-weight: 700;
    color: #991b1b;
    margin-bottom: .5rem;
}

.danger-zone-box p {
    font-size: .84rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

/* ── Order mini rows (Recent Orders tab) ─────────────────────── */
.order-mini-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8rem 0;
    border-bottom: 1px solid var(--brand-border);
    flex-wrap: wrap;
    gap: .5rem;
    transition: background var(--transition);
}

.order-mini-row:last-child {
    border-bottom: none;
}

.order-mini-row:hover {
    background: rgba(200, 169, 110, .04);
    padding-left: .35rem;
    padding-right: .35rem;
}

.order-mini-num {
    font-weight: 700;
    font-size: .88rem;
    color: var(--brand-dark);
    text-decoration: none;
    transition: color var(--transition);
}

.order-mini-num:hover {
    color: var(--brand-accent);
}

.order-mini-meta {
    font-size: .74rem;
    color: var(--brand-muted);
    margin-top: .15rem;
}

.order-mini-total {
    font-weight: 700;
    font-size: .9rem;
}

/* Orders-empty inside profile tab */
.profile-orders-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--brand-muted);
}

.profile-orders-empty i {
    font-size: 3rem;
    opacity: .45;
}

.profile-orders-empty p {
    font-size: .87rem;
    margin-top: .75rem;
}

/* ── Delete account modal overrides ──────────────────────────── */
.delete-modal-icon {
    width: 46px;
    height: 46px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
}

.delete-modal-icon i {
    color: var(--brand-danger);
    font-size: 1.2rem;
}

/* ── Password match message ──────────────────────────────────── */
.pw-match-msg {
    font-size: .74rem;
    margin-top: .25rem;
    min-height: 1.1em;
}

.pw-match-ok {
    color: var(--brand-success);
}

.pw-match-err {
    color: var(--brand-danger);
}

/* ── Responsive: Profile page ────────────────────────────────── */
@media (max-width: 991.98px) {
    .profile-avatar-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .profile-wrap {
        padding: 1.5rem .75rem;
    }

    .profile-avatar-card {
        padding: 1.5rem 1rem;
        margin-bottom: .5rem;
    }

    .avatar-wrap {
        width: 84px;
        height: 84px;
    }

    .avatar-wrap .avatar-initials {
        font-size: 1.8rem;
    }

    .profile-tab-btn {
        padding: .6rem .85rem;
        font-size: .79rem;
    }

    .profile-section-title {
        font-size: .92rem;
    }

    .btn-save,
    .btn-outline-danger-brand {
        font-size: .8rem;
        padding: .6rem 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .profile-stat-row {
        gap: 1rem;
    }

    .profile-tabs {
        gap: 0;
    }

    .profile-tab-btn {
        padding: .55rem .65rem;
        font-size: .75rem;
    }

    .order-mini-row {
        flex-direction: column;
        align-items: flex-start;
        gap: .4rem;
    }

    .danger-zone-box {
        padding: 1rem;
    }
}

/* ── Print ──────────────────────────────────────────────────────── */
@media print {

    .site-navbar,
    .cart-drawer,
    .cart-overlay,
    .site-footer,
    .back-to-top,
    .page-loader {
        display: none !important;
    }

    body {
        padding-top: 0;
    }
}