@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #f8f9fa; /* Warm, clean light-grey/white */
    --bg-card: #ffffff; /* Pure white card */
    --bg-input: #f1f5f9; /* Cool light grey for inputs */
    --accent: #c5a059; /* Luxe Champagne Gold */
    --accent-hover: #b0883d;
    --text-primary: #0f172a; /* Rich slate/charcoal */
    --text-muted: #64748b; /* Slate-muted grey */
    --border: rgba(0, 0, 0, 0.08); /* Subtle dark border for dividers */
    --border-focus: rgba(197, 160, 89, 0.4);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.07);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
}

.luxury-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1b2336;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ==========================================================================
   GLASS NAVIGATION HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-trigger {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding: 6px;
    transition: var(--transition);
}

.cart-trigger:hover {
    color: var(--accent);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08), transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(30, 41, 59, 0.5), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--accent);
    display: block;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-visual:hover img {
    transform: rotate(0deg) scale(1.02);
}

/* ==========================================================================
   CATEGORY LISTINGS
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 40px 0 80px;
}

.category-card {
    position: relative;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
}

.category-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    filter: brightness(0.6) saturate(0.8);
}

.category-card-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    background: linear-gradient(to top, rgba(7,9,14,0.9) 0%, transparent 60%);
}

.category-card-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.category-card-content span {
    font-size: 13px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.category-card:hover .category-card-bg {
    transform: scale(1.08);
    filter: brightness(0.7) saturate(1.1);
}

/* ==========================================================================
   PRODUCT CARDS GRID
   ========================================================================== */
.products-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
}

.section-header h2 span {
    color: var(--accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-container {
    position: relative;
    padding-top: 130%; /* Aspect ratio suitable for posters */
    background: #090c14;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: var(--shadow-md);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
}

.product-price span {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.view-details-btn {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover .view-details-btn {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   PRODUCT DETAILS & INTERACTIVE ROOM PREVIEW
   ========================================================================== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    padding: 60px 0;
}

/* Live Room Preview Container */
.preview-viewer {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0c0e14;
    box-shadow: var(--shadow-md);
}

.preview-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.preview-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.preview-tab.active {
    color: var(--accent);
    background: rgba(255,255,255,0.02);
    border-bottom: 2px solid var(--accent);
}

.preview-content {
    display: none;
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.preview-content.active {
    display: block;
}

/* Room Preview Scene */
.room-scene {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Absolute Positioned Frame inside living room */
.wall-frame-container {
    position: absolute;
    /* Adjust these to center the poster perfectly on the wall above the sofa */
    top: 30%;
    width: 22%;
    transition: var(--transition);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    display: flex;
}

/* Multipliers for visual frame sizing in living room */
.wall-frame-container.size-20x30 { width: 14%; top: 32%; }
.wall-frame-container.size-30x40 { width: 19%; top: 31%; }
.wall-frame-container.size-50x70 { width: 25%; top: 28%; }
.wall-frame-container.size-70x100 { width: 32%; top: 22%; }

/* Frame styling based on selection */
.mock-frame {
    width: 100%;
    height: 100%;
    border: 0px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

.wall-frame-container.frame-mdf .mock-frame {
    border: 2px solid #000;
    border-radius: 2px;
}

.wall-frame-container.frame-canvas .mock-frame {
    border: 4px solid #111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 5px rgba(0,0,0,0.5);
}

.wall-frame-container.frame-black .mock-frame {
    border: 12px solid #0a0a0a;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.wall-frame-container.frame-wooden .mock-frame {
    border: 12px solid #8B5A2B; /* Elegant wooden color */
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

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

/* Solo product display image zoom */
.solo-image-container {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.solo-image-container img {
    max-height: 80%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* Product Meta Info Form */
.product-detail-info h1 {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-detail-price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.product-detail-desc {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 16px;
}

/* Dynamic Option Selector Layouts */
.option-group {
    margin-bottom: 28px;
}

.option-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.option-label span {
    color: var(--accent);
    text-transform: none;
    font-weight: 400;
}

.grid-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.option-box:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255,255,255,0.01);
}

.option-box.active {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

.option-box-title {
    font-weight: 600;
    font-size: 15px;
}

.option-box-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Custom Text Input */
.custom-text-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: var(--transition);
}

.custom-text-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Actions */
.detail-actions-row {
    display: flex;
    gap: 16px;
    margin-top: 36px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-input);
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 44px;
    height: 100%;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.qty-btn:hover {
    color: var(--accent);
}

.qty-input {
    width: 40px;
    background: none;
    border: none;
    color: var(--text-primary);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    flex-grow: 1;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   SIDE DRAWER OVERLAY CART UI
   ========================================================================== */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.drawer-backdrop.active .cart-drawer {
    transform: translateX(-420px);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-drawer-close:hover {
    color: var(--accent);
}

.cart-drawer-items {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cart-item-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
}

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

.cart-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-item-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--accent);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 12px;
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background: rgba(7, 9, 14, 0.4);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 700;
    padding: 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--accent-hover);
}

/* ==========================================================================
   CHECKOUT PAGE & VISUAL CREDIT CARD FORM
   ========================================================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    padding: 50px 0;
}

.checkout-form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Credit Card Card Layout */
.cc-container {
    background: linear-gradient(135deg, #1b2336 0%, #0c0e14 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cc-container::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    top: -20px;
    right: -20px;
}

.cc-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border-radius: 6px;
}

.cc-number {
    font-size: 20px;
    letter-spacing: 0.15em;
    font-family: monospace;
    color: var(--text-primary);
}

.cc-bottom {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 12px;
}

/* Order Summary */
.summary-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    height: fit-content;
}

/* ==========================================================================
   SUCCESS RECEIPT PAGE
   ========================================================================== */
.success-card {
    max-width: 600px;
    margin: 80px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   ADMIN METRICS PANEL
   ========================================================================== */
.admin-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    padding: 40px 0;
}

.admin-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
}

.admin-menu-list {
    list-style: none;
}

.admin-menu-item a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 500;
}

.admin-menu-item.active a,
.admin-menu-item a:hover {
    color: var(--accent);
    background: rgba(212,175,55,0.05);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 8px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    font-weight: 600;
    color: var(--text-muted);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }
.status-shipped { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.status-cancelled { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* Responsive Adjustments */
@media (max-width: 968px) {
    .product-detail-grid,
    .checkout-grid,
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MULTI-THEME LIGHT OVERRIDES
   ========================================================================== */

/* 1. Takı (CREATHIVEJEWELRY - Luxury Light Gold & Warm Cream) */
body.theme-taki {
    --bg-dark: #faf8f5; /* Rich premium warm ivory background */
    --bg-card: #ffffff;
    --bg-input: #f5f1ea;
    --accent: #b89047; /* Warm luxurious deep champagne gold */
    --accent-hover: #9c7631;
    --text-primary: #2b231a; /* Warm charcoal dark grey */
    --text-muted: #7c7368;
    --border: rgba(184, 144, 71, 0.12);
    --border-focus: rgba(184, 144, 71, 0.4);
    
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body.theme-taki .logo {
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(184, 144, 71, 0.1);
}

body.theme-taki .cta-button, 
body.theme-taki .add-to-cart-btn {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(184, 144, 71, 0.25);
}

body.theme-taki .cta-button:hover,
body.theme-taki .add-to-cart-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 25px rgba(184, 144, 71, 0.4);
}

/* 2. Tişört (CREATHIVEWEAR - Light Modern Streetwear Pink) */
body.theme-tisort {
    --bg-dark: #f4f4f5; /* Clean light industrial slate */
    --bg-card: #ffffff;
    --bg-input: #e4e4e7;
    --accent: #ff2a85; /* Glowing Neon Hot Pink just like Luvetti! */
    --accent-hover: #e11d48;
    --text-primary: #09090b; /* Deep high-contrast black */
    --text-muted: #71717a;
    --border: rgba(255, 42, 133, 0.1);
    --border-focus: rgba(255, 42, 133, 0.4);
    
    --font-heading: 'Outfit', sans-serif;
    
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body.theme-tisort .logo {
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(255, 42, 133, 0.15);
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: 0.1em;
}

body.theme-tisort .logo span {
    color: #000000;
}

body.theme-tisort .cta-button, 
body.theme-tisort .add-to-cart-btn {
    box-shadow: 0 4px 15px rgba(255, 42, 133, 0.25);
    background: var(--accent);
    color: #ffffff;
}

body.theme-tisort .cta-button:hover,
body.theme-tisort .add-to-cart-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 42, 133, 0.4);
    background: var(--accent-hover);
}

body.theme-tisort .product-card,
body.theme-tisort .option-box {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* 3. Tablo (CREATHIVEDESIGN - Light Aesthetic Rose-Coral) */
body.theme-tablo {
    --bg-dark: #fafafb; /* Elegant soft white background */
    --bg-card: #ffffff;
    --bg-input: #f1f5f9;
    --accent: #de4e64; /* Soft rose-coral for personalized gifts! */
    --accent-hover: #be394d;
    --text-primary: #0f172a;
    --text-muted: #475569;
    --border: rgba(222, 78, 100, 0.08);
    --border-focus: rgba(222, 78, 100, 0.4);
    
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body.theme-tablo .logo {
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(222, 78, 100, 0.08);
}

body.theme-tablo .cta-button, 
body.theme-tablo .add-to-cart-btn {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(222, 78, 100, 0.2);
}

body.theme-tablo .cta-button:hover,
body.theme-tablo .add-to-cart-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 25px rgba(222, 78, 100, 0.35);
}


/* ==========================================================================
   LUXURY MULTI-SHOP PORTAL INTERFACE (LIGHT MODE)
   ========================================================================== */
.portal-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f1f3f6 70%);
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.portal-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 144, 71, 0.06) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.portal-wrapper::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 42, 133, 0.05) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    pointer-events: none;
}

.portal-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 10;
}

.portal-subtitle {
    color: #b89047;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 16px;
    animation: fadeInDown 0.8s ease;
}

.portal-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.portal-title span {
    font-weight: 300;
    font-style: italic;
    color: rgba(15, 23, 42, 0.6);
}

.portal-desc {
    color: #475569;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    width: 100%;
    max-width: 1160px;
    z-index: 10;
    perspective: 1000px;
}

.portal-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 50px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 480px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Card inner lighting shine */
.portal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Shop-specific glow and accent effects */
/* TAKI CARD */
.portal-card.card-taki {
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.portal-card.card-taki:hover {
    border-color: rgba(184, 144, 71, 0.4);
    box-shadow: 0 20px 50px rgba(184, 144, 71, 0.12);
    transform: translateY(-12px) scale(1.02);
}
.portal-card.card-taki .card-icon {
    background: rgba(184, 144, 71, 0.06);
    color: #b89047;
}
.portal-card.card-taki:hover .card-icon {
    background: #b89047;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(184, 144, 71, 0.3);
}

/* TISORT CARD */
.portal-card.card-tisort {
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.portal-card.card-tisort:hover {
    border-color: rgba(255, 42, 133, 0.4);
    box-shadow: 0 20px 50px rgba(255, 42, 133, 0.15);
    transform: translateY(-12px) scale(1.02);
}
.portal-card.card-tisort .card-icon {
    background: rgba(255, 42, 133, 0.06);
    color: #ff2a85;
}
.portal-card.card-tisort:hover .card-icon {
    background: #ff2a85;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 42, 133, 0.3);
}

/* TABLO CARD */
.portal-card.card-tablo {
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.portal-card.card-tablo:hover {
    border-color: rgba(222, 78, 100, 0.4);
    box-shadow: 0 20px 50px rgba(222, 78, 100, 0.15);
    transform: translateY(-12px) scale(1.02);
}
.portal-card.card-tablo .card-icon {
    background: rgba(222, 78, 100, 0.06);
    color: #de4e64;
}
.portal-card.card-tablo:hover .card-icon {
    background: #de4e64;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(222, 78, 100, 0.3);
}

/* Portal inner components */
.card-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 30px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.card-desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: auto;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #0f172a;
    padding: 14px 28px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.portal-card:hover .card-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Portal */
@media (max-width: 968px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .portal-card {
        height: auto;
        padding: 40px 30px;
    }
    
    .portal-title {
        font-size: 36px;
    }
}

/* Global Navigation Store Switcher */
.store-switcher-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.store-switcher-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   USER PROFILE HEADER ACTIONS
   ========================================================================== */
.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.user-name-indicator {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   USER AUTHENTICATION CARD & TAB STYLING
   ========================================================================== */
.auth-card-container {
    max-width: 500px;
    margin: 40px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.auth-tab.active {
    color: var(--accent);
    background: var(--bg-card);
    border-bottom: 2px solid var(--accent);
}

.auth-body {
    padding: 36px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

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

/* ==========================================================================
   USER DASHBOARD PANEL & ORDER HISTORY
   ========================================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.dashboard-orders-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.dashboard-order-row {
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}

.dashboard-order-row:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-sm);
}

.order-summary-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .order-summary-header {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

.order-expand-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.order-expand-btn i {
    transition: transform 0.3s ease;
}

.order-detail-expanded {
    display: none;
}

.order-detail-expanded.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

/* ==========================================================================
   DYNAMIC CUSTOM MOCKUPS FOR JEWELRY & APPAREL
   ========================================================================== */

/* 1. Jewelry Mockup Stand */
.jewelry-display-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -20%) scale(1);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(20,20,25,0.75) 0%, rgba(5,5,10,0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 20px rgba(212, 175, 55, 0.15);
    transition: var(--transition);
    z-index: 5;
}

.jewelry-display-container .mock-frame {
    width: 75%;
    height: 75%;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.jewelry-display-container.frame-gold {
    border-color: #d4af37;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(212, 175, 55, 0.35);
}

.jewelry-display-container.frame-rose {
    border-color: #c98276;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(201, 130, 118, 0.35);
}

.jewelry-display-container.frame-silver {
    border-color: #c0c0c0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(192, 192, 192, 0.3);
}

/* Multipliers for Jewelry sizes */
.jewelry-display-container.size-chain_45 { width: 170px; height: 170px; }
.jewelry-display-container.size-chain_50 { width: 200px; height: 200px; }
.jewelry-display-container.size-chain_60 { width: 230px; height: 230px; }

/* 2. Apparel Mockup Hanger */
.apparel-display-container {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 210px;
    height: 270px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
    transition: var(--transition);
    z-index: 5;
}

/* Hanger Hook Visual Representation */
.apparel-display-container::before {
    content: '';
    width: 44px;
    height: 44px;
    border: 3px solid #d4d4d8;
    border-bottom: none;
    border-right: none;
    border-radius: 40px 0 0 40px;
    transform: rotate(45deg);
    margin-top: -30px;
    margin-bottom: 8px;
    z-index: -1;
}

.apparel-display-container .mock-frame {
    width: 86%;
    height: 84%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

/* Fabric/Color themes overlay adjustments */
.apparel-display-container.frame-cotton_black .mock-frame {
    background: #18181b;
}

.apparel-display-container.frame-cotton_white .mock-frame {
    background: #fafafa;
}

.apparel-display-container.frame-cotton_grey .mock-frame {
    background: #a1a1aa;
}

/* Beden Sizing Multipliers */
.apparel-display-container.size-size_s { transform: translateX(-50%) scale(0.9); }
.apparel-display-container.size-size_m { transform: translateX(-50%) scale(1.0); }
.apparel-display-container.size-size_l { transform: translateX(-50%) scale(1.1); }
.apparel-display-container.size-size_xl { transform: translateX(-50%) scale(1.18); }

/* ==========================================================================
   GLOBAL PREMIUM AESTHETIC UPGRADES
   ========================================================================== */
body.theme-taki {
    background: radial-gradient(circle at 10% 20%, #faf8f5 0%, #f0ebdf 90%);
}
body.theme-tisort {
    background: radial-gradient(circle at 50% 50%, #f4f4f5 0%, #e4e4e7 90%);
}
body.theme-tablo {
    background: radial-gradient(circle at 80% 20%, #fafafb 0%, #f1e7e9 90%);
}
