/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/* --- Premium WebKit Scrollbars --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

:root {
    --bg-body: #fdf8f5;
    /* Warm off-white — complements the gold */
    --bg-card: #ffffff;
    --bg-card-hover: #fffbf8;
    --accent: #7B1E32;
    /* Deep Burgundy — logo text color */
    --accent-hover: #5C1525;
    /* Darker Burgundy — hover state */
    --gold: #C9A84C;
    /* Warm Gold — logo ornament color */
    --gold-hover: #A8893C;
    /* Deeper Gold — hover state */
    --text-primary: #1a0a0d;
    /* Almost-black with warm burgundy tint */
    --text-secondary: #6b5b5f;
    /* Warm muted text */
    --border: #f0e8e0;
    /* Warm sand border */
    --success: #0f766e;
    --danger: #991b1b;
    --shadow-sm: 0 1px 2px 0 rgba(107, 26, 42, 0.03);
    --shadow-md: 0 4px 12px -2px rgba(107, 26, 42, 0.07), 0 2px 6px -1px rgba(107, 26, 42, 0.03);
    --shadow-lg: 0 20px 40px -12px rgba(107, 26, 42, 0.10), 0 8px 16px -8px rgba(107, 26, 42, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.6rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-actions a {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-actions a:hover {
    color: var(--accent);
}

.cart-icon {
    position: relative;
    font-size: 1.25rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
}

/* --- Dropdown Menus --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-radius: 8px;
    z-index: 200;
    top: 100%;
    margin-top: 0.5rem;
    overflow: hidden;
}

.dropdown-content.dropdown-right {
    right: 0;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--accent);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(123, 31, 50, 0.05);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
}

.product-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #f1f5f9;
}

.product-info {
    padding: 1rem 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
    line-height: 1.35;
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: var(--text-primary);
}

.product-title a:hover {
    color: var(--accent);
}

.product-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    white-space: nowrap;
}

.product-price del {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 400;
    white-space: nowrap;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(123, 31, 50, 0.1);
}

/* --- Grid System --- */
.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ====================================================
   NAMED LAYOUT CLASSES (override inline styles via media queries)
   ==================================================== */

/* Hero split section */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 70vh;
    background: var(--bg-card);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-split-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-split-image {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

/* 4-column mobile grid (used for trust badges, categories, products) */
.grid-cols-mobile {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
}

/* 2-column mobile grid (legacy/story section) */
.grid-story {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 3.5rem;
}

/* Shop layout: sidebar + product grid */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

/* Prevent overflow on whole page */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}


/* --- Hero Section --- */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: #f1f5f9;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- Ticker --- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: #7B1E32;
    color: #f5e8c8;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
    font-weight: 500;
    font-size: 0.9rem;
}

@keyframes ticker {
    0% {
        transform: translate3d(100%, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* --- Alerts --- */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* --- Utilities --- */
.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

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

/* ====================================================
   HAMBURGER MOBILE MENU
   ==================================================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile nav drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-nav-drawer.active {
    transform: translateX(0);
    display: block;
}

.mobile-nav-drawer .brand {
    font-size: 1.4rem;
    display: block;
}

.mobile-nav-drawer a {
    display: block;
    padding: 0.85rem 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-drawer a:hover {
    background: rgba(123, 31, 50, 0.05);
    color: var(--accent);
    padding-left: 1.25rem;
}

.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.85rem 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
    font-family: inherit;
}

.mobile-dropdown-btn:hover {
    background: rgba(123, 31, 50, 0.05);
    color: var(--accent);
    padding-left: 1.25rem;
}

.mobile-dropdown-content {
    display: none;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-content a {
    border-bottom: none;
    padding-left: 2rem;
    font-size: 0.95rem;
}

.mobile-dropdown-content a:last-child {
    margin-bottom: 0.5rem;
}

.caret {
    transition: transform 0.3s;
}

.caret.rotate {
    transform: rotate(180deg);
}

.mobile-nav-drawer .mobile-nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* ====================================================
   FULL RESPONSIVE SYSTEM
   ==================================================== */

/* Tablet — 992px */
@media (max-width: 992px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-mobile {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .cart-layout,
    .checkout-layout,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .summary-card,
    .sidebar-filter {
        position: static;
    }

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

    .shop-hero h1 {
        font-size: 2.2rem;
    }

    .hero-premium h1 {
        font-size: 3.5rem;
    }

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

    .hero-split-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-split-image {
        min-height: 300px;
    }

    .hero-split-content {
        padding: 3rem 2rem !important;
    }

    .grid-story {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .shop-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile — 768px */
@media (max-width: 768px) {

    /* Grid */
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    /* Override ALL inline grids via named classes */
    .grid-cols-mobile {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .hero-split-grid {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .hero-split-image {
        display: none !important;
    }

    .hero-split-content {
        padding: 1.75rem 1.25rem !important;
    }

    .hero-split-content>div {
        max-width: 100% !important;
    }

    .grid-story {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .shop-layout {
        grid-template-columns: 1fr !important;
    }

    /* Compact Section Spacing */
    .mt-5 {
        margin-top: 1.5rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }

    .mt-4 {
        margin-top: 1rem !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    section {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .container.mt-5,
    .container.mb-5 {
        margin-top: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }

    /* Compact Section Headings */
    h2 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    h2[style*="font-size: 2.2rem"] {
        font-size: 1.5rem !important;
    }

    .text-center.mb-4 {
        margin-bottom: 0.75rem !important;
    }

    .text-center.mb-4 p {
        display: none;
    }

    /* hide subtitle paragraphs under headings on mobile */

    /* Compact paragraph & body text */
    p {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }

    .story-text p,
    .grid-story p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.75rem !important;
    }

    /* Container */
    .container {
        padding: 0 14px;
    }

    /* Navbar */
    .hamburger {
        display: flex;
    }

    .mobile-nav-drawer {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-actions>a[href="login.php"],
    .nav-actions>a[href="register.php"] {
        display: none;
    }

    /* Hide dashboard sidebar on mobile since we have the profile dropdown */
    .dashboard-nav {
        display: none !important;
    }

    .dashboard-layout {
        grid-template-columns: 1fr !important;
        display: block !important;
    }

    .navbar {
        padding: 0.4rem 0;
    }

    /* Hero */
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 0.95rem !important;
    }

    .hero-premium {
        padding: 3.5rem 0;
    }

    .hero-premium h1 {
        font-size: 2rem !important;
        letter-spacing: -1px;
    }

    .hero-premium p {
        font-size: 0.95rem !important;
    }

    .hero-glass-card {
        padding: 1.5rem 1rem;
    }

    .hero-split-content h1 {
        font-size: 1.8rem !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-split-content p {
        font-size: 0.9rem !important;
        margin-bottom: 1.25rem !important;
    }

    /* Trust badges */
    .trust-badge-row {
        margin-top: 1rem;
    }

    /* Sections */
    .promo-spotlight {
        padding: 2rem 1.25rem;
    }

    .promo-spotlight h2 {
        font-size: 1.6rem !important;
    }

    .coupon-box {
        font-size: 1rem;
    }

    .newsletter-card {
        padding: 1.75rem 1.25rem;
        margin: 1.5rem auto;
    }

    .newsletter-card h3 {
        font-size: 1.35rem !important;
    }

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

    .newsletter-form .btn {
        border-radius: 8px !important;
    }

    .newsletter-form.form-inline {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    /* About page */
    .about-hero {
        padding: 2rem 1.25rem;
    }

    .about-hero h1 {
        font-size: 1.9rem !important;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 3rem;
        padding-right: 0.5rem;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-badge {
        left: 12px !important;
        right: auto !important;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    #testimonial-slider-container {
        min-height: 300px !important;
    }

    .testimonial-card p {
        font-size: 0.92rem !important;
    }

    /* Shop */
    .shop-hero {
        padding: 1.75rem 1rem;
    }

    .shop-hero h1 {
        font-size: 1.6rem !important;
    }

    .sidebar-filter {
        position: static;
        margin-bottom: 1rem;
    }

    /* Product detail */
    .product-gallery-sticky {
        position: static;
    }

    .product-img {
        height: 200px;
    }

    .product-thumb {
        width: 60px;
        height: 60px;
    }

    /* Cart */
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-item-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cart-item-img {
        width: 100%;
        height: 180px;
        border-radius: 12px;
    }

    /* Dashboard */
    .dashboard-content {
        padding: 1rem 0.5rem !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .order-card-compact {
        padding: 1.25rem 1rem !important;
        align-items: stretch !important;
        flex-direction: column;
        gap: 1rem !important;
    }

    .order-card-actions {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-top: 1px dashed var(--border);
        padding-top: 1rem;
        text-align: left !important;
        width: 100%;
    }

    /* Auth */
    .auth-wrapper {
        padding: 1rem;
        min-height: auto;
    }

    .auth-wrapper--split {
        flex-direction: column;
        min-height: auto;
    }

    .auth-deco {
        display: none;
    }

    .auth-panel {
        padding: 1.5rem 1rem;
        width: 100%;
    }

    .auth-card {
        padding: 1.5rem 1.25rem;
        max-width: 100%;
    }

    .auth-card h2 {
        font-size: 1.5rem !important;
    }

    .auth-deco__title {
        font-size: 1.8rem;
    }

    .otp-digit {
        width: 42px;
        height: 52px;
        font-size: 1.3rem;
        border-radius: 10px;
        gap: 0.4rem;
    }

    .otp-input-group {
        gap: 0.45rem;
    }

    /* Footer */
    .site-footer {
        padding: 2rem 0 1.5rem;
        margin-top: 2rem;
    }

    .site-footer .grid-cols-4 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-newsletter-form .form-control {
        border-radius: 6px;
    }

    .footer-newsletter-form .btn {
        border-radius: 6px;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
    }

    /* Orders */
    .order-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .item-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Stat Grid */
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Category cards */
    .category-img-wrap {
        height: 130px;
    }

    .category-circle-card {
        padding: 0.6rem;
    }

    .category-circle-card h3 {
        font-size: 0.9rem;
        margin-top: 0.4rem;
    }

    /* Product card image */
    .product-img {
        height: 185px;
    }

    .product-info {
        padding: 0.85rem !important;
    }

    .product-price {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-premium h1 {
        font-size: 1.75rem;
    }

    .promo-spotlight h2 {
        font-size: 1.4rem;
    }

    .about-hero h1 {
        font-size: 1.75rem;
    }

    .auth-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    .auth-card h2 {
        font-size: 1.4rem;
    }

    .btn-google {
        font-size: 0.9rem;
    }

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

    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid-cols-mobile {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }

    .newsletter-card h3 {
        font-size: 1.35rem;
    }

    .product-info {
        padding: 1rem;
    }

    .cart-item-img {
        height: 160px;
    }

    .category-img-wrap {
        height: 130px;
    }

    .category-circle-card h3 {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .trust-badge-card {
        padding: 1.5rem 1rem;
    }

    .value-card {
        padding: 1.75rem 1.25rem;
    }

    .promo-spotlight {
        padding: 2rem 1rem;
        text-align: left;
    }

    .coupon-box {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .ticker {
        font-size: 0.8rem;
    }

    .site-footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .hero-split-content h1 {
        font-size: 2rem !important;
    }

    .hero-split-content {
        padding: 2rem 1rem !important;
    }

    #testimonial-slider-container {
        min-height: 400px !important;
    }

    .product-img {
        height: 180px;
    }

    section>.container h2 {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 2rem 0 !important;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* --- Product Page Specific --- */
.variant-options {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.size-btn,
.color-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 500;
}

.color-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.size-btn:hover,
.color-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.size-btn.selected,
.color-btn.selected {
    border-color: var(--accent);
    background: rgba(123, 31, 50, 0.05);
    color: var(--accent);
}

/* --- Orders Page Specific --- */
.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: bold;
}

.order-card {
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.order-header {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-body {
    padding: 1.5rem;
}

.item-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

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

/* ==========================================================================
   NEW PREMIUM AESTHETIC UPGRADE STYLES
   ========================================================================== */

/* --- Micro-Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(123, 31, 50, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(123, 31, 50, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(123, 31, 50, 0);
    }
}

.float-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
}

/* --- Hero Section Revamp --- */
.hero-premium {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-premium h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--accent);
    letter-spacing: -2px;
}

.hero-premium p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* --- Trust / Feature Badges --- */
.trust-badge-row {
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    margin-bottom: 4rem;
}

.trust-badge-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.trust-badge-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.trust-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(123, 31, 50, 0.08);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.trust-badge-card:hover .trust-icon-wrap {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.1);
}

.trust-badge-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-badge-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Modern Category Cards --- */
.category-circle-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
    text-align: left;
    display: block;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-img-wrap {
    width: 100%;
    height: 280px;
    border-radius: 14px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-circle-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-circle-card:hover .category-img-wrap {
    border-color: var(--accent);
    transform: scale(1.05);
}

.category-circle-card:hover .category-img {
    transform: scale(1.15);
}

.category-circle-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.category-circle-card span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Product Cards Enhancements --- */
.badge-ribbon {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--danger);
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.badge-new {
    background: var(--success);
}

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

/* --- Elegant Promo Spotlight Banner --- */
.promo-spotlight {
    background: var(--accent);
    border-radius: 24px;
    padding: 5rem 3rem;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 4rem 0;
}

.promo-decor-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.promo-decor-circle-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.promo-spotlight h2 {
    font-size: 3rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.promo-spotlight p {
    font-size: 1.2rem;
    color: #FDF0D5;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.coupon-box {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.coupon-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    border-color: #ffffff;
}

/* --- Customer Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(123, 31, 50, 0.15);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(123, 31, 50, 0.1);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fdf0d5;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Outfit', sans-serif;
}

.user-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.user-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Premium Newsletter Section --- */
.newsletter-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 4rem auto;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: var(--accent);
    left: 0;
    top: 0;
}

.newsletter-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.newsletter-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-form .form-control {
    border-radius: 8px;
}

.newsletter-form .btn {
    white-space: nowrap;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* --- About Page Creative Styling --- */
.about-hero {
    background: rgba(123, 31, 50, 0.05);
    border-radius: 24px;
    padding: 5rem 2rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(123, 31, 50, 0.08);
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.value-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Milestones Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
    top: 0;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-badge {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid #ffffff;
    position: absolute;
    top: 6px;
    box-shadow: var(--shadow-sm);
    z-index: 5;
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -8px;
}

.timeline-content {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Upgraded Multi-Column Footer --- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid #1e293b;
}

.site-footer a {
    color: #94a3b8;
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.site-footer h4 {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: var(--accent);
}

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

.site-footer ul li {
    margin-bottom: 0.75rem;
}

.site-footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    padding-left: 0 !important;
}

.footer-newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.footer-newsletter-form .form-control {
    background: #1e293b;
    border-color: #334155;
    color: #ffffff;
    border-radius: 6px 0 0 6px;
}

.footer-newsletter-form .form-control:focus {
    border-color: var(--accent);
}

.footer-newsletter-form .btn {
    border-radius: 0 6px 6px 0;
    padding: 0.5rem 1rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.85rem;
}



/* ==========================================================================
   FRONTEND REWRITE - PROFESSIONAL UI UPGRADES
   ========================================================================== */

/* --- Shop Page Enhancements --- */
.shop-hero {
    background: #0f172a;
    padding: 4rem 0;
    text-align: center;
    color: #ffffff;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.shop-hero h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.sidebar-filter {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.sidebar-filter h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-filter ul {
    list-style: none;
}

.sidebar-filter li {
    margin-bottom: 0.75rem;
}

.sidebar-filter a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    padding: 0.25rem 0;
}

.sidebar-filter a:hover,
.sidebar-filter a.active {
    color: var(--accent);
    font-weight: 600;
    padding-left: 5px;
}

/* --- Product Detail Page --- */
.product-gallery-sticky {
    position: sticky;
    top: 100px;
}

.product-main-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.product-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.trust-box {
    background: #f8fafc;
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Authentication Pages (Login / Register / Forgot / Reset) --- */

/* Base single-column auth wrapper */
.auth-wrapper {
    display: flex;
    min-height: 80vh;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Split-panel layout (forgot/reset) */
.auth-wrapper--split {
    min-height: 88vh;
    padding: 0;
    align-items: stretch;
}

/* ── Decorative left panel ── */
.auth-deco {
    flex: 0 0 42%;
    background: #7B1E32;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.auth-deco__inner {
    position: relative;
    z-index: 2;
    padding: 3rem 3rem 3rem 3.5rem;
}

.auth-deco__blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.auth-deco__blob--1 {
    width: 320px;
    height: 320px;
    background: #C9A84C;
    top: -80px;
    right: -80px;
}

.auth-deco__blob--2 {
    width: 220px;
    height: 220px;
    background: #F0D9A0;
    bottom: -60px;
    left: -60px;
}

.auth-deco__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-deco__title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.auth-deco__sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 300px;
}

.auth-deco__list {
    list-style: none;
    padding: 0;
}

.auth-deco__list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.auth-deco__list i {
    font-size: 1.1rem;
    color: #E8CFA0;
    flex-shrink: 0;
}

/* ── Right form panel ── */
.auth-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--bg-body);
}

/* Card */
.auth-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    padding: 2.25rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent);
}

.auth-card h2 {
    font-size: 1.85rem;
    margin-bottom: 0.4rem;
    text-align: center;
}

.auth-card p.subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Card icon header */
.auth-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.auth-card__icon--primary {
    background: #FDF0D5;
    color: #9B2442;
}

.auth-card__icon--warning {
    background: #fef9c3;
    color: #ca8a04;
}

.auth-card__icon--success {
    background: #dcfce7;
    color: #16a34a;
}

.auth-card__icon--error {
    background: #fee2e2;
    color: #dc2626;
}

/* Floating label inputs */
.form-floating {
    position: relative;
    margin-bottom: 1.4rem;
}

.form-floating input {
    width: 100%;
    padding: 1.1rem 3rem 0.5rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-floating input:focus {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(107, 26, 42, 0.07);
}

.form-floating label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.93rem;
    transition: all 0.2s ease;
    pointer-events: none;
    background: transparent;
}

.form-floating input:focus~label,
.form-floating input:not(:placeholder-shown)~label {
    top: 0.55rem;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Password show/hide toggle */
.pwd-toggle {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 0.25rem;
    transition: color 0.2s;
    z-index: 5;
    display: flex;
    align-items: center;
}

.pwd-toggle:hover {
    color: var(--accent);
}

/* Password strength bar */
.pwd-strength-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pwd-strength-bar {
    flex: 1;
    height: 5px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.pwd-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.35s ease, background 0.35s ease;
}

.pwd-strength-label {
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 80px;
    text-align: right;
}

/* Alert banners */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.4rem;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
}

.auth-alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.auth-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.auth-alert--info {
    background: #fdf8ee;
    border: 1px solid #e8d5a3;
    color: #7B1E32;
}

/* Submit button */
.auth-submit-btn {
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 27, 75, 0.18);
}

/* Card footer / back link */
.auth-card__footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-back-link {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.auth-back-link:hover {
    color: var(--accent);
}

/* Google button */
.btn-google {
    background: #ffffff;
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Spinner animation for loading states */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── OTP Digit Input Group ────────────────────────────────────── */
.otp-input-group {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    margin: 0.5rem 0 1.5rem;
}

.otp-digit {
    width: 52px;
    height: 62px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Outfit', monospace;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
    caret-color: var(--accent);
}

.otp-digit:focus {
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(107, 26, 42, 0.08);
    transform: translateY(-2px);
}

.otp-digit:not(:placeholder-shown) {
    border-color: var(--accent);
    background: #fdf0d5;
    color: var(--accent);
}

/* --- Cart & Checkout --- */
.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.cart-items-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.cart-item-row {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

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

.cart-item-img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    background: #f8fafc;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e2e8f0;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-weight: 600;
    padding: 0.5rem 0;
}

.summary-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    padding-top: 1rem;
    border-top: 2px dashed var(--border);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Dashboard (Profile/Orders) --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

.dashboard-nav {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

.dashboard-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: rgba(123, 31, 50, 0.05);
    color: var(--accent);
    border-left-color: var(--accent);
}

.dashboard-content {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
}

.order-card-compact {
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.status-badge {
    padding: 0.3rem 0.5rem;
    border-radius: 30px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.status-processing {
    background: #FDF0D5;
    color: #9B2442;
}

.status-shipped {
    background: #dbeafe;
    color: #2563eb;
}

.status-delivered {
    background: #d1fae5;
    color: #059669;
}

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

/* --- Homepage Premium Sections --- */

/* 1. Material Studio */
.material-studio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.material-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-sm);
}

.material-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.material-card:hover img {
    transform: scale(1.05);
}

.material-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #ffffff;
}

/* 2. Occasion Edits */
.occasion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.occasion-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

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

.occasion-card img {
    width: 50%;
    height: 250px;
    object-fit: cover;
}

.occasion-content {
    padding: 2rem;
    width: 50%;
}

/* 3. Artisan Spotlight */
.artisan-spotlight {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    color: white;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.artisan-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.artisan-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    z-index: 1;
}

.artisan-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    max-width: 600px;
}

/* 4. Style Journal */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.journal-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.journal-card:hover {
    transform: translateY(-5px);
}

.journal-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.journal-content {
    padding: 1.5rem;
}

/* 5. Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.ig-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.ig-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.ig-card:hover img {
    transform: scale(1.1);
}

.ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
    font-size: 2rem;
}

.ig-card:hover .ig-overlay {
    opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .material-studio-grid,
    .occasion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .journal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .material-studio-grid,
    .journal-grid {
        grid-template-columns: 1fr;
    }
    .occasion-grid {
        grid-template-columns: 1fr;
    }
    .occasion-card {
        flex-direction: column;
    }
    .occasion-card img,
    .occasion-content {
        width: 100%;
    }
    .artisan-content {
        padding: 2rem;
    }
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}