/* ==========================================================
   URBAN — clothing store landing page
   ========================================================== */

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

:root {
  /* Main theme colors — change these two to re-theme the whole site */
  --primary-color: #141414;
  --secondary-color: #1a1a1a;

  --black: var(--primary-color);
  --dark: var(--secondary-color);
  --gray-900: #333333;
  --gray-600: #666666;
  --gray-400: #999999;
  --gray-200: #e5e5e5;
  --gray-100: #f4f3f1;
  --white: #ffffff;
  --cream: #ece7e0;
  --sale: #c0392b;
  --font: 'Helvetica Neue', Arial, 'Segoe UI', sans-serif;
  --container: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Icons (simple inline mask shapes) ---------- */
.icon, .icon-btn { position: relative; display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
.icon-btn { width: 20px; height: 20px; }

.icon-pin::before { content: "📍"; font-size: 12px; }
.icon-track::before { content: "🔄"; font-size: 12px; }
.icon-user::before { content: "👤"; font-size: 12px; }
.icon-search::before { content: "🔍"; font-size: 15px; }
.icon-heart::before { content: "♡"; font-size: 20px; line-height: 1; }
.icon-cart::before { content: "🛍"; font-size: 18px; }
.icon-truck::before { content: "🚚"; font-size: 24px; }
.icon-return::before { content: "↺"; font-size: 26px; }
.icon-shield::before { content: "🛡"; font-size: 22px; }
.icon-support::before { content: "🏷"; font-size: 22px; }
.icon-facebook::before { content: "f"; font-weight: 700; }
.icon-instagram::before { content: "◎"; }
.icon-tiktok::before { content: "♪"; }
.icon-youtube::before { content: "▶"; font-size: 12px; }

/* ==========================================================
   Top bar
   ========================================================== */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 12px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar__msg { opacity: .9; }
.topbar__links { display: flex; gap: 24px; }
.topbar__links li { display: flex; align-items: center; gap: 6px; opacity: .85; }

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}
.logo span { color: var(--sale); }
.logo--light { color: var(--white); }

.nav ul { display: flex; gap: 32px; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
}
.nav a:hover { color: var(--gray-600); }
.nav a.active { color: var(--black); padding-bottom: 4px; border-bottom: 2px solid var(--black); }

.header__actions { display: flex; align-items: center; gap: 20px; }

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search input {
  width: 220px;
  padding: 9px 36px 9px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 13px;
  background: var(--gray-100);
}
.search input:focus { outline: none; border-color: var(--gray-400); }
.search .icon-search {
  position: absolute;
  right: 12px;
  cursor: pointer;
}

.icon-btn { color: var(--gray-900); position: relative; }
.icon-cart { position: relative; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--cream);
}
.hero__inner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero__inner::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  background-image: url('https://images.pexels.com/photos/29347989/pexels-photo-29347989/free-photo-of-stylish-young-couple-posing-on-urban-street.jpeg?auto=compress&cs=tinysrgb&w=900&h=700&fit=crop');
  background-size: cover;
  background-position: top center;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}
.hero__content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; }

.btn {
  display: inline-block;
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 2px;
  transition: opacity .2s ease;
}
.btn:hover { opacity: .8; }
.btn--primary { background: var(--black); color: var(--white); }
.btn--outline { background: transparent; color: var(--gray-900); border: 1px solid var(--gray-900); }
.btn--outline-dark { background: transparent; color: var(--white); border: 1px solid var(--white); }

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(20,20,20,.3); }
.dot.active { background: var(--black); }

/* ==========================================================
   Sections generic
   ========================================================== */
.section { padding: 64px 0; }
.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section__head h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .5px;
}
.link-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}
.link-more:hover { color: var(--black); }

/* ---------- Slider (shared: categories + home products) ---------- */
.slider { position: relative; }
.slider__track {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slider__btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 20px rgba(20, 20, 20, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--black);
  z-index: 5;
  transition: opacity .2s ease, border-color .2s ease;
}
.slider__btn:hover { border-color: var(--black); }
.slider__btn:disabled { opacity: 0; pointer-events: none; }
.slider__btn--prev { left: -20px; }
.slider__btn--next { right: -20px; }

/* ---------- Categories ---------- */
.categories {
  display: flex;
  gap: 20px;
}
.categories .category-card { flex: 0 0 calc((100% - 80px) / 5); scroll-snap-align: start; }
.category-card { display: block; }
.category-card__img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 14px;
  transition: transform .3s ease;
}
.category-card:hover .category-card__img { transform: translateY(-4px); }
.category-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.category-card p { font-size: 12px; color: var(--gray-600); }

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.products-slider {
  display: flex;
  gap: 18px;
}
.products-slider .product-card { flex: 0 0 calc((100% - 5 * 18px) / 6); scroll-snap-align: start; }
.products--sidebar { grid-template-columns: repeat(3, 1fr); }
.products--4 { grid-template-columns: repeat(4, 1fr); }
.product-card { position: relative; }
.product-card__img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 14px;
  background-color: var(--gray-100);
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  z-index: 2;
  letter-spacing: .5px;
}
.badge--sale { background: var(--sale); }
.product-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.price { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.price--old { color: var(--gray-400); text-decoration: line-through; font-weight: 400; margin-right: 6px; }
.price--sale { color: var(--sale); }
.swatches { display: flex; gap: 6px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }

/* ---------- Banners ---------- */
.banners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.banner {
  position: relative;
  min-height: 320px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.banner__content { padding: 32px; color: var(--white); }
.banner--light .banner__content { color: var(--black); }
.banner__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
  opacity: .85;
}
.banner__content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: .5px;
}
.banner__sub { font-size: 13px; margin-bottom: 8px; }
.banner__big { font-size: 40px; font-weight: 800; margin-bottom: 18px; }

/* ---------- Features ---------- */
.features {
  background: var(--gray-100);
  padding: 40px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature .icon { width: auto; height: auto; font-size: 24px; }
.feature h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; letter-spacing: .3px; }
.feature p { font-size: 12px; color: var(--gray-600); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--white);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--gray-200);
}
.newsletter h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.newsletter p { font-size: 13px; color: var(--gray-600); margin-bottom: 24px; }
.newsletter__form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter__form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  font-size: 13px;
  background: var(--gray-100);
}
.newsletter__form input:focus { outline: none; border-color: var(--gray-400); }
.newsletter__form button {
  padding: 14px 24px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 2px;
  white-space: nowrap;
}
.newsletter__form button:hover { opacity: .85; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--gray-200); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 56px 24px 40px;
}
.footer__brand p {
  font-size: 13px;
  color: var(--gray-400);
  margin: 16px 0 20px;
  max-width: 240px;
}
.socials { display: flex; gap: 12px; }
.socials .icon-btn {
  width: 32px; height: 32px;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-200);
  font-size: 13px;
}
.socials .icon-btn:hover { background: #2a2a2a; }

.footer__col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 18px;
  color: var(--white);
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col ul a { font-size: 13px; color: var(--gray-400); }
.footer__col ul a:hover { color: var(--white); }

.payments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pay-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 6px 10px;
  background: var(--white);
  color: var(--black);
  border-radius: 3px;
}
.verified-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--gray-400);
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  padding: 8px 10px;
  display: inline-block;
  line-height: 1.4;
}

.footer__bottom {
  border-top: 1px solid #2a2a2a;
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
}

/* ==========================================================
   Page hero + breadcrumb (inner pages)
   ========================================================== */
.page-hero {
  background: var(--gray-100);
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span { color: var(--gray-400); }
.breadcrumb .current { color: var(--gray-900); font-weight: 600; }
.page-hero h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .5px;
}
.page-hero p { font-size: 13px; color: var(--gray-600); margin-top: 6px; max-width: 560px; }

/* ==========================================================
   Shop layout (products listing)
   ========================================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.filters {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 24px;
}
.filter-group { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--gray-200); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-900);
  margin-bottom: 12px;
  cursor: pointer;
}
.filter-check input { accent-color: var(--black); width: 15px; height: 15px; }
.filter-check span.count { margin-left: auto; color: var(--gray-400); font-size: 12px; }
.filter-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size-box {
  width: 36px; height: 36px;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
}
.size-box:hover, .size-box.active { border-color: var(--black); background: var(--black); color: var(--white); }
.filter-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.color-dot {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--white);
  outline: 1px solid var(--gray-200);
  cursor: pointer;
}
.color-dot.active { outline: 2px solid var(--black); }
.price-range { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray-600); }
.price-range input[type="range"] { width: 100%; accent-color: var(--black); }
.filter-apply {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 3px;
}
.filter-apply:hover { opacity: .85; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.shop-toolbar__count { font-size: 13px; color: var(--gray-600); }
.shop-toolbar__count strong { color: var(--black); }
.shop-toolbar__actions { display: flex; align-items: center; gap: 14px; }
.select {
  padding: 9px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  font-size: 13px;
  background: var(--white);
  color: var(--gray-900);
}
.select:focus { outline: none; border-color: var(--gray-400); }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
}
.pagination a, .pagination span {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  color: var(--gray-900);
}
.pagination a:hover { border-color: var(--black); }
.pagination .active { background: var(--black); color: var(--white); border-color: var(--black); }
.pagination .dots { border: none; }

/* ==========================================================
   Product detail
   ========================================================== */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.pd-gallery__main {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  margin-bottom: 14px;
  background-color: var(--gray-100);
}
.pd-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-gallery__thumbs .thumb {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .7;
}
.pd-gallery__thumbs .thumb.active { border-color: var(--black); opacity: 1; }

.pd-info__cat { font-size: 12px; color: var(--gray-600); letter-spacing: .5px; margin-bottom: 10px; }
.pd-info__cat a:hover { color: var(--black); }
.pd-info h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; letter-spacing: .3px; }
.stars { display: inline-flex; gap: 2px; color: #d4a72c; font-size: 14px; }
.pd-info__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; color: var(--gray-600); }
.pd-info__price { font-size: 26px; font-weight: 800; margin-bottom: 18px; }
.pd-info__price .price--old { font-size: 16px; }
.pd-info__desc { font-size: 14px; color: var(--gray-600); margin-bottom: 26px; line-height: 1.7; }

.option-group { margin-bottom: 24px; }
.option-group h5 { font-size: 12px; font-weight: 800; letter-spacing: .5px; margin-bottom: 12px; text-transform: uppercase; }
.option-group h5 span { font-weight: 400; text-transform: none; color: var(--gray-600); }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
}
.qty-stepper button {
  width: 40px; height: 44px;
  font-size: 16px;
  color: var(--gray-900);
}
.qty-stepper button:hover { background: var(--gray-100); }
.qty-stepper input {
  width: 44px; height: 44px;
  border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200);
  text-align: center;
  font-size: 14px;
}
.qty-stepper input:focus { outline: none; }

.pd-actions { display: flex; gap: 12px; margin-bottom: 28px; }
.pd-actions .btn { flex: 1; text-align: center; padding: 16px; }
.pd-actions .icon-btn {
  width: 50px; height: 50px;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pd-actions .icon-btn:hover { border-color: var(--black); }

.pd-meta { border-top: 1px solid var(--gray-200); padding-top: 20px; }
.pd-meta li { display: flex; gap: 10px; font-size: 13px; color: var(--gray-600); margin-bottom: 8px; }
.pd-meta li strong { color: var(--gray-900); min-width: 90px; font-weight: 600; }

.pd-tabs { margin-top: 72px; }
.tab-nav { display: flex; gap: 40px; border-bottom: 1px solid var(--gray-200); margin-bottom: 32px; }
.tab-nav button {
  padding: 16px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--gray-400);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-nav button.active { color: var(--black); border-bottom-color: var(--black); }
.tab-panel { display: none; font-size: 14px; color: var(--gray-600); line-height: 1.8; max-width: 820px; }
.tab-panel.active { display: block; }
.tab-panel ul { list-style: disc; padding-left: 20px; margin-top: 10px; }
.tab-panel li { margin-bottom: 6px; }

.review { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gray-200); flex-shrink: 0; background-size: cover; background-position: center; }
.review__name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.review__date { font-size: 12px; color: var(--gray-400); margin-bottom: 8px; }

/* ==========================================================
   Collections
   ========================================================== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.collections-grid .collection-card:first-child { grid-column: span 2; grid-row: span 2; }
.collection-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.collection-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%);
}
.collection-card__content { position: relative; z-index: 2; padding: 26px; color: var(--white); }
.collection-card__content .tag {
  display: inline-block;
  margin-bottom: 10px;
}
.collection-card__content h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.collection-card__content p { font-size: 12px; opacity: .85; margin-bottom: 12px; }

/* ==========================================================
   Sale page
   ========================================================== */
.sale-hero {
  background: var(--black);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.sale-hero .tag { background: var(--sale); color: var(--white); margin-bottom: 16px; }
.sale-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.sale-hero p { font-size: 14px; color: var(--gray-400); margin-bottom: 28px; }
.countdown { display: flex; justify-content: center; gap: 14px; }
.countdown__box {
  width: 70px;
  padding: 14px 0;
  background: #232323;
  border-radius: 4px;
}
.countdown__box strong { display: block; font-size: 26px; font-weight: 800; }
.countdown__box span { font-size: 11px; color: var(--gray-400); }

/* ==========================================================
   Blog / News
   ========================================================== */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 5px 10px;
  background: var(--black);
  color: var(--white);
  border-radius: 2px;
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-200);
}
.blog-featured__img {
  aspect-ratio: 16/11;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}
.blog-featured__body .tag { margin-bottom: 14px; }
.blog-featured__body h2 { font-size: 26px; font-weight: 800; line-height: 1.3; margin-bottom: 14px; }
.blog-featured__body p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 18px; }
.post-meta { font-size: 12px; color: var(--gray-400); display: flex; gap: 14px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card__img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  margin-bottom: 16px;
}
.blog-card .tag { margin-bottom: 12px; }
.blog-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--gray-600); }
.blog-card p { font-size: 13px; color: var(--gray-600); margin-bottom: 14px; line-height: 1.6; }

.article-header { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.article-header .tag { margin-bottom: 16px; }
.article-header h1 { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.article-header .post-meta { justify-content: center; }
.article-cover {
  aspect-ratio: 21/9;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  max-width: 980px;
  margin: 0 auto 48px;
}
.article-body { max-width: 760px; margin: 0 auto; font-size: 15px; color: var(--gray-900); line-height: 1.9; }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-size: 20px; font-weight: 800; margin: 36px 0 16px; }
.article-body blockquote {
  border-left: 3px solid var(--black);
  padding: 4px 0 4px 22px;
  font-size: 17px;
  font-style: italic;
  color: var(--gray-900);
  margin: 30px 0;
}
.article-body img { border-radius: 6px; margin: 30px 0; }
.article-tags { display: flex; gap: 8px; max-width: 760px; margin: 36px auto 0; }
.article-tags a {
  font-size: 12px;
  padding: 7px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  color: var(--gray-600);
}
.article-tags a:hover { border-color: var(--black); color: var(--black); }

.author-box {
  max-width: 760px;
  margin: 44px auto 0;
  padding: 26px;
  background: var(--gray-100);
  border-radius: 6px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.author-box__avatar { width: 60px; height: 60px; border-radius: 50%; background-size: cover; background-position: center; flex-shrink: 0; }
.author-box h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.author-box p { font-size: 13px; color: var(--gray-600); }

/* ==========================================================
   Forms (contact / auth / checkout)
   ========================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .3px; margin-bottom: 8px; }
.form-control {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  font-size: 13px;
  background: var(--white);
  color: var(--gray-900);
}
.form-control:focus { outline: none; border-color: var(--black); }
textarea.form-control { resize: vertical; min-height: 130px; }
.checkbox-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); }
.checkbox-line input { accent-color: var(--black); width: 15px; height: 15px; }
.checkbox-line a { color: var(--black); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 56px; }
.contact-grid--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.info-card {
  padding: 26px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  text-align: center;
}
.info-card .icon { width: auto; height: auto; font-size: 26px; margin-bottom: 14px; }
.info-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 8px; letter-spacing: .3px; }
.info-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.map-box {
  aspect-ratio: 4/3.4;
  border-radius: 6px;
  background: var(--gray-100) url('https://images.pexels.com/photos/37549254/pexels-photo-37549254/free-photo-of-modern-clothing-store-in-warsaw-display.jpeg?auto=compress&cs=tinysrgb&w=700&h=600&fit=crop') center/cover;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.map-box::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.35); border-radius: 6px; }
.map-box__pin {
  position: relative; z-index: 2;
  background: var(--white);
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ---------- About ---------- */
.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.story-block.reverse .story-block__img { order: 2; }
.story-block__img { aspect-ratio: 4/3.2; background-size: cover; background-position: center; border-radius: 6px; }
.story-block__body .tag { margin-bottom: 16px; }
.story-block__body h2 { font-size: 26px; font-weight: 800; margin-bottom: 18px; line-height: 1.3; }
.story-block__body p { font-size: 14px; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 72px;
  text-align: center;
}
.stat strong { display: block; font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.stat span { font-size: 13px; color: var(--gray-600); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { text-align: center; padding: 30px 20px; border: 1px solid var(--gray-200); border-radius: 6px; }
.value-card .icon { width: auto; height: auto; font-size: 30px; margin-bottom: 16px; }
.value-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ==========================================================
   Auth (login / register)
   ========================================================== */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 117px);
}
.auth-layout__img {
  background-image: url('https://images.pexels.com/photos/19290489/pexels-photo-19290489/free-photo-of-young-woman-posing-in-studio-in-a-simple-outfit.jpeg?auto=compress&cs=tinysrgb&w=900&h=1100&fit=crop');
  background-size: cover;
  background-position: center;
  position: relative;
}
.auth-layout__img::after {
  content: "URBAN.";
  position: absolute;
  bottom: 40px; left: 40px;
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
}
.auth-layout__form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.auth-box { width: 100%; max-width: 400px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--gray-200); margin-bottom: 32px; }
.auth-tabs button {
  flex: 1;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--gray-400);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.auth-tabs button.active { color: var(--black); border-bottom-color: var(--black); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-panel h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.auth-panel > p { font-size: 13px; color: var(--gray-600); margin-bottom: 26px; }
.auth-panel .btn { width: 100%; text-align: center; padding: 15px; margin-top: 6px; }
.auth-row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.auth-row-between a { font-size: 12px; color: var(--gray-600); font-weight: 600; }
.auth-row-between a:hover { color: var(--black); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 26px 0; font-size: 12px; color: var(--gray-400); }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--gray-200); }
.social-buttons { display: flex; gap: 12px; }
.social-buttons button {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.social-buttons button:hover { border-color: var(--black); }

/* ==========================================================
   Cart / Checkout
   ========================================================== */
.checkout-steps { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 48px; }
.checkout-steps .step { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--gray-400); }
.checkout-steps .step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.checkout-steps .step.active { color: var(--black); }
.checkout-steps .step.active .step__num { background: var(--black); border-color: var(--black); color: var(--white); }
.checkout-steps .step.done .step__num { background: var(--black); border-color: var(--black); color: var(--white); }
.checkout-steps .sep { width: 40px; height: 1px; background: var(--gray-200); }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gray-400);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.cart-table td { padding: 22px 10px 22px 0; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.cart-item { display: flex; gap: 16px; align-items: center; }
.cart-item__img { width: 84px; height: 100px; background-size: cover; background-position: center; border-radius: 4px; flex-shrink: 0; }
.cart-item__name { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.cart-item__variant { font-size: 12px; color: var(--gray-600); }
.cart-remove { font-size: 12px; color: var(--gray-400); margin-top: 8px; }
.cart-remove:hover { color: var(--sale); }
.cart-table .qty-stepper button { width: 32px; height: 36px; }
.cart-table .qty-stepper input { width: 38px; height: 36px; }

.order-summary { border: 1px solid var(--gray-200); border-radius: 6px; padding: 26px; }
.order-summary h3 { font-size: 15px; font-weight: 800; margin-bottom: 20px; letter-spacing: .3px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray-600); margin-bottom: 14px; }
.summary-row.total { font-size: 16px; font-weight: 800; color: var(--black); padding-top: 14px; border-top: 1px solid var(--gray-200); margin-bottom: 20px; }
.coupon-row { display: flex; gap: 8px; margin-bottom: 20px; }
.coupon-row input { flex: 1; }
.coupon-row button {
  padding: 0 18px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}
.coupon-row button:hover { background: var(--gray-200); }
.order-summary .btn { width: 100%; text-align: center; padding: 15px; }

.checkout-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.checkout-section { margin-bottom: 36px; }
.checkout-section h3 { font-size: 14px; font-weight: 800; letter-spacing: .3px; margin-bottom: 18px; }
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.payment-option input { accent-color: var(--black); width: 16px; height: 16px; }
.payment-option:has(input:checked) { border-color: var(--black); background: var(--gray-100); }
.payment-option span.desc { font-weight: 400; color: var(--gray-600); font-size: 12px; display: block; margin-top: 2px; }
.mini-cart-item { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.mini-cart-item__img { width: 56px; height: 66px; background-size: cover; background-position: center; border-radius: 4px; flex-shrink: 0; position: relative; }
.mini-cart-item__img .qty-badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--gray-600); color: var(--white);
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.mini-cart-item__name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.mini-cart-item__variant { font-size: 11px; color: var(--gray-600); }
.mini-cart-item__price { margin-left: auto; font-size: 13px; font-weight: 700; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .categories .category-card { flex: 0 0 calc((100% - 40px) / 3); }
  .products-slider .product-card { flex: 0 0 calc((100% - 2 * 18px) / 3); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .products--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 200px 1fr; gap: 24px; }
  .pd-layout { gap: 32px; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .collections-grid .collection-card:first-child { grid-column: span 2; grid-row: span 1; }
  .contact-grid, .contact-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .topbar__msg { display: none; }
  .nav { display: none; }
  .search input { width: 140px; }
  .slider__btn { display: none; }
  .hero__content h1 { font-size: 36px; }
  .hero__inner::after { width: 65%; opacity: .9; }
  .banners__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { margin-bottom: 12px; }
  .pd-layout { grid-template-columns: 1fr; }
  .story-block, .story-block.reverse { grid-template-columns: 1fr; }
  .story-block.reverse .story-block__img { order: 0; }
  .blog-featured { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-layout__img { display: none; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .categories .category-card { flex: 0 0 calc((100% - 20px) / 2); }
  .products-slider .product-card { flex: 0 0 calc((100% - 18px) / 2); }
  .products, .products--sidebar, .products--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .hero__inner::after { display: none; }
  .contact-grid, .contact-grid--3 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }
  .collections-grid .collection-card:first-child { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .checkout-steps { gap: 4px; }
  .checkout-steps .sep { width: 16px; }
}
