:root {
    --bg1:  #f5f3f3;
    --nav-accent: #b99e04;
    --muted: #7a7d82;
    --topbar-height: 72px;
    --menu-hover: #e4e4e4;
    --nav-bg: #102E50;
    --container-max: 1160px;
    --wishlist-bg: #fff;
    --card-accent: #ff7b2c;
    --soft-shadow: 0 18px 40px rgba(26,30,35,0.06);
    --p: 'Poppins', 'Segoe UI', Arial, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: var(--p); background: var(--bg1); color: var(--muted); }
  .page-bg { min-height: 100vh; display: flex; flex-direction: column; align-items: stretch; }
  .topbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(90deg,rgba(3, 96, 143, 1) 11%, rgba(21, 97, 122, 1) 41%, rgba(32, 81, 110, 1) 77%, rgba(6, 51, 89, 1) 97%);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--topbar-height);
  }
  
  .nav-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto;}
  .nav-logo img { width: 100px; height: 100px; object-fit: cover;}
  .nav-logo span { margin-left: -30px; font-size: 20px; font-weight: 700; color: var(--nav-accent);}
  .searchwrap { flex: 1 1 auto; display: flex; justify-content: center; align-items: center;}
  .searchwrap input {
    margin-left: -10px; width: 100%; max-width: 500px; padding: 12px 18px;
    border-radius: 28px 0 0 28px; border: none; background: #fff; font-size: 15px; outline: none;
  }
  .search-btn {
    padding: 12.5px 15px; background-color: #b99e04; border: none; border-radius: 0 28px 28px 0;
    color: #ffffff; cursor: pointer; font-size: 16px; display: flex; justify-content: center; align-items: center;
  }
  .search-btn:hover { background-color: #8b8b8b; color: #fff;}
  .top-actions { display: flex; align-items: center; gap: 10px; }
  .icon-btn { border: none; background: transparent; padding: 10px; border-radius: 12px; cursor: pointer; position: relative; color: #fff; transition: 0.3s ease, color 0.3s ease; display: flex; align-items: center; justify-content: center;}
  .icon-btn svg,
  .icon-btn i { height: 24px; width: 24px; display: inline-block; vertical-align: middle; }
  .icon-btn.cart-btn svg { width: 28px; height: 28px; }
  .icon-btn:hover { background: rgba(59,130,246,0.08); color: var(--nav-accent);}
  .icon-btn .badge { position: absolute; right: 6px; top: 6px; background: var(--nav-accent); color: #fff; border-radius: 999px; font-size: 11px; padding: 4px 6px; line-height: 1;}
  .avatar a { color: #fff; transition: color 0.3s ease; text-decoration: none;}
  .avatar a:hover { color: var(--nav-accent);}
  .avatar a i { font-size: 20px; }
  .container { max-width: 1700px; margin: 0 auto; width: 100%; }
  .main-menu-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; background: #fff; border-bottom: 1px solid #eee; margin-bottom: 30px; position: sticky; top: 72px; z-index: 999; }
  .dropdown { position: relative; display: inline-block; }
  .menu-btn { margin-left: 20px; background: #102E50; color: #fffdfd; font-weight: 500; font-size: 15px; border: none; border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 10px 24px; cursor: pointer; transition: background 0.2s;}
  .menu-btn:hover { background: #73869c; }
  .menu-btn i { font-size: 18px; }
  .dropdown-content { margin-left: 25px; display: none; position: absolute; background-color: #f1f1f1; min-width: 225px; box-shadow: 0 6px 12px rgba(0,0,0,0.15); border-radius: 6px; z-index: 1000; top: 100%; left: 0;}
  .dropdown-content a { color: #262b35; padding: 12px 16px; text-decoration: none; display: block; font-size: 14px; font-weight: 500; transition: background-color 0.2s;}
  .dropdown-content a:hover { background-color: #dfdfdf; }
  .dropdown:hover .dropdown-content { display: block; }
  .menu-links-right { display: flex; gap: 16px; }
  .menu-link { color: #262b35; text-decoration: none; font-size: 15px; font-weight: 500; padding: 7px 18px; border-radius: 6px; transition: background 0.2s, color 0.2s;}
  .menu-link.active, .menu-link:hover { color: #102E50; background: #e4e4e4; }
  .cart-progress-bar { display: flex; align-items: center; justify-content: center; padding: 36px 0 38px 0; gap: 0; background: #fff; }
  .progress-step { display: flex; flex-direction: column; align-items: center; min-width: 56px;}
  .step-icon { width: 36px; height: 36px; background: #fff; color: #bbb; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 19px; border: 2.5px solid #ccc; margin-bottom: 7px; box-sizing: border-box; transition: background 0.18s, color 0.18s, border-color 0.18s;}
  .progress-step.active .step-icon { background: #f7cb46; color: #111; border-color: #f7cb46;}
  .step-label { color: #888; font-size: 14px; font-weight: 700; margin-bottom: 0; letter-spacing: 0.5px;}
  .progress-step.active .step-label { color: #111; font-weight: 700;}
  .step-connector { flex: 0 0 72px; height: 2px; background: #dde1e7; margin: 0 8px; border-radius: 2px;}
  .cart-table-wrapper { width: 100vw; max-width: 100%; overflow-x: auto; box-sizing: border-box; padding-bottom: 120px;}
  .cart-table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0 26px; background: #fff;}
  .cart-table th, .cart-table td { padding: 26px 12px; text-align: left; font-size: 1em; min-width: 80px; background: #fff; border: none;}
  .cart-table th:first-child,
  .cart-table td:first-child { padding-left: 20px; text-align: center; min-width: 38px; width: 38px;}
  .cart-table .checkbox-cell { text-align: center; }
  .cart-select-checkbox { width: 18px; height: 18px; accent-color: #102E50; cursor: pointer; }
  .cart-table .product-cell { display: flex; align-items: center; gap: 18px; }
  .cart-table img { width: 90px; height: 110px; border-radius: 6px; object-fit: cover; background: #eee; border: 1px solid #ccc;}
  .cart-table tbody tr:not(:last-child) td { border-bottom: 2px solid #eee; }
  .cart-table th { background: #fafafa; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; padding-top: 0; padding-bottom: 0; }
  .cart-table thead tr th { border-bottom: none; }
  .cart-table .delete-btn { background: none; border: none; color: #e03a3c; font-size: 22px; cursor: pointer;}
  .cart-table .delete-btn:hover { color: #a30d0e;}
  .qty-box { display: flex; align-items: center; border: 1px solid #ccc; width: 87px; border-radius: 5px; background: #fafafa; overflow: hidden;}
  .qty-box button { width: 31px; height: 31px; border: none; background: #fff; color: #111; font-size: 18px; cursor: pointer; font-weight: bold;}
  .qty-box input { width: 32px; height: 31px; text-align: center; border: none; background: #fafafa;}
  .cart-footer-area { position: fixed; left: 0; bottom: 0; width: 100vw; max-width: 100%; background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,0.07); z-index: 99; margin: 0; padding: 10px 3% 6px 3%; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 80px; box-sizing: border-box;}
  .footer-fields-stack { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 270px; max-width: 500px; height: 100%;}
  .footer-group { display: flex; flex-direction: column; gap: 3px; justify-content: center;}
  .footer-label { font-size: 13px; font-weight: 700; color: #222; margin-bottom: 3px; letter-spacing: 0.8px;}
  .footer-fields-row { display: flex; flex-direction: row; align-items: center; gap: 9px; height: 40px;}
  .footer-fields-row input[type="text"], .footer-fields-row select { border: 1px solid #aaa; border-radius: 2px; padding: 7px 8px; font-size: 13px;}
  .footer-fields-row input[type="text"] { min-width: 90px;}
  .footer-fields-row select { min-width: 90px; background:#fff; color:#111;}
  .footer-fields-row .border-btn { border: 1.5px solid #222; background: #fff; color: #111; font-weight: bold; font-size: 14px; min-width: 80px; padding: 6px 15px; cursor: pointer; transition: background 0.13s, color 0.13s; height: 40px;}
  .footer-fields-row .border-btn:hover { background: #111; color: #fff;}
  .footer-summary-col { display: flex; flex-direction: row; align-items: center; gap: 24px; justify-content: flex-end; flex: 0 0 auto; margin-top: 0px; height: 40px;}
  .footer-total-label { font-size: 18px; font-weight: 700; text-align: right; margin-bottom: 0; margin-right: 0; letter-spacing: 1px; display: flex; align-items: center; height: 40px;}
  #cart-total { font-size: 21px; font-weight: 700; margin-left: 8px; margin-bottom: 0; display: inline-block;}
  .footer-summary-col .black-btn { background: #111; color: #fff; border: none; width: 210px; padding: 0 0; font-weight: 700; font-size: 16px; border-radius: 2px; cursor: pointer; margin-bottom: 0; transition: background 0.16s, color 0.16s; height: 40px; align-items: center; display: flex; justify-content: center;}
  .footer-summary-col .black-btn:hover { background: #333;}
  #promo-msg { font-size:13px; color:#e03a3c; margin-top:7px;}
  footer { background: #fff; text-align: center; padding: 20px; margin-top: 40px; border-top: 1px solid #ddd; font-size: 14px; color: var(--muted);}
