/* ==========================================================================
   SECTION 1: UNIVERSAL CORE NORMALIZATION & TYPOGRAPHY FOUNDATIONS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Inline Functional Utilities */
.text-blue { color: #2563eb; }
.text-gray { color: #64748b; }
.stars, .star-rating { color: #ffcc00; }

/* Dynamic Multi-State Rating Star Elements */
.star-rating {
    font-size: 1.0rem;
    display: inline-flex;
    gap: 5px;
}

.static-stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    font-family: Times, serif;
}

.static-stars::before {
    content: '\2605\2605\2605\2605\2605';
    background: linear-gradient(90deg, #ffcc00 var(--percent), #e0e0e0 var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mock Typography Branding Mark Window */
.logo-area {
    flex-shrink: 0;
    line-height: 1.1;
}

.logo-main {
    font-size: 28px;
    font-weight: bold;
}

.logo-main img {
    max-height: 55px;
    width: auto;
    display: block;
}

.logo-blue { color: #2da1e7; }
.logo-black { color: #000000; }
.logo-welco { color: #000099; font-weight: bold; }

.logo-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333333;
}

.logo-by {
    font-size: 11px;
    color: #666666;
    text-align: right;
}

/* ==========================================================================
   SECTION 2: CUSTOM UNICODE ICONOGRAPHY EXECUTION ENGINE
   ========================================================================== */
.delivery-icon, .atom-icon, .phone-icon, .uk-flag, .cart-icon, .envelope-icon, .user-icon {
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.delivery-icon::before {
    content: '\1F69A';
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 8px;
}

.atom-icon::before {
    content: '\269B';
    font-size: 1.2rem;
    color: #00d8ff;
    vertical-align: middle;
}

.phone-icon::before {
    content: '\1F4DE';
    font-size: 1.3rem;
    vertical-align: middle;
    margin-right: 10px;
    color: #ffffff;
}

.uk-flag::before {
    content: '\1F1EC\1F1E7';
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 8px;
}

.cart-icon::before {
    content: '\1F6D2';
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 8px;
}

.envelope-icon::before {
    content: '\2709';
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 8px;
}

.user-icon::before {
    content: '\1F464';
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 8px;
}

.location-pin::before {
    content: '\26AE';
    font-size: 1.5rem;
    vertical-align: middle;
    font-weight: bold;
    color: #333333;
}
/* ==========================================================================
   SECTION 3: PREMIUM TOP-BAR HEADER & NETWORK HEALTH INDICATORS
   ========================================================================= */
.top-header {
    background-color: #1a2332;
    color: #ffffff;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    
    /* WIDTH FRAMEWORK CLAMPING LOCKS */
    width: 90% !important;         /* Matches your slider matrix canvas width */
    max-width: 1200px !important;  /* Clamps layout strictly inside the 1200px wall */
    margin: 0 auto !important;     /* Centers the entire top bar on your web page */
    box-sizing: border-box;
    
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.header-item span {
    opacity: 0.9;
}

/* Background Live Heartbeat Network Poller badging */
.status-poll-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pulse-light-indicator {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: status-pulse-glow 2s infinite;
}

@keyframes status-pulse-glow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-poll-badge.disconnected {
    background-color: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

.status-poll-badge.disconnected .pulse-light-indicator {
    background-color: #dc2626 !important;
    animation: status-pulse-disconnected 1.5s infinite;
}

@keyframes status-pulse-disconnected {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ==========================================================================
   SECTION 4: PRIMARY UTILITY NAVBAR & SEARCH ALIGNMENT STATE
   ========================================================================== */
.main-navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #e5e7eb;
    box-sizing: border-box;
    
    /* CONTROL CLAMPING: Pulls the container inward away from screen edges */
    width: 90% !important;         /* Matches your slider matrix width */
    max-width: 1200px !important;  /* Locks the maximum block size strictly to 1200px */
    margin: 0 auto !important;     /* Centers the background block perfectly on the web page */
}


.main-header-branding-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    padding: 10px 40px;
    gap: 40px;
    box-sizing: border-box;
}

/* Search Bar Blueprint Alignment */
.search-container {
    display: flex;
    flex-grow: 1;
    max-width: 550px;
    min-width: 180px;
}

.search-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    color: #333333;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-button {
    background-color: #3498db;
    border: 1px solid #3498db;
    padding: 0 16px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background-color: #1b8cd2;
}

.search-icon {
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.search-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 5px;
    background-color: white;
    transform: rotate(-45deg);
    top: 9px;
    left: 9px;
}

/* Secondary Anchor Links Navigation Container Alignment */
.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 32px;
}

.nav-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none !important;
    color: #333333;
    min-width: 65px;
    position: relative;
}

.nav-item > span, .cart-total-text {
    font-size: 11px !important;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 6px;
    text-transform: none;
}

.nav-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.main-nav-links {
    display: flex;
    align-items: center;
}

.nav-menu-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.nav-menu-list > li {
    position: relative;
}

/* ==========================================================================
   SECTION 5: ACCESSIBILITY PANEL GLOW DROPDOWNS & PROFILE CONTROL BADGES
   ========================================================================== */
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.dropdown-toggle .toggle-arrow {
    transition: transform 0.2s ease;
}

.nav-menu-list > li:hover .dropdown-toggle .toggle-arrow {
    transform: rotate(180deg);
    color: #2563eb;
}

.dropdown-menu.panel-glow-card {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    list-style: none;
    padding: 6px;
    margin: 12px 0 0 0;
    border-radius: 8px;
    z-index: 1010;
}

.dropdown-header {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 800;
    padding: 8px 12px 4px 12px;
}

.menu-divider-line {
    height: 1px;
    background: linear-gradient(to right, #f1f5f9, #e2e8f0, #f1f5f9);
    margin: 6px 8px;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.dropdown-menu li a:hover {
    background-color: #f1f5f9;
    color: #2563eb;
    padding-left: 18px;
}

.nav-menu-list > li:hover .dropdown-menu {
    display: block;
}

.nav-menu-list > li:hover .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
}

/* Unified Profile Identity block */
.operator-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    max-height: 38px;
    box-sizing: border-box;
}

.profile-avatar-circle {
    width: 24px;
    height: 24px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.profile-meta-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.profile-meta-text .user-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.profile-meta-text .user-display-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #374151;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}
/* ==========================================================================
   SECTION 6: PORTAL BUTTONS, NOTIFICATION BULLET BADGES & BREADCRUMBS
   ========================================================================== */
.admin-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.back-home-pill {
    background-color: #f0f4ff;
    color: #2563eb !important;
    border: 1px solid #dbeafe;
    border-radius: 30px;
    padding: 8px 16px !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.04);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.back-home-pill:hover {
    background-color: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}

.cart-nav-anchor { background-color: #1e293b; color: #ffffff; position: relative; }
.cart-nav-anchor:hover { background-color: #0f172a; }
.login-btn { background-color: #2563eb; color: #ffffff; }
.login-btn:hover { background-color: #1d4ed8; }
.logout-btn { background-color: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }
.logout-btn:hover { background-color: #dc2626; color: #ffffff; border-color: #dc2626; }

/* Global Cart Badge Counters */
.floating-cart-badge, .cart-badge {
    position: absolute;
    background-color: #dc2626;
    color: #ffffff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-badge {
    top: -6px;
    right: -8px;
    font-size: 0.72rem;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    border: 2px solid #1e293b;
}

.cart-badge {
    top: -8px;
    right: -8px;
    font-size: 10px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
}

.cart-total, .cart-total-text { font-weight: bold !important; margin-top: 4px; }
.cart-item { position: relative; }

/* Dynamic Warning Radial Flash Badge Core */
.admin-notification-alert-badge {
    position: absolute;
    top: -5px;
    right: 5px; 
    background-color: #ef4444 !important;
    color: #ffffff !important;
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid #2563eb !important;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

.admin-notification-alert-badge.pulses-warning-glow {
    animation: alert-badge-pulse-glow 1.8s infinite ease-in-out;
}

@keyframes alert-badge-pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); transform: scale(1); }
    50% { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); transform: scale(1); }
}

.dropdown-inline-count-badge {
    background-color: #fef2f2;
    color: #ef4444;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #fee2e2;
}

/* Slash-Separated Breadcrumbs Design Track */
.breadcrumb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 12px;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    content: "/";
    font-weight: 500;
    font-size: 0.85rem;
    color: #9ca3af;
    padding-right: 12px;
}

.pill-category-badge.administrative-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    white-space: nowrap;
}

/* ==========================================================================
   SECTION 7: STANDALONE SPONSORED ADVERTISEMENT DISPLAY BLOCKS
   ========================================================================== */
.ad-container {
    max-width: 400px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    box-sizing: border-box;
    margin: 20px auto;
}

.ad-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888888;
    display: inline-block;
    margin-bottom: 8px;
}

.ad-content { display: flex; flex-direction: column; gap: 12px; }
.ad-title { font-size: 18px; font-weight: bold; color: #1a1a1a; margin: 0; line-height: 1.3; }
.ad-description { font-size: 14px; color: #4a4a4a; margin: 0; line-height: 1.4; }

.ad-cta-button {
    display: inline-block;
    text-align: center;
    background-color: #28a745;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}
/* ==========================================================================
   SECTION 8: BALANCED SHOPPING CART MAIN APPLICATION MATRIX
   ========================================================================== */

/* 1. Layout & Grid Containers */
.cart-wrapper-canvas { 
  box-sizing: border-box; 
  width: 1200px; /* Forces exact width */
  max-width: 100%; /* Ensures it shrinks on mobile */
  margin: 40px auto; /* Centers the element */
  padding: 0 24px; 
}   

.cart-split-grid { 
  align-items: start; 
  display: grid; 
  gap: 32px; 
  grid-template-columns: 1fr 380px; 
}

/* 2. Header Elements */
.cart-canvas-header h1 { 
  color: #000000; 
  font-size: 1.75rem; 
  font-weight: 800; 
  letter-spacing: -0.5px; 
  margin: 0 0 8px 0; 
}

.cart-canvas-header p { 
  color: #4b5563; 
  font-size: 0.95rem; 
  margin: 0 0 32px 0; 
}

/* 3. Table Layout & Base Structure */
.cart-table-container { 
  background-color: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 8px; 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); 
  margin-bottom: 24px; 
  overflow: hidden; 
}

.cart-data-table { 
  border-collapse: collapse; 
  text-align: left; 
  width: 100%; 
}

.cart-data-table th { 
  background-color: #f8fafc; 
  border-bottom: 1px solid #e5e7eb; 
  color: #000000; 
  font-size: 0.8rem; 
  font-weight: 700; 
  letter-spacing: 0.5px; 
  padding: 16px 24px; 
  text-transform: uppercase; 
}

.cart-data-table td { 
  border-bottom: 1px solid #e5e7eb; 
  color: #374151; 
  font-size: 0.92rem; 
  padding: 20px 24px; 
  vertical-align: middle; 
}

.cart-data-table tr:last-child td { 
  border-bottom: none; 
}

/* 4. Item Details & Cells */
.cart-item-title { 
  color: #000000; 
  font-weight: 700; 
}

.rate-cell { 
  color: #4b5563; 
  font-weight: 500; 
}

.subtotal-cell { 
  color: #2563eb; 
  font-weight: 700; 
}

.cart-qty-badge { 
  background-color: #f3f4f6; 
  border: 1px solid #e5e7eb; 
  border-radius: 4px; 
  color: #1e293b; 
  font-size: 0.8rem; 
  font-weight: 600; 
  padding: 4px 10px; 
}

/* 5. Actions & Buttons */
.cart-remove-link { 
  align-items: center; 
  color: #dc2626; 
  display: inline-flex; 
  font-size: 0.85rem; 
  font-weight: 700; 
  gap: 6px; 
  text-decoration: none; 
  transition: color 0.15s ease; 
}

.ad-cta-button:hover { 
  background-color: #218838; 
}

/* ==========================================================================
   SECTION 8: BALANCED SHOPPING CART MAIN APPLICATION MATRIX
   ========================================================================== */

/* 1. Layout & Grid Containers */
.cart-wrapper-canvas { 
  box-sizing: border-box; 
  margin: 40px auto; 
  max-width: 1200px; 
  padding: 0 24px; 
}

.cart-split-grid { 
  align-items: start; 
  display: grid; 
  gap: 32px; 
  grid-template-columns: 1fr 380px; 
}

/* 2. Header Elements */
.cart-canvas-header h1 { 
  color: #000000; 
  font-size: 1.75rem; 
  font-weight: 800; 
  letter-spacing: -0.5px; 
  margin: 0 0 8px 0; 
}

.cart-canvas-header p { 
  color: #4b5563; 
  font-size: 0.95rem; 
  margin: 0 0 32px 0; 
}

/* 3. Table Layout & Base Structure */
.cart-table-container { 
  background-color: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 8px; 
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); 
  margin-bottom: 24px; 
  overflow: hidden; 
}

.cart-data-table { 
  border-collapse: collapse; 
  text-align: left; 
  width: 100%; 
}

.cart-data-table th { 
  background-color: #f8fafc; 
  border-bottom: 1px solid #e5e7eb; 
  color: #000000; 
  font-size: 0.8rem; 
  font-weight: 700; 
  letter-spacing: 0.5px; 
  padding: 16px 24px; 
  text-transform: uppercase; 
}

.cart-data-table td { 
  border-bottom: 1px solid #e5e7eb; 
  color: #374151; 
  font-size: 0.92rem; 
  padding: 20px 24px; 
  vertical-align: middle; 
}

.cart-data-table tr:last-child td { 
  border-bottom: none; 
}

/* 4. Item Details & Cells */
.cart-item-title { 
  color: #000000; 
  font-weight: 700; 
}

.rate-cell { 
  color: #4b5563; 
  font-weight: 500; 
}

.subtotal-cell { 
  color: #2563eb; 
  font-weight: 700; 
}

.cart-qty-badge { 
  background-color: #f3f4f6; 
  border: 1px solid #e5e7eb; 
  border-radius: 4px; 
  color: #1e293b; 
  font-size: 0.8rem; 
  font-weight: 600; 
  padding: 4px 10px; 
}

/* 5. Footer Actions Layout */
.cart-foot-actions-row { 
  align-items: center; 
  display: flex; 
  justify-content: space-between; 
}

/* 6. Action Links & Buttons */
.btn-continue-browsing { 
  align-items: center; 
  color: #4b5563; 
  display: inline-flex; 
  font-size: 0.9rem; 
  font-weight: 700; 
  gap: 8px; 
  text-decoration: none; 
  transition: color 0.15s ease; 
}

.btn-continue-browsing:hover { 
  color: #2563eb; 
}

.cart-remove-link { 
  align-items: center; 
  color: #dc2626; 
  display: inline-flex; 
  font-size: 0.85rem; 
  font-weight: 700; 
  gap: 6px; 
  text-decoration: none; 
  transition: color 0.15s ease; 
}

.cart-remove-link:hover { 
  color: #991b1b; 
}

.ad-cta-button:hover { 
  background-color: #218838; 
}


.btn-purge-matrix {
    color: #dc2626;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid #fca5a5;
    background-color: #fef2f2;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-purge-matrix:hover { background-color: #dc2626; color: #ffffff; border-color: #dc2626; }

.cart-summary-panel { background-color: #ffffff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 24px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.cart-summary-panel h3 { font-size: 1.1rem; font-weight: 800; color: #000000; margin: 0 0 20px 0; padding-bottom: 12px; border-bottom: 1px solid #e5e7eb; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 0.9rem; font-weight: 600; color: #4b5563; }
.summary-value { color: #000000; font-weight: 700; }
.success-text { color: #16a34a !important; }
.summary-row.grand-total { margin-top: 20px; padding-top: 16px; border-top: 1px dashed #e5e7eb; font-size: 1.1rem; color: #000000; }
.summary-row.grand-total .summary-value { color: #2563eb; font-size: 1.25rem; }

.checkout-btn {
    background-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 24px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.15);
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.checkout-btn:hover { background-color: #1d4ed8; }
.checkout-btn:active { transform: scale(0.99); }

.empty-cart-fallback-notice { text-align: center; padding: 80px 24px; border: 2px dashed #d1d5db; border-radius: 8px; background-color: #ffffff; }
.fallback-icon { font-size: 3.5rem; color: #9ca3af; margin-bottom: 16px; }
/* ==========================================================================
   SECTION 8: EXTRA DATA LAYOUT COMPONENT HOOKS
   ========================================================================== */
.empty-cart-fallback-notice h2 { 
    font-size: 1.35rem; 
    font-weight: 800; 
    color: #000000; 
    margin: 0 0 8px 0; 
}

.empty-cart-fallback-notice p { 
    color: #4b5563; 
    font-size: 0.95rem; 
    margin: 0 0 24px 0; 
}

.btn-browse-catalog { 
    background-color: #2563eb; 
    color: #ffffff; 
    text-decoration: none; 
    padding: 12px 24px; 
    border-radius: 4px; 
    font-weight: 700; 
    font-size: 0.9rem; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    transition: background-color 0.15s ease; 
}

.btn-browse-catalog:hover { 
    background-color: #1d4ed8; 
}

/* ==========================================================================
   SECTION 9: COMPREHENSIVE RESPONSIVE INTERCEPTION MEDIA OVERRIDES
   ========================================================================== */

/* --- LAPTOP FRAME RESPONSIVE OVERRIDES --- */
@media (max-width: 1200px) {
    .cart-split-grid { 
        grid-template-columns: 1fr; 
        gap: 32px; 
    }
}

/* --- TABLET LANDSCAPE FRAME RESPONSIVE OVERRIDES --- */
@media (max-width: 1024px) {
    .main-header-branding-row { 
        padding: 15px 20px; 
        gap: 20px; 
    }
}

/* --- TABLET PORTRAIT FRAME RESPONSIVE OVERRIDES --- */
@media (max-width: 992px) {
    .mobile-nav-toggle { 
        display: block; 
    }
    
    
    
    @media (max-width: 1200px) {
  .nav-actions-wrapper {
    background-color: #ffffff;
    border-bottom: 2px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    gap: 12px;
    left: 0;
    padding: 16px;
    position: absolute;
    top: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .cart-split-grid {
    grid-template-columns: 1fr;
  }

  .cart-data-table current-thead-or-selector {
    display: none; /* Hide traditional headers for card layout */
  }

  .cart-data-table td {
    display: block;
    text-align: right;
  }
}

    
    .nav-actions-wrapper.mobile-active { 
        display: flex; 
    }
    
    .main-nav-links, 
    .nav-menu-list { 
        width: 100%; 
        flex-direction: column; 
        gap: 8px; 
        align-items: stretch; 
    }
    
    .back-home-pill { 
        width: 100%; 
        justify-content: center; 
        border-radius: 4px; 
    }
    
    .dropdown-menu.panel-glow-card {
        position: relative;
        top: 0;
        box-shadow: none;
        border: none;
        background-color: #f9fafb;
        margin: 4px 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-menu-list > li:hover .dropdown-menu { 
        display: none; 
    }
    
    .nav-menu-list > li.mobile-open .dropdown-menu { 
        display: block; 
    }
    
    .operator-profile-badge { 
        width: 100%; 
        justify-content: center; 
        padding: 10px; 
        max-height: none; 
        border-radius: 4px; 
    }
    
    .admin-portal-link { 
        width: 100%; 
        justify-content: center; 
    }
    
    .breadcrumb-container { 
        flex-direction: column; 
        align-items: flex-start !important; 
        gap: 12px; 
    }
    
    .status-poll-badge { 
        align-self: flex-start; 
    }
}

/* --- MOBILE COMPACT SMARTPHONE OVERRIDES --- */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 15px;
        z-index: 1000;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 15px;
        display: none;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .top-header.is-active { 
        display: flex; 
    }

    .header-left, 
    .header-right { 
        flex-direction: column; 
        align-items: flex-start; 
        width: 100%; 
        gap: 12px; 
    }

    .header-item { 
        width: 100%; 
        padding: 8px 0; 
        border-bottom: 1px solid #eeeeee; 
    }

    .header-right .header-item:last-child { 
        border-bottom: none; 
    }

    .operator-profile-badge { 
        width: 100%; 
        box-sizing: border-box; 
        justify-content: flex-start; 
    }

    .site-header { 
        flex-direction: column; 
        align-items: stretch; 
    }

    .search-container { 
        max-width: 100%; 
        order: 3; 
    }

    .nav-links { 
        justify-content: space-around; 
        width: 100%; 
    }

    .cart-wrapper-canvas { 
        margin: 20px auto; 
    }

    .cart-data-table th:nth-child(2), 
    .cart-data-table td:nth-child(2) { 
        display: none; 
    }

    .cart-foot-actions-row { 
        flex-direction: column-reverse; 
        align-items: stretch; 
        gap: 16px; 
    }

    .btn-purge-matrix, 
    .btn-continue-browsing { 
        justify-content: center; 
        width: 100%; 
    }

    .breadcrumb-section { 
        padding: 8px 16px; 
    }

    .breadcrumb-item { 
        font-size: 0.78rem; 
    }
}
