/* ==========================================================
   Garments Store - Front Site Stylesheet
   Font: Roboto only. Primary accent: rose/pink (#d6336c)
   ========================================================== */

:root {
  --accent: #d6336c;
  --accent-dark: #a82358;
  --text-dark: #222;
  --text-muted: #6c757d;
  --border: #eee;
  --bg-light: #f8f4f5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.topbar {
  background: #f1f1f4; font-size: 12.5px; color: var(--text-muted);
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap:6px; }
.topbar-right { display: flex; gap: 18px; }
.topbar a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header { padding: 16px 0; border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo { font-size: 26px; font-weight: 700; color: var(--accent); display:flex; align-items:center; gap:8px; }
.logo small { display: block; font-size: 10px; letter-spacing: 1px; color: var(--text-muted); font-weight: 400; }
.search-box { flex: 1; max-width: 480px; display: flex; }
.search-box input { flex: 1; padding: 10px 14px; border: 1px solid #ccc; border-right: none; border-radius: 4px 0 0 4px; font-family: inherit; }
.search-box button { background: var(--accent); border: none; color: #fff; padding: 0 18px; border-radius: 0 4px 4px 0; cursor: pointer; }
.header-icons { display: flex; gap: 26px; align-items: center; }
.header-icons a { position: relative; text-align: center; font-size: 12px; color: var(--text-dark); }
.header-icons .badge { position: absolute; top: -8px; right: -10px; background: var(--accent); color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 11px; display: flex; align-items: center; justify-content: center; }

/* ---------- Nav ---------- */
.main-nav { background: #fff; border-bottom: 1px solid var(--border); }
.main-nav ul { display: flex; gap: 26px; padding: 12px 0; flex-wrap: wrap; }
.main-nav a { font-size: 13px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ---------- Hero Slider ---------- */
.hero-slide { background: var(--bg-light); display: flex; align-items: center; min-height: 380px; padding: 40px 0; }
.hero-slide .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.hero-text { max-width: 480px; }
.hero-text .tag { color: var(--accent); font-weight: 600; letter-spacing: 1px; font-size: 13px; }
.hero-text h1 { font-size: 42px; font-weight: 800; line-height: 1.15; margin: 8px 0 14px; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { color: var(--text-muted); margin-bottom: 20px; }
.hero-img { flex: 1; min-width: 280px; max-width: 480px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 12px 28px; border-radius: 4px; font-weight: 600; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; border: none; cursor: pointer; }
.btn:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }

/* ---------- Category Banners ---------- */
.category-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.category-banner { background: var(--bg-light); padding: 30px; min-height: 220px; display: flex; flex-direction: column; justify-content: center; border-radius: 6px; }
.category-banner h3 { font-size: 22px; margin-bottom: 6px; }
.category-banner p { color: var(--text-muted); margin-bottom: 14px; font-size: 13px; }

/* ---------- Trust Badges ---------- */
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; border: 1px solid var(--border); border-radius: 6px; margin: 30px 0; text-align: center; }
.trust-badges .badge-item i { color: var(--accent); font-size: 24px; margin-bottom: 8px; }
.trust-badges .badge-item h4 { font-size: 13px; margin-bottom: 4px; }
.trust-badges .badge-item p { font-size: 11.5px; color: var(--text-muted); }

/* ---------- Section titles ---------- */
.section-title { text-align: center; margin: 40px 0 20px; font-size: 20px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.section-tabs { display: flex; justify-content: center; gap: 22px; margin-bottom: 22px; font-size: 13px; font-weight: 600; color: var(--text-muted); flex-wrap: wrap; }
.section-tabs a.active, .section-tabs a:hover { color: var(--accent); }

/* ---------- Product Grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.product-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; position: relative; transition: box-shadow .2s; }
.product-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.product-card .thumb { position: relative; background: #fafafa; aspect-ratio: 3/4; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .wish { position: absolute; top: 10px; right: 10px; background: #fff; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.product-card .badge-tag { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; }
.product-card .info { padding: 12px; }
.product-card .info h4 { font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.product-card .info .price { font-weight: 700; font-size: 14px; }
.product-card .info .price del { color: var(--text-muted); font-weight: 400; font-size: 12px; margin-left: 6px; }

/* ---------- Promo banner ---------- */
.promo-banner { background: var(--bg-light); border-radius: 6px; display: flex; align-items: center; justify-content: space-between; padding: 30px; margin: 40px 0; flex-wrap: wrap; gap: 20px; }
.promo-banner h2 { font-size: 26px; }
.promo-banner .off-circle { background: var(--accent); color: #fff; border-radius: 50%; width: 90px; height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- Why shop with us ---------- */
.why-shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; margin: 40px 0; }
.why-shop i { color: var(--accent); font-size: 26px; margin-bottom: 10px; }
.why-shop h4 { font-size: 14px; margin-bottom: 4px; }
.why-shop p { font-size: 12px; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.testimonial-card { border: 1px solid var(--border); border-radius: 6px; padding: 20px; }
.testimonial-card .stars { color: #f5a623; font-size: 13px; margin: 6px 0; }
.testimonial-card .who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.testimonial-card .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-light); padding: 20px 0; margin: 30px 0; }
.newsletter .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.newsletter form { display: flex; gap: 10px; flex: 1; max-width: 420px; }
.newsletter input { flex: 1; padding: 10px 14px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: #1c1c24; color: #ccc; padding: 40px 0 0; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; }
.footer-grid li { margin-bottom: 8px; font-size: 13px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #333; padding: 16px 0; text-align: center; font-size: 12.5px; color: #999; }
.footer-bottom .powered-by { display: block; margin-top: 4px; font-size: 11.5px; color: #777; }

/* ---------- Forms (login/register/checkout/contact) ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; }
.form-control { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; font-family: inherit; font-size: 14px; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > .form-group { flex: 1; min-width: 200px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-shop, .testimonials { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav ul { display: none; flex-direction: column; gap: 0; }
  .main-nav ul.open { display: flex; }
  .main-nav li { border-bottom: 1px solid var(--border); padding: 10px 0; }
  .category-banners, .trust-badges { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .why-shop, .testimonials, .footer-grid { grid-template-columns: 1fr; }
  .promo-banner { flex-direction: column; text-align: center; }
}
