
/* ==========================================================================
   COLOR BALANCING PROFILE DESIGN CODES:
   Primary Structural Brand Backdrop: Deep Corporate Blue (#023672)
   Attention Call-To-Action Accent: Crimson Red (#D32F2F)
   System Controls Frame Accents: Pitch Black (#1A1A1A)
   Page Workspace Blank Canvas Field: Pure White (#FFFFFF / #F4F6F9)
   ========================================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #F4F6F9;
    color: #1A1A1A;
    -webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.main-navbar {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 18px 35px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #D32F2F;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon { color: #023672; }
.brand-accent { color: #D32F2F; font-weight: 900; } 

.admin-portal-link {
    color: #FFFFFF;
    background-color: #023672;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #023672;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-portal-link:hover {
    background-color: #D32F2F;
    border-color: #D32F2F;
}

.store-canvas-layout {
    max-width: 1320px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.storefront-hero-banner {
    background-color: #FFFFFF;
    border: 1px solid #E3E8EE;
    border-left: 5px solid #023672;
    border-radius: 8px;
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.hero-text-side { flex: 1 1 650px; }

.promo-badge-tag {
    background-color: #D32F2F;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 3px;
    display: inline-block;
}

.hero-headline {
    margin: 12px 0 8px 0;
    font-size: 1.9rem;
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.hero-paragraph {
    margin: 0;
    color: #555555;
    font-size: 0.96rem;
    line-height: 1.6;
    max-width: 800px;
}

.stat-bubble {
    background-color: #F8FAFC;
    border: 1px solid #E3E8EE;
    padding: 20px 30px;
    border-radius: 6px;
    text-align: center;
    min-width: 180px;
}

.stat-count {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #023672;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666666;
    text-transform: uppercase;
}

.storefront-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 30px;
    width: 100%;
}

.hardware-product-card {
    background-color: #FFFFFF;
    border: 1px solid #E3E8EE;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.01);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hardware-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(2, 54, 114, 0.08);
    border-color: #023672;
}

.product-picture-slot {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #1A1A1A;
}

.image-slides-filmstrip {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.individual-slide-frame {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-category-badge-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #1A1A1A;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    z-index: 20;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.15s ease, color 0.15s ease;
}

.slider-nav-btn:hover {
    background-color: #023672;
    color: #FFFFFF;
}

.slider-nav-btn.prev-btn { left: 10px; }
.slider-nav-btn.next-btn { right: 10px; }

.slider-dot-indicators-bar {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 10px;
}

.dot-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: background 0.15s ease, transform 0.15s ease;
}

.dot-indicator.active {
    background-color: #FFFFFF;
    transform: scale(1.2);
}

.hardware-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hardware-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hardware-brand-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #023672;
}

.hardware-condition-label {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.hardware-condition-label.brand-new { background-color: #E6F4EA; color: #137333; }
.hardware-condition-label.refurbished { background-color: rgba(2, 54, 114, 0.1); color: #023672; }
.hardware-condition-label.used { background-color: #FFF0F2; color: #D32F2F; }

.hardware-title-heading {
    margin: 0 0 12px 0;
    font-size: 1.22rem;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.4;
}

.hardware-specs-snippet-box {
    margin: 0 0 20px 0;
    font-family: calibri;
    font-size: 0.9rem;
    background-color: #F8FAFC;
    border: 1px solid #E3E8EE;
    border-left: 3px solid #1A1A1A;
    padding: 10px;
    border-radius: 4px;
    color: #495057;
    line-height: 1.5;
    flex-grow: 1;
}

.hardware-card-pricing-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed #E3E8EE;
    padding-top: 15px;
    margin-top: auto;
}

.stock-delivery-matrix {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stock-total-metric { font-size: 0.8rem; color: #555555; }
.warranty-meta-string { font-size: 0.76rem; color: #888888; }

.numerical-cost-value {
    font-size: 1.55rem;
    font-weight: 900;
    color: #1A1A1A;
    letter-spacing: -0.5px;
}

.hardware-card-action-block {
    padding: 0 22px 22px 22px;
    background-color: #FFFFFF;
}

.btn-checkout-order-trigger {
    width: 100%;
    background-color: #D32F2F;
    border: 1px solid #D32F2F;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 3px 6px rgba(211, 47, 47, 0.15);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-checkout-order-trigger:hover {
    background-color: #1A1A1A;
    border-color: #1A1A1A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-checkout-order-trigger:active { transform: scale(0.97); }

.empty-inventory-box-wrapper {
    grid-column: 1 / -1;
    background-color: #FFFFFF;
    border: 2px dashed #E3E8EE;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
}

.empty-network-icon { font-size: 3rem; color: #BAC6D3; margin-bottom: 15px; }

@media (max-width: 768px) {
    .main-navbar { padding: 15px 20px; }
    .nav-container { flex-direction: column; gap: 15px; text-align: center; }
    .store-canvas-layout { margin: 20px auto; gap: 20px; }
    .storefront-hero-banner { padding: 25px; flex-direction: column; align-items: stretch; }
    .storefront-products-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}
/* =======================================================
   BREADCRUMBS FRAMEWORK CORE ARCHITECTURE
   ======================================================= */
.breadcrumb-section {
    background-color: #1a1a1a;        /* Dark background theme matching your brand structure */
    border-bottom: 1px solid #2b2b2b;  /* Subtle horizontal divider split */
    padding: 12px 20px;                /* Inner padding footprint breathing room */
}

.breadcrumb-container {
    max-width: 1200px;                 /* Matches your system grid alignments */
    margin: 0 auto;                    /* Horizontal centering layout mechanism */
}

.breadcrumb-list {
    display: flex;                     /* Arranges items horizontally in a flexible row */
    flex-wrap: wrap;                   /* Wraps long trails onto new lines on small viewports */
    align-items: center;               /* Vertically aligns text and icons evenly */
    list-style: none;                  /* Removes native browser bullet layouts */
    padding: 0;
    margin: 0;
    gap: 10px;                         /* Base grid horizontal separation layout distance */
    font-size: 0.85rem;                /* Keeps typographic hierarchy clean and secondary */
}

/* Base Link Layout Configurations */
.breadcrumb-item a {
    color: #94a3b8;                    /* Readable modern grey value text color */
    text-decoration: none;             /* Drops ugly default underlines */
    display: inline-flex;              /* Pins icons and typography flush alongside each other */
    align-items: center;
    gap: 6px;                          /* Gap tracking between house icon and Home text string */
    transition: color 0.2s ease-in-out;/* Smooth hardware accelerated hover animations */
}

/* Hover Interactive Response Trace */
.breadcrumb-item a:hover {
    color: #ffffff;                    /* Sharp white glow coloration switch on hover */
}

/* Automatic Slash Delimiter Generation Rules */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";                      /* Programmatically appends text delimiter tokens */
    color: #475569;                    /* Dim color palette marker to avoid layout clutter */
    font-weight: 400;
    padding-right: 2px;                /* Keeps isolation borders equidistant */
}

/* Active Highlight Page Endpoint Location */
.breadcrumb-item.active {
    color: #3b82f6;                    /* Matches your primary brand accent blue styling */
    font-weight: 600;                  /* Semibold trace to identify current viewport location */
    pointer-events: none;              /* Prevents clicks on the active page link */
}

/* =======================================================
   RESPONSIVE LAYOUT CONSTRAINTS (Mobile Viewports < 480px)
   ======================================================= */
@media (max-width: 480px) {
    .breadcrumb-section {
        padding: 10px 15px;            /* Condenses spacing footprints closely on small screens */
    }
    
    .breadcrumb-list {
        gap: 6px;                      /* Pulls elements tightly together to fit mobile width */
        font-size: 0.8rem;             /* Slices text size slightly down to minimize truncation wrap breaks */
    }
}
/* Floating System Cart Badge Framework Positioning */
.cart-nav-anchor {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.floating-cart-badge {
    position: absolute;
    top: -8px;               /* Offsets the circular bubble up above the navbar item edge */
    right: -8px;             /* Offsets the circular bubble out to the right side */
    background-color: #d32f2f; /* Alert red color to draw instantaneous focus */
    color: #ffffff;          /* Clear crisp white numerical marker text color */
    font-size: 0.7rem;       /* Keeps text structure perfectly proportioned inside the circle */
    font-weight: 700;
    min-width: 18px;         /* Prevents horizontal flattening when numbers exceed single digits */
    height: 18px;
    border-radius: 50%;      /* Transforms container geometry into a perfect circle structure */
    display: inline-flex;    /* Uses flex layout to lock numbers perfectly centered inside */
    justify-content: center;
    align-items: center;
    padding: 2px;
    box-sizing: border-box;
    border: 2px solid #111111; /* Dark mask edge split matching your background theme structure */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    animation: badgePopEffect 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Snappy scale entry */
}

/* Fluid Entrance Animation Scale-Up Trick */
@keyframes badgePopEffect {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Responsive Overrides for Mobile Dropdown Menu Views */
@media (max-width: 768px) {
    .floating-cart-badge {
        position: relative;   /* Converts layout to standard inline flex flow on collapsed screens */
        top: 0;
        right: 0;
        margin-left: 8px;     /* Spaces the badge side-by-side with text instead of stacked high overlay */
        box-shadow: none;
    }
}


/* Star rating color */
.stars {
  color: #ffcc00; /* Gold color for stars */
}

/* Optional light dimming for non-highlighted text/icons */
.header-item span {
  opacity: 0.9;
}
