/* =========================================
   JARABAY MARKETPLACE — NEW DESIGN (navy / orange)
   Scoped to body.shop2 so it never clashes with jarabay.css.
   ========================================= */
body.shop2 {
    --navy: #0A2540;
    --navy-light: #1A365D;
    --navy-dark: #061626;
    --orange: #F59E0B;
    --orange-hover: #D97706;
    --orange-light: #FEF3C7;

    --flash-red: #E11D48;
    --flash-red-dark: #BE123C;
    --wholesale-blue: #1E40AF;
    --wholesale-blue-dark: #1E3A8A;
    --seller-green: #059669;
    --seller-green-dark: #047857;
    --coupon-purple: #7C3AED;
    --coupon-purple-dark: #6D28D9;

    --bg-canvas: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border-light: #E2E8F0;
    --border-focus: #CBD5E1;

    --success: #10B981;
    --star: #FBBF24;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-canvas);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 60px;
}

body.shop2 *, body.shop2 *::before, body.shop2 *::after { box-sizing: border-box; }
body.shop2 h1, body.shop2 h2, body.shop2 h3, body.shop2 h4, body.shop2 p, body.shop2 ul, body.shop2 figure { margin: 0; padding: 0; }
body.shop2 a { text-decoration: none; color: inherit; }
body.shop2 ul { list-style: none; }
body.shop2 img { display: block; }
body.shop2 button { font-family: inherit; }

.shop2 .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   BUTTONS & BADGES
   ========================================= */
.shop2 .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: all 0.2s ease; border: none; gap: 8px; }
.shop2 .btn-primary { background-color: var(--orange); color: var(--navy); }
.shop2 .btn-primary:hover { background-color: var(--orange-hover); transform: translateY(-1px); }
.shop2 .btn-dark { background-color: var(--navy); color: #FFFFFF; }
.shop2 .btn-dark:hover { background-color: var(--navy-light); }
.shop2 .btn-outline { background-color: transparent; color: var(--navy); border: 1px solid var(--border-light); }
.shop2 .btn-outline:hover { border-color: var(--navy); background-color: var(--navy); color: #FFFFFF; }
.shop2 .btn-sm { padding: 6px 12px; font-size: 0.75rem; border-radius: 6px; }

.shop2 .badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.shop2 .badge-flash { background: var(--flash-red); color: #fff; }
.shop2 .badge-wholesale { background: var(--wholesale-blue); color: #fff; }
.shop2 .badge-new { background: var(--navy); color: #fff; }
.shop2 .badge-ad { background: var(--orange); color: var(--navy); }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.shop2 .top-bar { background-color: var(--navy-dark); color: #94A3B8; font-size: 0.75rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.shop2 .top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.shop2 .top-bar a { margin: 0 12px; transition: color 0.2s; }
.shop2 .top-bar a:hover { color: #FFFFFF; }

.shop2 .main-header { background-color: var(--navy); padding: 16px 0; color: #FFFFFF; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-md); }
.shop2 .header-inner { display: flex; align-items: center; gap: 24px; }
.shop2 .logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.5rem; letter-spacing: -0.5px; white-space: nowrap; }
.shop2 .logo-icon { background: linear-gradient(135deg, var(--orange), #FCD34D); color: var(--navy); width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); overflow: hidden; }
.shop2 .logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.shop2 .location-selector { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #CBD5E1; cursor: pointer; white-space: nowrap; padding: 8px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); transition: background 0.2s; border: none; position: relative; }
.shop2 .location-selector:hover { background: rgba(255,255,255,0.1); color: #FFFFFF; }
.shop2 .location-selector > summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.shop2 .location-selector > summary::-webkit-details-marker { display: none; }
.shop2 .search-container { flex: 1; display: flex; background-color: #FFFFFF; border-radius: var(--radius-sm); overflow: hidden; height: 48px; position: relative; }
.shop2 .search-container input { flex: 1; padding: 0 20px; border: none; outline: none; font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text-main); background: #fff; }
.shop2 .search-container button { background-color: var(--orange); color: var(--navy); border: none; padding: 0 32px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: background 0.2s; }
.shop2 .search-container button:hover { background-color: var(--orange-hover); }
.shop2 .header-actions { display: flex; align-items: center; gap: 20px; }
.shop2 .header-action { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; color: #CBD5E1; font-size: 0.75rem; font-weight: 500; transition: color 0.2s; position: relative; }
.shop2 .header-action:hover { color: #FFFFFF; }
.shop2 .header-action svg { width: 22px; height: 22px; }
.shop2 .cart-count { position: absolute; top: -6px; right: -8px; background: var(--orange); color: var(--navy); font-size: 0.65rem; font-weight: 800; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }

.shop2 .cat-nav { background-color: var(--orange); padding: 10px 0; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid var(--orange-hover); scrollbar-width: none; }
.shop2 .cat-nav::-webkit-scrollbar { display: none; }
.shop2 .cat-nav-inner { display: flex; gap: 24px; align-items: center; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.shop2 .cat-nav a { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 50px; transition: background 0.2s; }
.shop2 .cat-nav a:hover { background: rgba(255,255,255,0.3); }
.shop2 .cat-nav .active { background: #FFFFFF; box-shadow: var(--shadow-sm); }

/* Location pop-over */
.shop2 .loc-pop { position: absolute; top: calc(100% + 8px); left: 0; width: 280px; background: #fff; color: var(--text-main); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 16px; z-index: 200; text-align: left; }
.shop2 .location-selector[open] .loc-pop { display: block; }
.shop2 .loc-pop strong { display: block; font-size: 0.9rem; margin-bottom: 10px; }
.shop2 .loc-pop select { width: 100%; padding: 10px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); margin-top: 6px; }
.shop2 .loc-pop .btn { width: 100%; }
.shop2 .loc-pop .link { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; cursor: pointer; margin-top: 8px; text-decoration: underline; padding: 0; }

/* =========================================
   HERO SECTION
   ========================================= */
.shop2 .hero-section { margin-top: 24px; display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.shop2 .hero-main { background-color: var(--navy); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; color: #FFFFFF; min-height: 280px; }
.shop2 .hero-main::before { content: ''; position: absolute; top: -50%; left: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%); border-radius: 50%; z-index: 0; }
.shop2 .hero-slide { position: relative; z-index: 1; max-width: 500px; display: none; }
.shop2 .hero-slide.active { display: block; }
.shop2 .hero-content { position: relative; z-index: 1; max-width: 500px; }
.shop2 .hero-badge { color: var(--orange); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; display: block; }
.shop2 .hero-main h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 12px; font-weight: 800; letter-spacing: -1px; }
.shop2 .hero-main p { color: #94A3B8; font-size: 1rem; margin-bottom: 24px; }
.shop2 .hero-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; z-index: 2; }
.shop2 .hero-nav-btn:hover { background-color: rgba(255,255,255,0.2); }
.shop2 .hero-nav-btn.left { left: 16px; }
.shop2 .hero-nav-btn.right { right: 16px; }
.shop2 .hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.shop2 .hero-dot { width: 8px; height: 8px; border-radius: 50%; background-color: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s; border: none; padding: 0; }
.shop2 .hero-dot.active { background-color: #FFFFFF; width: 24px; border-radius: 4px; }

.shop2 .hero-sidebar { display: flex; flex-direction: column; gap: 16px; }
.shop2 .hero-sidebar-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; flex: 1; }
.shop2 .hero-sidebar-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-focus); }
.shop2 .hero-sidebar-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; background: var(--bg-subtle); color: var(--navy); }
.shop2 .hero-sidebar-text h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 2px; }
.shop2 .hero-sidebar-text p { font-size: 0.8rem; color: var(--text-muted); }

/* =========================================
   MARKETPLACE SECTIONS
   ========================================= */
.shop2 .marketplace-content { padding: 32px 0 80px; display: flex; flex-direction: column; gap: 32px; }
.shop2 .section-card { background-color: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); overflow: hidden; }
.shop2 .section-header { padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; color: #FFFFFF; }
.shop2 .section-header.bg-flash { background: linear-gradient(135deg, var(--flash-red), var(--flash-red-dark)); }
.shop2 .section-header.bg-wholesale { background: linear-gradient(135deg, var(--wholesale-blue), var(--wholesale-blue-dark)); }
.shop2 .section-header.bg-seller { background: linear-gradient(135deg, var(--seller-green), var(--seller-green-dark)); }
.shop2 .section-header.bg-coupon { background: linear-gradient(135deg, var(--coupon-purple), var(--coupon-purple-dark)); }
.shop2 .section-header.bg-neutral { background: var(--bg-card); color: var(--navy); border-bottom: 1px solid var(--border-light); }
.shop2 .section-header.bg-navy { background: var(--navy); color: #FFFFFF; }
.shop2 .section-header.bg-ad { background: #FFFBEB; color: var(--text-main); border-bottom: 1px solid #FDE68A; }
.shop2 .section-title { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 700; }
.shop2 .section-title svg { width: 20px; height: 20px; }
.shop2 .section-timer { background: rgba(0,0,0,0.2); padding: 4px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.shop2 .section-header-actions { display: flex; align-items: center; gap: 16px; }
.shop2 .see-all { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; opacity: 0.9; transition: opacity 0.2s; }
.shop2 .see-all:hover { opacity: 1; text-decoration: underline; }
.shop2 .section-header.bg-neutral .see-all, .shop2 .section-header.bg-ad .see-all { color: var(--orange-hover); }
.shop2 .section-body { padding: 24px; }

/* =========================================
   PRODUCT CARDS (UNIVERSAL)
   ========================================= */
.shop2 .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.shop2 .product-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; position: relative; }
.shop2 .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-focus); }
.shop2 .product-image { width: 100%; height: 200px; background-color: #F8FAFC; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--text-light); }
.shop2 .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.shop2 .product-card:hover .product-image img { transform: scale(1.05); }
.shop2 .product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.shop2 .product-wishlist { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: var(--shadow-sm); transition: all 0.2s; color: var(--text-muted); }
.shop2 .product-wishlist:hover { background: #FFFFFF; color: var(--flash-red); transform: scale(1.1); }
.shop2 .product-wishlist.on { color: var(--flash-red); }
.shop2 .product-sold-out { position: absolute; inset: 0; background: rgba(15,23,42,0.55); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; z-index: 3; }
.shop2 .product-info { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.shop2 .product-title { font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.shop2 .product-rating { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; }
.shop2 .product-rating svg { width: 14px; height: 14px; color: var(--star); }
.shop2 .product-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.shop2 .product-price { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.shop2 .product-price small { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.shop2 .product-old-price { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }
.shop2 .product-savings { font-size: 0.75rem; color: var(--success); font-weight: 600; margin-bottom: 12px; }
.shop2 .product-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.shop2 .product-info .btn { margin-top: auto; }
.shop2 .flash-progress-container { margin-top: auto; margin-bottom: 12px; }
.shop2 .flash-progress-text { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: 600; color: var(--flash-red); margin-bottom: 4px; }
.shop2 .flash-progress-bar { background: #FEE2E2; height: 6px; border-radius: 3px; overflow: hidden; }
.shop2 .flash-progress-fill { background: var(--flash-red); height: 100%; border-radius: 3px; }

/* =========================================
   SPOTLIGHT (ITEM OF THE WEEK)
   ========================================= */
.shop2 .spotlight-card { display: flex; background: linear-gradient(135deg, #FFFFFF, #F8FAFC); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.shop2 .spotlight-image { width: 40%; min-height: 300px; background: #F1F5F9; position: relative; display: flex; align-items: center; justify-content: center; color: var(--text-light); }
.shop2 .spotlight-image img { width: 100%; height: 100%; object-fit: cover; }
.shop2 .spotlight-content { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.shop2 .spotlight-label { font-size: 0.75rem; font-weight: 800; color: var(--orange-hover); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.shop2 .spotlight-title { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop2 .spotlight-price { font-size: 2rem; font-weight: 800; color: var(--text-main); margin-bottom: 16px; }
.shop2 .spotlight-price s { font-size: 1.1rem; font-weight: 500; color: var(--text-muted); margin-left: 10px; }
.shop2 .spotlight-location { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.shop2 .spotlight-location svg { width: 16px; height: 16px; }
.shop2 .spotlight-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.shop2 .spotlight-more { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }

/* =========================================
   NEARBY STORES
   ========================================= */
.shop2 .nearby-header { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #FFFFFF; border-bottom: none; }
.shop2 .nearby-header .section-title { color: #FFFFFF; }
.shop2 .nearby-header .see-all { color: var(--orange); }
.shop2 .nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.shop2 .nearby-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px; display: flex; gap: 16px; align-items: center; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.shop2 .nearby-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--seller-green); }
.shop2 .nearby-avatar { width: 56px; height: 56px; background: var(--navy); color: #FFFFFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 800; flex-shrink: 0; border: 2px solid var(--seller-green); overflow: hidden; }
.shop2 .nearby-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.shop2 .nearby-info { flex: 1; overflow: hidden; }
.shop2 .nearby-name { font-weight: 700; font-size: 0.95rem; color: var(--text-main); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop2 .nearby-distance { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--seller-green); font-weight: 600; margin-bottom: 4px; }
.shop2 .nearby-distance svg { width: 12px; height: 12px; }
.shop2 .nearby-tags { font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop2 .location-prompt { background: #F0FDF4; border: 1px dashed #86EFAC; border-radius: var(--radius-md); padding: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.shop2 .location-prompt-text h4 { font-size: 1rem; color: var(--text-main); margin-bottom: 4px; }
.shop2 .location-prompt-text p { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   SELLER CARDS
   ========================================= */
.shop2 .seller-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.shop2 .seller-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--seller-green); }
.shop2 .seller-avatar { width: 72px; height: 72px; background: var(--navy); color: #FFFFFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 800; margin-bottom: 16px; border: 3px solid var(--seller-green); overflow: hidden; }
.shop2 .seller-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.shop2 .seller-name { font-weight: 700; font-size: 1rem; color: var(--text-main); margin-bottom: 6px; }
.shop2 .seller-verified { display: flex; align-items: center; gap: 4px; color: var(--seller-green); font-size: 0.75rem; font-weight: 700; margin-bottom: 8px; background: #ECFDF5; padding: 4px 10px; border-radius: 50px; }
.shop2 .seller-verified svg { width: 14px; height: 14px; }
.shop2 .seller-stats { display: flex; gap: 16px; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 16px; }
.shop2 .seller-stats strong { color: var(--text-main); display: block; font-size: 0.9rem; }
.shop2 .seller-card form { width: 100%; }
.shop2 .seller-card .btn { width: 100%; border-color: var(--seller-green); color: var(--seller-green); }
.shop2 .seller-card .btn.following { background: var(--seller-green); color: #fff; border-color: var(--seller-green); }

/* =========================================
   COUPON CARDS
   ========================================= */
.shop2 .coupons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.shop2 .coupon-card { background: #FFFFFF; border: 2px dashed var(--coupon-purple); border-radius: var(--radius-md); padding: 20px; display: flex; align-items: center; gap: 20px; position: relative; overflow: hidden; transition: transform 0.2s; }
.shop2 .coupon-card:hover { transform: translateY(-2px); background: #FAF5FF; }
.shop2 .coupon-card::before, .shop2 .coupon-card::after { content: ''; position: absolute; width: 20px; height: 20px; background: var(--bg-canvas); border-radius: 50%; border: 2px dashed var(--coupon-purple); }
.shop2 .coupon-card::before { left: -12px; top: 50%; transform: translateY(-50%) rotate(45deg); border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.shop2 .coupon-card::after { right: -12px; top: 50%; transform: translateY(-50%) rotate(-45deg); border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.shop2 .coupon-icon { background: var(--coupon-purple); color: #FFFFFF; width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.5rem; }
.shop2 .coupon-icon svg { width: 28px; height: 28px; }
.shop2 .coupon-info { flex: 1; overflow: hidden; }
.shop2 .coupon-info h4 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 4px; font-weight: 800; }
.shop2 .coupon-info p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.shop2 .coupon-code-box { display: flex; align-items: center; gap: 10px; }
.shop2 .coupon-code { background: var(--bg-canvas); border: 1px solid var(--border-light); padding: 6px 12px; border-radius: var(--radius-sm); font-family: monospace; font-size: 0.85rem; font-weight: 700; color: var(--coupon-purple); letter-spacing: 1px; }
.shop2 .coupon-copy { font-size: 0.75rem; font-weight: 600; color: var(--coupon-purple); cursor: pointer; background: none; border: none; }
.shop2 .coupon-copy:hover { text-decoration: underline; }

/* =========================================
   CATEGORIES (ONE-LINE SCROLLER)
   ========================================= */
.shop2 .category-scroller { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; -ms-overflow-style: none; }
.shop2 .category-scroller::-webkit-scrollbar { display: none; }
.shop2 .category-item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 80px; cursor: pointer; transition: transform 0.2s; }
.shop2 .category-item:hover { transform: translateY(-4px); }
.shop2 .category-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--bg-subtle); color: var(--navy); transition: all 0.2s; border: 1px solid var(--border-light); }
.shop2 .category-item:hover .category-icon { background: var(--orange); border-color: var(--orange); color: var(--navy); box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); }
.shop2 .category-name { font-size: 0.75rem; font-weight: 600; color: var(--text-main); text-align: center; line-height: 1.2; white-space: nowrap; }

/* =========================================
   TRENDING & SEARCH TAGS
   ========================================= */
.shop2 .trending-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.shop2 .trend-tag { display: flex; align-items: center; gap: 8px; background: var(--bg-canvas); border: 1px solid var(--border-light); padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--text-main); cursor: pointer; transition: all 0.2s; }
.shop2 .trend-tag:hover { border-color: var(--orange); background: #FFFFFF; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.shop2 .trend-number { background: var(--navy); color: #FFFFFF; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }

/* =========================================
   FEED ("FOR YOU")
   ========================================= */
.shop2 .feed-more { display: flex; justify-content: center; padding: 24px; }
.shop2 .feed-spin { width: 28px; height: 28px; border: 3px solid var(--border-light); border-top-color: var(--orange); border-radius: 50%; animation: shop2spin 0.8s linear infinite; }
@keyframes shop2spin { to { transform: rotate(360deg); } }
.shop2 .feed-end { text-align: center; color: var(--text-muted); font-size: 0.85rem; padding: 12px; }

/* Empty row */
.shop2 .empty-row { text-align: center; padding: 32px 16px; color: var(--text-muted); }
.shop2 .empty-row strong { display: block; color: var(--text-main); font-size: 1rem; margin-bottom: 6px; }
.shop2 .empty-row p { font-size: 0.85rem; margin-bottom: 14px; }

/* Flash messages */
.shop2 .flash { padding: 14px 18px; border-radius: var(--radius-md); margin: 16px 0; font-size: 0.9rem; }
.shop2 .flash-ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.shop2 .flash-err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* =========================================
   FOOTER
   ========================================= */
.shop2 footer.shop-foot { background-color: var(--navy-dark); color: #94A3B8; padding: 64px 0 30px; font-size: 0.9rem; margin-top: 40px; }
.shop2 .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 48px; }
.shop2 .footer-col h4 { color: #FFFFFF; margin-bottom: 20px; font-size: 1rem; font-weight: 700; }
.shop2 .footer-col ul li { margin-bottom: 12px; }
.shop2 .footer-col ul li a { transition: color 0.2s; }
.shop2 .footer-col ul li a:hover { color: var(--orange); }
.shop2 .footer-col p { font-size: 0.85rem; line-height: 1.6; }
.shop2 .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; font-size: 0.8rem; }
.shop2 .newsletter-box { background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: var(--radius-lg); padding: 32px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; flex-wrap: wrap; gap: 24px; border: 1px solid rgba(255,255,255,0.1); }
.shop2 .newsletter-box h4 { color: #FFFFFF; margin-bottom: 4px; font-size: 1.25rem; }
.shop2 .newsletter-box p { font-size: 0.9rem; color: #94A3B8; }
.shop2 .newsletter-form { display: flex; gap: 10px; flex: 1; max-width: 450px; }
.shop2 .newsletter-form input { flex: 1; padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1); outline: none; font-family: 'Inter', sans-serif; background: rgba(255,255,255,0.05); color: #FFFFFF; }
.shop2 .newsletter-form input::placeholder { color: #64748B; }
.shop2 .newsletter-form input:focus { border-color: var(--orange); background: rgba(255,255,255,0.1); }
.shop2 .footer-social { display: flex; gap: 12px; margin-top: 16px; }
.shop2 .footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.shop2 .footer-social a:hover { background: var(--orange); color: var(--navy); }
.shop2 .footer-social svg { width: 18px; height: 18px; }

/* =========================================
   MOBILE BOTTOM NAVIGATION
   ========================================= */
.shop2 .mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #FFFFFF; border-top: 1px solid var(--border-light); padding: 8px 0; z-index: 1000; box-shadow: 0 -4px 10px rgba(0,0,0,0.05); }
.shop2 .mobile-nav-inner { display: flex; justify-content: space-around; align-items: center; }
.shop2 .mobile-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.65rem; font-weight: 600; color: var(--text-muted); cursor: pointer; padding: 4px 12px; border-radius: var(--radius-sm); transition: color 0.2s; position: relative; }
.shop2 .mobile-nav-item:hover, .shop2 .mobile-nav-item.active { color: var(--orange); }
.shop2 .mobile-nav-item svg { width: 22px; height: 22px; }
.shop2 .mobile-nav-item .cart-count { top: 0; right: 4px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .shop2 .hero-section { grid-template-columns: 1fr; }
    .shop2 .hero-sidebar { flex-direction: row; }
    .shop2 .hero-sidebar-card { flex: 1; }
    .shop2 .spotlight-card { flex-direction: column; }
    .shop2 .spotlight-image { width: 100%; height: 250px; }
    .shop2 .spotlight-content { padding: 24px; }
}
@media (max-width: 768px) {
    .shop2 .container { padding: 0 16px; }
    .shop2 .header-inner { flex-wrap: wrap; gap: 12px; }
    .shop2 .search-container { order: 3; width: 100%; flex: none; height: 44px; }
    .shop2 .location-selector { display: none; }
    .shop2 .header-actions { margin-left: auto; }
    .shop2 .header-action span { display: none; }
    .shop2 .hero-main { padding: 24px; min-height: 240px; }
    .shop2 .hero-main h1 { font-size: 1.8rem; }
    .shop2 .hero-main p { font-size: 0.95rem; margin-bottom: 20px; }
    .shop2 .hero-nav-btn { display: none; }
    .shop2 .hero-dots { bottom: 16px; }
    .shop2 .hero-sidebar { flex-direction: column; }
    .shop2 .section-header { padding: 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .shop2 .section-header .see-all, .shop2 .section-header-actions { align-self: flex-end; }
    .shop2 .section-title { font-size: 1rem; }
    .shop2 .section-body { padding: 16px; }
    .shop2 .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .shop2 .product-image { height: 150px; }
    .shop2 .product-info { padding: 12px; }
    .shop2 .product-title { font-size: 0.8rem; }
    .shop2 .product-price { font-size: 1rem; }
    .shop2 .nearby-grid { grid-template-columns: 1fr; }
    .shop2 .location-prompt { flex-direction: column; text-align: center; }
    .shop2 .location-prompt .btn { width: 100%; }
    .shop2 .category-item { min-width: 70px; }
    .shop2 .category-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .shop2 .category-name { font-size: 0.65rem; }
    .shop2 .newsletter-box { flex-direction: column; text-align: center; padding: 24px; }
    .shop2 .newsletter-form { width: 100%; max-width: 100%; flex-direction: column; }
    .shop2 .newsletter-form input { width: 100%; }
    .shop2 .newsletter-form .btn { width: 100%; }
    .shop2 .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .shop2 .mobile-nav { display: block; }
}
@media (max-width: 480px) {
    .shop2 .product-grid { grid-template-columns: repeat(2, 1fr); }
    .shop2 .product-image { height: 130px; }
    .shop2 .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================
   SINGLE PRODUCT PAGE
   ========================================= */
.shop2 .btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-sm); }
.shop2 .badge-success { background: var(--success); color: #fff; }

.shop2 .breadcrumbs { padding: 16px 0; font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shop2 .breadcrumbs a:hover { color: var(--orange); }
.shop2 .breadcrumbs .sep { color: var(--text-light); }
.shop2 .breadcrumbs .here { color: var(--navy); font-weight: 600; }

.shop2 .product-main { display: flex; flex-direction: column; gap: 40px; }
.shop2 .product-gallery { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.shop2 .main-image { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); color: var(--text-light); }
.shop2 .main-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.shop2 .pdp-floats { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; z-index: 3; }
.shop2 .pdp-float { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.95); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted); box-shadow: var(--shadow-sm); transition: all 0.2s; }
.shop2 .pdp-float:hover { color: var(--navy); }
.shop2 .pdp-float.on { color: var(--flash-red); }
.shop2 .pdp-float form { display: flex; }
.shop2 .pdp-float form button { background: none; border: none; cursor: pointer; color: inherit; display: flex; }
.shop2 .zoom-hint { position: absolute; bottom: 16px; right: 16px; background: rgba(255,255,255,0.9); padding: 6px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 6px; box-shadow: var(--shadow-sm); }
.shop2 .thumbnail-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.shop2 .thumbnail { width: 80px; height: 80px; border-radius: var(--radius-sm); border: 2px solid var(--border-light); background: var(--bg-card); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; overflow: hidden; transition: border-color 0.2s; padding: 0; }
.shop2 .thumbnail.active { border-color: var(--orange); }
.shop2 .thumbnail:hover { border-color: var(--border-focus); }
.shop2 .thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.shop2 .pdp-info { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.shop2 .product-title-section h1 { font-size: 1.75rem; font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.shop2 .product-meta-top { display: flex; align-items: center; gap: 16px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap; }
.shop2 .rating-box { display: flex; align-items: center; gap: 6px; background: #FFFBEB; padding: 4px 10px; border-radius: 4px; color: var(--text-main); font-weight: 600; }
.shop2 .rating-box svg { width: 16px; height: 16px; color: var(--star); }
.shop2 .seller-info { display: flex; align-items: center; gap: 6px; color: var(--seller-green); font-weight: 600; }
.shop2 .seller-info svg { width: 14px; height: 14px; }

.shop2 .price-box { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; }
.shop2 .price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.shop2 .current-price { font-size: 2.5rem; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.shop2 .old-price { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.shop2 .discount-badge { background: var(--flash-red); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.shop2 .savings-text { color: var(--success); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.shop2 .unit-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.shop2 .bulk-note { font-size: 0.8rem; color: var(--wholesale-blue); background: #EFF6FF; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid #DBEAFE; display: inline-block; }

.shop2 .option-group { margin-bottom: 4px; }
.shop2 .option-label { font-size: 0.85rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px; display: block; }
.shop2 .option-values { display: flex; gap: 10px; flex-wrap: wrap; }
.shop2 .option-btn { padding: 8px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); background: var(--bg-card); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.shop2 .option-btn.active { border-color: var(--orange); background: var(--orange-light); color: var(--navy); font-weight: 700; }
.shop2 .option-btn:hover { border-color: var(--border-focus); }

.shop2 .stock-status { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--success); }
.shop2 .stock-status svg { width: 16px; height: 16px; }
.shop2 .stock-status.low, .shop2 .stock-status.out { color: var(--flash-red); }

.shop2 .action-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.shop2 .quantity-selector { display: flex; align-items: center; border: 1px solid var(--border-light); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-card); height: 48px; }
.shop2 .quantity-selector button { width: 44px; height: 100%; background: var(--bg-subtle); border: none; font-size: 1.2rem; font-weight: 700; cursor: pointer; color: var(--text-main); transition: background 0.2s; }
.shop2 .quantity-selector button:hover { background: var(--border-light); }
.shop2 .quantity-selector input { width: 54px; height: 100%; border: none; text-align: center; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; outline: none; -moz-appearance: textfield; }
.shop2 .quantity-selector input::-webkit-outer-spin-button, .shop2 .quantity-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop2 .action-buttons { display: flex; gap: 12px; flex: 1; }
.shop2 .action-buttons .btn { flex: 1; height: 48px; font-size: 1rem; }
.shop2 .btn-wa { background: #25D366; color: #fff; }
.shop2 .btn-wa:hover { background: #1DA851; }
.shop2 .btn-block { width: 100%; }

.shop2 .ps-box { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px; }
.shop2 .ps-box label { font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; color: var(--navy); }
.shop2 .ps-box p { font-size: 0.8rem; color: var(--text-muted); margin: 6px 0 10px; }
.shop2 .ps-row { display: flex; gap: 10px; flex-wrap: wrap; }
.shop2 .ps-row select { flex: 1; min-width: 180px; padding: 10px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); }

.shop2 .escrow-note { display: flex; gap: 12px; align-items: flex-start; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; padding: 14px 16px; border-radius: var(--radius-md); font-size: 0.85rem; }
.shop2 .escrow-note svg { flex-shrink: 0; color: var(--seller-green); }

.shop2 .trust-box { background: var(--bg-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.shop2 .trust-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.85rem; }
.shop2 .trust-icon { width: 32px; height: 32px; background: #FFFFFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; box-shadow: var(--shadow-sm); }
.shop2 .trust-icon svg { width: 16px; height: 16px; }
.shop2 .trust-text strong { display: block; color: var(--text-main); margin-bottom: 2px; }
.shop2 .trust-text span { color: var(--text-muted); }

.shop2 .seller-row { display: flex; align-items: center; gap: 14px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px; }
.shop2 .seller-row-logo { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; overflow: hidden; }
.shop2 .seller-row-logo img { width: 100%; height: 100%; object-fit: cover; }
.shop2 .seller-row .grow { flex: 1; min-width: 0; }
.shop2 .seller-row strong { color: var(--text-main); }
.shop2 .seller-row .small { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.shop2 .seller-row .verified { color: var(--seller-green); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.shop2 .seller-row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.shop2 .chat-start { margin-top: -6px; }
.shop2 .chat-start > summary { list-style: none; }
.shop2 .chat-start[open] .chat-panel { margin-top: 12px; }
.shop2 .chat-panel { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.shop2 .chat-panel input, .shop2 .chat-panel textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 0.9rem; }
.shop2 .chat-panel .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop2 .chat-panel label { font-size: 0.8rem; font-weight: 600; display: block; margin-bottom: 4px; }

.shop2 .product-details-section { margin-top: 60px; }
.shop2 .tabs-header { display: flex; gap: 32px; border-bottom: 2px solid var(--border-light); margin-bottom: 32px; overflow-x: auto; }
.shop2 .tab-btn { padding: 16px 0; font-size: 1rem; font-weight: 700; color: var(--text-muted); background: none; border: none; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all 0.2s; }
.shop2 .tab-btn.active { color: var(--navy); border-bottom-color: var(--orange); }
.shop2 .tab-btn:hover { color: var(--navy); }
.shop2 .tab-content { display: none; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.shop2 .tab-content.active { display: block; }
.shop2 .tab-content h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 16px; }
.shop2 .tab-content h4 { font-size: 1rem; color: var(--navy); margin: 20px 0 12px; }
.shop2 .tab-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.shop2 .tab-content ul.feat { margin: 16px 0; padding-left: 20px; color: var(--text-muted); line-height: 1.8; }
.shop2 .specs-table { width: 100%; border-collapse: collapse; }
.shop2 .specs-table tr { border-bottom: 1px solid var(--border-light); }
.shop2 .specs-table tr:last-child { border-bottom: none; }
.shop2 .specs-table td { padding: 16px 0; font-size: 0.9rem; }
.shop2 .specs-table td:first-child { width: 220px; color: var(--text-muted); font-weight: 500; }
.shop2 .specs-table td:last-child { color: var(--text-main); font-weight: 600; }
.shop2 .tier-table td:last-child, .shop2 .tier-table th:last-child { text-align: right; }
.shop2 .tier-table .best td { background: #FFFBEB; }
.shop2 .tier-table .best-tag { background: var(--orange); color: var(--navy); font-size: 0.65rem; font-weight: 800; padding: 2px 6px; border-radius: 4px; margin-left: 8px; text-transform: uppercase; }

.shop2 .rv-summary { display: flex; gap: 32px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.shop2 .rv-score { text-align: center; }
.shop2 .rv-score strong { font-size: 2.5rem; font-weight: 800; color: var(--orange-hover); display: block; }
.shop2 .rv-bars { flex: 1; min-width: 220px; }
.shop2 .rv-bar { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.shop2 .rv-bar .meter { flex: 1; height: 8px; background: var(--bg-subtle); border-radius: 4px; overflow: hidden; }
.shop2 .rv-bar .meter i { display: block; height: 100%; background: var(--orange); }
.shop2 .review-card { border-bottom: 1px solid var(--border-light); padding-bottom: 20px; margin-bottom: 20px; }
.shop2 .review-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.shop2 .review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.shop2 .reviewer-info { display: flex; align-items: center; gap: 12px; }
.shop2 .reviewer-avatar { width: 40px; height: 40px; background: var(--navy); color: #FFFFFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.shop2 .reviewer-name { font-weight: 700; font-size: 0.9rem; color: var(--text-main); }
.shop2 .review-date { font-size: 0.75rem; color: var(--text-muted); }
.shop2 .review-stars { color: var(--star); letter-spacing: 1px; }
.shop2 .review-stars .off { color: var(--border-focus); }
.shop2 .review-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.shop2 .review-reply { background: var(--bg-subtle); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 10px; font-size: 0.85rem; color: var(--text-main); }
.shop2 .review-empty { text-align: center; padding: 32px; color: var(--text-muted); }
.shop2 .review-empty strong { display: block; color: var(--text-main); margin: 8px 0 4px; }

.shop2 .related-section { margin-top: 60px; }
.shop2 .related-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.shop2 .related-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); }

.shop2 .pd-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border-light); padding: 10px 16px; gap: 10px; z-index: 900; box-shadow: 0 -4px 10px rgba(0,0,0,0.05); }
.shop2 .pd-sticky .btn { flex: 1; height: 46px; }

@media (min-width: 1025px) {
    .shop2 .product-main { flex-direction: row; }
    .shop2 .product-gallery { flex: 1; max-width: 500px; }
    .shop2 .pdp-info { flex: 1; }
}
@media (max-width: 768px) {
    .shop2 .product-title-section h1 { font-size: 1.4rem; }
    .shop2 .current-price { font-size: 2rem; }
    .shop2 .main-image { height: 300px; }
    .shop2 .action-buttons { flex-direction: column; width: 100%; }
    .shop2 .action-buttons .btn { width: 100%; }
    .shop2 .quantity-selector { width: 100%; justify-content: space-between; }
    .shop2 .specs-table td:first-child { width: 140px; font-size: 0.8rem; }
    .shop2 .specs-table td:last-child { font-size: 0.8rem; }
    .shop2 .chat-panel .form-grid { grid-template-columns: 1fr; }
    .shop2 .tabs-header { gap: 20px; }
    .shop2 .tab-btn { font-size: 0.9rem; }
    .shop2 .tab-content { padding: 20px; }
    .shop2 .pd-sticky { display: flex; }
    .shop2 body { padding-bottom: 130px; }
}

/* =========================================
   CATEGORY / LISTING PAGE
   ========================================= */
.shop2 .category-header { background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px; margin: 20px 0 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.shop2 .category-header h1 { font-size: 1.75rem; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.shop2 .category-header h1 svg { width: 28px; height: 28px; color: var(--orange); }
.shop2 .category-header p { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.shop2 .mobile-filter-btn { display: none; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; cursor: pointer; border: none; }

.shop2 .category-layout { display: flex; flex-direction: column; gap: 24px; padding-bottom: 60px; }
.shop2 .filters-sidebar { width: 280px; flex-shrink: 0; }
.shop2 .filter-group { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.shop2 .filter-group h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.shop2 .filter-list { display: flex; flex-direction: column; gap: 2px; }
.shop2 .filter-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text-main); }
.shop2 .filter-list a:hover { background: var(--bg-subtle); }
.shop2 .filter-list a.on { background: var(--orange-light); color: var(--navy); font-weight: 700; }
.shop2 .filter-list a small { color: var(--text-muted); font-weight: 600; }
.shop2 .filter-list a.on small { color: var(--orange-hover); }
.shop2 .price-inputs { display: flex; gap: 10px; align-items: center; }
.shop2 .price-inputs input { width: 100%; padding: 8px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none; }
.shop2 .price-inputs input:focus { border-color: var(--orange); }
.shop2 .price-inputs span { color: var(--text-muted); font-size: 0.8rem; }
.shop2 .filter-group select { width: 100%; padding: 10px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none; background: var(--bg-card); }
.shop2 .filter-group .btn { width: 100%; margin-top: 12px; }
.shop2 .loc-toggle { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.shop2 .loc-toggle svg { width: 14px; height: 14px; }

.shop2 .products-area { flex: 1; min-width: 0; }
.shop2 .toolbar { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 12px 20px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; box-shadow: var(--shadow-sm); }
.shop2 .toolbar-left { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
.shop2 .sort-select { padding: 8px 12px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--text-main); outline: none; cursor: pointer; background: var(--bg-card); }
.shop2 .sort-select:focus { border-color: var(--orange); }
.shop2 .active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.shop2 .filter-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--orange-light); color: var(--orange-hover); padding: 6px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--orange); }
.shop2 .filter-chip svg { width: 14px; height: 14px; }

.shop2 .cat-banner { display: block; position: relative; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; border: 1px solid var(--border-light); }
.shop2 .cat-banner img { width: 100%; display: block; }
.shop2 .cat-banner .sponsored-tag { position: absolute; top: 8px; left: 8px; background: var(--orange); color: var(--navy); font-size: 0.6rem; font-weight: 800; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }

.shop2 .cat-empty { text-align: center; padding: 48px 16px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); }
.shop2 .cat-empty strong { display: block; color: var(--text-main); font-size: 1.1rem; margin-bottom: 6px; }
.shop2 .cat-empty p { color: var(--text-muted); font-size: 0.9rem; }

.shop2 .pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.shop2 .pagination a, .shop2 .pagination span { min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-light); border-radius: var(--radius-sm); background: var(--bg-card); font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.shop2 .pagination a:hover { border-color: var(--orange); color: var(--orange-hover); }
.shop2 .pagination .cur { background: var(--navy); color: #fff; border-color: var(--navy); }
.shop2 .pagination .disabled { opacity: 0.5; }

@media (min-width: 1025px) {
    .shop2 .category-layout { flex-direction: row; }
}
@media (max-width: 1024px) {
    .shop2 .filters-sidebar { display: none; }
    .shop2 .filters-sidebar.open { display: block; position: fixed; inset: 0; z-index: 1100; width: auto; background: rgba(15,23,42,.5); padding: 16px; overflow-y: auto; }
    .shop2 .filters-sidebar.open .filter-group { max-width: 420px; margin: 0 auto 16px; }
    .shop2 .mobile-filter-btn { display: inline-flex; }
}

.shop2 .widen-note { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; border-radius: var(--radius-md); padding: 12px 16px; font-size: 0.85rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shop2 .widen-note a { color: var(--orange-hover); font-weight: 700; text-decoration: underline; }

/* Trending searches: one scrolling line (like the category menu) */
.shop2 .trending-line { display: flex; align-items: center; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none; }
.shop2 .trending-line::-webkit-scrollbar { display: none; }
.shop2 .trending-line .trend-tag { flex: 0 0 auto; white-space: nowrap; }

/* Home location toggle (near me / everywhere) */
.shop2 .geo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 4px; box-shadow: var(--shadow-sm); }
.shop2 .geo-bar > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.shop2 .geo-bar > span svg { color: var(--orange); }
