/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a2e; background: #f4f6f9; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== VARIABLES ===== */
:root {
  --yellow: #f5a623;
  --yellow-dark: #e09510;
  --yellow-light: #fff8ec;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --accent: #e63946;
  --green: #2ecc71;
  --text: #333;
  --text-muted: #777;
  --border: #e8eaf0;
  --bg: #f4f6f9;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.14);
  --radius: 10px;
  --radius-sm: 6px;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--dark2); color: #ccc; font-size: 12.5px; padding: 7px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--yellow); }

/* ===== HEADER ===== */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 16px; }

/* Logo */
.logo { display: flex; align-items: center; white-space: nowrap; }
.logo-pay  { font-size: 26px; font-weight: 800; color: var(--white); letter-spacing: -1px; }
.logo-less { font-size: 26px; font-weight: 800; color: var(--yellow); letter-spacing: -1px; }
.logo-dot  { font-size: 20px; font-weight: 700; color: var(--yellow); }

/* Search */
.search-bar { flex: 1; display: flex; max-width: 600px; }
.search-bar input {
  flex: 1; padding: 10px 16px; border: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 14px; outline: none; background: var(--white);
}
.search-bar button {
  background: var(--yellow); color: var(--dark); padding: 10px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; transition: background .2s;
  display: flex; align-items: center;
}
.search-bar button:hover { background: var(--yellow-dark); }

/* Header Actions */
.header-actions { display: flex; gap: 12px; }
.action-btn {
  display: flex; align-items: center; gap: 6px; color: var(--white); font-size: 13px;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: all .2s; position: relative;
}
.action-btn:hover { background: rgba(255,255,255,0.12); }
.cart-btn { background: var(--yellow); color: var(--dark); font-weight: 600; }
.cart-btn:hover { background: var(--yellow-dark); color: var(--dark); }
.cart-count {
  background: var(--accent); color: #fff; border-radius: 50%; width: 18px; height: 18px;
  font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Category Nav */
.category-nav { background: #111827; border-top: 1px solid rgba(255,255,255,0.07); }
.cat-nav-list { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-list li a {
  display: block; padding: 11px 16px; color: #cdd5e0; font-size: 13px; font-weight: 500;
  white-space: nowrap; transition: all .2s; border-bottom: 2px solid transparent;
}
.cat-nav-list li a:hover,
.cat-nav-list li a.active { color: var(--yellow); border-bottom-color: var(--yellow); }
.all-link { color: var(--yellow) !important; }

/* ===== HERO SECTION ===== */
.hero-section { background: var(--white); padding: 20px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 16px; }

.hero-slider { position: relative; border-radius: var(--radius); overflow: hidden; height: 380px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; }
.hero-slide-content { padding: 40px; z-index: 2; }
.hero-slide-content .badge { background: var(--yellow); color: var(--dark); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; display: inline-block; margin-bottom: 12px; }
.hero-slide-content h2 { color: var(--white); font-size: 32px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.hero-slide-content p { color: #94a3b8; font-size: 15px; margin-bottom: 20px; }
.hero-slide-content .btn-hero { background: var(--yellow); color: var(--dark); padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; display: inline-block; transition: all .2s; }
.hero-slide-content .btn-hero:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.hero-img { position: absolute; right: 0; bottom: 0; height: 100%; width: 55%; object-fit: cover; object-position: center top; opacity: 0.85; }

.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all .2s; border: none; }
.hero-dot.active { background: var(--yellow); width: 22px; border-radius: 4px; }

.hero-side { display: flex; flex-direction: column; gap: 12px; }
.promo-card {
  flex: 1; border-radius: var(--radius); overflow: hidden; position: relative;
  display: flex; align-items: flex-end; padding: 18px;
  background: linear-gradient(135deg, #0f3460, #533483);
  min-height: 120px;
}
.promo-card:nth-child(2) { background: linear-gradient(135deg, #1a1a2e, #e63946); }
.promo-card:nth-child(3) { background: linear-gradient(135deg, #16213e, #f5a623); }
.promo-card-text h3 { color: #fff; font-size: 16px; font-weight: 700; }
.promo-card-text p { color: rgba(255,255,255,.75); font-size: 12px; }
.promo-card-text a { color: #fff; font-size: 12px; font-weight: 600; }

/* ===== SECTION TITLES ===== */
.section { padding: 30px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 20px; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 4px; height: 24px; background: var(--yellow); border-radius: 2px; display: inline-block; }
.view-all { font-size: 13px; font-weight: 600; color: var(--yellow-dark); border: 1.5px solid var(--yellow); padding: 6px 16px; border-radius: 20px; transition: all .2s; }
.view-all:hover { background: var(--yellow); color: var(--dark); }

/* ===== CATEGORY ICONS ===== */
.cat-icons { background: var(--white); padding: 20px 0; border-bottom: 1px solid var(--border); }
.cat-icons-grid { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.cat-icons-grid::-webkit-scrollbar { display: none; }
.cat-icon-item {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 16px; border-radius: var(--radius); background: var(--bg);
  border: 2px solid transparent; transition: all .2s; cursor: pointer; min-width: 90px;
  text-align: center;
}
.cat-icon-item:hover, .cat-icon-item.active { border-color: var(--yellow); background: var(--yellow-light); }
.cat-icon { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow-light), var(--yellow)); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.cat-icon-item span { font-size: 11.5px; font-weight: 600; color: var(--dark); line-height: 1.3; }

/* ===== PRODUCT CARDS ===== */
.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media(max-width:1100px) { .products-grid { grid-template-columns: repeat(4,1fr); } }
@media(max-width:820px)  { .products-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:560px)  { .products-grid { grid-template-columns: repeat(2,1fr); } }

.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .25s; position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.product-card-img {
  aspect-ratio: 1 / 1; overflow: hidden; background: #f8f9fc;
  position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s; }
.product-card:hover .product-card-img img { transform: scale(1.06); }

.badge-sale { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 1; }
.badge-out  { position: absolute; top: 8px; left: 8px; background: #888; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 1; }

.product-card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.product-card-name { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-prices { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.price-current { font-size: 16px; font-weight: 700; color: var(--accent); }
.price-regular { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.price-only    { font-size: 16px; font-weight: 700; color: var(--dark); }

.btn-add-cart {
  display: block; width: 100%; margin-top: 10px; padding: 9px;
  background: var(--dark); color: var(--white); font-weight: 600; font-size: 13px;
  border-radius: var(--radius-sm); text-align: center; transition: all .2s;
}
.btn-add-cart:hover { background: var(--yellow); color: var(--dark); }

/* ===== WIDE BANNER ===== */
.wide-banner { margin: 10px 0; border-radius: var(--radius); overflow: hidden; height: 160px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 60%, #533483 100%); position: relative; }
.wide-banner-text { text-align: center; z-index: 2; }
.wide-banner-text h2 { color: #fff; font-size: 28px; font-weight: 800; }
.wide-banner-text p { color: rgba(255,255,255,.8); font-size: 15px; }
.wide-banner-text .btn-banner { background: var(--yellow); color: var(--dark); padding: 10px 28px; border-radius: var(--radius-sm); font-weight: 700; display: inline-block; margin-top: 12px; transition: all .2s; }
.wide-banner-text .btn-banner:hover { background: var(--yellow-dark); transform: translateY(-2px); }

/* ===== FEATURED SECTION (2-col) ===== */
.featured-grid { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
.featured-card {
  background: linear-gradient(160deg, var(--dark2), var(--dark)); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; height: 100%;
  min-height: 400px; justify-content: space-between;
}
.featured-card h3 { color: #94a3b8; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.featured-card h2 { color: #fff; font-size: 26px; font-weight: 800; margin: 8px 0; line-height: 1.3; }
.featured-card .feat-price { color: var(--yellow); font-size: 22px; font-weight: 700; }
.featured-card .feat-img { border-radius: var(--radius-sm); overflow: hidden; margin: 16px 0; height: 180px; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; }
.featured-card .feat-img img { max-height: 100%; width: 100%; object-fit: contain; padding: 8px; }
.featured-card .btn-feat { background: var(--yellow); color: var(--dark); padding: 11px 24px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; display: inline-block; transition: all .2s; }
.featured-card .btn-feat:hover { background: var(--yellow-dark); }

/* 4-col mini grid inside featured */
.mini-products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
@media(max-width:900px) { .mini-products-grid { grid-template-columns: repeat(2,1fr); } .featured-grid { grid-template-columns: 1fr; } }

/* ===== PRODUCT DETAIL ===== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
@media(max-width:768px) { .product-detail-grid { grid-template-columns: 1fr; } }
.product-gallery-main { border-radius: var(--radius); overflow: hidden; background: #f8f9fc; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { max-height: 100%; max-width: 100%; object-fit: contain; padding: 20px; }
.product-gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumb-item { width: 70px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--border); cursor: pointer; background: #f8f9fc; display: flex; align-items: center; justify-content: center; transition: border-color .2s; }
.thumb-item.active, .thumb-item:hover { border-color: var(--yellow); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.product-info h1 { font-size: 22px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.product-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.product-cat-tag { background: var(--yellow-light); color: var(--yellow-dark); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.product-price-box { background: var(--bg); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.product-sale-price { font-size: 28px; font-weight: 800; color: var(--accent); }
.product-regular-price { font-size: 16px; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.product-discount-badge { background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: 700; margin-left: 8px; }
.product-stock-in  { color: var(--green); font-weight: 600; font-size: 14px; }
.product-stock-out { color: #999; font-weight: 600; font-size: 14px; }
.btn-buy-now { display: block; width: 100%; padding: 14px; background: var(--yellow); color: var(--dark); font-weight: 700; font-size: 16px; border-radius: var(--radius-sm); text-align: center; margin-top: 16px; transition: all .2s; }
.btn-buy-now:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-view-source { display: block; width: 100%; padding: 12px; background: var(--dark); color: var(--white); font-weight: 600; font-size: 14px; border-radius: var(--radius-sm); text-align: center; margin-top: 10px; transition: all .2s; }
.btn-view-source:hover { background: #333; }
.product-description { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 20px; }
.product-description h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.product-description ul { display: flex; flex-direction: column; gap: 0; }
.product-description ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text); line-height: 1.6;
  padding: 9px 12px; border-bottom: 1px solid var(--border);
}
.product-description ul li:first-child { border-top: 1px solid var(--border); }
.product-description ul li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--yellow); margin-top: 7px;
}
.product-description ul li strong { color: var(--dark); font-weight: 600; }
.product-description p { font-size: 13.5px; color: var(--text); line-height: 1.8; margin-bottom: 10px; }
.product-description strong { font-weight: 700; color: var(--dark); }

/* ===== CATEGORY PAGE ===== */
.category-header { background: var(--white); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.category-header h1 { font-size: 24px; font-weight: 800; }
.category-header p { color: var(--text-muted); font-size: 14px; margin-top: 6px; }
.filter-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--white); padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; box-shadow: var(--shadow); }
.filter-bar label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.filter-bar select { padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; outline: none; cursor: pointer; background: var(--white); }
.filter-bar select:focus { border-color: var(--yellow); }
.result-count { margin-left: auto; font-size: 13px; color: var(--text-muted); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; padding-bottom: 20px; }
.page-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--white); border: 1.5px solid var(--border); font-size: 14px; font-weight: 600; color: var(--dark); transition: all .2s; }
.page-btn:hover, .page-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }

/* ===== SEARCH ===== */
.search-header { background: var(--white); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.search-header h1 { font-size: 20px; font-weight: 700; }
.search-header p { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* ===== CART ===== */
.cart-table { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cart-table th { background: var(--dark); color: #fff; padding: 14px 16px; font-size: 13px; font-weight: 600; text-align: left; }
.cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.cart-item-img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: contain; background: #f8f9fc; padding: 4px; }
.cart-summary { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-top: 20px; }
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.cart-total-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cart-total-final { font-size: 18px; font-weight: 800; color: var(--accent); }
.empty-cart { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-cart svg { margin: 0 auto 16px; }
.empty-cart h2 { font-size: 20px; margin-bottom: 8px; color: var(--dark); }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--yellow-dark); }
.breadcrumb span { color: #bbb; }

/* ===== ALL CATEGORIES PAGE ===== */
.all-cats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media(max-width:900px) { .all-cats-grid { grid-template-columns: repeat(4,1fr); } }
@media(max-width:560px) { .all-cats-grid { grid-template-columns: repeat(3,1fr); } }
.all-cat-card { background: var(--white); border-radius: var(--radius); padding: 20px 14px; text-align: center; box-shadow: var(--shadow); transition: all .2s; border: 2px solid transparent; }
.all-cat-card:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.all-cat-icon { font-size: 28px; margin-bottom: 8px; }
.all-cat-card h3 { font-size: 12.5px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.all-cat-card p { font-size: 11px; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media(max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 220px; }
  .hero-slide-content { padding: 20px; }
  .hero-slide-content h2 { font-size: 20px; }
  .hero-slide-content p { font-size: 13px; margin-bottom: 12px; }
  .hero-side { flex-direction: row; overflow-x: auto; gap: 8px; }
  .promo-card { min-height: 80px; min-width: 140px; }
  .header-inner { gap: 8px; }
  .search-bar { max-width: 100%; }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .product-card-body { padding: 8px; }
  .product-card-name { font-size: 12px; }
  .price-current,.price-only { font-size: 13px; }
  .section { padding: 20px 0; }
  .section-title { font-size: 18px; }
  .all-cats-grid { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-section { padding: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-table td,.cart-table th { padding: 8px 6px; font-size: 13px; }
  .cart-item-img { width: 48px !important; height: 48px !important; }
  .sticky-summary { position: static !important; }
  .hero-img { opacity: 0.5; width: 45%; }
}
@media(max-width: 480px) {
  .top-bar { display: none; }
  .header-inner { flex-wrap: wrap; padding: 8px 0; }
  .search-bar { order: 3; flex: 0 0 100%; margin-top: 6px; }
  .category-nav { display: none; }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .all-cats-grid { grid-template-columns: repeat(3,1fr); }
  .hero-slider { height: 180px; }
  .hero-side { display: none; }
  .btn-buy-now { font-size: 14px; padding: 12px 20px; }
  .co-items { max-height: 200px; overflow-y: auto; }
  .order-modal-box { padding: 28px 20px; }
  .info-card { padding: 20px; }
  .fee-grid { grid-template-columns: 1fr !important; }
}

/* ===== UTILITIES ===== */
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.loading { text-align: center; padding: 60px; color: var(--text-muted); font-size: 16px; }
.no-results { text-align: center; padding: 60px; color: var(--text-muted); }
.no-results h2 { font-size: 22px; margin-bottom: 8px; color: var(--dark); }

.toast { position: fixed; bottom: 20px; right: 20px; background: var(--dark); color: #fff; padding: 12px 20px; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,.3); font-size: 14px; transform: translateY(80px); opacity: 0; transition: all .3s; z-index: 9999; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--green); }

/* Scroll to top */
.scroll-top { position: fixed; bottom: 80px; left: 24px; width: 42px; height: 42px; background: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(0,0,0,.2); cursor: pointer; opacity: 0; pointer-events: none; transition: all .3s; z-index: 9997; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--yellow-dark); transform: translateY(-3px); }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark2); color: #94a3b8; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1.2fr; gap: 40px; padding: 48px 0 32px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: #94a3b8; font-size: 13.5px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-logo { display: flex; align-items: center; margin-bottom: 10px; }
.footer-logo .logo-pay  { font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -1px; }
.footer-logo .logo-less { font-size: 28px; font-weight: 800; color: var(--yellow); letter-spacing: -1px; }
.footer-logo .logo-dot  { font-size: 22px; font-weight: 700; color: var(--yellow); }
.footer-tagline { color: var(--yellow); font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.footer-about { font-size: 13px; line-height: 1.7; color: #64748b; }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; }
.contact-list li span { flex-shrink: 0; }
.contact-list li a { color: #94a3b8; transition: color .2s; }
.contact-list li a:hover { color: var(--yellow); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #94a3b8; font-size: 12px; font-weight: 700; transition: all .2s; }
.social-btn:hover { background: var(--yellow); color: var(--dark); }
.footer-payment { border-top: 1px solid rgba(255,255,255,0.07); padding: 14px 0; }
.footer-payment-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-payment-inner > span { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-pay-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-pay-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #94a3b8; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 6px; }
.footer-pay-badge svg { flex-shrink: 0; opacity: 0.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 18px 0; text-align: center; font-size: 12.5px; color: #475569; }
.footer-bottom a { color: var(--yellow); }
@media(max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media(max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ===== PAYMENT METHODS (cart) ===== */
.payment-methods { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 16px; }
.payment-methods-title { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.payment-badges { display: flex; flex-direction: column; gap: 8px; }
.payment-badge { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; }
.payment-badge svg { flex-shrink: 0; color: var(--yellow-dark); }
.payment-badge div { display: flex; flex-direction: column; }
.payment-badge strong { font-size: 13px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.payment-badge span { font-size: 11.5px; color: var(--text-muted); }

/* ===== CHECKOUT ===== */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
@media(max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.checkout-section { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.checkout-section-title { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--dark); }
.form-group .req { color: var(--accent); }
.form-group input, .form-group textarea {
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--yellow); }
.form-group textarea { resize: vertical; min-height: 80px; }

/* Payment options */
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option { cursor: pointer; }
.payment-option input[type="radio"] { display: none; }
.payment-option-inner {
  display: flex; align-items: center; gap: 16px;
  border: 2px solid var(--border); border-radius: var(--radius); padding: 16px;
  transition: all .2s;
}
.payment-option.selected .payment-option-inner { border-color: var(--yellow); background: var(--yellow-light); }
.payment-option-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--yellow-dark); }
.payment-option.selected .payment-option-icon { background: var(--yellow); color: var(--dark); }
.payment-option-inner > div:nth-child(2) { flex: 1; }
.payment-option-inner strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.payment-option-inner p { font-size: 12.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.payment-option-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.payment-option-check svg { display: none; }
.payment-option.selected .payment-option-check { background: var(--yellow); border-color: var(--yellow); }
.payment-option.selected .payment-option-check svg { display: block; }

/* Bank details */
.bank-details { margin-top: 16px; background: #fffbf0; border: 1.5px solid var(--yellow); border-radius: var(--radius); padding: 18px; }
.bank-details-header { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--yellow-dark); margin-bottom: 14px; }
.bank-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(245,166,35,0.2); font-size: 13.5px; }
.bank-detail-row span { color: var(--text-muted); }
.bank-detail-row strong { color: var(--dark); }
.bank-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }

/* Order summary sidebar */
.sticky-summary { position: sticky; top: 90px; }
.co-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.co-item { display: flex; align-items: center; gap: 12px; }
.co-item img { width: 54px; height: 54px; object-fit: contain; border-radius: var(--radius-sm); background: var(--bg); padding: 4px; flex-shrink: 0; }
.co-item-info { flex: 1; min-width: 0; }
.co-item-name { display: block; font-size: 13px; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-item-qty { font-size: 12px; color: var(--text-muted); }
.co-item-price { font-size: 13px; font-weight: 700; color: var(--dark); white-space: nowrap; }
.co-totals { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.co-total-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text); }
.co-grand { font-size: 18px; font-weight: 800; color: var(--accent); padding-top: 10px; border-top: 1px solid var(--border); }
.co-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 12px; line-height: 1.6; }

/* Order success modal */
.order-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.order-modal-box { background: var(--white); border-radius: var(--radius); padding: 48px 40px; text-align: center; max-width: 440px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.order-modal-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; font-size: 36px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.order-modal-box h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.order-modal-box p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== FLOATING WHATSAPP BUTTON ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.65); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--dark); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--dark);
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* Clothing category pills */
.cat-pill { display:inline-block; padding:6px 14px; border-radius:20px; border:1px solid var(--border); background:#fff; color:var(--text); font-size:.85rem; text-decoration:none; transition:background .2s,color .2s; }
.cat-pill:hover,.cat-pill.active { background:var(--primary); color:#fff; border-color:var(--primary); }

/* Clothing product specs table */
.clothing-specs { width:100%; border-collapse:collapse; margin:12px 0 18px; font-size:.9rem; }
.clothing-specs td { padding:6px 10px; border-bottom:1px solid var(--border); }
.clothing-specs td:first-child { font-weight:600; width:90px; color:var(--text-light); }

/* Cart count bounce */
#cartCount { transition: transform .3s cubic-bezier(.36,.07,.19,.97); display:inline-block; }
