
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    }
    body {
      background: #f8fafc;
      color: #0f172a;
      line-height: 1.5;
      scroll-behavior: smooth;
    }
    /* header top bar */
    .top-bar {
      background: #1e3c72; /* highlighted color */
      color: white;
      text-align: center;
      padding: 10px 20px;
      font-weight: 500;
      font-size: 0.95rem;
      letter-spacing: 0.3px;
    }
    /* middle bar */
    .middle-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: white;
      padding: 15px 5%;
      flex-wrap: wrap;
      gap: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    }
    .logo {
      font-size: 2rem;
      font-weight: 800;
      background: linear-gradient(145deg, #1e3c72, #2a5298);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      white-space: nowrap;
    }
    .logo span { font-size: 1rem; background: none; -webkit-text-fill-color: #1e3c72; }
    .search-wrapper {
      flex: 1 1 320px;
      position: relative;
      max-width: 550px;
      margin: 0 15px;
    }
    .search-box {
      display: flex;
      background: white;
      border: 1px solid #cbd5e1;
      border-radius: 60px;
      padding: 5px 10px 5px 20px;
      align-items: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }
    .search-box i { color: #64748b; }
    .search-box input {
      border: none;
      outline: none;
      width: 100%;
      padding: 12px 10px;
      font-size: 1rem;
      background: transparent;
    }
    .search-box button {
      background: #1e3c72;
      border: none;
      color: white;
      padding: 10px 22px;
      border-radius: 40px;
      font-weight: 600;
      cursor: pointer;
      transition: 0.2s;
    }
    .search-box button:hover { background: #143157; }
    #liveSuggestions {
      position: absolute;
      top: 58px;
      left: 0;
      right: 0;
      background: white;
      border-radius: 24px;
      box-shadow: 0 20px 35px -8px rgba(0,0,0,0.2);
      z-index: 999;
      max-height: 300px;
      overflow-y: auto;
      padding: 10px 0;
      display: none;
    }
    .suggest-item {
      padding: 12px 25px;
      cursor: pointer;
      transition: 0.1s;
      border-bottom: 1px solid #f1f5f9;
    }
    .suggest-item:hover { background: #f1f5f9; }
    .header-icons {
      display: flex;
      gap: 20px;
      align-items: center;
    }
    .icon-btn {
      background: none;
      border: none;
      font-size: 1.8rem;
      cursor: pointer;
      position: relative;
      color: #0f172a;
      transition: 0.2s;
    }
    .icon-btn:hover { color: #1e3c72; }
    .badge {
      position: absolute;
      top: -8px;
      right: -10px;
      background: #b91c1c;
      color: white;
      font-size: 0.7rem;
      font-weight: bold;
      padding: 2px 8px;
      border-radius: 40px;
      border: 2px solid white;
    }
    /* bottom menu */
    .bottom-menu {
      background: white;
      padding: 10px 5%;
      border-top: 1px solid #e2e8f0;
      display: flex;
      flex-wrap: wrap;
      gap: 28px;
      font-weight: 500;
      align-items: center;
    }
    .menu-item { display: flex; align-items: center; gap: 6px; cursor: pointer; color: #334155; }
    .menu-item i { color: #1e3c72; font-size: 1.2rem; }

    /* hero */
    .hero {
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,20,40,0.7)), url('../img/banner/banner-1.png') center/cover;
      color: white;
      text-align: center;
      padding: 120px 20px;
    }
    .hero h1 { font-size: 3.5rem; margin-bottom: 15px; }
    .hero p { font-size: 1.5rem; margin-bottom: 30px; opacity: 0.9; }
    .btn-shop {
      background: #1e3c72;
      color: white;
      padding: 16px 48px;
      border: none;
      border-radius: 60px;
      font-size: 1.2rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 12px 20px -10px #0f2b4f;
      transition: 0.2s;
    }
    .btn-shop:hover { background: #143157; transform: scale(1.02); }

    /* products grid */
    .section { padding: 70px 5%; }
    .section-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 35px;
    }
    .card {
      background: white;
      border-radius: 28px;
      padding: 20px 15px 25px;
      box-shadow: 0 15px 30px -15px #b0c4db;
      transition: 0.25s ease;
      text-align: center;
    }
    .card:hover { transform: translateY(-10px); box-shadow: 0 25px 45px -15px #1e3c72; }
    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 20px;
      background: #f1f5f9;
    }
    .card h3 { margin: 15px 0 8px; font-size: 1.2rem; }
    .card .price { color: #1e3c72; font-weight: 700; font-size: 1.5rem; margin-bottom: 20px; }
    .card-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
    .btn-add { border: none; padding: 10px 14px; border-radius: 40px; font-weight: 600; cursor: pointer; background: #1e3c72; color: white; flex:1; min-width: 100px; }
    .btn-wish { background: #fde68a; color: #1e293b; border: none; padding: 10px; border-radius: 40px; cursor: pointer; width: 48px; }
    .btn-add:hover { background: #143157; }
    .btn-wish:hover { background: #fcd34d; }

    /* about, why us, checkout, contact */
    .about-box { background: #d9e2ef; border-radius: 40px; padding: 40px; text-align: center; }
    .features {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 20px;
      margin-top: 40px;
      text-align: center;
    }
    .feature i { font-size: 2.5rem; background: #1e3c72; color: white; padding: 20px; border-radius: 60px; margin-bottom: 15px; }

    /* checkout two column */
    .checkout-row {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 35px;
    }
    .cart-table {
      background: white;
      border-radius: 30px;
      padding: 25px;
      overflow-x: auto;
    }
    table { width: 100%; border-collapse: collapse; }
    th { background: #e6edf6; padding: 12px; }
    td { padding: 16px 5px; border-bottom: 1px solid #e2e8f0; }
    .qty-control { display: flex; gap: 5px; align-items: center; justify-content: center; }
    .qty-control button { background: #e2e8f0; border: none; width: 30px; height: 30px; border-radius: 30px; font-weight: bold; cursor: pointer; }
    .remove-item { background: none; border: none; font-size: 1.3rem; color: #b91c1c; cursor: pointer; }
    .cart-summary { background: #1e293b; color: white; padding: 25px; border-radius: 30px; }
    .summary-row { display: flex; justify-content: space-between; margin: 12px 0; }
    .checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; padding: 12px; margin: 8px 0; border-radius: 30px; border: 1px solid #cbd5e1; }
    .place-order { background: #1e3c72; color: white; border: none; padding: 16px; width: 100%; border-radius: 60px; font-weight: bold; font-size: 1.2rem; cursor: pointer; }

    /* wishlist modal */
    .modal {
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      align-items: center; justify-content: center;
      z-index: 2000;
    }
    .modal-content {
      background: white;
      padding: 35px;
      border-radius: 50px;
      max-width: 500px;
      width: 90%;
      max-height: 80vh;
      overflow-y: auto;
    }
    .close { float: right; font-size: 2rem; cursor: pointer; }

    /* footer popups etc */
    .footer {
      background: #0f172a;
      color: white;
      padding: 50px 5% 20px;
    }
    .footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
    .footer a { color: #cbd5e1; text-decoration: none; display: block; margin: 8px 0; }
    .social i { font-size: 1.8rem; margin-right: 15px; }

    /* toast */
    .toast {
      position: fixed; bottom: 30px; right: 30px; background: #1e3c72; color: white; padding: 14px 28px; border-radius: 60px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 3000; display: none;
    }
    .sticky-header { position: sticky; top: 0; z-index: 1000; }
    .scroll-top {
      position: fixed; bottom: 30px; left: 30px; background: white; color: #1e3c72; width: 55px; height: 55px; border-radius: 50%; border: none; font-size: 2rem; box-shadow: 0 4px 12px black; cursor: pointer; display: none; z-index: 1500;
    }
    @media (max-width: 800px) { .checkout-row { grid-template-columns: 1fr; } .features { grid-template-columns: 1fr 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }

    /* Section Styling */
.section {
    padding: 60px 20px;
    background: #f8f9fa;
    font-family: Arial, sans-serif;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #222;
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #007bff;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
}

/* Grid Layout Override */
#contact > div {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Contact Info */
#contact p {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
}

#contact i {
    color: #007bff;
    margin-right: 8px;
}

/* Form Inputs */
#contact input,
#contact textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    resize: none;
}

#contact input:focus,
#contact textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Button Styling */
#contact button {
    padding: 12px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

#contact button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Confirmation Message */
#contactConfirm {
    margin-top: 10px;
    font-size: 14px;
    color: green;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    #contact > div {
        grid-template-columns: 1fr;
    }
}

/* Toast Notification */
#toast {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #222;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: fadeInOut 2s ease;
}

/* Smooth fade animation */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(20px); }
}

/* Counter Badge */
#cartCount,
#wishCount {
    background: #ff4757;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 50px;
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

/* Wishlist Modal Overlay */
#wishlistModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Box */
#wishlistModal .modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 80vh;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Wishlist Items Container */
#wishlistItems {
    margin-top: 15px;
}

/* Individual Wishlist Item */
#wishlistItems > div {
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    padding: 10px;
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 12px !important;
    transition: 0.3s ease;
}

#wishlistItems > div:hover {
    background: #f1f1f1;
}

/* Product Image */
#wishlistItems img {
    width: 50px !important;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

/* Product Name */
#wishlistItems b {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* Price Text */
#wishlistItems span,
#wishlistItems div {
    font-size: 14px;
    color: #555;
}

/* Remove Button */
#wishlistItems button {
    background: #ff4d4d;
    border: none;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

#wishlistItems button:hover {
    background: #cc0000;
    transform: scale(1.1);
}

/* Empty Message */
#wishlistItems p {
    text-align: center;
    color: #888;
    font-size: 14px;
    padding: 20px 0;
}

/* Scrollbar Styling */
#wishlistModal .modal-content::-webkit-scrollbar {
    width: 6px;
}

#wishlistModal .modal-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 480px) {
    #wishlistModal .modal-content {
        padding: 18px;
    }

    #wishlistItems > div {
        flex-direction: column;
        align-items: flex-start;
    }

    #wishlistItems button {
        align-self: flex-end;
    }
}
/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Box */
.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 420px;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFade 0.3s ease;
    font-family: Arial, sans-serif;
}

/* Animation */
@keyframes modalFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Close Button */
.modal-content .close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #888;
    transition: 0.3s ease;
}

.modal-content .close:hover {
    color: #000;
    transform: scale(1.2);
}

/* Title */
.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #222;
}

/* Inputs */
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="date"],
.modal-content input:not([type]) {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s ease;
}

.modal-content input:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Checkbox Label */
.modal-content label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
    margin-bottom: 18px;
}

.modal-content label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

/* Subscribe Button */
.modal-content button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-content button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
    }
}




  