:root {
            --Major-text-color: #272727;
            --icons-prices-color: #72AEC8;
            --secondary-text-color: #3A3A3A;
            --arrows-color: #D7DDDF;
            --background-color: #FFFFFF;
            --banner-color: #EDF1F3;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: "Montserrat", sans-serif;
            background: var(--background-color);
            color: var(--Major-text-color);
            line-height: 1.7;
            overflow-x: hidden;
        }
        
        
        .container {
            width: 90%;
            max-width: 100%;
            margin: 0 auto;
        }
        
        /* Header & Navigation */
        header {
            background: #FFFFFF;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            padding: 10px 0;
            transition: all 0.4s ease;
        }

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

        .logo {
            display: flex;
            align-items: center;
            gap: 5px;
            text-decoration: none;
        }

        .logo-icon {
            color: var(--icons-prices-color);
            font-size: 28px;
        }

        .logo-text {
            font-family: 'Jost', sans-serif;
            font-size: 24px;
            font-weight: bold;
            color: var(--Major-text-color);
        }

        .logo-text span {
            color: var(--icons-prices-color);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 40px;
        }

        nav a {
            text-decoration: none;
            color: var(--Major-text-color);
            font-weight: 600;
            font-size: 12px;
            position: relative;
            padding: 5px 0;
            transition: color 0.3s ease;
        }

        nav a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--icons-prices-color);
            left: 0;
            bottom: 0;
            transition: width 0.3s ease;
        }

        nav a:hover:after {
            width: 100%;
        }

        .nav-buttons {
            display: flex;
            gap: 25px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            font-size: 16px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: var(--icons-prices-color);
            color: #fff;
        }

        .btn-primary:hover {
            transform: translateY(-2px); 
            box-shadow: 0 6px 20px rgba(114,174,200,0.35); 
        }

        .btn-ghost {
            background: transparent; 
            color: var(--major-text-color);
            border: 2px solid var(--secondary-text-color); 
            padding: 8px 14px;
        }
        
        .btn-ghost:hover { 
            background: var(--banner-color); 
            transform: translateY(-2px); 
        }
        
        .cart-count-badge {
            background: var(--icons-prices-color); 
            color: #fff; 
            font-size: 10px; 
            font-weight: 800;
            width: 18px; 
            height: 18px; 
            border-radius: 50%; 
            display: inline-flex;
            align-items: center; 
            justify-content: center; 
            margin-left: 4px;
        }

        /* ── Active nav ── */
        nav a.active { color: var(--icons-prices-color); }
        nav a.active::after { width: 100%; }

        /* ── Page Hero ── */
        .page-hero {
            padding: 110px 0 48px;
            background: linear-gradient(135deg, var(--banner-color) 0%, var(--background-color) 100%);
            border-bottom: 4px solid var(--icons-prices-color);
        }
        .page-label {
            font-size: 11px; font-weight: 700; letter-spacing: 3px;
            text-transform: uppercase; color: var(--icons-prices-color);
            display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
        }
        .page-label::before { content: ''; width: 30px; height: 2px; background: var(--icons-prices-color); }
        .page-hero h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 800; color: var(--Major-text-color); margin-bottom: 8px;
        }
        .page-hero h1 span { color: var(--icons-prices-color); }
        .page-hero p { font-size: 14px; color: #7a8f9a; }

        /* ── Cart Layout ── */
        .cart-section {
            padding: 60px 0 100px;
        }
        .cart-layout {
            display: grid;
            grid-template-columns: 1fr 360px;
            gap: 40px;
            align-items: start;
        }

        /* ── Cart Items ── */
        .cart-items-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 24px;
        }
        .cart-items-header h2 { font-size: 16px; font-weight: 800; color: var(--Major-text-color); }
        .clear-cart-btn {
            background: none; border: none; cursor: pointer;
            font-size: 12px; color: #e07070; font-weight: 700;
            font-family: 'Montserrat', sans-serif;
            display: flex; align-items: center; gap: 6px; transition: opacity 0.2s;
        }
        .clear-cart-btn:hover { opacity: 0.7; }

        /* Single cart item row */
        .cart-item {
            display: grid;
            grid-template-columns: 100px 1fr auto;
            gap: 20px;
            align-items: center;
            padding: 22px 0;
            border-bottom: 1px solid var(--banner-color);
            animation: slideIn 0.3s ease forwards;
        }
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-16px); }
            to   { opacity: 1; transform: translateX(0); }
        }
        .cart-item-img {
            width: 100px; height: 100px;
            background: var(--banner-color); border-radius: 14px;
            display: flex; align-items: center; justify-content: center;
            overflow: hidden; flex-shrink: 0;
        }
        .cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }

        .cart-item-name {
            font-size: 15px; font-weight: 800; color: var(--Major-text-color);
            margin-bottom: 6px; line-height: 1.3;
        }
        .cart-item-details {
            display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
        }
        .detail-pill {
            padding: 3px 10px; border-radius: 20px;
            background: var(--banner-color); font-size: 11px;
            font-weight: 700; color: #7a8f9a;
        }
        .cart-item-condition {
            font-size: 11px; font-weight: 700; color: #fff;
            padding: 2px 10px; border-radius: 20px;
            display: inline-block;
        }
        .cart-item-condition.like-new { background: #4caf82; }
        .cart-item-condition.good { background: var(--icons-prices-color); }
        .cart-item-condition.fair { background: #e0913a; }

        .cart-item-controls {
            display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
        }
        .item-price {
            font-family: 'Jost', sans-serif; font-size: 1.3rem;
            font-weight: 800; color: var(--icons-prices-color);
        }
        .item-market-price {
            font-family: 'Jost', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            color: #bcc8ce;
            text-decoration: line-through;
            text-align: right;
}
        .qty-control {
            display: flex; align-items: center;
            border: 1.5px solid #e0e8ec; border-radius: 10px; overflow: hidden;
        }
        .qty-btn {
            width: 36px; height: 36px; background: var(--banner-color); border: none;
            cursor: pointer; font-size: 16px; color: var(--secondary-text-color);
            transition: background 0.2s; display: flex; align-items: center; justify-content: center;
        }
        .qty-btn:hover { background: var(--icons-prices-color); color: #fff; }
        .qty-display {
            width: 42px; height: 36px; text-align: center; border: none;
            font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 700;
            color: var(--Major-text-color); background: #fff;
        }
        .remove-btn {
            background: none; border: none; cursor: pointer;
            font-size: 12px; color: #bcc8ce; font-weight: 700;
            font-family: 'Montserrat', sans-serif;
            display: flex; align-items: center; gap: 5px;
            transition: color 0.2s;
        }
        .remove-btn:hover { color: #e07070; }

        /* ── Empty Cart ── */
        .empty-cart {
            text-align: center;
            padding: 80px 20px;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .empty-cart i {
            font-size: 4rem; 
            color: var(--arrows-color); 
            margin-bottom: 24px; 
            display: flex;
        }
        .empty-cart h3 { 
            font-size: 1.2rem; 
            font-weight: 800; 
            color: var(--Major-text-color); 
            margin-bottom: 10px; 
        }
        .empty-cart p { 
            font-size: 14px; 
            color: #9aacb5; 
            margin-bottom: 28px; 
        }
        .empty-cart a {
            display: inline-flex; align-items: center; gap: 2px;
            padding: 13px 28px; background: var(--icons-prices-color); color: #fff;
            border-radius: 12px; text-decoration: none;
            font-size: 13px; font-weight: 700;
            transition: all 0.3s;
        }
        .empty-cart a i {
            position: relative;
            top: 11.5px;
        }
        .empty-cart a:hover { background: var(--secondary-text-color); transform: translateY(-2px); }

        /* ── Promo Code ── */
        .promo-section { margin-top: 28px; }
        .promo-row { display: flex; gap: 10px; }
        .promo-input {
            flex: 1; padding: 11px 16px;
            border: 1.5px solid #e0e8ec; border-radius: 10px;
            font-family: 'Montserrat', sans-serif; font-size: 13px;
            color: var(--Major-text-color); outline: none;
            transition: border-color 0.2s;
        }
        .promo-input:focus { border-color: var(--icons-prices-color); }
        .promo-input::placeholder { color: #bcc8ce; }
        .promo-btn {
            padding: 11px 20px; background: var(--secondary-text-color); color: #fff;
            border: none; border-radius: 10px; font-family: 'Montserrat', sans-serif;
            font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s;
            white-space: nowrap;
        }
        .promo-btn:hover { background: var(--icons-prices-color); }
        .promo-success {
            font-size: 12px; color: #4caf82; font-weight: 600;
            margin-top: 8px; display: none;
        }

        /* ── Order Summary ── */
        .order-summary {
            background: #fff;
            border: 1px solid #e8edf0;
            border-radius: 20px;
            padding: 30px;
            position: sticky;
            top: 88px;
        }
        .order-summary h3 {
            font-size: 14px; font-weight: 800; color: var(--Major-text-color);
            margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--banner-color);
        }
        .summary-row {
            display: flex; justify-content: space-between; align-items: center;
            font-size: 13px; margin-bottom: 14px;
        }
        .summary-row .label { color: #7a8f9a; font-weight: 600; }
        .summary-row .value { font-weight: 700; color: var(--secondary-text-color); }
        .summary-row.discount .value { color: #4caf82; }
        .summary-row.total {
            font-size: 16px; font-weight: 800;
            padding-top: 16px; margin-top: 8px;
            border-top: 2px solid var(--banner-color);
        }
        .summary-row.total .label { color: var(--Major-text-color); }
        .summary-row.total .value {
            font-family: 'Jost', sans-serif; font-size: 1.5rem; color: var(--icons-prices-color);
        }

        .checkout-btn {
            width: 100%; padding: 16px;
            background: var(--icons-prices-color); color: #fff;
            border: none; border-radius: 14px;
            font-family: 'Montserrat', sans-serif;
            font-size: 15px; font-weight: 800; cursor: pointer;
            transition: all 0.3s; margin-top: 22px;
            display: flex; align-items: center; justify-content: center; gap: 10px;
            letter-spacing: 0.3px;
        }
        .checkout-btn:hover {
            background: var(--secondary-text-color); transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(58,58,58,0.2);
        }

        .continue-link {
            display: block; text-align: center; margin-top: 16px;
            font-size: 12px; font-weight: 700; color: #9aacb5;
            text-decoration: none; transition: color 0.2s;
        }
        .continue-link:hover { color: var(--icons-prices-color); }
        .continue-link i { margin-right: 5px; }

        .summary-badges {
            display: flex; gap: 8px; flex-wrap: wrap;
            margin-top: 20px; padding-top: 18px;
            border-top: 1px solid var(--banner-color);
        }
        .summary-badge {
            flex: 1; min-width: 70px;
            display: flex; flex-direction: column; align-items: center;
            gap: 5px; font-size: 10px; font-weight: 700;
            color: #7a8f9a; text-align: center;
        }
        .summary-badge i { color: var(--icons-prices-color); font-size: 16px; }

        /* ── Savings Banner ── */
        .savings-banner {
            background: rgba(76,175,130,0.08); border: 1px solid rgba(76,175,130,0.2);
            border-radius: 12px; padding: 14px 18px;
            display: flex; align-items: center; gap: 12px;
            margin-bottom: 28px; display: none;
        }
        .savings-banner i { color: #4caf82; font-size: 18px; flex-shrink: 0; }
        .savings-banner-text { font-size: 12px; font-weight: 600; color: var(--secondary-text-color); }
        .savings-banner-text strong { color: #4caf82; }

        /* ── Footer ── */
        footer {
            background: var(--background-color);
            color: var(--secondary-text-color);
            padding: 70px 0 30px;
            position: relative;
            border-top: 4px solid var(--icons-prices-color);
            }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-column h3 {
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 15px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--icons-prices-color);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 15px;
        }

        .footer-links a {
            color: var(--secondary-text-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--icons-prices-color);
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(114, 174, 200, 0.1);
            border-radius: 50%;
            color: var(--secondary-text-color);
            font-size: 18px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--icons-prices-color);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid var(--arrows-color);
            font-size: 15px;
            color: var(--secondary-text-color);
        }

        /* ── Toast ── */
        .toast {
            position: fixed; bottom: 30px; right: 30px;
            background: var(--secondary-text-color); color: #fff;
            padding: 14px 22px; border-radius: 12px;
            font-size: 13px; font-weight: 600;
            display: flex; align-items: center; gap: 10px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.2);
            transform: translateY(80px); opacity: 0;
            transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
            z-index: 9999;
        }
        .toast.show { transform: translateY(0); opacity: 1; }
        .toast i { color: #4caf82; font-size: 16px; }

        /* ── Responsive ── */
        @media (max-width: 960px) {
            .cart-layout { grid-template-columns: 1fr; }
            .order-summary { position: static; }
        }
        @media (max-width: 600px) {
            .cart-item { grid-template-columns: 80px 1fr; }
            .cart-item-controls { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
            nav ul { display: none; }
        }

 /* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.search-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  color: #555;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.search-close:hover {
  background: #f0f0f0;
  color: #000;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #4682b4;
}

.search-submit {
  padding: 12px 18px;
  background: #4682b4;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

.search-result-item:hover {
  background: #f0f6ff;
}

.result-name {
  font-weight: 600;
}

.result-price {
  font-size: 0.85rem;
  color: #4682b4;
}

.no-results {
  color: #888;
  text-align: center;
  padding: 10px 0;
}
