    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    :root {
      --primary: #1e40af;
      --primary-dark: #1e3a8a;
      --primary-light: #3b82f6;
      --primary-lighter: #dbeafe;
      --primary-soft: #eff6ff;
      --accent: #0ea5e9;
      --gold: #f59e0b;
      --gold-light: #fef3c7;
      --gold-dark: #b45309;
      --gray-50: #f9fafb;
      --gray-100: #f3f4f6;
      --gray-200: #e5e7eb;
      --gray-300: #d1d5db;
      --gray-400: #9ca3af;
      --gray-500: #6b7280;
      --gray-600: #4b5563;
      --gray-700: #374151;
      --gray-800: #1f2937;
      --gray-900: #111827;
      --green: #10b981;

      --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
      --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
      --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
      --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
      --shadow-xl: 0 20px 40px rgba(30, 64, 175, 0.12), 0 8px 16px rgba(30, 64, 175, 0.06);

      --radius-sm: 8px;
      --radius: 12px;
      --radius-lg: 16px;

      --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
      --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    html { scroll-behavior: smooth; }

    body {
      background-color: var(--gray-50);
      color: var(--gray-800);
      line-height: 1.6;
      font-size: 14px;
      letter-spacing: -0.01em;
    }

    a { text-decoration: none; color: inherit; }

    ::-webkit-scrollbar { width: 8px; height: 8px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

    /* ===== HEADER ===== */
    header {
      background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 20px rgba(30, 64, 175, 0.2);
    }

    .header-top {
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header-top .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: rgba(255, 255, 255, 0.9);
      font-size: 12.5px;
      font-weight: 500;
    }

    .header-top-left,
    .header-top-right { display: flex; gap: 18px; align-items: center; }

    .header-top a {
      color: rgba(255, 255, 255, 0.9);
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color var(--transition-fast);
      font-weight: 500;
    }

    .header-top a:hover { color: white; }

    .header-top .divider {
      width: 1px;
      height: 12px;
      background: rgba(255, 255, 255, 0.2);
    }

    .header-main { padding: 18px 0; }

    .header-main .container { display: flex; align-items: center; gap: 36px; }

    .logo {
      font-size: 28px;
      font-weight: 800;
      color: white;
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
      transition: transform var(--transition-fast);
    }

    .logo:hover { transform: scale(1.02); }
    .logo i { font-size: 32px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)); }
	
	/* Logo image */
	/* Logo image — FIX ukuran 
    .logo-img {
      width: 200px !important;
      height: 80px !important;
      max-width: 40px !important;
      max-height: 40px !important;
      object-fit: contain !important;
      flex-shrink: 0;
      display: inline-block;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
      transition: transform var(--transition-fast);
    }*/
    
    .logo:hover .logo-img {
      transform: scale(1.05);
    }

	.logo:hover .logo-img {
	  transform: scale(1.05);
	}

	/* Kalau logo punya background putih & bentuk non-persegi */
	.logo-img.rounded {
	  border-radius: 8px;
	  padding: 2px;
	  background: white;
	}

    .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
    .logo-text .main { font-size: 24px; letter-spacing: -0.5px; font-weight: 800; }
    .logo-text .sub { font-size: 10.5px; font-weight: 500; opacity: 0.85; letter-spacing: 0.3px; margin-top: 2px; }

    .search-box {
      flex: 1;
      max-width: 840px;
      background: white;
      border-radius: 10px;
      padding: 4px;
      display: flex;
      align-items: center;
      gap: 4px;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
      transition: box-shadow var(--transition);
    }

    .search-box:focus-within {
      box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 4px 12px rgba(15, 23, 42, 0.12);
    }

    .search-box input {
      flex: 1;
      border: none;
      outline: none;
      padding: 11px 16px;
      font-size: 14px;
      background: transparent;
      color: var(--gray-800);
    }

    .search-box input::placeholder { color: var(--gray-400); }

    .search-box button {
      background: linear-gradient(135deg, #1e40af, #2563eb);
      color: white;
      border: none;
      padding: 11px 24px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 15px;
      transition: all var(--transition-fast);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .search-box button:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(30, 64, 175, 0.35);
    }

    .search-suggestions {
      display: flex;
      gap: 20px;
      margin-top: 10px;
      padding-left: 6px;
      color: rgba(255, 255, 255, 0.9);
      font-size: 12px;
      font-weight: 500;
    }

    .search-suggestions span {
      cursor: pointer;
      transition: all var(--transition-fast);
      padding: 2px 0;
      border-bottom: 1px solid transparent;
    }

    .search-suggestions span:hover {
      color: white;
      border-bottom-color: rgba(255, 255, 255, 0.5);
    }

    .header-cart {
      position: relative;
      color: white;
      font-size: 24px;
      cursor: pointer;
      padding: 8px;
      border-radius: 10px;
      transition: background var(--transition-fast);
    }

    .header-cart:hover { background: rgba(255, 255, 255, 0.1); }

    .header-cart .badge {
      position: absolute;
      top: 2px;
      right: 0;
      background: white;
      color: var(--primary);
      font-size: 11px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 50px;
      min-width: 20px;
      text-align: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    /* ===== NAV KATEGORI ===== */
    .nav-category {
      background: white;
      border-bottom: 1px solid var(--gray-200);
      overflow-x: auto;
      scrollbar-width: none;
      box-shadow: var(--shadow-xs);
    }

    .nav-category::-webkit-scrollbar { display: none; }

    .nav-category .container { display: flex; gap: 36px; padding: 14px 16px; }

    .nav-category a {
      font-size: 13.5px;
      color: var(--gray-600);
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 7px;
      white-space: nowrap;
      transition: all var(--transition-fast);
      padding: 6px 0;
      border-bottom: 2px solid transparent;
    }

    .nav-category a:hover {
      color: var(--primary);
      border-bottom-color: var(--primary);
      transform: translateY(-1px);
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* ===== PAGE VIEWS ===== */
    .page-view {
      display: none;
      animation: pageFade 0.3s ease;
    }

    .page-view.active {
      display: block;
    }

    @keyframes pageFade {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ===== HERO BANNER ===== */
    .hero-section {
      margin: 24px 0;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 12px;
      height: 250px;
    }

    .hero-main {
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      background: linear-gradient(135deg, rgba(30, 58, 138, 0.88), rgba(37, 99, 235, 0.82)),
                  url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=1200&q=80') center/cover;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 36px;
      color: white;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
      cursor: pointer;
      transition: transform var(--transition), box-shadow var(--transition);
      box-shadow: var(--shadow-md);
    }

    .hero-main:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-xl);
    }

    .hero-main h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
    .hero-main p { font-size: 15px; margin-bottom: 22px; opacity: 0.95; }

    .hero-main button {
      background: white;
      color: var(--primary);
      border: none;
      padding: 12px 26px;
      border-radius: 10px;
      font-weight: 700;
      cursor: pointer;
      font-size: 14px;
      width: fit-content;
      transition: all var(--transition-fast);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
      font-family: inherit;
    }

    .hero-main button:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .hero-side {
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 24px;
      color: white;
      cursor: pointer;
      transition: transform var(--transition), box-shadow var(--transition);
      box-shadow: var(--shadow-md);
    }

    .hero-side:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
    .hero-side.blue { background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); }
    .hero-side.sky { background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%); }
    .hero-side .icon-lg { font-size: 32px; margin-bottom: 14px; opacity: 0.95; }
    .hero-side h4 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
    .hero-side p { font-size: 12.5px; opacity: 0.9; }

    /* ===== SECTION BLOCK ===== */
    .section-block {
      background: white;
      border-radius: var(--radius);
      margin: 20px 0;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: box-shadow var(--transition);
    }

    .section-block:hover { box-shadow: var(--shadow-md); }

    .section-block-header {
      padding: 20px 24px;
      border-bottom: 1px solid var(--gray-100);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .section-block-header h2 {
      font-size: 15px;
      font-weight: 700;
      color: var(--gray-800);
      text-transform: uppercase;
      letter-spacing: 0.6px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .section-block-header h2 i { color: var(--primary); font-size: 16px; }

    .section-block-header a {
      color: var(--primary);
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: gap var(--transition-fast);
    }

    .section-block-header a:hover { gap: 8px; }

    /* ===== FLASH SALE ===== */
    .flash-sale-block .section-block-header {
      border-bottom: none;
      padding-bottom: 10px;
    }

    .flash-sale-title { display: flex; align-items: center; gap: 22px; }

    .flash-sale-title h2 {
      color: var(--primary) !important;
      font-size: 17px !important;
      font-style: italic;
      font-weight: 800 !important;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .flash-sale-title h2 i {
      color: var(--primary) !important;
      font-size: 20px !important;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.7; transform: scale(1.08); }
    }

    .countdown {
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--gray-700);
      font-size: 12.5px;
      font-weight: 500;
    }

    .countdown .time-box {
      background: var(--gray-800);
      color: white;
      padding: 5px 9px;
      border-radius: 6px;
      font-weight: 700;
      font-size: 13px;
      min-width: 30px;
      text-align: center;
      font-variant-numeric: tabular-nums;
    }

    .countdown .separator { font-weight: 700; color: var(--gray-700); }

    .flash-products {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 0;
      padding: 12px 24px 24px;
    }

    .flash-product {
      cursor: pointer;
      transition: transform var(--transition);
      padding: 10px;
      border-right: 1px solid var(--gray-100);
      text-align: center;
    }

    .flash-product:last-child { border-right: none; }
    .flash-product:hover { transform: translateY(-4px); }

    .flash-img {
      width: 100%;
      aspect-ratio: 1/1;
      border-radius: var(--radius-sm);
      margin-bottom: 10px;
      position: relative;
      overflow: hidden;
      background: var(--gray-100);
    }

    .flash-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }

    .flash-product:hover .flash-img img { transform: scale(1.08); }

    .flash-discount-tag {
      position: absolute;
      top: 8px;
      right: 8px;
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      color: #78350f;
      font-size: 11px;
      font-weight: 800;
      padding: 5px 7px;
      line-height: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
    }

    .flash-discount-tag .percent { font-size: 12px; font-weight: 800; }
    .flash-discount-tag .off { font-size: 9px; font-weight: 700; letter-spacing: 0.3px; }

    .flash-product .price { color: var(--primary); font-weight: 700; font-size: 15px; margin-bottom: 3px; }
    .flash-product .old-price { color: var(--gray-400); font-size: 11.5px; text-decoration: line-through; margin-bottom: 8px; }

    .flash-progress {
      background: var(--primary-lighter);
      border-radius: 20px;
      height: 16px;
      position: relative;
      overflow: hidden;
      box-shadow: inset 0 1px 2px rgba(30, 64, 175, 0.08);
    }

    .flash-progress .bar {
      background: linear-gradient(90deg, #3b82f6, #1e40af);
      height: 100%;
      border-radius: 20px;
      position: relative;
      z-index: 1;
    }

    .flash-progress span {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 10px;
      color: white;
      font-weight: 700;
      z-index: 2;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
      white-space: nowrap;
    }

    /* ===== KATEGORI GRID ===== */
    .category-grid {
      display: grid;
      grid-template-columns: repeat(10, 1fr);
      gap: 1px;
      background: var(--gray-100);
    }

    .category-item {
      background: white;
      padding: 20px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      transition: all var(--transition-fast);
      text-align: center;
      position: relative;
    }

    .category-item::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 20%;
      right: 20%;
      height: 2px;
      background: var(--primary);
      transform: scaleX(0);
      transition: transform var(--transition);
      border-radius: 2px;
    }

    .category-item:hover::after { transform: scaleX(1); }
    .category-item:hover { background: var(--primary-soft); }

    .category-item .icon {
      width: 52px;
      height: 52px;
      background: var(--primary-lighter);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 22px;
      transition: all var(--transition);
    }

    .category-item:hover .icon {
      background: var(--primary);
      color: white;
      transform: scale(1.08) rotate(-3deg);
    }

    .category-item span { font-size: 12px; color: var(--gray-600); line-height: 1.3; font-weight: 500; }

    /* ===== PRODUK GRID ===== */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 12px;
      padding: 12px;
      background: var(--gray-50);
    }

    .product-card {
      background: white;
      border-radius: var(--radius-sm);
      overflow: hidden;
      cursor: pointer;
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
      position: relative;
      box-shadow: var(--shadow-xs);
      border: 1px solid transparent;
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-lighter);
    }

    .product-img {
      width: 100%;
      aspect-ratio: 1/1;
      background: var(--gray-100);
      position: relative;
      overflow: hidden;
    }

    .product-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }

    .product-card:hover .product-img img { transform: scale(1.08); }

    .product-label {
      position: absolute;
      top: 8px;
      right: 8px;
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      color: #78350f;
      font-size: 11px;
      font-weight: 800;
      padding: 5px 7px;
      line-height: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
    }

    .product-label .percent { font-size: 12px; font-weight: 800; }
    .product-label .off { font-size: 9px; font-weight: 700; letter-spacing: 0.3px; }

    .product-label.new-tag {
      background: linear-gradient(135deg, #3b82f6, #1e40af);
      color: white;
      padding: 5px 9px;
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.4px;
      box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
    }

    .product-info { padding: 12px; }

    .product-info .name {
      font-size: 13px;
      color: var(--gray-700);
      margin-bottom: 10px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 36px;
      line-height: 1.4;
      font-weight: 500;
    }

    .product-info .price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
    .product-info .price { font-size: 16px; font-weight: 700; color: var(--primary); letter-spacing: -0.4px; }
    .product-info .old-price { font-size: 11.5px; color: var(--gray-400); text-decoration: line-through; }

    .product-info .meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11.5px;
      color: var(--gray-500);
    }

    .product-info .rating { display: flex; align-items: center; gap: 3px; color: var(--gold); font-size: 11.5px; }
    .product-info .rating .rating-text { color: var(--gray-600); margin-left: 4px; font-weight: 600; }
    .product-info .sold { color: var(--gray-500); }

    .product-info .location {
      font-size: 11px;
      color: var(--gray-400);
      margin-top: 6px;
      text-align: right;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 4px;
    }

    /* ============================================ */
    /* ====== HALAMAN DETAIL PRODUK ====== */
    /* ============================================ */
    .detail-page {
      background: var(--gray-50);
      min-height: 100vh;
    }

    .detail-breadcrumb {
      padding: 16px 0;
      font-size: 12.5px;
      color: var(--gray-500);
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .detail-breadcrumb a {
      color: var(--gray-500);
      transition: color var(--transition-fast);
    }

    .detail-breadcrumb a:hover { color: var(--primary); }
    .detail-breadcrumb i { font-size: 10px; }
    .detail-breadcrumb .current { color: var(--gray-800); font-weight: 600; }

    .detail-back-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      background: white;
      border: 1.5px solid var(--gray-200);
      border-radius: 10px;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--gray-700);
      cursor: pointer;
      transition: all var(--transition-fast);
      font-family: inherit;
      margin-bottom: 16px;
    }

    .detail-back-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateX(-3px);
      box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
    }

    .detail-main-card {
      background: white;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      margin-bottom: 20px;
    }

    .detail-layout {
      display: grid;
      grid-template-columns: 440px 1fr;
      gap: 0;
    }

    /* Gallery */
    .detail-gallery {
      padding: 24px;
      background: var(--gray-50);
      border-right: 1px solid var(--gray-100);
    }

    .detail-main-img {
      width: 100%;
      aspect-ratio: 1/1;
      border-radius: var(--radius);
      overflow: hidden;
      background: white;
      position: relative;
      margin-bottom: 12px;
      box-shadow: var(--shadow-sm);
    }

    .detail-main-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }

    .detail-main-img:hover img { transform: scale(1.05); }

    .detail-badges {
      position: absolute;
      top: 12px;
      left: 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .detail-badge {
      background: linear-gradient(135deg, #3b82f6, #1e40af);
      color: white;
      font-size: 10.5px;
      font-weight: 700;
      padding: 5px 10px;
      border-radius: 6px;
      letter-spacing: 0.3px;
      box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
    }

    .detail-badge.gold {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      color: #78350f;
      box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
    }

    .detail-thumbs {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 8px;
    }

    .detail-thumb {
      aspect-ratio: 1/1;
      border-radius: var(--radius-sm);
      overflow: hidden;
      cursor: pointer;
      border: 2px solid transparent;
      transition: all var(--transition-fast);
      background: var(--gray-100);
    }

    .detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .detail-thumb:hover { border-color: var(--primary-light); }
    .detail-thumb.active {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
    }

    /* Info Column */
    .detail-info { padding: 28px 32px; }

    .detail-title {
      font-size: 22px;
      font-weight: 700;
      color: var(--gray-800);
      line-height: 1.4;
      margin-bottom: 14px;
      letter-spacing: -0.3px;
    }

    .detail-stats {
      display: flex;
      align-items: center;
      gap: 18px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--gray-100);
      margin-bottom: 18px;
      font-size: 13px;
      flex-wrap: wrap;
    }

    .detail-rating { display: flex; align-items: center; gap: 6px; color: var(--gray-600); }
    .detail-rating .stars { color: var(--gold); display: flex; gap: 1px; }
    .detail-rating .score { font-weight: 700; color: var(--gray-800); }

    .detail-divider { width: 1px; height: 14px; background: var(--gray-200); }

    .detail-sold { color: var(--gray-600); display: flex; align-items: center; gap: 6px; }
    .detail-sold strong { color: var(--gray-800); font-weight: 700; }

    .detail-stock { color: var(--green); display: flex; align-items: center; gap: 6px; font-weight: 600; }

    .detail-price-box {
      background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
      border-radius: var(--radius);
      padding: 20px 22px;
      margin-bottom: 22px;
      border: 1px solid #bfdbfe;
    }

    .detail-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }

    .detail-price { font-size: 32px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
    .detail-old-price { font-size: 15px; color: var(--gray-400); text-decoration: line-through; }

    .detail-discount {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      color: #78350f;
      font-size: 11px;
      font-weight: 800;
      padding: 4px 8px;
      border-radius: 6px;
      letter-spacing: 0.3px;
    }

    .detail-saving { font-size: 12.5px; color: var(--gray-600); display: flex; align-items: center; gap: 6px; }
    .detail-saving strong { color: var(--primary); font-weight: 700; }

    .detail-voucher {
      background: var(--gold-light);
      border: 1px dashed var(--gold);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      margin-bottom: 22px;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .detail-voucher:hover { background: #fde68a; transform: translateX(2px); }

    .detail-voucher .voucher-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      color: white;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
    }

    .detail-voucher-text { flex: 1; font-size: 12.5px; }
    .detail-voucher-text strong { color: var(--gold-dark); font-weight: 700; display: block; margin-bottom: 2px; }
    .detail-voucher-text span { color: var(--gray-600); }
    .detail-voucher i.fa-chevron-right { color: var(--gold-dark); font-size: 12px; }

    .detail-section-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--gray-700);
      margin-bottom: 10px;
      letter-spacing: -0.1px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .detail-section-title i { color: var(--primary); font-size: 12px; }

    .detail-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }

    .detail-option {
      padding: 9px 18px;
      border: 1.5px solid var(--gray-200);
      border-radius: 8px;
      font-size: 13px;
      font-weight: 500;
      color: var(--gray-600);
      cursor: pointer;
      transition: all var(--transition-fast);
      background: white;
      font-family: inherit;
    }

    .detail-option:hover { border-color: var(--primary-light); color: var(--primary); }

    .detail-option.active {
      border-color: var(--primary);
      background: var(--primary-soft);
      color: var(--primary);
      font-weight: 600;
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    }

    .detail-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }

    .qty-control {
      display: flex;
      align-items: center;
      border: 1.5px solid var(--gray-200);
      border-radius: 8px;
      overflow: hidden;
    }

    .qty-btn {
      width: 42px;
      height: 42px;
      background: white;
      border: none;
      color: var(--gray-600);
      font-size: 14px;
      cursor: pointer;
      transition: all var(--transition-fast);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .qty-btn:hover { background: var(--primary-soft); color: var(--primary); }

    .qty-input {
      width: 64px;
      height: 42px;
      border: none;
      border-left: 1.5px solid var(--gray-200);
      border-right: 1.5px solid var(--gray-200);
      text-align: center;
      font-size: 14px;
      font-weight: 700;
      color: var(--gray-800);
      outline: none;
      font-family: inherit;
    }

    .qty-available { font-size: 12.5px; color: var(--gray-500); }
    .qty-available strong { color: var(--gray-700); }

    .detail-desc { font-size: 13px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
    .detail-desc p { margin-bottom: 10px; }

    .detail-specs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px 20px;
      font-size: 12.5px;
      margin-bottom: 8px;
    }

    .detail-spec-row {
      display: flex;
      padding: 8px 0;
      border-bottom: 1px dashed var(--gray-200);
    }

    .detail-spec-label { color: var(--gray-500); width: 110px; flex-shrink: 0; }
    .detail-spec-value { color: var(--gray-800); font-weight: 500; }

    .detail-seller {
      background: var(--gray-50);
      border-radius: var(--radius-sm);
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 20px;
    }

    .seller-avatar {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: linear-gradient(135deg, #3b82f6, #1e40af);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .seller-info { flex: 1; }

    .seller-info h5 {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--gray-800);
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 2px;
    }

    .seller-info h5 i { color: var(--primary); font-size: 11px; }
    .seller-info p { font-size: 11.5px; color: var(--gray-500); }

    .seller-btn {
      padding: 9px 18px;
      border: 1.5px solid var(--primary);
      background: white;
      color: var(--primary);
      border-radius: 8px;
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-fast);
      font-family: inherit;
    }

    .seller-btn:hover { background: var(--primary); color: white; transform: translateY(-1px); }

    /* Action Bar di bawah (sticky di mobile) */
    .detail-action-bar {
      background: white;
      border-radius: var(--radius);
      padding: 16px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      box-shadow: var(--shadow-sm);
      margin-bottom: 24px;
    }

    .detail-action-left { display: flex; gap: 8px; }

    .detail-action-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      padding: 8px 14px;
      border-radius: 8px;
      background: transparent;
      border: none;
      color: var(--gray-600);
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-fast);
      font-family: inherit;
    }

    .detail-action-btn:hover { background: var(--primary-soft); color: var(--primary); }
    .detail-action-btn i { font-size: 18px; }
    .detail-action-btn.wishlist:hover i { color: #ef4444; }

    .detail-action-right { display: flex; gap: 10px; }

    .btn-outline {
      padding: 13px 26px;
      border: 1.5px solid var(--primary);
      background: white;
      color: var(--primary);
      border-radius: 10px;
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all var(--transition-fast);
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: inherit;
    }

    .btn-outline:hover {
      background: var(--primary-soft);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
    }

    .btn-primary {
      padding: 13px 32px;
      background: linear-gradient(135deg, #1e40af, #2563eb);
      color: white;
      border: none;
      border-radius: 10px;
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all var(--transition-fast);
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
      font-family: inherit;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
    }

    /* ===== FOOTER ===== */
    footer {
      background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
      border-top: 1px solid var(--gray-200);
      margin-top: 48px;
      padding: 48px 0 24px;
      position: relative;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, #1e40af, #3b82f6, #0ea5e9);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-col h4 {
      color: var(--gray-800);
      font-size: 12.5px;
      font-weight: 700;
      margin-bottom: 18px;
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }

    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 10px; font-size: 12.5px; color: var(--gray-500); }
    .footer-col ul li a { color: var(--gray-500); transition: color var(--transition-fast); display: inline-flex; align-items: center; gap: 8px; }
    .footer-col ul li a:hover { color: var(--primary); }

    .footer-payment { display: flex; flex-wrap: wrap; gap: 8px; }

    .footer-payment .pay-icon {
      width: 62px;
      height: 32px;
      background: white;
      border: 1px solid var(--gray-200);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10.5px;
      font-weight: 700;
      color: var(--gray-600);
      transition: all var(--transition-fast);
    }

    .footer-payment .pay-icon:hover {
      border-color: var(--primary-light);
      color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(30, 64, 175, 0.1);
    }

    .footer-bottom {
      border-top: 1px solid var(--gray-200);
      padding-top: 24px;
      text-align: center;
      font-size: 12.5px;
      color: var(--gray-500);
    }

    /* ===== TOAST ===== */
    .toast {
      position: fixed;
      bottom: 100px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--gray-800);
      color: white;
      padding: 14px 26px;
      border-radius: 10px;
      font-size: 13.5px;
      display: none;
      z-index: 9999;
      box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
      border-left: 4px solid var(--primary-light);
      font-weight: 500;
      opacity: 0;
      transition: all var(--transition);
      max-width: 90%;
      text-align: center;
    }

    .toast.show { display: block; opacity: 1; transform: translateX(-50%) translateY(0); }

    @media (min-width: 769px) { .toast { bottom: 32px; } }

    /* ===== BACK TO TOP ===== */
    .back-to-top {
      position: fixed;
      bottom: 32px;
      right: 32px;
      width: 46px;
      height: 46px;
      background: linear-gradient(135deg, #1e40af, #2563eb);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
      transition: all var(--transition);
      opacity: 0;
      pointer-events: none;
      z-index: 99;
      font-size: 18px;
    }

    .back-to-top.show { opacity: 1; pointer-events: auto; }
    .back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30, 64, 175, 0.45); }

    /* ============================================ */
    /* ====== BOTTOM NAVIGATION (MOBILE APP) ====== */
    /* ============================================ */
    .bottom-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: white;
      border-top: 1px solid var(--gray-200);
      box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
      z-index: 500;
      padding: 6px 0 max(6px, env(safe-area-inset-bottom));
    }

    .bottom-nav-inner {
      display: flex;
      justify-content: space-around;
      align-items: center;
      max-width: 600px;
      margin: 0 auto;
      padding: 0 8px;
    }

    .bottom-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      flex: 1;
      padding: 8px 4px;
      color: var(--gray-500);
      font-size: 10.5px;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-fast);
      position: relative;
      border-radius: 10px;
      background: transparent;
      border: none;
      font-family: inherit;
      letter-spacing: -0.1px;
    }

    .bottom-nav-item i { font-size: 19px; transition: transform var(--transition-fast); }

    .bottom-nav-item .nav-icon-wrapper { position: relative; display: inline-flex; }

    .bottom-nav-item .nav-badge {
      position: absolute;
      top: -5px;
      right: -8px;
      background: linear-gradient(135deg, #3b82f6, #1e40af);
      color: white;
      font-size: 9px;
      font-weight: 700;
      padding: 2px 5px;
      border-radius: 50px;
      min-width: 16px;
      text-align: center;
      box-shadow: 0 2px 4px rgba(30, 64, 175, 0.4);
      line-height: 1;
    }

    .bottom-nav-item:active { background: var(--primary-soft); }
    .bottom-nav-item.active { color: var(--primary); }
    .bottom-nav-item.active i { transform: translateY(-2px) scale(1.1); color: var(--primary); }

    .bottom-nav-item.active::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 24px;
      height: 3px;
      background: var(--primary);
      border-radius: 0 0 3px 3px;
    }

    .bottom-nav-item.center-btn { flex: 0 0 auto; margin: 0 6px; }

    .bottom-nav-item.center-btn .btn-circle {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: linear-gradient(135deg, #1e40af, #2563eb);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      box-shadow: 0 6px 16px rgba(30, 64, 175, 0.4);
      transition: all var(--transition-fast);
      margin-bottom: 2px;
    }

    .bottom-nav-item.center-btn:active .btn-circle { transform: scale(0.92); }
    .bottom-nav-item.center-btn span { font-size: 10px; color: var(--gray-500); font-weight: 600; }
    .bottom-nav-item.center-btn.active span { color: var(--primary); }

    @media (max-width: 768px) {
      body { padding-bottom: 76px; }
      .bottom-nav { display: block; }
      .back-to-top { bottom: 90px; }
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .product-grid { grid-template-columns: repeat(4, 1fr); }
      .flash-products { grid-template-columns: repeat(4, 1fr); }
      .category-grid { grid-template-columns: repeat(6, 1fr); }
      .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
      .hero-section { height: 210px; }
      .detail-layout { grid-template-columns: 380px 1fr; }
    }

    @media (max-width: 768px) {
      .header-top .container {
        gap: 0;
        padding: 0 12px;
        overflow-x: auto;
        scrollbar-width: none;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
      }
      .header-top .container::-webkit-scrollbar { display: none; }
      .header-top-left,
      .header-top-right { gap: 14px; flex-shrink: 0; }
      .header-top .divider { display: none; }
      .header-top a { font-size: 12px; white-space: nowrap; padding: 4px 0; }
      .header-top a i { font-size: 13px; }

      .header-main { padding: 12px 0; }
      .header-main .container { flex-wrap: wrap; gap: 10px; padding: 0 12px; }
      .logo { font-size: 18px; flex-shrink: 0; }
      .logo i { font-size: 22px; }
      .logo-text .main { font-size: 18px; }
      .logo-text .sub { font-size: 8.5px; }
      .search-box { order: 3; flex-basis: 100%; max-width: 100%; padding: 3px; }
      .search-box input { padding: 9px 12px; font-size: 13px; }
      .search-box button { padding: 9px 16px; font-size: 14px; }
      .search-suggestions { display: none; }
      .header-cart { font-size: 20px; padding: 6px; margin-left: auto; }
      .header-cart .badge { font-size: 10px; padding: 1px 6px; min-width: 18px; }

      .nav-category .container { gap: 20px; padding: 10px 12px; }
      .nav-category a { font-size: 12.5px; }

      .hero-section { grid-template-columns: 1fr; height: auto; gap: 10px; }
      .hero-main { min-height: 180px; padding: 24px; }
      .hero-main h2 { font-size: 22px; }
      .hero-main p { font-size: 13.5px; }
      .hero-main button { padding: 10px 20px; font-size: 13px; }
      .hero-side { padding: 18px; min-height: 85px; flex-direction: row; align-items: center; gap: 14px; }
      .hero-side .icon-lg { font-size: 24px; margin-bottom: 0; }
      .hero-side h4 { font-size: 15px; }

      .product-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 10px; }
      .flash-products { grid-template-columns: repeat(3, 1fr); padding: 10px 14px 20px; }
      .flash-product { padding: 8px; }
      .category-grid { grid-template-columns: repeat(4, 1fr); }
      .category-item { padding: 14px 6px; }
      .category-item .icon { width: 44px; height: 44px; font-size: 19px; }
      .category-item span { font-size: 11px; }

      .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

      .section-block-header { padding: 14px 16px; }
      .section-block-header h2 { font-size: 13px; }
      .section-block-header a { font-size: 12px; }
      .flash-sale-title { gap: 10px; flex-wrap: wrap; }
      .flash-sale-title h2 { font-size: 14px !important; }
      .countdown { font-size: 11px; }
      .countdown .time-box { padding: 3px 6px; font-size: 11.5px; min-width: 24px; }

      /* Detail page mobile */
      .detail-layout { grid-template-columns: 1fr; }
      .detail-gallery { padding: 16px; border-right: none; border-bottom: 1px solid var(--gray-100); }
      .detail-info { padding: 20px; }
      .detail-title { font-size: 17px; }
      .detail-price { font-size: 24px; }
      .detail-old-price { font-size: 13px; }
      .detail-specs { grid-template-columns: 1fr; }
      .detail-thumbs { grid-template-columns: repeat(5, 1fr); }

      /* Sticky action bar di mobile */
      .detail-action-bar {
        position: sticky;
        bottom: 76px;
        z-index: 90;
        padding: 12px 16px;
        border-radius: 0;
        margin-left: -20px;
        margin-right: -20px;
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
      }

      .detail-action-left { gap: 4px; }
      .detail-action-btn { padding: 6px 10px; font-size: 10px; }
      .detail-action-btn i { font-size: 16px; }
      .detail-action-right { flex: 1; gap: 8px; }
      .btn-outline, .btn-primary { flex: 1; justify-content: center; padding: 12px 12px; font-size: 12.5px; }
    }

    @media (max-width: 480px) {
      .header-top .container { padding: 0 10px; }
      .header-top-left, .header-top-right { gap: 12px; }
      .header-top a { font-size: 11px; }
      .header-top a i { font-size: 12px; }

      .logo-text .sub { display: none; }
      .logo-text .main { font-size: 17px; }

      .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
      .flash-products { grid-template-columns: repeat(3, 1fr); padding: 8px 10px 16px; }
      .flash-product .price { font-size: 12.5px; }
      .flash-product .old-price { font-size: 10px; }
      .flash-progress { height: 14px; }
      .flash-progress span { font-size: 9px; }
      .category-grid { grid-template-columns: repeat(4, 1fr); }
      .category-item .icon { width: 40px; height: 40px; font-size: 17px; }
      .category-item span { font-size: 10.5px; }
      .nav-category .container { gap: 16px; padding: 8px 12px; }
      .nav-category a { font-size: 12px; }
      .footer-grid { grid-template-columns: 1fr; gap: 24px; }
      .container { padding: 0 12px; }
      .hero-main { padding: 20px; min-height: 160px; }
      .hero-main h2 { font-size: 19px; }
      .hero-main p { font-size: 12.5px; }

      .product-info { padding: 10px; }
      .product-info .name { font-size: 12px; min-height: 32px; margin-bottom: 8px; }
      .product-info .price { font-size: 14.5px; }
      .product-info .old-price { font-size: 10.5px; }
      .product-info .meta { font-size: 10.5px; }
      .product-info .location { font-size: 10px; }

      .detail-price-box { padding: 16px 18px; }
      .detail-price { font-size: 22px; }
      .detail-title { font-size: 16px; }
      .detail-stats { font-size: 11.5px; gap: 10px; }
      .detail-thumbs { gap: 6px; }
      .detail-voucher { padding: 10px 12px; }
      .detail-voucher-text { font-size: 11.5px; }
      .detail-action-bar { padding: 10px 12px; gap: 8px; }
      .detail-action-left { display: none; }
      .detail-action-right { width: 100%; }
      .btn-outline, .btn-primary { padding: 11px 10px; font-size: 12px; }
    }

    /* ===== ANIMATION ===== */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .fade-in { animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both; }

    .menu-toggle { display: none; }

    @media (max-width: 480px) {
      .menu-toggle { display: flex; }
      .header-top-left a:nth-child(n+3),
      .header-top-right a:nth-child(-n+4) { display: none; }
    }