/* ==========================================================================
   AKIRAN FASHION BRAND - LUXURY STYLING & CAROUSEL STYLESHEET
   ========================================================================== */

:root {
    --primary: #8f1d22;
    --primary-dark: #631014;
    --primary-light: #b42b31;
    --primary-soft: #fdeee9;
    --primary-gradient: linear-gradient(135deg, #8f1d22 0%, #b8332b 50%, #681115 100%);
    
    --gold: #c59b27;
    --gold-light: #e5c158;
    --gold-dark: #987413;
    --gold-soft: #fbf5e6;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3dc8a 50%, #b88d1d 100%);
    
    --bg-page: #fff9f8;
    --bg-surface: #ffffff;
    --bg-alt: #fbf2ef;
    
    --dark: #1e1718;
    --dark-muted: #57484a;
    --border-light: rgba(143, 29, 34, 0.12);
    --border-gold: rgba(197, 155, 39, 0.35);
    
    --shadow-sm: 0 4px 15px rgba(60, 15, 18, 0.06);
    --shadow-md: 0 10px 30px rgba(60, 15, 18, 0.1);
    --shadow-lg: 0 20px 50px rgba(60, 15, 18, 0.16);
    --shadow-gold: 0 10px 25px rgba(197, 155, 39, 0.25);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--dark-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(143, 29, 34, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(143, 29, 34, 0.4);
    filter: brightness(1.08);
}

.btn-secondary {
    background: var(--gold-gradient);
    color: #382402;
    border-color: rgba(197, 155, 39, 0.4);
    box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 155, 39, 0.4);
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-light);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
}

.btn-dark {
    background: var(--dark);
    color: #ffffff;
}

.btn-dark:hover {
    background: #000000;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

.btn-danger {
    background: #b91c1c;
    color: #ffffff;
}

.btn-danger:hover {
    background: #991b1b;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BANNER
   ========================================================================== */
.top-banner {
    background: linear-gradient(90deg, #580f12 0%, #8f1d22 35%, #b8332b 50%, #8f1d22 65%, #580f12 100%);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
    position: relative;
    z-index: 60;
}

.banner-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.top-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.banner-sparkle {
    color: var(--gold-light);
    font-size: 0.9rem;
    animation: sparkleGlow 2s infinite ease-in-out;
}

@keyframes sparkleGlow {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 6px var(--gold)); }
}

/* ==========================================================================
   STICKY NAVBAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 32px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 6px 25px rgba(70, 20, 25, 0.06);
    transition: all var(--transition-smooth);
}

.nav-left .brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 6px 15px rgba(143, 29, 34, 0.2);
    transition: transform var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary);
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.brand-tagline {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--dark-muted);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-soft);
}

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

.nav-dropdown .caret-icon {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .caret-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 100;
    animation: fadeInDown 0.25s ease;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    display: flex;
}

.dropdown-menu a, .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--dark);
    font-weight: 500;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover, .dropdown-menu .dropdown-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.dropdown-item i {
    font-size: 1.1rem;
    color: var(--primary);
}

.dropdown-item small {
    display: block;
    font-size: 0.75rem;
    color: var(--dark-muted);
}

/* Specific Nav Buttons */
.btn-order {
    background: var(--primary-gradient);
    color: #ffffff;
}

.btn-cancel {
    background: #fff;
    border: 1px solid var(--border-light);
    color: #b91c1c;
}

.btn-cancel:hover {
    background: #fef2f2;
    border-color: #b91c1c;
}

.btn-admin {
    background: var(--gold-gradient);
    color: #382402;
    border: 1px solid var(--border-gold);
}

.btn-admin:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HERO / HOME SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 24px;
    overflow: hidden;
    background: #180507;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(-0px) brightness(.60) saturate(1.30);
    transform: scale(1.08);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(197, 155, 39, 0.22);
    border: 1px solid var(--gold);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 20px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    color: #e3eaec;
    max-width: 780px;
    margin: 0 auto 34px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #ebdcd9;
}

.feature-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ==========================================================================
   PRODUCTS & 3 GALLERIES
   ========================================================================== */
.products-section {
    padding: 80px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    color: var(--dark);
    margin-bottom: 12px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 16px;
    max-width: 260px;
}

.section-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-divider i {
    color: var(--gold);
    font-size: 0.85rem;
}

.section-desc {
    color: var(--dark-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Currency Quick Selector Bar */
.currency-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    max-width: 720px;
    margin: 0 auto 50px;
}

.currency-label {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary-dark);
}

.currency-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.curr-btn {
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.curr-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.curr-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(143, 29, 34, 0.25);
}

/* Gallery Containers */
.gallery-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    margin-bottom: 60px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    position: relative;
}

.gallery-offer-wrapper {
    background: linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 15px 40px rgba(197, 155, 39, 0.14);
}

.gallery-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.gallery-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.offer-tag {
    color: #b91c1c;
    background: #fee2e2;
}

.gallery-heading {
    font-size: 1.65rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.gallery-info p {
    color: var(--dark-muted);
    font-size: 0.95rem;
    max-width: 650px;
}

.gallery-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.badge-count, .badge-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-alt);
    color: var(--dark);
    border: 1px solid var(--border-light);
}

.badge-timer i {
    color: var(--gold);
}

.offer-badge-count {
    background: var(--gold-gradient);
    color: #382402;
    border-color: var(--gold);
}

/* Gallery Grid Layouts */
.cards-grid {
    display: grid;
    gap: 28px;
}

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

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

/* ==========================================================================
   PRODUCT CARD & 3-SECOND CAROUSEL
   ========================================================================== */
.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
}

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

.product-card.offer-card {
    border-color: var(--border-gold);
}

/* Top Card Header Badge */
.card-header-bar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.card-code-badge {
    background: rgba(26, 12, 14, 0.85);
    backdrop-filter: blur(6px);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-stock-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.stock-in {
    background: rgba(22, 101, 52, 0.88);
    color: #ffffff;
}

.stock-low {
    background: rgba(202, 138, 4, 0.88);
    color: #ffffff;
}

.stock-out {
    background: rgba(185, 28, 28, 0.92);
    color: #ffffff;
}

.card-offer-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold-gradient);
    color: #382402;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 11;
}

.product-card.offer-card .card-offer-badge {
    top: 48px;
}

.offer-expiry-badge {
    position: absolute;
    top: 48px;
    right: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
    z-index: 11;
}

.product-card.offer-card .offer-expiry-badge {
    top: 82px;
}

/* Card Carousel Slider Area */
.card-carousel-container {
    position: relative;
    width: 100%;
    height: 380px;
    background: #f4ece9;
    overflow: hidden;
}

.card-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.card-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f4ece9;
    transition: transform 0.6s ease;
}

.product-card:hover .card-carousel-img {
    transform: scale(1.04);
}

/* Carousel Control Arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-fast);
    z-index: 8;
}

.carousel-btn.prev-btn { left: 8px; }
.carousel-btn.next-btn { right: 8px; }

.product-card:hover .carousel-btn {
    opacity: 0.9;
}

.carousel-btn:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

/* Carousel Indicator Dots */
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 8;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    width: 20px;
    border-radius: 4px;
    background: var(--gold);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

/* Card Body Content */
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.86rem;
    color: var(--dark-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    flex: 1;
}

/* Card Price Section */
.card-pricing-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.card-price-block {
    display: flex;
    flex-direction: column;
}

.price-strike {
    font-size: 0.88rem;
    color: #991b1b;
    text-decoration: line-through;
    opacity: 0.7;
}

.price-main {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.price-converted {
    font-size: 0.76rem;
    color: var(--dark-muted);
    font-weight: 600;
    margin-top: 2px;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-card-buy {
    flex: 1;
    padding: 9px 14px;
    font-size: 0.88rem;
}

/* ==========================================================================
   ABOUT BOUTIQUE SECTION
   ========================================================================== */
.about-section {
    padding: 60px 32px 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.about-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.about-image-col {
    position: relative;
    background: #25090b;
    min-height: 380px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-floating-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.about-floating-badge i {
    color: var(--gold);
    font-size: 1.2rem;
}

.about-content-col {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-eyebrow {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.about-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.about-text {
    color: var(--dark-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.highlight-box {
    display: flex;
    gap: 14px;
}

.highlight-box i {
    font-size: 1.4rem;
    color: var(--primary);
    background: var(--primary-soft);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-box h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.highlight-box p {
    font-size: 0.85rem;
    color: var(--dark-muted);
    line-height: 1.4;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 80px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
}

.contact-map-card, .contact-details-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.map-header {
    padding: 16px 20px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
}

.map-frame-wrapper {
    width: 100%;
    height: 450px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-details-card {
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.contact-card-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold);
    object-fit: cover;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-data {
    display: flex;
    flex-direction: column;
}

.info-data label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-muted);
    font-weight: 700;
}

.info-link, .info-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.info-link:hover {
    color: var(--primary);
}

/* Action Buttons (WhatsApp & Call) */
.contact-actions-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-call {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(143, 29, 34, 0.3);
}

.btn-call:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

/* Social Media Channels */
.social-channels {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    text-align: center;
}

.social-title {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark-muted);
    font-weight: 700;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff;
    transition: all var(--transition-fast);
}

.social-btn.whatsapp { background: #25d366; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.facebook { background: #1877f2; }
.social-btn.youtube { background: #ff0000; }

.social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #140708;
    color: #f1dfdc;
    padding: 70px 32px 24px;
    border-top: 2px solid var(--gold);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.footer-col h4 {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

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

.footer-logo {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold);
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d1b8b6;
    margin-bottom: 14px;
}

.footer-badges {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--gold-light);
}

.footer-links, .footer-country-rates {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #d1b8b6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

.footer-country-rates li {
    color: #d1b8b6;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-country-rates strong {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--gold);
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.84rem;
    color: #a38c8b;
}

/* ==========================================================================
   MODALS ARCHITECTURE
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 5, 7, 0.78);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: modalFadeIn 0.25s ease;
}

.modal-backdrop.show {
    display: flex;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-sm { max-width: 460px; }
.modal-md { max-width: 600px; }
.modal-lg { max-width: 860px; }
.modal-xl { max-width: 1180px; }

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    font-size: 1.3rem;
    line-height: 1;
    color: var(--dark-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: #b91c1c;
    color: #ffffff;
}

.modal-header-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.modal-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold);
    object-fit: cover;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.modal-sub {
    font-size: 0.88rem;
    color: var(--dark-muted);
}

/* Modal Form Styles */
.modal-form-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-section-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-top: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid #d4c5c4;
    background: #ffffff;
    color: var(--dark);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(143, 29, 34, 0.15);
}

.form-control-readonly {
    background: var(--bg-alt);
    font-weight: 700;
    color: var(--primary);
    cursor: default;
}

.input-with-action {
    display: flex;
    gap: 8px;
}

.form-row {
    display: grid;
    gap: 16px;
}

.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.form-actions.space-between {
    justify-content: space-between;
}

/* Order Choice Box */
.order-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.btn-choice {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    border-radius: var(--radius-md);
}

.btn-choice i {
    font-size: 1.8rem;
}

.btn-choice small {
    display: block;
    font-size: 0.78rem;
    opacity: 0.85;
    font-weight: normal;
}

/* Product Preview Box (After Code Lookup) */
.product-preview-box {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gold);
    padding: 0;
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
    animation: fadeInDown 0.3s ease;
    overflow: hidden;
}

.preview-thumb {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    background: #f4ece9;
    border-right: 1px solid var(--border-gold);
}

.preview-carousel-container {
    width: 50%;
    height: 380px;
    flex: 0 0 50%;
}

.preview-carousel-container .carousel-btn {
    opacity: 0.9;
}

.preview-details {
    width: 50%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-price-strike {
    color: #991b1b;
    margin-right: 8px;
}

.preview-details h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.stitch-rate-guide-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
}

.guide-eyebrow {
    color: var(--gold-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.stitch-rate-guide {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 8px;
    list-style: none;
    flex: 1;
}

.stitch-rate-guide li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
}

.stitch-rate-guide strong {
    color: var(--primary);
    font-size: 0.95rem;
}

.preview-code-tag {
    display: inline-block;
    background: var(--dark);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
}

/* Alert Boxes */
.alert-box {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.alert-danger {
    background: #fee2e2;
    border: 1px solid #f87171;
    color: #991b1b;
}

.alert-danger i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Order Pricing Summary in Forms */
.order-pricing-summary {
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
}

.converted-line {
    color: var(--primary-dark);
    font-weight: 600;
    border-top: 1px dashed var(--border-light);
    padding-top: 6px;
}

.total-line {
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
}

.total-badge {
    background: var(--primary-gradient);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
}

/* Post-Order Success Box */
.order-success-box {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    font-size: 3.5rem;
    color: #16a34a;
    margin-bottom: 14px;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.order-id-pill {
    display: inline-block;
    background: var(--gold-soft);
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    font-size: 1.1rem;
    padding: 8px 24px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}

.success-note {
    max-width: 580px;
    margin: 0 auto 28px;
    color: var(--dark-muted);
}

.order-action-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Drag and Drop Zone */
.file-upload-zone {
    border: 2px dashed #caa8a8;
    border-radius: var(--radius-md);
    padding: 22px;
    text-align: center;
    background: var(--bg-alt);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-upload-zone:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.file-input-hidden {
    display: none;
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--dark-muted);
}

.drop-icon {
    font-size: 2rem;
    color: var(--primary);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
}

.uploaded-previews-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.upload-preview-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border-light);
}

/* ==========================================================================
   INVOICE / BILL DOCUMENT STYLES
   ========================================================================== */
.invoice-dialog {
    max-width: 900px;
    background: #2b1f21;
    padding: 24px;
}

.invoice-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

.invoice-paper {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: #1a1a1a;
    position: relative;
    border: 1px solid #e2d2d0;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.invoice-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.invoice-logo {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold);
    object-fit: cover;
}

.invoice-brand h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
}

.invoice-sub {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.invoice-meta {
    text-align: right;
    font-size: 0.85rem;
}

.invoice-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.06em;
}

.invoice-line {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold), transparent);
    margin: 20px 0;
}

.invoice-parties {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 0.88rem;
}

.invoice-bill-to h4, .invoice-order-extra h4 {
    font-size: 0.92rem;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.88rem;
}

.invoice-table th {
    background: #fbf2ef;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 10px 12px;
    border-bottom: 2px solid var(--border-light);
    text-align: left;
}

.invoice-table td {
    padding: 12px;
    border-bottom: 1px solid #f0e2df;
}

.invoice-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 30px;
}

.invoice-notes {
    font-size: 0.8rem;
    color: var(--dark-muted);
}

.invoice-notes h4 {
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.invoice-totals {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
}

.tot-row {
    display: flex;
    justify-content: space-between;
}

.tot-row.converted {
    color: var(--primary);
    font-weight: 600;
    border-top: 1px dashed #e2d2d0;
    padding-top: 4px;
}

.tot-row.grand-total {
    border-top: 2px solid var(--primary);
    padding-top: 8px;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

/* Invoice Signature Block */
.invoice-signature-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eededb;
}

.seal-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px dashed var(--gold);
    border-radius: var(--radius-sm);
    color: var(--gold-dark);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.signature-box {
    text-align: center;
    width: 200px;
}

.signature-line-drawn {
    font-family: 'Playfair Display', cursive;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--primary);
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.auth-title {
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
}

.signature-box small {
    font-size: 0.7rem;
    color: var(--dark-muted);
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-lock-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.captcha-badge-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt);
    border: 1px solid var(--border-gold);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.btn-captcha-refresh {
    background: none;
    border: none;
    color: var(--gold-dark);
    cursor: pointer;
    font-size: 1.1rem;
}

.admin-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.admin-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gold);
}

.admin-status-badge {
    font-size: 0.78rem;
    color: #16a34a;
    font-weight: 700;
}

.admin-header-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-tab-btn {
    padding: 9px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--bg-alt);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.admin-tab-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
}

.admin-tab-pane {
    display: none;
}

.admin-tab-pane.active {
    display: block;
}

.admin-orders-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 22px;
}

.admin-orders-hero h3 {
    color: var(--primary-dark);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    margin-bottom: 6px;
}

.admin-orders-hero p {
    color: var(--dark-muted);
}

.admin-orders-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.admin-summary-card {
    min-height: 112px;
    padding: 17px 16px;
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--summary-accent, var(--primary));
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #fff 0%, var(--summary-tint, #fff8f5) 100%);
    box-shadow: 0 8px 18px rgba(75, 27, 31, .07);
}

.admin-summary-card span,
.admin-summary-card small {
    display: block;
}

.admin-summary-card span {
    color: var(--dark-muted);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.admin-summary-card span i {
    color: var(--summary-accent, var(--primary));
    margin-right: 5px;
}

.admin-summary-card strong {
    display: block;
    margin: 8px 0 3px;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    line-height: 1;
}

.admin-summary-card small {
    color: var(--dark-muted);
    font-size: .72rem;
}

.summary-total { --summary-accent: #a83f4d; --summary-tint: #fff1f1; }
.summary-active { --summary-accent: #21864b; --summary-tint: #effaf3; }
.summary-stitch { --summary-accent: #6d55a8; --summary-tint: #f5f1ff; }
.summary-ready { --summary-accent: #c27a16; --summary-tint: #fff8e9; }
.summary-pending { --summary-accent: #b45d22; --summary-tint: #fff4ea; }
.summary-value { --summary-accent: #28768b; --summary-tint: #edfafd; }

.orders-panel {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 10px 28px rgba(75, 27, 31, .08);
}

.orders-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-light);
}

.orders-search {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.orders-search i {
    position: absolute;
    top: 50%;
    left: 13px;
    color: var(--dark-muted);
    transform: translateY(-50%);
}

.orders-search input {
    width: 100%;
    padding: 11px 12px 11px 38px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font: inherit;
}

.orders-message {
    margin: 0;
    padding: 12px 18px 0;
    color: var(--dark-muted);
    font-size: .84rem;
    font-weight: 600;
}

.orders-table-wrap {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
    font-size: .82rem;
}

.orders-table th,
.orders-table td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    vertical-align: middle;
}

.orders-table th {
    color: var(--primary-dark);
    background: #fff8f5;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.orders-table tbody tr:hover {
    background: #fffaf8;
}

.admin-product-record {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 190px;
}

.admin-order-image,
.admin-order-image-placeholder {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--dark-muted);
    object-fit: cover;
}

.admin-order-image {
    cursor: zoom-in;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.admin-order-image:hover {
    transform: scale(1.08);
    box-shadow: 0 5px 14px rgba(75, 27, 31, .2);
}

.admin-image-preview-dialog {
    max-width: 920px;
    padding: 26px;
    background: #21181a;
    color: #fff;
}

#adminImagePreviewModal {
    z-index: 1100;
}

.admin-image-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-right: 32px;
}

.admin-image-preview-header h3 {
    max-width: 650px;
    color: #fff;
    font-size: 1.3rem;
}

.admin-image-preview-header .orders-eyebrow {
    margin-bottom: 5px;
    color: #e7b56c;
}

.admin-image-counter {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid rgba(231, 181, 108, .45);
    border-radius: var(--radius-full);
    color: #f6d69f;
    font-size: .8rem;
    font-weight: 800;
}

.admin-image-stage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: min(68vh, 620px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    background: #120e0f;
}

.admin-image-stage img {
    display: block;
    width: min(100%, 720px);
    max-height: min(68vh, 620px);
    margin: auto;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.admin-image-nav {
    display: flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    cursor: pointer;
}

.admin-image-nav:hover:not(:disabled) { background: var(--primary); }
.admin-image-nav:disabled { cursor: not-allowed; opacity: .3; }

.admin-image-file-name {
    min-height: 20px;
    margin: 12px 42px 0;
    color: rgba(255, 255, 255, .68);
    font-size: .8rem;
    text-align: center;
}

.admin-orders-panel {
    overflow: hidden;
}

.admin-orders-table td small {
    color: var(--dark-muted);
}

.admin-orders-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-top: 1px solid var(--border-light);
}

.admin-pagination-info {
    color: var(--dark-muted);
    font-size: .86rem;
    font-weight: 600;
}

.admin-pagination-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-pagination-actions button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.admin-order-status {
    background: #e6f5ea;
    color: #146c2e;
}

.cancel-request-note {
    min-width: 130px;
}

.cancel-request-pending {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--border-gold);
    color: var(--gold-dark);
    background: var(--gold-soft);
    border-radius: var(--radius-sm);
    font-size: .78rem;
    font-weight: 700;
}

@media (max-width: 760px) {
    .admin-orders-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-orders-hero { display: block; }
    .admin-orders-hero .orders-hero-actions { margin-top: 16px; }
    .orders-toolbar { align-items: stretch; flex-direction: column; }
    .orders-search { min-width: 0; }
    .admin-image-preview-dialog { padding: 20px 12px; }
    .admin-image-preview-header { align-items: flex-start; }
    .admin-image-preview-header h3 { font-size: 1.05rem; }
    .admin-image-stage { min-height: 48vh; padding: 8px; }
    .admin-image-nav { flex-basis: 34px; width: 34px; height: 34px; }
    .admin-orders-pagination { align-items: flex-start; flex-direction: column; }
}

.admin-pane-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-muted);
}

.search-box input {
    width: 100%;
    padding: 8px 14px 8px 38px;
    border-radius: var(--radius-full);
    border: 1px solid #d4c5c4;
    font-size: 0.88rem;
}

.filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.admin-table th {
    background: #fbf2ef;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid var(--border-light);
    color: var(--primary-dark);
}

.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0e2df;
}

.admin-table tr:hover td {
    background: var(--bg-alt);
}

/* Sub tabs for Updation */
.updation-sub-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.sub-tab-btn {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: transparent;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.sub-tab-btn.active {
    background: var(--gold-gradient);
    color: #382402;
    border-color: var(--gold);
}

.admin-subpane {
    display: none;
}

.admin-subpane.active {
    display: block;
}

.admin-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-product-row {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-prod-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-prod-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--gold);
}

.admin-prod-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.admin-card-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.rate-editor-heading,
.rate-editor-row {
    display: grid;
    grid-template-columns: 1fr 180px 42px;
    gap: 12px;
    align-items: center;
}

.rate-editor-heading {
    padding: 10px 0 6px;
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.country-editor-row {
    grid-template-columns: 1fr 1.6fr 110px 120px 130px 42px;
}

#stitchingRatesEditor {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.add-rate-btn {
    margin-top: 12px;
}

.pdf-render-target {
    position: fixed;
    left: -10000px;
    top: 0;
    display: block !important;
    width: 900px !important;
    max-width: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.image-input-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: #ffffff;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-top: 6px;
}

.admin-images-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.admin-media-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-gold);
    display: block;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--dark);
    color: #ffffff;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    pointer-events: none;
    border-left: 4px solid var(--gold);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ==========================================================================
   PRINT MEDIA STYLES
   ========================================================================== */
@media print {
    body * {
        visibility: hidden;
    }

    #invoicePaper, #invoicePaper * {
        visibility: visible;
    }

    #invoicePaper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        box-shadow: none !important;
        border: none !important;
    }

    .no-print, .top-banner, .navbar, .footer, .modal-close {
        display: none !important;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1080px) {
    .grid-3-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-card {
        grid-template-columns: 1fr;
    }
    
    .about-image-col {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 16px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-right {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        gap: 10px;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-right.active {
        display: flex;
    }

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

    .form-row-2, .form-row-3 {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .invoice-parties, .invoice-footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .image-input-modes {
        grid-template-columns: 1fr;
    }

    .modal-dialog {
        padding: 20px 16px;
    }

    .product-preview-box {
        flex-direction: column;
    }

    .preview-thumb,
    .preview-details {
        width: 100%;
    }

    .preview-carousel-container {
        width: 100%;
        flex-basis: 100%;
        height: 280px;
        min-height: 0;
        border-bottom: 1px solid var(--border-gold);
    }

    .preview-details {
        padding: 20px;
    }

    .stitch-rate-guide-box {
        align-items: stretch;
        flex-direction: column;
    }

    .stitch-rate-guide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rate-editor-heading,
    .rate-editor-row {
        grid-template-columns: 1fr 110px 36px;
    }

    #panelDeliveryRates .rate-editor-heading,
    #panelDeliveryRates .rate-editor-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #panelCountries .country-editor-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title {
        font-size: 2rem;
    }
}
