/* ==========================================================================
   1. VARIABLES & SYSTEM ROOT
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #E6221E;
    --primary-dark: #A80E0C;
    --primary-light: #FF4A47;
    --primary-gradient: linear-gradient(135deg, #E6221E 0%, #A80E0C 100%);
    --primary-glow: rgba(230, 34, 30, 0.4);
    --primary-glow-light: rgba(230, 34, 30, 0.15);
    
    --bg-black: #000000;
    --bg-charcoal: #080808;
    --bg-dark-gray: #121212;
    --bg-card: #181818;
    --bg-card-hover: #222222;
    
    --border-color: #282828;
    --border-highlight: #3D3D3D;
    
    --text-primary: #F5F5F7;
    --text-secondary: #9EA1A5;
    --text-muted: #64676C;
    
    --success-color: #2E7D32;
    --success-glow: rgba(46, 125, 50, 0.3);
    --warning-color: #EF6C00;
    
    /* Font System */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Montserrat', var(--font-sans);
    
    /* Structural Elements */
    --header-height: 80px;
    --sidebar-width: 280px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ==========================================================================
   2. SYSTEM RESETS & GENERAL STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-black);
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

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

button {
    font-family: var(--font-sans);
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    transition: var(--transition-fast);
}

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

input, select, textarea {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: none;
    border: none;
}

ul {
    list-style: none;
}

.hidden {
    display: none !important;
}

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

.text-red {
    color: var(--primary-color) !important;
}

.text-green {
    color: #4CAF50 !important;
}

/* ==========================================================================
   3. ANIMATIONS
   ========================================================================== */
@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { transform: scale(1.05); opacity: 0.9; box-shadow: 0 0 0 20px rgba(230, 34, 30, 0); }
    100% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 0 0 rgba(230, 34, 30, 0); }
}

@keyframes pulseTriangle {
    0% { stroke-dashoffset: 350; fill: rgba(230, 34, 30, 0); }
    50% { fill: rgba(230, 34, 30, 0.1); }
    100% { stroke-dashoffset: 0; fill: rgba(230, 34, 30, 0.4); }
}

@keyframes floatHand {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

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

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

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

/* ==========================================================================
   4. SPLASH SCREEN STYLING
   ========================================================================== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.splash-logo-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    z-index: 2;
}

.logo-glow-ring {
    position: absolute;
    width: 130%;
    height: 130%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    z-index: 1;
    animation: pulseRing 2.5s infinite ease-in-out;
}

.splash-triangle-loader {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
}

.splash-triangle-loader svg {
    width: 100%;
    height: 100%;
}

.splash-triangle-loader polygon {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-dasharray: 350;
    stroke-dashoffset: 350;
    stroke-linejoin: round;
    animation: pulseTriangle 3s infinite ease-in-out forwards;
}

.splash-text-group {
    margin-bottom: 30px;
}

.splash-brand {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--primary-glow);
    margin-bottom: 5px;
}

.splash-tagline {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.splash-loading-bar-container {
    width: 100%;
    height: 3px;
    background-color: var(--bg-card);
    border-radius: 2px;
    overflow: hidden;
}

.splash-loading-progress {
    width: 0%;
    height: 100%;
    background: var(--primary-gradient);
    box-shadow: 0 0 8px var(--primary-color);
    transition: width 0.1s linear;
}

/* ==========================================================================
   5. HEADER & NAVIGATION STYLING
   ========================================================================== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.brand-identity .brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

.nav-brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}

/* Desktop navigation links */
.desktop-navigation .nav-list {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
}

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

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

/* Action button items */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-md);
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.action-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary-color);
    background-color: var(--bg-card);
    box-shadow: 0 0 10px var(--primary-glow-light);
}

.cart-indicator {
    position: relative;
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-gradient);
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    border: 1px solid var(--bg-black);
}

/* Search overlay layout */
.search-overlay-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-charcoal);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: none;
    animation: fadeIn var(--transition-fast) forwards;
}

.search-overlay-bar.active {
    display: block;
}

.search-bar-inner {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-black);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0 16px;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow-light);
}

.input-search-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 12px;
}

#global-search-input {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
}

#clear-search-btn {
    color: var(--text-muted);
    font-size: 1.1rem;
}

#clear-search-btn:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   6. MOBILE NAVIGATION BAR & SIDEBAR
   ========================================================================== */
.mobile-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--bg-charcoal);
    border-left: 1px solid var(--border-color);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-navigation.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-mobile-nav {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.mobile-nav-body {
    flex-grow: 1;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 10px 0;
}

.mobile-nav-item i {
    width: 24px;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--text-primary);
    text-shadow: 0 0 5px var(--primary-glow);
}

.mobile-nav-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.copyright-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sidebar Backdrop overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
    display: block;
}

/* ==========================================================================
   7. PROMO SLIDER & ADVERTISEMENT STYLING
   ========================================================================== */
.ad-slider-section {
    max-width: 1400px;
    margin: 20px auto 40px auto;
    padding: 0 24px;
}

.slider-viewport {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    min-height: 250px;
    display: flex;
    overflow: hidden;
    position: relative;
}

.slider-loading-state {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.slider-loading-state i {
    font-size: 2rem;
    color: var(--primary-color);
}

.ad-slide {
    min-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.ad-image-column {
    flex: 1 1 45%;
    height: 300px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.ad-image-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.1) 100%);
}

.ad-content-column {
    flex: 1 1 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad-tag {
    background: var(--primary-gradient);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    width: max-content;
    margin-bottom: 16px;
}

.ad-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.ad-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* ==========================================================================
   8. CATEGORIES & PRODUCTS GRID
   ========================================================================== */
.category-filter-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0 20px 0;
    margin-bottom: 20px;
}

.category-chip {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-radius: 30px;
    white-space: nowrap;
}

.category-chip:hover, .category-chip.active {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 10px var(--primary-glow-light);
}

.products-grid-wrapper {
    margin-bottom: 60px;
}

.grid-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
}

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

.grid-loading-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    gap: 16px;
    color: var(--text-secondary);
}

.loader-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* PRODUCT CARD STYLING */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(230, 34, 30, 0.15);
}

.product-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #0b0b0b;
    overflow: hidden;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-gradient);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    z-index: 2;
}

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    height: 54px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-specifications-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.spec-badge {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.product-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
    margin-top: auto;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.p-add-cart-btn {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px;
    border-radius: var(--border-radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.p-add-cart-btn:hover {
    border-color: var(--text-primary);
}

.p-buy-now-btn {
    background: var(--primary-gradient);
    color: var(--text-primary);
    padding: 10px;
    border-radius: var(--border-radius-md);
    font-size: 0.85rem;
    font-weight: 700;
}

.p-buy-now-btn:hover {
    box-shadow: 0 0 12px var(--primary-color);
}

/* ==========================================================================
   9. SERVICES, ABOUT & CONTACT SECTIONS
   ========================================================================== */
.app-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out forwards;
    padding: 40px 0;
}

.app-section.active {
    display: block;
}

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

.section-header-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

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

.section-main-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-tagline-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* SERVICES GRID STYLE */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(230, 34, 30, 0.1);
}

.service-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card-body {
    padding: 24px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
}

.service-contact-info {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ABOUT SECTION LAYOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.branding-frame {
    position: relative;
    padding: 10px;
    border: 1px dashed var(--border-highlight);
    border-radius: var(--border-radius-md);
}

.about-hero-image {
    width: 100%;
    border-radius: var(--border-radius-md);
}

.frame-accent-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--primary-color);
    border-style: solid;
    border-width: 0;
}

.frame-accent-corner.border-tr {
    top: -5px; right: -5px; border-top-width: 3px; border-right-width: 3px;
}

.frame-accent-corner.border-bl {
    bottom: -5px; left: -5px; border-bottom-width: 3px; border-left-width: 3px;
}

.about-content-details .about-main-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-para {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.corporate-milestones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.milestone-card {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
}

.milestone-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.milestone-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* CONTACT SECTION GRID */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-details-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
}

.panel-heading {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.contact-method-card:hover {
    border-color: var(--primary-color);
}

.card-icon-circle {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.2rem;
}

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

.card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.card-link-action {
    font-size: 1.05rem;
    font-weight: 700;
}

.operational-notice {
    display: flex;
    gap: 12px;
    background-color: rgba(239, 108, 0, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-top: 24px;
}

.warning-icon {
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.notice-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Inquiry Form */
.contact-form-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
}

.inquiry-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow-light);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 700;
}

.primary-red-gradient-btn {
    background: var(--primary-gradient);
    color: var(--text-primary);
}

.primary-red-gradient-btn:hover {
    box-shadow: 0 0 15px var(--primary-color);
}

/* ==========================================================================
   10. MODALS OVERLAYS & STRUCTURAL LAYOUT
   ========================================================================== */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn var(--transition-fast) forwards;
}

.modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    
    /* UNIVERSAL HEIGHT CONSTRAINTS */
    display: flex;
    flex-direction: column;
    max-height: 90vh; /* Stops the modal from exceeding 90% of the browser window height */
}

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

.modal-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.modal-close-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    
    /* ENABLES INTERNAL SCROLLBARS IF NEEDED */
    overflow-y: auto; /* Automatically scrolls vertically if content overflows */
    flex-grow: 1;     /* Allows the body area to fill the card frame dynamically */
}

/* USER AUTH TABS STYLE */
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.auth-tab-btn {
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
}

.auth-tab-btn.active {
    color: var(--text-primary);
    border-color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-glow-light);
}

.auth-form-subpanel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   11. PERSISTENT SHOPPING CART STYLE
   ========================================================================== */
.cart-drawer-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: var(--bg-charcoal);
    border-left: 1px solid var(--border-color);
    z-index: 10003;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#cart-modal-overlay.active .cart-drawer-container {
    right: 0;
}

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

.drawer-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.cart-list-scroller {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.empty-cart-splash {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 20px;
    color: var(--text-secondary);
}

.empty-cart-icon {
    font-size: 3rem;
    color: var(--text-muted);
}

.browse-catalog-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

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

/* CART ITEM COMPONENT STYLING */
.cart-item-card {
    display: flex;
    gap: 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-black);
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cart-item-attributes {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-charcoal);
}

.qty-step-btn {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

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

.qty-display-box {
    width: 30px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.cart-item-prices-block {
    text-align: right;
}

.cart-item-price {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1rem;
}

.cart-remove-item-trigger {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.cart-remove-item-trigger:hover {
    color: var(--primary-color);
}

/* Cart drawer Footer actions */
.cart-drawer-footer {
    background-color: var(--bg-charcoal);
    border-top: 1px solid var(--border-color);
    padding: 24px;
}

.checkout-breakdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.checkout-breakdown-row.highlight-row {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.total-red {
    color: var(--primary-color);
}

.cart-action-buttons-group {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 12px;
    margin-top: 20px;
}

.cart-secondary-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
}

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

.cart-primary-action-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
}

/* ==========================================================================
   12. STEP-BY-STEP CHECKOUT WIZARD STYLE
   ========================================================================== */
.checkout-wizard-card {
    max-width: 650px;
}

.wizard-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-charcoal);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-connector {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 10px;
    margin-top: -18px;
    z-index: 1;
}

/* Active and Completed step states */
.progress-step.active .step-num {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.progress-step.active .step-label {
    color: var(--text-primary);
}

.progress-step.completed .step-num {
    background-color: #2E7D32;
    border-color: #4CAF50;
    color: var(--text-primary);
}

.progress-step.completed .step-label {
    color: #4CAF50;
}

.progress-connector.completed {
    background-color: #2E7D32;
}

.checkout-wizard-body {
    padding: 32px;
}

/* STEP 1: PAYMENT GATEWAYS */
.payment-instructions-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-instruction-msg {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.financial-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gateway-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.gateway-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.airtel-card { border-color: rgba(230, 34, 30, 0.4); }
.airtel-card .gateway-header { background-color: rgba(230, 34, 30, 0.1); color: #FF4A47; }

.tnm-card { border-color: rgba(0, 102, 204, 0.4); }
.tnm-card .gateway-header { background-color: rgba(0, 102, 204, 0.1); color: #3399FF; }

.gateway-body {
    padding: 20px;
    background-color: var(--bg-charcoal);
    display: flex;
    flex-direction: column;
}

.account-number {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.account-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.account-owner {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.checkout-invoice-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    margin-top: 10px;
}

.invoice-summary-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.invoice-summary-val {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-color);
}

.wizard-navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.wizard-nav-btn {
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 0.95rem;
}

.secondary-back-btn {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.secondary-back-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.disabled-btn {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* STEP 2: SCREENSHOT UPLOAD DRAGZONE */
.drag-drop-dropzone {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-charcoal);
    border-radius: var(--border-radius-md);
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.drag-drop-dropzone:hover, .drag-drop-dropzone.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(230, 34, 30, 0.02);
}

.dropzone-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-prompt-icon {
    font-size: 3rem;
    color: var(--text-muted);
}

.drop-text-primary {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.drop-text-or {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.drop-select-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.dropzone-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background-color: var(--bg-black);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

#screenshot-image-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.dropzone-preview:hover .preview-overlay {
    opacity: 1;
}

.remove-preview-btn {
    background-color: var(--primary-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
}

/* Upload Progress indicator */
.upload-indicator-bar-container {
    width: 100%;
    height: 20px;
    background-color: var(--bg-charcoal);
    border-radius: var(--border-radius-sm);
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.upload-bar-fill {
    width: 0%;
    height: 100%;
    background-color: #2E7D32;
    transition: width 0.1s linear;
}

.upload-percentage-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* STEP 4: WHATSAPP REDIRECT SCREEN */
.success-icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px auto;
    font-size: 2.5rem;
    color: #4CAF50;
}

.success-pulse {
    animation: pulseRing 2s infinite ease-in-out;
}

.whats-instruction-lead {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.pointing-hand-animation {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.animated-hand {
    display: inline-block;
    animation: floatHand 1.5s infinite ease-in-out;
}

.whatsapp-trigger-btn {
    background-color: #25D366;
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 24px auto;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reset-checkout-btn {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
}

.flex-center {
    justify-content: center !important;
}

/* ==========================================================================
   13. HIDDEN ADMIN AUTH LAYOUT
   ========================================================================== */
.admin-disclaimer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.admin-gradient-btn {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: 1px solid var(--primary-color);
    color: var(--text-primary);
}

.admin-gradient-btn:hover {
    box-shadow: 0 0 15px var(--primary-glow);
    background-color: var(--bg-black);
}

/* ==========================================================================
   14. CENTRAL ADMINISTRATIVE CONTROL PANEL
   ========================================================================== */
.admin-dashboard-container {
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-black);
    display: flex;
    overflow: hidden;
}

#admin-dashboard-overlay {
    padding: 0;
}

.admin-db-sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-charcoal);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sidebar-identity {
    padding: 30px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
}

.admin-db-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

.admin-info-badge {
    display: flex;
    flex-direction: column;
}

.admin-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.admin-sub {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.admin-db-menu {
    flex-grow: 1;
    padding: 24px 16px;
}

.admin-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--border-radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
}

.admin-menu-item i {
    width: 20px;
}

.admin-menu-item:hover, .admin-menu-item.active {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.admin-menu-item.active {
    border-left: 3px solid var(--primary-color);
    background-color: rgba(230, 34, 30, 0.05);
}

.badge-new-orders {
    background-color: var(--primary-color);
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.admin-sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.admin-logout-btn {
    width: 100%;
    background-color: rgba(230, 34, 30, 0.1);
    color: #FF4A47;
    border: 1px solid rgba(230, 34, 30, 0.2);
    padding: 12px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 0.9rem;
}

.admin-logout-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

/* Dashboard main content */
.admin-db-main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-db-header {
    height: var(--header-height);
    border-bottom: 1px solid var(--border-color);
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-charcoal);
}

.admin-panel-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sync-indicator {
    font-size: 0.85rem;
    color: #4CAF50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-point {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4CAF50;
    display: inline-block;
    box-shadow: 0 0 8px #4CAF50;
}

.admin-db-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 32px;
}

.admin-subpanel {
    animation: fadeIn var(--transition-smooth) forwards;
}

/* STATISTICS OVERVIEW LAYOUT */
.statistics-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-box-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.stat-icon-wrapper.red-grad { background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%); }
.stat-icon-wrapper.purple-grad { background: linear-gradient(135deg, #8A2387 0%, #E94057 100%); }
.stat-icon-wrapper.orange-grad { background: linear-gradient(135deg, #F27121 0%, #E94057 100%); }
.stat-icon-wrapper.green-grad { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }

.stat-numeric-info {
    display: flex;
    flex-direction: column;
}

.stat-number-val {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* SECURE SYSTEM LOG PANEL */
.database-logs-analytics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.log-card-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
}

.panel-inner-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-log-scroller {
    background-color: var(--bg-black);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    height: 300px;
    overflow-y: auto;
    padding: 16px;
    font-family: monospace;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-entry-row {
    display: flex;
    gap: 12px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 6px;
}

.log-timestamp {
    color: var(--text-muted);
}

.log-payload {
    color: #4CAF50;
}

.empty-log-msg {
    color: var(--text-muted);
}

/* CRUD TABLES AND DATA ROW STYLING */
.subpanel-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.add-new-record-btn {
    background: var(--primary-gradient);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
}

.add-new-record-btn:hover {
    box-shadow: 0 0 10px var(--primary-color);
}

.admin-data-table-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow-x: auto;
}

.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.admin-data-table th, .admin-data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.admin-data-table th {
    background-color: var(--bg-charcoal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.admin-data-table tbody tr:hover {
    background-color: var(--bg-card-hover);
}

.table-row-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-black);
}

.table-action-icon-group {
    display: flex;
    gap: 12px;
}

.tbl-edit-btn {
    color: #2196F3;
    font-size: 1.1rem;
}

.tbl-delete-btn {
    color: #F44336;
    font-size: 1.1rem;
}

/* Screenshot link in order stream */
.screenshot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================================================
   15. TOAST NOTIFICATIONS
   ========================================================================== */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10005;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 350px;
    width: 100%;
}

.toast-msg {
    background-color: var(--bg-card);
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-msg.toast-success {
    border-left-color: #4CAF50;
}

.toast-msg i {
    font-size: 1.25rem;
}

/* ==========================================================================
   16. LIGHTBOX VIEWER
   ========================================================================== */
.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-weight: 600;
}

.lightbox-viewport {
    max-width: 90%;
    max-height: 80%;
}

#lightbox-screenshot-target {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   17. SYSTEM SPECIFIC RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .desktop-navigation {
        display: none;
    }
    
    .contact-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .financial-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-main-title {
        font-size: 1.8rem;
    }
    
    .about-content-details .about-main-title {
        font-size: 1.8rem;
    }
    
    .ad-slide {
        flex-direction: column;
    }
    
    .ad-image-column {
        height: 200px;
        width: 100%;
    }
    
    .ad-content-column {
        width: 100%;
        padding: 24px;
    }
    
    .ad-title {
        font-size: 1.5rem;
    }
    
    .modal-card {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }
    
    .modal-body {
        overflow-y: auto;
    }
    
    .admin-dashboard-container {
        flex-direction: column;
    }
    
    .admin-db-sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sidebar-identity {
        padding: 16px 24px;
    }
    
    .admin-db-menu {
        padding: 12px 24px;
    }
    
    .admin-menu-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 12px;
    }
    
    .admin-menu-item {
        white-space: nowrap;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .product-card-actions {
        grid-template-columns: 1fr;
    }
    
    .cart-action-buttons-group {
        grid-template-columns: 1fr;
    }
    
    .wizard-progress-bar {
        padding: 16px;
    }
    
    .step-label {
        display: none;
    }
}