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

:root {
  --teal:       #006D77;
  --teal-dk:    #004D55;
  --accent:     #FF6B35;
  --accent-lt:  #FFF0EB;
  --sky:        #E8F4F8;
  --white:      #FFFFFF;
  --text:       #1A1A2E;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --star:       #F59E0B;
  --radius:     10px;
  --shadow:     0 4px 20px rgba(0,0,0,0.08);
}

body { font-family: 'Inter', sans-serif; color: var(--text); background: #F9FAFB; }
a    { text-decoration: none; color: inherit; }

/* ── TOP BAR ── */
.topbar { background: var(--teal-dk); color: #fff; font-size: 12px; padding: 7px 0; }
.topbar .inner { max-width: 1280px; margin: auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #cce8eb; }
.topbar-right { display: flex; gap: 20px; align-items: center; }

/* ── HEADER ── */
header { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.header-inner { max-width: 1280px; margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 8px; min-width: 130px; }
.logo-icon { width: 36px; height: 36px; background: var(--teal); border-radius: 8px; display: grid; place-items: center; }
.logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.logo-text { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: var(--teal); line-height: 1; }
.logo-text span { font-size: 10px; color: var(--muted); font-weight: 400; display: block; font-family: 'Inter', sans-serif; }

.search-bar { flex: 1; display: flex; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.search-bar:focus-within { border-color: var(--teal); }
.search-bar select { border: none; background: #F3F4F6; padding: 10px 14px; font-size: 13px; cursor: pointer; outline: none; border-right: 1px solid var(--border); }
.search-bar input { flex: 1; border: none; padding: 10px 16px; font-size: 14px; outline: none; }
.search-bar button { background: var(--teal); border: none; padding: 10px 20px; color: #fff; cursor: pointer; font-size: 16px; transition: background .2s; }
.search-bar button:hover { background: var(--teal-dk); }

.header-icons { display: flex; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: transparent; cursor: pointer; font-size: 18px; display: grid; place-items: center; color: var(--text); transition: background .15s; position: relative; }
.icon-btn:hover { background: var(--sky); }
.cart-count { position: absolute; top: 2px; right: 2px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; }

/* ── NAV ── */
nav { background: var(--white); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1280px; margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a { padding: 13px 16px; font-size: 14px; font-weight: 500; color: var(--text); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; white-space: nowrap; }
.nav-inner a:hover, .nav-inner a.active { color: var(--teal); border-bottom-color: var(--teal); }
.nav-location { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--teal); font-weight: 500; cursor: pointer; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #E8F6F8 0%, #D0EEF3 50%, #C5E8EF 100%); overflow: hidden; position: relative; }
.hero-inner { max-width: 1280px; margin: auto; padding: 60px 24px; position: relative; }
.hero-slide { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; max-width: 480px; }
.hero-eyebrow { display: inline-block; background: var(--accent-lt); color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.hero-text h1 { font-family: 'Poppins', sans-serif; font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.15; color: var(--text); margin-bottom: 16px; }
.hero-text p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; max-width: 400px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; }
.hero-image img { max-width: 480px; width: 100%; filter: drop-shadow(0 20px 40px rgba(0,109,119,0.2)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-dots { display: flex; gap: 8px; margin-top: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #B0D8DE; cursor: pointer; transition: all .2s; }
.dot.active { background: var(--teal); width: 24px; border-radius: 4px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--teal); color: #fff; padding: 13px 28px; border-radius: var(--radius); font-size: 14px; font-weight: 600; border: 2px solid var(--teal); cursor: pointer; transition: background .2s, transform .15s; display: inline-block; }
.btn-primary:hover { background: var(--teal-dk); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--teal); padding: 13px 28px; border-radius: var(--radius); font-size: 14px; font-weight: 600; border: 2px solid var(--teal); cursor: pointer; transition: all .2s; display: inline-block; }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--teal); padding: 12px 28px; border-radius: var(--radius); font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: all .2s; display: inline-block; }
.btn-white:hover { background: var(--accent); color: #fff; }

/* ── CATEGORIES ── */
.categories { background: var(--white); padding: 20px 0; border-bottom: 1px solid var(--border); }
.cat-inner { max-width: 1280px; margin: auto; padding: 0 24px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.cat-inner::-webkit-scrollbar { display: none; }
.cat-chip { flex-shrink: 0; padding: 8px 18px; border: 1.5px solid var(--border); border-radius: 24px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s; white-space: nowrap; background: var(--white); }
.cat-chip:hover, .cat-chip.active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ── SECTIONS ── */
.section { max-width: 1280px; margin: 40px auto; padding: 0 24px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section-header h2 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; }
.view-all { font-size: 13px; font-weight: 600; color: var(--teal); border: 1.5px solid var(--teal); padding: 7px 16px; border-radius: var(--radius); transition: all .15s; }
.view-all:hover { background: var(--teal); color: #fff; }

/* ── PRODUCT GRID ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

/* ── PRODUCT CARD ── */
.card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.card-img { position: relative; overflow: hidden; background: #F3F4F6; height: 200px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.wishlist-btn { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: none; cursor: pointer; font-size: 16px; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: background .15s; }
.wishlist-btn:hover { background: #FEE2E2; color: #EF4444; }
.card-body { padding: 14px 16px 16px; }
.card-category { font-size: 11px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.card-name { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.card-name a { color: var(--text); }
.card-name a:hover { color: var(--teal); }
.rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { display: flex; gap: 1px; }
.star { font-size: 13px; }
.star.full, .star.half { color: var(--star); }
.star.empty { color: #D1D5DB; }
.review-count { font-size: 11px; color: var(--muted); }
.price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.price { font-size: 18px; font-weight: 700; color: var(--text); }
.price-original { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 11px; color: #10B981; font-weight: 600; }
.add-to-cart { width: 100%; padding: 10px; background: var(--teal); color: #fff; border: none; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; }
.add-to-cart:hover { background: var(--teal-dk); }

/* ── PROMO BANNER ── */
.banner-strip { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dk) 100%); padding: 40px 24px; margin: 20px 0; }
.banner-strip .inner { max-width: 1280px; margin: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.banner-strip h3 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; color: #fff; }
.banner-strip p { color: #B0DDE3; font-size: 14px; margin-top: 4px; }

/* ── FOOTER ── */
footer { background: var(--teal-dk); color: #B0DDE3; padding: 48px 24px 24px; margin-top: 60px; }
.footer-inner { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #8ECFD6; font-size: 13px; transition: color .15s; }
footer ul li a:hover { color: #fff; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-top: 8px; }
.footer-bottom { max-width: 1280px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #6BADB5; flex-wrap: wrap; gap: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-slide { flex-direction: column; padding: 40px 20px; text-align: center; }
  .hero-image img { max-width: 300px; }
  .hero-btns { justify-content: center; }
  .hero-dots { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .topbar .inner { flex-direction: column; gap: 6px; text-align: center; }
  .topbar-right { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
  .header-inner { flex-wrap: wrap; }
  .search-bar { order: 3; flex: 0 0 100%; }
  .nav-location { display: none; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
}
