/* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } */

  :root {
    --bg: #0c0c10;
    --surface: #141418;
    --card: #1c1c22;
    --gold: #e8c46a;
    --gold2: #f5d88a;
    --silver: #a8b4c0;
    --accent-blue: #4a9eff;
    --accent-green: #3ecf8e;
    --accent-rose: #f45b8d;
    --accent-purple: #a855f7;
    --text: #f0eff4;
    --muted: #6b7280;
    --border: rgba(255,255,255,0.07);
    --radius: 18px;
  }

  html { scroll-behavior: smooth; }


  .archer-container {
    position: relative; z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
  }

  /* ─── HERO HEADER ─── */
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 0;
    flex-wrap: wrap;
}
  .hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(232,196,106,.15), rgba(232,196,106,.05));
    border: 1px solid rgba(232,196,106,.3);
    color: var(--gold);
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px; border-radius: 100px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    font-weight: 900; line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
  }
  .hero p {
    color: var(--silver); font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 520px; margin: 0 auto; line-height: 1.7;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 4s ease-in-out infinite;
    transition: 0.3s;
}

  /* ─── CATEGORY TABS ─── */
  .tabs {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
    margin: 40px 0 48px;
    animation: fadeUp .8s .2s ease both;
  }
  .tab-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--silver); font-size: .9rem; font-weight: 500;
    cursor: pointer; transition: all .25s;
    white-space: nowrap;
  }
  .tab-btn .tab-icon { font-size: 1.1rem; }
  .tab-btn:hover {
    border-color: rgba(255,255,255,.2);
    color: #fff; transform: translateY(-1px);
  }
  .tab-btn.active {
    background: linear-gradient(135deg, rgba(232,196,106,.2), rgba(232,196,106,.08));
    border-color: rgba(232,196,106,.5);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(232,196,106,.12);
  }

  /* ─── QUOTES GRID ─── */
  .quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    animation: fadeUp .8s .3s ease both;
  }

  /* ─── QUOTE CARD ─── */
  .quote-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    cursor: pointer;
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
    position: relative; overflow: hidden;
  }
  .quote-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent-color);
    opacity: 0; transition: opacity .3s;
  }
  .quote-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.15);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
  }
  .quote-card:hover::before { opacity: 1; }
  .quote-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 1px var(--accent-color), 0 20px 60px rgba(0,0,0,.4);
  }
  .quote-card.selected::before { opacity: 1; }

  .card-top {
    display: flex; align-items: flex-start;
    justify-content: space-between; margin-bottom: 16px;
  }
  .card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    background: rgba(255,255,255,.06);
  }
  .card-badge {
    font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
    border: 1px solid;
  }

  .quote-text {
    font-family: Poppins,Poppins-roboto,Poppins-local,Helvetica,Arial,sans-serif;
    font-style: italic;
    font-size: 1rem; line-height: 1.65;
    color: #d0cfd8;
    margin-bottom: 20px;
    min-height: 80px;
  }
  .quote-text::before { content: '\201C'; font-size: 2rem; color: var(--accent-color); line-height: 0; vertical-align: -0.5em; margin-right: 4px; opacity: .7; }

  .card-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--border); padding-top: 18px;
  }
  .card-price {
    font-size: 1.5rem; font-weight: 700; color: #fff;
  }
  .card-price span { font-size: .75rem; color: var(--muted); font-weight: 400; }

  .add-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 100px;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    font-size: .85rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
  }
  .add-btn:hover {
    background: var(--accent-color); color: #000;
  }
  .add-btn.added {
    background: var(--accent-color); color: #000;
  }

  /* ─── CART BAR ─── */
  .cart-bar {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    z-index: 100;
    background: rgba(28,28,34,.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 100px;
    padding: 14px 24px;
    display: flex; align-items: center; gap: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
    opacity: 0; pointer-events: none;
    transition: all .4s cubic-bezier(.34,1.56,.64,1);
    white-space: nowrap;
  }
  .cart-bar.visible { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
  .cart-count {
    background: var(--gold); color: #000;
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .8rem;
  }
  .cart-info { color: var(--silver); font-size: .9rem; }
  .cart-total { font-weight: 700; color: #fff; }
  .checkout-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #000; font-weight: 700; font-size: .9rem;
    padding: 10px 24px; border-radius: 100px; border: none;
    cursor: pointer; transition: all .2s;
  }
  .checkout-btn:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(232,196,106,.3); }

  /* ─── MODAL OVERLAY ─── */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
  }
  .modal-overlay.open { opacity: 1; pointer-events: all; }

  .modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%; max-width: 500px;
    max-height: 90vh; overflow-y: auto;
    padding: 36px;
    transform: scale(.95) translateY(20px);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    position: relative;
  }
  .modal-overlay.open .modal { transform: scale(1) translateY(0); }

  .modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.07); border: none;
    color: var(--silver); font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .2s;
  }
  .modal-close:hover { background: rgba(255,255,255,.12); color: #fff; }

  .modal-title {
    font-family: Poppins,Poppins-roboto,Poppins-local,Helvetica,Arial,sans-serif;
    font-size: 1.6rem; font-weight: 700; margin-bottom: 6px;
  }
  .modal-sub { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }

  /* ─── FORM ─── */
  .form-group { margin-bottom: 18px; }
  .form-label {
    display: block; font-size: .8rem; font-weight: 600;
    color: var(--silver); text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 8px;
  }
  .form-input {
    width: 100%; padding: 13px 16px; border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: #fff; font-size: .95rem;  font-family: Poppins,Poppins-roboto,Poppins-local,Helvetica,Arial,sans-serif;
    transition: border-color .2s;
    outline: none;
  }
  .form-input:focus { border-color: rgba(232,196,106,.5); }
  .form-input::placeholder { color: var(--muted); }
  select.form-input { cursor: pointer; }
  option { background: #1c1c22; }

  .order-summary {
    background: rgba(232,196,106,.06);
    border: 1px solid rgba(232,196,106,.15);
    border-radius: 14px; padding: 18px; margin-bottom: 22px;
  }
  .order-summary h4 { font-size: .85rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
  .order-item {
    display: flex; justify-content: space-between;
    font-size: .9rem; color: var(--silver); margin-bottom: 8px;
  }
  .order-item:last-child { margin-bottom: 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); color: #fff; font-weight: 600; }

  .submit-btn {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #000; font-weight: 700; font-size: 1rem;
    border: none; border-radius: 14px; cursor: pointer;
    transition: all .25s;  font-family: Poppins,Poppins-roboto,Poppins-local,Helvetica,Arial,sans-serif;
    letter-spacing: .5px;
  }
  .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,196,106,.3); }

  /* ─── QR SCREEN ─── */
  .qr-screen { text-align: center; }
  .qr-screen .checkmark {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, #3ecf8e, #059669);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 20px;
    animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both;
  }
  .qr-screen h3 {  font-family: Poppins,Poppins-roboto,Poppins-local,Helvetica,Arial,sans-serif; font-size: 1.5rem; margin-bottom: 8px; }
  .qr-screen p { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }

  .qr-box {
    background: #fff; border-radius: 20px;
    padding: 24px; margin: 0 auto 24px;
    display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  }
  .qr-box svg { width: 180px; height: 180px; }
  .gpay-badge {
    background: #000; color: #fff; border-radius: 8px;
    padding: 8px 20px; font-size: .85rem; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
  }
  .amount-due {
    font-size: 1.8rem; font-weight: 700; color: var(--gold); margin-bottom: 6px;
  }
  .qr-instruction {
    font-size: .8rem; color: var(--muted); margin-bottom: 24px;
  }
  .done-btn {
    width: 100%; padding: 14px;
    background: var(--surface); border: 1px solid var(--border);
    color: #fff; font-weight: 600; border-radius: 14px;
    cursor: pointer; font-size: .95rem;  font-family: Poppins,Poppins-roboto,Poppins-local,Helvetica,Arial,sans-serif;
    transition: all .2s;
  }
  .done-btn:hover { background: rgba(255,255,255,.08); }

  /* ─── SECTION LABELS ─── */
  .section-label {
    text-align: center; margin-bottom: 32px;
    animation: fadeUp .6s .1s ease both;
  }
  .section-label h2 {
    font-family: Poppins,Poppins-roboto,Poppins-local,Helvetica,Arial,sans-serif;
    font-size: 1.8rem; margin-bottom: 6px;
  }
  .section-label p { color: var(--muted); font-size: .9rem; }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes popIn {
    from { transform: scale(0); }
    to   { transform: scale(1); }
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
        .hero-image img {
        width: 170px;
        height: 170px;
    }
    .archer-container { padding: 0 16px 80px; }
    .hero { padding: 40px 0 32px; }
    .quotes-grid { grid-template-columns: 1fr; }
    .cart-bar { width: calc(100% - 32px); border-radius: 16px; flex-wrap: wrap; justify-content: center; }
    .modal { padding: 28px 22px; }
    .tabs { gap: 8px; }
    .tab-btn { padding: 9px 16px; font-size: .82rem; }
  }

  @media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .quote-card { padding: 22px; }
  }