:root{
      --brown:#5C3A21; --brown-2:#4b2f1a; --tan:#C29B77; --bg:#F8F4F0; --text:#1a1a1a;
      --muted:#6b5a4a; --accent:#A16B43; --card-radius:14px;
      --hero-img: url('https://i.pinimg.com/736x/e9/9f/2c/e99f2ca8280b8a9a472256ff7422fecb.jpg');
    }
    *{box-sizing:border-box}
    body{
      margin:0;
      font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
      background:var(--bg);
      color:var(--text);
    }
    html{ scroll-behavior:smooth }

    .card{
      transition: transform .28s ease, box-shadow .28s ease
    }
    .card:hover{
      transform: translateY(-4px);
      box-shadow:0 12px 28px rgba(0,0,0,.12)
    }
    .btn,.icon-btn,.cart-btn{
      transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease
    }
    .btn:hover,.icon-btn:hover,.cart-btn:hover{
      transform: translateY(-1px)
    }

    /* NAV - Upgraded to Premium Glassmorphism */
    .nav {
      display: flex; align-items: center; justify-content: space-between; padding: 12px 24px;
      background: rgba(92, 58, 33, 0.7); 
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      color: white;
      position: sticky; top: 0; z-index: 1000; 
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .brand { display: flex; gap: 12px; align-items: center; font-weight: 700; cursor: pointer; }
    .brand .logo {
      width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--tan), var(--accent));
      display: flex; align-items: center; justify-content: center; color: var(--brown); font-family: "Rye"; font-size: 22px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.2);
    }
    .nav-links { display: flex; gap: 18px; align-items: center; }
    .nav-links a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.3s; }
    .nav-links a:hover { color: var(--tan); }
    .nav-actions { display: flex; gap: 12px; align-items: center; }
    
    .btn {
      background: var(--accent); border: none; color: #fff; padding: 12px 20px; border-radius: 12px;
      cursor: pointer; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,0.18);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.25); filter: brightness(1.1); }
    .btn:active { transform: translateY(-1px); }

    .icon-btn {
      background: var(--brown); border: 1.5px solid var(--tan); color: white;
      padding: 10px 16px; border-radius: 12px; cursor: pointer; font-weight: 700;
      backdrop-filter: blur(8px); transition: all 0.3s;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .icon-btn:hover { background: var(--accent); border-color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
    
    /* Pagination */
    .pagination-bar {
      display: flex; justify-content: center; align-items: center; gap: 16px; margin: 30px 0; padding: 16px;
      background: rgba(247, 239, 229, 0.6); border-radius: 16px; border: 1px solid rgba(184, 131, 77, 0.2);
      backdrop-filter: blur(10px);
    }
    .page-btn {
      background: var(--brown); color: #fff; border: none; padding: 10px 20px; border-radius: 10px; cursor: pointer; font-weight: 700;
      transition: all 0.2s;
    }
    .page-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.2); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
    .page-btn:disabled { opacity: 0.5; cursor: not-allowed; }

    /* HERO - Parallax Support & Refinement */
    .hero {
      position: relative;
      padding: 48px 20px;
      min-height: clamp(550px, 85vh, 1000px);
      background-image:
        linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2)),
        var(--hero-img);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center calc(50% + var(--parallax-y, 0px));
      background-attachment: fixed;
      color: #fff;
      display: flex; align-items: center;
      z-index: 1;
      overflow: hidden;
      transition: background-position 0.1s ease-out;
    }

    .hero-inner {
      max-width: 1200px; margin: 0 auto; padding: 40px; border-radius: 24px;
      position: relative; z-index: 1; display: flex; gap: 40px; align-items: center;
      opacity: 0; transform: translateY(30px);
      animation: heroIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards 0.2s;
    }
    @keyframes heroIn { to { opacity: 1; transform: translateY(0) } }
    .hero-text h1 { font-family: "Rye"; font-size: clamp(50px, 8vw, 90px); margin: 0 0 10px; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
    .hero-text p { font-size: 20px; margin: 0 0 30px; color: rgba(255,255,255,0.95); max-width: 600px; line-height: 1.6; }
    
    /* ===== HERO BADGE ===== */
    .hero-badge {
      position: absolute;
      right: clamp(10px, 5vw, 60px);
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
      background: rgba(20, 10, 5, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 24px 64px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
      backdrop-filter: blur(25px) saturate(160%);
      -webkit-backdrop-filter: blur(25px) saturate(160%);
      border-radius: 30px;
      padding: 30px 35px;
      width: clamp(300px, 35vw, 500px);
      display: flex; flex-direction: column; gap: 15px;
      animation: badgeIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards 0.4s;
      opacity: 0; transform: translateY(-50%) translateX(50px);
    }
    @keyframes badgeIn { to { opacity: 1; transform: translateY(-50%) translateX(0); } }

    .hero-badge .brand-line {
      display: flex; align-items: center; gap: 12px;
      font-family: "Rye", serif; font-size: clamp(32px, 5vw, 48px);
      line-height: 1; color: #fff;
    }
    .brand-chip {
      display: inline-flex; align-items: center; justify-content: center;
      width: 44px; height: 44px; border-radius: 12px;
      background: linear-gradient(135deg, #F6D4B5, #C29B77);
      color: #3E2615; font-family: "Rye"; font-size: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .hero-badge .sub {
      font-weight: 800; letter-spacing: 2px; color: var(--tan);
      font-size: 14px; text-transform: uppercase; margin: -5px 0 10px;
    }
    .hero-badge .social { display: flex; flex-wrap: wrap; gap: 10px; }
    .hero-badge .social a {
      display: inline-flex; align-items: center; gap: 10px;
      font-weight: 600; font-size: 13px; color: #fff; text-decoration: none;
      padding: 10px 16px; border-radius: 14px;
      background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,0.2);
      transition: all 0.3s;
    }
    .hero-badge .social a:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--tan); transform: scale(1.05); }

    /* === REBUILT CONTAINER LAYOUT & FILTERS === */
    .container {
      max-width: 1250px;
      margin: 40px auto 80px;
      padding: 0 24px;
      background: transparent;
    }
    .container h2#shop {
      font-size: clamp(28px, 4vw, 36px);
      color: var(--brown);
      margin: 0 0 24px;
      padding-bottom: 12px;
      border-bottom: 2px dashed rgba(194, 155, 119, 0.4);
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    
    /* Filters Container */
    .filters {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 16px;
      margin-bottom: 20px;
      scrollbar-width: thin;
      scrollbar-color: var(--tan) transparent;
      -webkit-overflow-scrolling: touch;
    }
    .filters::-webkit-scrollbar { height: 6px; }
    .filters::-webkit-scrollbar-track { background: transparent; }
    .filters::-webkit-scrollbar-thumb { background-color: var(--tan); border-radius: 20px; }
    
    /* Filter Button */
    .filter-btn {
      flex: 0 0 auto;
      background: #f7efe5;
      color: var(--brown-2);
      border: 1.5px solid #e7ddce;
      padding: 10px 20px;
      border-radius: 999px;
      font-family: inherit;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 2px 8px rgba(0,0,0,0.03);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .filter-btn:hover {
      background: #fff;
      border-color: var(--tan);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(194,155,119,0.2);
    }
    .filter-btn[aria-pressed="true"] {
      background: var(--brown);
      color: #fff;
      border-color: var(--brown);
      box-shadow: 0 6px 16px rgba(92,58,33,0.3);
    }
    .filter-count { opacity: 0.7; font-size: 12px; font-weight: 800; }
    
    /* Toolbar (Search & Sort) */
    .toolbar {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: space-between;
      align-items: center;
      background: rgba(255, 255, 255, 0.6);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(194, 155, 119, 0.3);
      padding: 16px 20px;
      border-radius: 16px;
      margin-bottom: 30px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    }
    
    .search {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1;
      min-width: 250px;
      background: #fff;
      border: 1.5px solid #e7ddce;
      border-radius: 12px;
      padding: 0 16px;
      transition: all 0.3s ease;
    }
    .search:focus-within {
      border-color: var(--tan);
      box-shadow: 0 0 0 3px rgba(194, 155, 119, 0.15);
    }
    .search input {
      border: none;
      background: transparent;
      padding: 14px 0;
      width: 100%;
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      outline: none;
    }
    .search input::placeholder { color: #a19588; }
    
    .select {
      appearance: none;
      -webkit-appearance: none;
      background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C3A21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 16px center;
      background-size: 16px;
      border: 1.5px solid #e7ddce;
      padding: 14px 44px 14px 20px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 600;
      color: var(--brown-2);
      cursor: pointer;
      min-width: 200px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
      transition: all 0.3s ease;
    }
    .select:focus {
      outline: none;
      border-color: var(--tan);
      box-shadow: 0 0 0 3px rgba(194, 155, 119, 0.15);
    }
    .select:hover { border-color: var(--tan); }
    
    /* Product Grid layout */
    .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px }
    
    .card { 
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.4);
      padding: 20px; border-radius: 20px; 
      box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
      display: flex; flex-direction: column; gap: 12px; 
      transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); background: #fff; }
    .card img {
      width: 100%; height: 260px; object-fit: cover; object-position: center 20%;
      border-radius: 12px; border: 1px solid rgba(0,0,0,0.05);
      transition: transform 0.5s ease;
    }
    .card:hover img { transform: scale(1.03); }

    .badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
    .stock-badge { 
      font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 6px; 
      background: #fdf2f2; color: #9b1c1c; border: 1px solid #fbd5d5;
    }
    .stock-badge.in-stock { background: #f3faf7; color: #03543f; border: 1px solid #def7ec; }
    .sizes-badge { 
      font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 6px; 
      background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb;
    }

    /* WANTED POSTER PROFILE - Premium Refinement */
    .wanted-poster {
      background-color: #f1e4d1;
      background-image: 
        url('https://www.transparenttextures.com/patterns/parchment.png'),
        url('https://www.transparenttextures.com/patterns/old-map.png');
      padding: 50px 35px;
      border: 6px double #3e2615;
      outline: 12px solid #f1e4d1;
      box-shadow: 
        0 0 0 16px #3e2615, 
        0 40px 80px rgba(0,0,0,0.8),
        inset 0 0 120px rgba(92, 58, 33, 0.25);
      text-align: center;
      color: #2b1a0e;
      font-family: "Rye", serif;
      position: relative;
      border-radius: 2px;
    }
    .wanted-header { font-size: 64px; letter-spacing: 6px; margin-bottom: 0; line-height: 0.9; }
    .wanted-sub { font-size: 22px; letter-spacing: 4px; margin-bottom: 30px; border-bottom: 3px solid #3e2615; border-top: 3px solid #3e2615; padding: 6px 0; }
    
    .wanted-image-frame {
      width: 200px; height: 220px; margin: 0 auto 25px;
      border: 5px solid #2b1a0e; background: #dccdb3;
      display: flex; align-items: center; justify-content: center;
      box-shadow: inset 0 0 25px rgba(0,0,0,0.4), 4px 4px 15px rgba(0,0,0,0.2);
      transform: rotate(1deg);
      overflow: hidden;
    }
    .wanted-name { font-size: 50px; margin-bottom: 12px; color: #1a0f08; text-decoration: underline; text-decoration-style: wavy; }
    .wanted-bounty { font-size: 48px; margin-top: 15px; border-top: 3px dashed #3e2615; padding-top: 20px; color: #8b2511; }

    /* Modals & Drawers Glassmorphism */
    .drawer, .auth-card, .details, .checkout {
      background: rgba(255, 255, 255, 0.75) !important;
      backdrop-filter: blur(25px) saturate(170%) !important;
      -webkit-backdrop-filter: blur(25px) saturate(170%) !important;
      border: 1px solid rgba(255, 255, 255, 0.4) !important;
      box-shadow: 0 32px 64px rgba(0,0,0,0.3) !important;
    }
    
    /* Animations */
    @keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
    .grid .card { animation: slideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) both; }
    .grid .card:nth-child(2n) { animation-delay: 0.1s; }
    .grid .card:nth-child(3n) { animation-delay: 0.2s; }

    /* Cart */
    .modal { position: fixed; right: 18px; bottom: 18px; z-index: 60 }
    .cart-btn { background: var(--brown); color: #fff; padding: 12px 14px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); cursor: pointer; font-weight: 800 }
    .drawer {
      position: fixed; right: 18px; bottom: 80px; width: 380px; max-width: 92vw; 
      border-radius: 20px; padding: 16px;
      display: flex; flex-direction: column; gap: 12px; z-index: 100; 
      opacity: 0; transform: translateY(20px); pointer-events: none; 
      transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .drawer.open { opacity: 1; transform: translateY(0); pointer-events: auto }
    .cart-item { display: flex; gap: 10px; align-items: center }
    .cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px }
    .cart-summary { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 2px dashed #eee }

    /* Auth modal */
    .auth-modal {
      position: fixed; inset: 0; background: rgba(0,0,0,0.45);
      display: flex; align-items: center; justify-content: center; z-index: 80;
      opacity: 0; pointer-events: none; transition: opacity .28s ease;
    }
    .auth-modal.open { opacity: 1; pointer-events: auto }
    .auth-card { 
      width: min(92vw,440px); 
      padding: 24px; border-radius: 24px; 
      transform: translateY(20px); opacity: 0; 
      transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    }
    .auth-modal.open .auth-card { transform: translateY(0); opacity: 1 }
    .auth-title { 
      display: flex; align-items: center; gap: 12px; 
      font-family: "Rye"; color: #5C3A21; letter-spacing: 1px;
      font-size: 24px;
    }
    .close-x { background: transparent; border: none; cursor: pointer; color: #6e4a2d; font-size: 20px }
    .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px }
    input[type=text],input[type=email],input[type=password],input[type=tel] { padding: 12px; border-radius: 12px; border: 2px solid #b8834d; width: 100%; font-weight: 600; background: #fff }
    input:focus { outline: none; box-shadow: 0 0 0 3px rgba(211,162,103,.28) }
    .muted { color: var(--muted); font-size: 13px }

    /* Checkout */
    .checkout-backdrop {
      position: fixed; inset: 0; background: rgba(0,0,0,0.45);
      display: flex; align-items: center; justify-content: center; z-index: 85;
      opacity: 0; pointer-events: none; transition: opacity .28s ease;
    }
    .checkout-backdrop.open { opacity: 1; pointer-events: auto }
    .checkout { width: min(96vw,900px); border-radius: 18px; border: 3px solid #6e4a2d; overflow: hidden;
      transform: translateY(14px); opacity: 0; transition: transform .28s ease, opacity .28s ease;
    }
    .checkout-backdrop.open .checkout { transform: translateY(0); opacity: 1 }
    .checkout-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f7efe5; border-bottom: 2px solid #e8dccf }
    .checkout-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; padding: 16px }
    .checkout-section { background: #faf6f1; border: 1.5px solid #e7dfd7; border-radius: 14px; padding: 12px }
    .checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
    .order-items { max-height: 320px; overflow: auto; display: flex; flex-direction: column; gap: 8px }
    .order-item { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 8px }
    .kicker { font-weight: 800; color: var(--brown) }
    .total-line { display: flex; justify-content: space-between; margin: 6px 0 }
    .total-strong { font-weight: 900; font-size: 18px }
    .pay-btn { width: 100%; padding: 12px; font-weight: 900; border-radius: 12px; background: var(--accent); color: #fff; border: none; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.2) }

    @media (max-width: 900px) { .checkout-body { grid-template-columns: 1fr } }
    @media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important } }

    /* ===== Product Details Modal ===== */
    .details-backdrop {
      position: fixed; inset: 0; background: rgba(0,0,0,0.45);
      display: flex; align-items: center; justify-content: center; z-index: 82;
      opacity: 0; pointer-events: none; transition: opacity .28s ease;
    }
    .details-backdrop.open { opacity: 1; pointer-events: auto }
    .details {
      width: min(96vw, 900px); 
      border-radius: 24px; 
      overflow: hidden;
      transform: translateY(30px); opacity: 0; 
      transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
      display: grid; grid-template-columns: 1fr 1fr;
    }
    .details-backdrop.open .details { transform: translateY(0); opacity: 1 }
    .details-media { position: relative; min-height: 280px; background: #f7efe5 }
    .details-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px }
    .details-body { padding: 16px; display: flex; flex-direction: column; gap: 10px }
    .badge { display: inline-block; background: #f2e7dc; color: #5C3A21; padding: 4px 8px; border-radius: 999px; font-weight: 800; font-size: 12px; border: 1px solid #e7dfd7 }
    .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 14px }
    .specs div { background: #faf6f1; border: 1.5px solid #e7dfd7; border-radius: 10px; padding: 8px }
    .size-row { display: flex; gap: 8px; flex-wrap: wrap }
    .size-chip { padding: 6px 10px; border: 1.5px solid #e7dfd7; border-radius: 10px; font-weight: 800; background: #fff; cursor: pointer }
    .size-chip.active {
      background: var(--tan);
      border-color: var(--tan);
      color: var(--brown);
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }
    .details-actions { display: flex; gap: 8px; align-items: center; margin-top: auto; flex-wrap: wrap }
    @media (max-width: 860px) { .details { grid-template-columns: 1fr } }

    /* ===== Trophy toast ===== */
    .trophy-toast {
      position: fixed;
      right: 16px; bottom: 16px;
      z-index: 120;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 12px 18px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--brown), var(--brown-2));
      border: 1.5px solid var(--tan);
      color: #fff;
      box-shadow: 0 12px 30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,0.15);
      opacity: 0;
      transform: translateY(8px) scale(.96);
      pointer-events: none;
      animation: trophy-anim 2.5s ease-in-out forwards;
    }
    .trophy-toast .tt-title { font-family: 'Rye', serif; font-size: 16px; letter-spacing: 1px; line-height: 1.2; padding-bottom: 2px; }
    .trophy-toast .tt-sub { font-size: 12px; opacity: .9; color: #f2e7dc; font-weight: 600; }
    @keyframes trophy-anim {
      0% { opacity: 0; transform: translateY(8px) scale(.96); }
      10% { opacity: 1; transform: translateY(0) scale(1); }
      75% { opacity: 1; transform: translateY(0) scale(1); }
      100% { opacity: 0; transform: translateY(-28px) scale(.98); }
    }
    .trophy-toast .tt-img { width: 42px; height: 42px; flex: 0 0 auto; object-fit: cover; border-radius: 10px; border: 1.5px solid var(--tan); box-shadow: 0 4px 12px rgba(0,0,0,.45); background: #3b2414; }

    /* === Image Honor Banner === */
    .honor-img-banner {
      position: fixed; right: 16px; bottom: 16px; z-index: 160;
      display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
      background: rgba(10,10,10,0.78); color: #fff;
      box-shadow: 0 12px 28px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.12);
      backdrop-filter: blur(10px) saturate(140%);
      -webkit-backdrop-filter: blur(10px) saturate(140%);
      opacity: 0; transform: translateY(8px) scale(0.96); pointer-events: none;
      will-change: opacity, transform; animation: hib-in 0.18s ease-out forwards;
    }
    .honor-img-banner.out { animation: hib-out 0.6s ease-in forwards; }
    .honor-img-banner img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.35); }
    .honor-img-banner .hib-text { font-weight: 900; letter-spacing: 0.2px; line-height: 1.2; }
    @keyframes hib-in { to { opacity: 1; transform: translateY(0) scale(1); } }
    @keyframes hib-out { to { opacity: 0; transform: translateY(10px) scale(0.98); } }

    /* ===== Coupon list style ===== */
    .coupon-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
    .coupon-pill {
      border-radius: 999px; border: 1.5px dashed #c58a56; background: #fff7ec; padding: 6px 10px;
      font-size: 12px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; min-width: 120px;
    }
    .coupon-pill-code { font-size: 13px; letter-spacing: 0.6px; }
    .coupon-pill-label { font-size: 11px; color: var(--muted); }

    /* ===== Honor widget — Red Dead style side bar ===== */
    .honor-widget {
      position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 55;
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      width: 60px; padding: 10px 8px; border-radius: 999px;
      background: radial-gradient(circle at 30% 0%, #3b2414, #120903 70%);
      border: 2px solid rgba(255,215,150,0.7);
      box-shadow: 0 12px 30px rgba(0,0,0,0.75), inset 0 0 0 1px rgba(0,0,0,0.6);
    }
    .honor-widget::before { content: "★"; font-size: 16px; color: #f5d678; text-shadow: 0 0 6px rgba(0,0,0,0.9); }
    .honor-widget.honor-full { box-shadow: 0 0 0 2px rgba(255,215,0,0.95), 0 0 30px rgba(255,180,0,0.95); }
    .honor-label { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #f2e0c5; writing-mode: vertical-rl; text-orientation: mixed; }
    .honor-track { width: 10px; height: 150px; border-radius: 999px; background: rgba(0,0,0,0.55); box-shadow: inset 0 0 12px rgba(0,0,0,0.9); overflow: hidden; position: relative; }
    .honor-fill { width: 100%; height: 0%; border-radius: 999px; background: linear-gradient(180deg, #4b0101, #ba2b1a, #f7c66a); box-shadow: 0 0 16px rgba(247,198,106,0.9); transition: height 0.25s ease-out; }
    .honor-percent { font-size: 11px; font-weight: 900; color: #f7e4c9; text-shadow: 0 1px 2px rgba(0,0,0,0.9); }
    @media (max-width: 600px) { .honor-widget { right: 10px; top: auto; bottom: 90px; transform: none; width: 52px; padding: 8px 6px; } }

    /* ===== Custom Toast ===== */
    .custom-toast {
      position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
      background: var(--brown); color: #fff; padding: 12px 20px; border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.3); font-weight: 600; font-size: 14px; z-index: 9999;
      opacity: 0; pointer-events: none; animation: toast-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
      border: 1.5px solid var(--tan); text-align: center; max-width: 90vw;
    }
    .custom-toast.fade-out { animation: toast-out 0.3s ease-in forwards; }
    @keyframes toast-in { to { opacity: 1; transform: translateX(-50%) translateY(0); } }
    @keyframes toast-out { to { opacity: 0; transform: translateX(-50%) translateY(20px); } }

    /* NAV ICONS */
    .icon-btn .nav-icon, .cart-btn .nav-icon { transition: filter 0.3s ease, transform 0.3s ease; }
    .icon-btn:hover .nav-icon, .cart-btn:hover .nav-icon { filter: drop-shadow(0 0 6px rgba(228, 179, 99, 0.8)); transform: scale(1.15) translateY(-1px); }

    /* WANTED POSTER PROFILE */
    .wanted-poster-container { position: relative; width: 90%; max-width: 400px; margin: auto; transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
    .details-backdrop.open .wanted-poster-container { transform: scale(1); }

    .wanted-poster {
      background-color: #f1e4d1;
      background-image: 
        url('https://www.transparenttextures.com/patterns/parchment.png'),
        url('https://www.transparenttextures.com/patterns/old-map.png');
      padding: 50px 35px;
      border: 6px double #3e2615;
      outline: 12px solid #f1e4d1;
      box-shadow: 
        0 0 0 16px #3e2615, 
        0 40px 80px rgba(0,0,0,0.8),
        inset 0 0 120px rgba(92, 58, 33, 0.25);
      text-align: center;
      color: #2b1a0e;
      font-family: "Rye", serif;
      position: relative;
      border-radius: 2px;
    }
    .wanted-header { font-size: 64px; letter-spacing: 6px; margin-bottom: 0; line-height: 0.9; }
    .wanted-sub { font-size: 22px; letter-spacing: 4px; margin-bottom: 30px; border-bottom: 3px solid #3e2615; border-top: 3px solid #3e2615; padding: 6px 0; }
    
    .wanted-image-frame {
      width: 200px; height: 220px; margin: 0 auto 25px;
      border: 5px solid #2b1a0e; background: #dccdb3;
      display: flex; align-items: center; justify-content: center;
      box-shadow: inset 0 0 25px rgba(0,0,0,0.4), 4px 4px 15px rgba(0,0,0,0.2);
      transform: rotate(1deg);
      overflow: hidden;
    }
    .wanted-name { font-size: 50px; margin-bottom: 12px; color: #1a0f08; text-decoration: underline; text-decoration-style: wavy; }
    .wanted-bounty { font-size: 48px; margin-top: 15px; border-top: 3px dashed #3e2615; padding-top: 20px; color: #8b2511; }

    /* Footer adjustments */
    footer { position: relative; z-index: 10; }
