/* Shaadi Albums — layout inspired by ezone book / shop templates */
:root {
  --red: #f44344;
  --red-dark: #d73738;
  --ink: #383838;
  --ink-2: #050035;
  --muted: #666666;
  --muted-2: #999999;
  --line: #e8e8e8;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --footer: #111111;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: .25s; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; }
h1,h2,h3,h4,h5 { font-weight: 700; color: var(--ink); line-height: 1.3; margin: 0 0 12px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Buttons */
.btn-red {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  border: 0;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 15px 34px;
  cursor: pointer;
  transition: .3s;
}
.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px -7px rgba(244,67,68,.9);
}
.btn-dark {
  display: inline-block;
  background: #1a1a1a;
  color: #fff !important;
  border: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
}
.btn-dark:hover { background: var(--red); }

/* Top bar — book homepage */
.header-top {
  background: var(--red);
  color: #e8e8e8;
  font-size: 13px;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
}
.header-top a { color: #e8e8e8; }
.header-top a:hover { color: #fff; }
.header-top-links { display: flex; gap: 28px; }

/* Main header */
.header-main {
  background: #fff;
  border-bottom: 1px solid #f3f3f3;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  height: 120px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}
.main-nav ul {
  display: flex;
  gap: 42px;
}
.main-nav a {
  display: inline-block;
  padding: 38px 0;
  font-weight: 700;
  font-size: 16px;
  text-transform: capitalize;
  color: var(--ink);
}
.main-nav a:hover,
.main-nav a.active { color: var(--red); }
.header-cart {
  position: relative;
}
.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ink);
  padding: 20px 0;
}
.cart-count {
  position: absolute;
  top: 12px;
  right: -10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.cart-dropdown {
  position: absolute;
  right: 0;
  top: 110%;
  width: 320px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .25s;
  z-index: 50;
}
.header-cart:hover .cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mini-item {
  display: grid;
  grid-template-columns: 60px 1fr 20px;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.mini-item img { width: 60px; height: 60px; object-fit: cover; }
.mini-item h5 { font-size: 13px; margin: 0 0 4px; }
.mini-item span { font-size: 12px; color: var(--muted); }
.mini-item button { border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--muted); }
.mini-total { display: flex; justify-content: space-between; margin: 12px 0; }
.mini-empty { color: var(--muted); margin: 0; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

/* Inner header extras */
.header-tools {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}
.header-tools .container {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  min-height: 58px;
  gap: 16px;
}
.access-links { font-size: 13px; color: var(--muted-2); }
.access-links a { color: var(--muted-2); }
.access-links a:hover { color: var(--red); }
.search-bar {
  display: flex;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  height: 58px;
}
.search-bar input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 18px;
  font-size: 13px;
  color: var(--ink);
}
.search-bar button {
  width: 54px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
}
.tool-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--ink);
}
.tool-links a:hover { color: var(--red); }

/* Page banner */
.page-banner {
  background: url("../images/banners/page-banner.jpg") center/cover no-repeat;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40,40,40,.45);
}
.page-banner .inner { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-banner p,
.breadcrumb {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--red); }

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 20px;
  padding: 60px 0 40px;
}
.hero h1 {
  font-size: 58px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: 1px;
  margin: 0;
}
.hero h1 span { color: var(--red); }
.hero h2 {
  font-size: 58px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 4px 0 18px;
}
.hero p {
  max-width: 360px;
  color: var(--ink);
  margin-bottom: 36px;
}
.hero-visual {
  position: relative;
  min-height: 480px;
}
.hero-visual .shot {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  background: #fff;
  padding: 8px;
}
.hero-visual .s1 { width: 210px; height: 270px; right: 40px; top: 20px; transform: rotate(8deg); z-index: 3; }
.hero-visual .s2 { width: 180px; height: 240px; right: 230px; top: 70px; transform: rotate(-6deg); z-index: 2; }
.hero-visual .s3 { width: 150px; height: 190px; right: 120px; top: 280px; transform: rotate(4deg); z-index: 1; }
.hero-visual .petal {
  position: absolute;
  width: 70px;
  opacity: .85;
}
.hero-visual .p1 { left: 10px; bottom: 40px; }
.hero-visual .p2 { right: 10px; top: 0; }

/* Promo banners */
.promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 0 20px;
}
.promo-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: #f7f3ee;
}
.promo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.promo-copy {
  position: absolute;
  inset: 0;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.35) 55%, transparent 100%);
}
.promo-card.right .promo-copy {
  background: linear-gradient(270deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.35) 55%, transparent 100%);
}
.promo-card.right .promo-copy { align-items: flex-end; text-align: right; }
.promo-copy h3 {
  font-size: 22px;
  letter-spacing: 4px;
  font-weight: 500;
  margin: 0;
}
.promo-copy h4 {
  font-size: 26px;
  margin: 8px 0 18px;
}
.promo-copy p { margin: 6px 0 18px; }

/* Sections */
.section { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 28px;
}
.section-title h2 {
  display: inline-block;
  position: relative;
  font-size: 32px;
  letter-spacing: 1px;
  text-transform: capitalize;
  padding: 0 70px;
}
.section-title h2::before,
.section-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: #666;
}
.section-title h2::before { left: 0; }
.section-title h2::after { right: 0; }

.tabs {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}
.tabs button {
  background: none;
  border: 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--muted-2);
  cursor: pointer;
  text-transform: capitalize;
  padding: 0;
  position: relative;
}
.tabs button.active,
.tabs button:hover { color: var(--ink); }
.tabs button.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 8px;
  height: 1px;
  background: #9b9b9b;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
.product-card { text-align: center; }
.product-thumb {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
  aspect-ratio: 1;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.77,0,.175,1);
  z-index: 1;
}
.product-card:hover .product-thumb::before { transform: scaleX(1); }
.product-actions {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: .4s cubic-bezier(.77,0,.175,1);
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: scaleX(1);
}
.product-actions a,
.product-actions button {
  background: #fff;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.product-actions .add-btn {
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  padding: 10px 16px;
}
.product-actions .wish-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
}
.product-actions .add-btn:hover,
.product-actions .wish-btn:hover {
  background: var(--red);
  color: #fff;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 8px;
}
.badge.sale { background: #1a1a1a; }
.badge.new { background: #050035; }
.product-card h4 {
  font-size: 16px;
  margin: 18px 0 6px;
}
.product-card h4 a:hover { color: var(--red); }
.price { font-size: 15px; color: var(--ink); }
.price s { color: var(--muted-2); margin-right: 6px; }
.stars { color: #111; font-size: 12px; letter-spacing: 1px; margin-top: 6px; }
.stars .off { color: #bbb; }

/* Featured month */
.featured-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.writer-photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.writer-copy h3 { color: var(--muted-2); font-size: 22px; position: relative; padding-left: 60px; }
.writer-copy h3::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #999;
  position: absolute;
  left: 0;
  top: 14px;
}
.mini-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

/* Testimonial */
.testimonial {
  background: #111 url("../images/banners/testimonial-bg.jpg") center/cover;
  color: #fff;
  text-align: center;
  padding: 90px 20px;
  position: relative;
}
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.78);
}
.testimonial .inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.testimonial .quote { font-size: 72px; line-height: 1; font-family: Georgia, serif; }
.testimonial p { font-size: 22px; line-height: 1.6; margin: 10px 0 24px; }
.testimonial h4 { color: #fff; margin: 0; }
.testimonial span { color: #ccc; font-size: 14px; }

/* Discount */
.discount-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.discount-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.discount-pair img { width: 100%; height: 320px; object-fit: cover; }
.deal-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.deal-item img { width: 90px; height: 90px; object-fit: cover; background: var(--bg-soft); }
.deal-item h5 { margin: 0 0 4px; font-size: 15px; }
.deal-cols h3 { margin-bottom: 18px; font-size: 18px; letter-spacing: 1px; }

/* Blog home */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card img { width: 100%; height: 240px; object-fit: cover; }
.blog-card h4 { margin: 16px 0 8px; font-size: 18px; }
.blog-card h4 a:hover { color: var(--red); }
.blog-card p { color: var(--muted); font-size: 14px; }

/* Newsletter strip */
.newsletter {
  background: #1a1a1a;
  color: #fff;
  padding: 42px 0;
}
.newsletter .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.newsletter h3 {
  color: #fff;
  letter-spacing: 3px;
  font-size: 22px;
  margin: 0;
  text-transform: uppercase;
}
.newsletter form {
  display: flex;
  min-width: 420px;
  position: relative;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #555;
  color: #fff;
  padding: 12px 90px 12px 0;
  outline: none;
}
.newsletter button {
  position: absolute;
  right: 0;
  top: 0;
  background: none;
  border: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 12px 0;
}

/* Footer */
.site-footer {
  background: #0d0d0d url("../images/banners/footer-leaf.jpg") center/cover;
  color: #999;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,.88);
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 70px 0 40px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.footer-grid p { font-size: 14px; line-height: 1.8; }
.footer-grid a { color: #999; font-size: 14px; display: inline-block; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .4px; }
.footer-grid a:hover { color: var(--red); }
.footer-about p { margin-bottom: 16px; }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #ccc;
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-mail {
  display: flex;
  margin-top: 12px;
}
.footer-mail input {
  flex: 1;
  background: #1a1a1a;
  border: 0;
  color: #fff;
  padding: 12px 14px;
  outline: none;
}
.footer-mail button {
  background: #222;
  border: 0;
  color: #fff;
  width: 46px;
  cursor: pointer;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.legal-links a { text-transform: none; font-size: 13px; }
.copyright {
  border-top: 1px solid #222;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #666;
  position: relative;
  z-index: 1;
}

/* Shop */
.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  padding: 70px 0;
}
.sidebar h5 {
  font-size: 16px;
  margin: 28px 0 16px;
  text-transform: capitalize;
}
.sidebar h5:first-child { margin-top: 0; }
.side-search {
  display: flex;
  border: 1px solid #eee;
}
.side-search input {
  flex: 1;
  border: 0;
  padding: 10px 12px;
  outline: none;
}
.side-search button { width: 42px; border: 0; background: transparent; cursor: pointer; }
.price-row { display: flex; gap: 8px; align-items: center; }
.price-row input { width: 80px; border: 1px solid #eee; padding: 8px; }
.cat-list li, .size-list, .tag-cloud { font-size: 14px; color: var(--muted); }
.cat-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  cursor: pointer;
}
.cat-list li:hover, .cat-list li.active { color: var(--red); }
.colors { display: flex; gap: 8px; }
.colors button {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0;
}
.colors button.active { border-color: #111; outline: 1px solid #fff; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-list button {
  border: 1px solid #eee;
  background: #fff;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
}
.size-list button.active { border-color: var(--red); color: var(--red); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud button {
  border: 0;
  background: #f4f4f4;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
.tag-cloud button.active { background: var(--red); color: #fff; }
.top-rated { display: grid; grid-template-columns: 70px 1fr; gap: 10px; margin-bottom: 14px; align-items: center; }
.top-rated img { width: 70px; height: 70px; object-fit: cover; background: var(--bg-soft); }
.top-rated h6 { margin: 0 0 4px; font-size: 14px; }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  font-size: 14px;
}
.shop-toolbar select { border: 0; outline: none; font-weight: 600; }

/* Pagination */
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pager button, .pager a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
}
.pager .active, .pager button:hover, .pager a:hover {
  background: #111; color: #fff; border-color: #111;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 70px 0;
}
.gallery-main {
  background: var(--bg-soft);
  aspect-ratio: 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs img {
  width: 80px; height: 80px; object-fit: cover; cursor: pointer; border: 2px solid transparent;
}
.gallery-thumbs img.active { border-color: var(--red); }
.product-info .price { font-size: 24px; margin: 10px 0 18px; }
.qty-row { display: flex; gap: 12px; align-items: center; margin: 22px 0; }
.qty-row input { width: 70px; padding: 10px; border: 1px solid #ddd; text-align: center; }
.meta-list { margin-top: 24px; font-size: 14px; color: var(--muted); }
.tabs-content { padding-bottom: 70px; }
.tabs-nav { display: flex; gap: 30px; border-bottom: 1px solid #eee; margin-bottom: 24px; }
.tabs-nav button {
  background: none; border: 0; padding: 12px 0; font-weight: 700; cursor: pointer; color: var(--muted);
}
.tabs-nav button.active { color: var(--ink); border-bottom: 2px solid var(--red); }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 16px 10px; border-bottom: 1px solid #eee; text-align: left; }
.cart-table img { width: 80px; height: 80px; object-fit: cover; }
.cart-table button {
  background: none;
  border: 0;
  color: var(--red);
  cursor: pointer;
  font-weight: 600;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 40px;
  padding: 70px 0;
}
.checkout-box {
  background: #fafafa;
  padding: 28px;
  border: 1px solid #eee;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  padding: 12px 14px;
  outline: none;
  background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--red); }
.error { color: var(--red); font-size: 12px; min-height: 16px; margin-top: 4px; }
.success-box {
  display: none;
  background: #f3fff4;
  border: 1px solid #b7e4bc;
  padding: 28px;
  text-align: center;
  margin-top: 20px;
}
.success-box.show { display: block; }
.success-box h3 { color: #1b7a2a; }

/* Blog pages */
.blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  padding: 70px 0;
}
.blog-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.blog-item img { width: 100%; height: 230px; object-fit: cover; }
.blog-meta { font-size: 12px; color: var(--muted-2); margin: 12px 0 8px; text-transform: uppercase; letter-spacing: .6px; }
.blog-item h3 { font-size: 20px; }
.blog-item h3 a:hover { color: var(--red); }
.read-more { color: var(--ink); font-weight: 700; font-size: 13px; }
.read-more:hover { color: var(--red); }
.blog-article img.hero-img { width: 100%; max-height: 460px; object-fit: cover; margin: 18px 0 24px; }
.blog-article p { margin-bottom: 16px; color: var(--ink); }
.blog-article h2 { margin: 28px 0 12px; font-size: 24px; }
.comments { margin-top: 40px; }
.comment {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}
.comment img { width: 70px; height: 70px; object-fit: cover; border-radius: 50%; }

/* About / legal / contact */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 70px 0 30px;
}
.about-grid img { width: 100%; height: 420px; object-fit: cover; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0 70px;
  text-align: center;
}
.stats h3 { font-size: 32px; color: var(--red); margin: 0; }
.legal-page { padding: 70px 0 90px; max-width: 900px; }
.legal-page h2 { margin: 32px 0 12px; font-size: 22px; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 70px 0;
}
.contact-note { background: #fafafa; padding: 28px; }
.contact-note h3 { margin-bottom: 12px; }

/* Subscribe pages */
.simple-form {
  max-width: 560px;
  margin: 0 auto;
  padding: 70px 0 90px;
}
.simple-form h2 { text-align: center; margin-bottom: 12px; }
.simple-form .lead { text-align: center; color: var(--muted); margin-bottom: 28px; }

/* Toast */
.sa-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111;
  color: #fff;
  padding: 14px 20px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .3s;
  z-index: 100;
}
.sa-toast.show { opacity: 1; transform: none; }

/* Related */
.related { padding: 0 0 80px; }

.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1, .hero h2 { font-size: 42px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
    z-index: 40;
  }
  .header-main { position: relative; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .main-nav a { padding: 10px 0; }
  .hero .container, .promo-row, .featured-row, .discount-wrap, .shop-layout, .blog-layout,
  .product-detail, .cart-layout, .about-grid, .contact-layout, .header-tools .container {
    grid-template-columns: 1fr;
  }
  .header-tools { display: none; }
  .product-grid, .blog-grid, .blog-list, .stats { grid-template-columns: 1fr 1fr; }
  .newsletter .container, .newsletter form { flex-direction: column; min-width: 0; width: 100%; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 340px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-grid, .blog-grid, .blog-list, .stats, .footer-grid, .discount-pair { grid-template-columns: 1fr; }
  .hero h1, .hero h2, .page-banner h1 { font-size: 32px; }
  .header-top .container { flex-direction: column; padding: 8px 0; }
  .section { padding: 50px 0; }
}
