 
/* ===== GLOBAL VARIABLES & RESETS ===== */
:root {
  /* Colors */
  --accent: #d94a49; /* red bar color */
  --beige: #f5efe6; /* navbar background */
  --text: #333;
  --muted: #6b6b6b;
  --nav-height: 68px;
  
  /* Banner specific */
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --ring: rgba(255, 255, 255, .85);
  
  /* Text decoration specific */
  --bg: #f6f1e9;
  --ink: #d65050; /* headline color */
  --chip-ring: rgba(0, 0, 0, .1);
  
  /* Category specific */
  --category-bg: #d65050;
  --category-ink: #fff;
  --category-muted: rgba(255, 255, 255, .8);
  
  /* Card specific */
  --card-bg: #f3efdf; /* page background */
  --card: #ffffff; /* card background */
  --card-ink: #222; /* body text */
  --card-muted: #6e6e6e; /* muted text */
  --brand: #d65050; /* accent red (titles/badges) */
  --card-ring: #e6e1d2; /* soft card border */
  --card-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  
  /* Counter specific */
  --page: #f3efdf; /* cream page bg */
  --stripe: #d74f51; /* red banner */
  --counter-ink: #1e1e1e; /* text */
  --counter-muted: #777; /* small labels */
  --counter-card: #fff; /* timer box */
  --counter-ring: #1f1f1f; /* timer border */
  
  /* Footer specific */
  --footer-bg: #f6f1e9;
  --footer-text: #232323;
  --footer-muted: #6b6b6b;
  --footer-accent: #e65f54; /* paper-plane btn */
  --footer-link: #cd6e68; /* section headings */
  --footer-pill: #f2ddd6; /* payment pills */
  --footer-border: #e4dbcf;
  
  /* Fonts */
  font-family: 'Montserrat', Arial, sans-serif;
}

* { 
  box-sizing: border-box;
}

body {
  margin: 0;
  background: white;
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* ===== TOP PROMO BAR ===== */
.topbar {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.topbar .left, 
.topbar .right {
  position: absolute;
  display: none;
}

.topbar .left {
  left: 12px;
}

.topbar .right {
  right: 12px;
}

.promo-wrap {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.promo {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 16s linear infinite;
  opacity: .98;
}


@keyframes marquee {
  0% { transform: translateX(0%); }
  50% { transform: translateX(-25%); }
  100% { transform: translateX(0%); }
}

/* ===== MAIN NAVIGATION ===== */
.nav {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Left links */
.nav-left {
  display: flex;
  gap: 18px;
  align-items: center;
  
}
.nav-left a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
}

.nav-left a:hover {
  color: var(--text);
}

/* Logo center */
.logo {
  flex: 1;
  text-align: center;
}

.logo .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand .mark {
  width: 40px;
  height: 28px;
  background: linear-gradient(135deg, #ff9f1c, #ff4d6d);
  border-radius: 6px;
}

.brand .name {
  font-weight: 700;
  color: var(--accent);
  font-size: 26px;
  letter-spacing: 1px;
}

/* Right icons */
.nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--muted);
}

.icon-btn .badge {
  position: relative;
  left: -10px;
  top: -12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger shown on mobile */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger svg {
  width: 22px;
  height: 22px;
  fill: var(--muted);
}

/* Mobile menu (toggle) */
.mobile-menu {
  display: none;
  position: absolute;
  left: 12px;
  top: calc(var(--nav-height) + 8px);
  background: var(--beige);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 10px;
  z-index: 30;
}

.mobile-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
}

.mobile-menu a:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* Navigation utilities */
.nav a.active {
  color: var(--accent);
  font-weight: 600;
}

/* ===== BANNER/SLIDER SECTION ===== */
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

/* Slides */
.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Background image with mild Ken-Burns */
.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: contrast(1.01) saturate(1.01);
  transform: scale(1.02);
  transition: transform 6s ease;
}

.slide.active .bg {
  transform: scale(1.06);
}

/* Dark overlay */
.scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .08));
  pointer-events: none;
}

/* Content */
.content {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: 760px;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 8vw;
}

.kicker {
  letter-spacing: .22em;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.title {
    font-family: 'Megrim', cursive;
      font-size: 60px;
      color: #d94a4a;
      letter-spacing: 4px;
}

.subtitle {
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(18px, 4.5vw, 48px);
  color: rgba(255, 255, 255, .9);
  text-shadow: var(--shadow);
  margin: 0;
}

/* Circle "Scroll Down" */
.scroll-circle {
  position: absolute;
  right: 6vw;
  bottom: calc(50% - 120px);
  height: 220px;
  width: 220px;
  border: 2px solid var(--ring);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 4;
}

.scroll-circle span {
  font-family: "Julius Sans One", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 24px;
  color: #fff;
  line-height: 1.4;
  text-align: center;
}

.scroll-indicator {
  position: absolute;
  right: 10.5vw;
  bottom: 24px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.btn {
  height: 40px;
  width: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .7);
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, .1);
}

/* Dots */
.dots {
  position: absolute;
  left: 8vw;
  bottom: 28px;
  display: flex;
  gap: 10px;
  z-index: 4;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

/* ===== Slider Responsive Tweaks ===== */
@media (max-width: 1200px) {
  .slider { aspect-ratio: 16 / 7; }
  .content { padding: 6vw; }
  .title { font-size: clamp(36px, 6vw, 56px); }
  .subtitle { font-size: clamp(16px, 2.6vw, 24px); }
}

@media (max-width: 900px) {
  .slider { aspect-ratio: 16 / 8; }
  .scroll-circle { display: none; }
  .scroll-indicator { right: 16px; bottom: 16px; }
  .btn { width: 44px; height: 44px; }
  .dots { left: 50%; transform: translateX(-50%); bottom: 16px; }
  .content { padding: 8vw 6vw; gap: 12px; }
  .kicker { font-size: 12px; }
  .title { font-size: clamp(28px, 7vw, 40px); letter-spacing: 2px; }
  .subtitle { font-size: clamp(14px, 3.5vw, 18px); }
  .topbar {
    padding: 8px 12px;
    font-size: 12px;
  }
  .promo {
    animation-duration: 22s;
  }
}

@media (max-width: 600px) {
  .slider { aspect-ratio: 16 / 9; }
  .title { font-size: clamp(22px, 8vw, 32px); }
  .subtitle { font-size: clamp(13px, 3.8vw, 16px); }
  .content { padding: max(16px, 5vw); }
  .dots { gap: 8px; }
  .dot { width: 8px; height: 8px; }
  .btn {
    width: 40px;
    height: 40px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card img {
    height: 220px;
    padding: 12px;
  }
  .wrap {
    padding: 42px 16px 28px;
  }
  .hero-head {
    font-size: 34px;
    letter-spacing: 2px;
  }
  .heading {
    letter-spacing: .08em;
  }
}

@media (max-width: 380px) {
  .slider { aspect-ratio: 16 / 10; }
  .content { padding: 14px; }
  .scroll-indicator { display: none; }
}

/* ===== TEXT DECORATION SECTION ===== */
.text-decoration-section {
  background: var(--bg);
  color: var(--text);
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 56px 20px 36px;
}

/* Headline composed of 3 lines to mimic screenshot */
.hero-head {
   font-family: 'Megrim', cursive;
      font-size: 40px;
      color: #d94a4a;
      letter-spacing: 4px;
}

.hero-head .chip {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  height: 40px;
  width: 70px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 .25em;
  border: 2px solid var(--chip-ring);
  background: #e7d6c5; /* fallback */
  background-size: cover;
  background-position: center;
}

/* Icon row */
.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin: 42px auto 12px;
  max-width: 980px;
}

.feat {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 8px;
}

.feat svg {
  height: 54px;
  width: 54px;
  transition: transform .25s ease;
}

.feat .label {
  font-family: "Julius Sans One", sans-serif;
  color: var(--muted);
  letter-spacing: .16em;
  font-size: 13px;
  text-align: center;
}

/* Small hover accent */
.feat:hover svg {
  transform: translateY(-3px);
}

/* ===== CATEGORY SECTION ===== */
.category-section {
  background: var(--category-bg);
  color: var(--category-ink);
}

.heading {
  text-align: center;
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(26px, 4.5vw, 48px);
  letter-spacing: .12em;
  margin-bottom: 16px;
}

.subhead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--category-muted);
  line-height: 1.6;
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  color: #000;
  display: grid;
  gap: 10px;
  justify-items: center;
  border: 4px solid transparent;
  transition: transform .35s ease, border-color .35s ease;
  cursor: pointer;
  overflow: hidden;
  border-radius: 18px;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #fff;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  transition: transform .6s ease;
  background: #fff7f7;
  padding: 16px;
}

.card:hover img {
  transform: scale(1.1);
}

.card h3 {
  font-family: "Julius Sans One", sans-serif;
  font-size: 20px;
  margin: 8px 0 2px;
  color: #d65050;
  letter-spacing: .08em;
}

.card p {
  font-size: 14px;
  color: #444;
  margin: 0 0 14px;
}

/* Marquee ticker */
.ticker {
  margin-top: 36px;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, .3);
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding: 14px 0;
}

.ticker span {
  display: inline-block;
  padding: 0 2rem;
  font-family: "Julius Sans One", sans-serif;
  font-size: 20px;
  color: #fff;
  animation: scroll 16s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ===== PRODUCT CARDS SECTION ===== */
.products-section {
  background: var(--card-bg);
  color: var(--card-ink);
}

/* Header */
.sub {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
  color: #6b6b6b;
  line-height: 1.7;
}

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-ring);
  padding: 24px;
  box-shadow: none;
  transition: box-shadow .3s ease, transform .3s ease;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--card-shadow);
  transform: translateY(-4px);
}

/* Image box with hover-swap */
.figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--card-ring);
}

.figure .img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  transition: opacity .6s ease, transform .6s ease;
}

.figure .hover {
  opacity: 0;
  transform: scale(1.06);
}

.figure:hover .hover {
  opacity: 1;
  transform: scale(1);
}

.figure:hover .main {
  opacity: 0;
  transform: scale(1.06);
}

.ratio {
  aspect-ratio: 1/1;
}

/* Sale badge */
.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Action buttons */
.actions {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  gap: 8px;
  z-index: 2;
}

.btn-ico {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, .15);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.btn-ico:hover {
  filter: brightness(.98);
}

.btn-ico svg {
  width: 18px;
  height: 18px;
  stroke: #333;
}

/* Shop-like Product Card extensions (global) */
.product-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; z-index: 2; }
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }
.action-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: white; color: var(--text); border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.action-btn:hover { background: var(--accent); color: #fff; transform: scale(1.08); }

.product-info { padding-top: 10px; }
.product-category { display:block; font-size: 12px; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.product-meta { display:flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #eee; }
.stock-status { font-size: 12px; font-weight: 600; }
.stock-status.in-stock { color:#27ae60; }
.stock-status.out-of-stock { color:#e74c3c; }

.product-rating { display:flex; align-items:center; gap:6px; margin-top: 8px; }
.product-rating .stars { color:#f39c12; font-size:12px; }
.product-rating .rating-count { font-size:11px; color: var(--muted); }

.product-price { display:flex; align-items:center; flex-wrap: wrap; gap:8px; margin: 6px 0 14px; }
.original-price { text-decoration: line-through; color:#95a5a6; font-size:14px; }
.sale-price { font-size:18px; font-weight:700; color: var(--accent); }
.discount-percent { background:#ffeaa7; color:#d35400; padding:3px 8px; border-radius:12px; font-size:11px; font-weight:700; }

@media (max-width: 480px) {
  .product-actions { opacity: 1; transform: translateY(0); flex-direction: row; top: auto; bottom: 12px; right: 12px; }
}

/* Buttons row on cards */
.action-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-md { padding: 10px 18px; font-size: 14px; border-radius: 8px; }

/* Title + price */
.product-title {
  font-family: "Julius Sans One", sans-serif;
  margin: 16px 0 8px;
  letter-spacing: .06em;
  color: #1f1f1f;
  font-size: 18px;
}

.price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
}

.price .old {
  color: #9b9b9b;
  text-decoration: line-through;
  font-size: 13px;
}

.price .new {
  color: #111;
  font-weight: 600;
}

/* ===== COUNTDOWN TIMER SECTION ===== */
.countdown-section {
  background: var(--page);
  color: var(--counter-ink);
}

.deal {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr 360px;
  align-items: center;
  gap: 26px;
  background: var(--stripe);
  padding: 48px 34px;
  border-radius: 2px;
  overflow: hidden;
}

/* Timer */
.timer {
  background: var(--counter-card);
  border: 3px solid var(--counter-ring);
  padding: 22px;
  box-shadow: 0 8px 0 #0003;
}

.timer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e7e2d3;
}

.cell {
  display: grid;
  place-items: center;
  padding: 26px 16px;
  position: relative;
}

.cell:nth-child(odd) {
  border-right: 1px solid #e7e2d3;
}

.cell:nth-child(-n+2) {
  border-bottom: 1px solid #e7e2d3;
}

.num {
  font-size: 54px;
  line-height: 1;
  font-weight: 400;
  font-family: "Julius Sans One", sans-serif;
}

.lab {
  font-size: 12px;
  color: var(--counter-muted);
  margin-top: 8px;
}

/* Text */
.copy h2 {
  font-family: "Julius Sans One", sans-serif;
  color: #fff;
  font-size: clamp(22px, 4vw, 44px);
  letter-spacing: .08em;
  margin: 0 0 18px;
}

.cta {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
  position: relative;
  transition: transform 0.2s ease;
}

.cta:before {
  content: "";
  position: absolute;
  inset: 6px;
  box-shadow: inset 0 0 0 2px #fff;
  opacity: .65;
}

.cta:hover {
  transform: translateY(-1px);
}

/* Right images */
.frames {
  position: relative;
  height: 240px;
}

.frame {
  position: absolute;
  background: #fff;
  border: 8px solid #caa86a;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .15);
}

.f1 {
  right: 150px;
  top: -10px;
  width: 270px;
  height: 200px;
}

.f2 {
  right: 10px;
  top: 30px;
  width: 240px;
  height: 190px;
  border-color: #8aa3b7;
}

.f3 {
  right: 70px;
  top: 90px;
  width: 200px;
  height: 220px;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  position: relative;
  color: var(--footer-text);
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 40px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr 1.2fr;
  gap: 40px;
}

/* Brand + blurb + newsletter */
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.brand .logo {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffb84d, #ff6464 55%, #8a5eff);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.brand h3 {
  font-family: "Josefin Sans", Inter, sans-serif;
  letter-spacing: .6px;
  margin: 0;
  font-size: 28px;
}

.blurb {
  color: var(--footer-muted);
  line-height: 1.7;
  margin: 10px 0 20px;
}

.newsletter {
  display: flex;
  align-items: center;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--footer-border);
  border-radius: 6px;
  overflow: hidden;
}

.newsletter input {
  flex: 1;
  border: 0;
  padding: 14px 14px 14px 16px;
  outline: none;
  font-size: 14px;
  color: var(--footer-text);
}

.newsletter button {
  background: var(--footer-accent);
  color: #fff;
  border: 0;
  height: 44px;
  width: 52px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.newsletter button:hover {
  filter: brightness(.95);
}

.tiny-note {
  color: var(--footer-muted);
  font-size: 12px;
  margin-top: 8px;
}

/* Columns */
.col h4 {
  font-family: "Josefin Sans", Inter, sans-serif;
  color: var(--footer-link);
  letter-spacing: .8px;
  margin: 8px 0 14px;
  font-weight: 700;
}

.links {
  display: grid;
  gap: 10px;
}

.links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
}

.links a:hover {
  opacity: .8;
}

/* Contact list */
.contact {
  display: grid;
  gap: 12px;
}

.contact .row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--footer-text);
}

.contact .row i {
  width: 20px;
  text-align: center;
  color: var(--footer-link);
}

.contact .row span {
  font-size: 14px;
  color: var(--footer-text);
}

/* Divider */
.divider {
  border-top: 1px solid var(--footer-border);
  margin: 30px 0;
}

/* Payment badges */
.payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payments .pill {
  background: var(--footer-pill);
  border: 1px solid var(--footer-border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
}

/* Bottom bar */
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--footer-muted);
  font-size: 14px;
}

.social {
  display: flex;
  gap: 14px;
}

.social a {
  color: var(--footer-text);
  text-decoration: none;
}

.social a:hover {
  opacity: .8;
}

/* Scroll-to-top knob (decorative) */
.float-knob {
  position: fixed;
  right: 18px;
  bottom: 18px;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: var(--footer-pill);
  border: 1px solid var(--footer-border);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  cursor: pointer;
  z-index: 1000;
}

.float-knob:hover {
  transform: translateY(-2px);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .deal {
    grid-template-columns: 320px 1fr 260px;
  }
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .topbar .left, 
  .topbar .right {
    display: none;
  }
  
  .nav-left {
    display: none;
    font-weight: bold;
  }
  
  .hamburger {
    display: flex;
  }
  
  .logo {
    flex: 1;
    text-align: center;
  }
  
  .nav-right {
    gap: 8px;
  }
  
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .deal {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px;
  }
}

@media (max-width: 900px) {
  .scroll-circle {
    height: 160px;
    width: 160px;
    bottom: auto;
    top: 18%;
    right: 5vw;
  }
  
  .scroll-circle span {
    font-size: 16px;
  }
  
  .scroll-indicator {
    right: 5vw;
  }
  
  .hero-head .chip {
    height: 46px;
    width: 84px;
  }
  
  .frames {
    height: 180px;
  }
  
  .f1 {
    right: 130px;
    width: 220px;
    height: 160px;
  }
  
  .f2 {
    right: 20px;
    width: 180px;
    height: 140px;
  }
  
  .f3 {
    right: 60px;
    top: 60px;
    width: 150px;
    height: 160px;
  }
}

@media (max-width: 820px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .scroll-circle {
    display: none;
  }
  
  .content {
    padding: 20vw 6vw;
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 981px) {
  .topbar .left, 
  .topbar .right {
    display: block;
  }
  
  .mobile-menu {
    display: none !important;
  }
}

/* home slider */
/* Auth forms */
.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #c0392b;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Shop page */
.shop-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.shop-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shop-sidebar h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.category-filter {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.category-filter li {
    margin-bottom: 8px;
}

.category-filter a {
    display: block;
    padding: 8px 12px;
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.category-filter a:hover,
.category-filter a.active {
    background: var(--accent);
    color: white;
}

.search-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.shop-main {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.product-gallery {
    position: relative;
}

.main-image {
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.thumb.active,
.thumb:hover {
    border-color: var(--accent);
}

.thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.product-info h1 {
    margin-bottom: 10px;
    color: var(--text);
}

.product-info .category {
    color: var(--muted);
    margin-bottom: 20px;
}

.price {
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: var(--muted);
    margin-right: 10px;
}

.current-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
}

.stock {
    margin-bottom: 20px;
}

.in-stock {
    color: #2e7d32;
    font-weight: 600;
}

.out-of-stock {
    color: #c62828;
    font-weight: 600;
}

.quantity {
    margin-bottom: 20px;
}

.quantity input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-description {
    margin-top: 30px;
}

.description-content {
    line-height: 1.6;
}

/* Cart */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    font-weight: 600;
    color: var(--text);
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.update-form {
    display: flex;
    gap: 10px;
}

.update-form input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.remove-btn {
    background: #c62828;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.cart-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.free-shipping-note {
    background: #e8f5e9;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

.coupon-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.coupon-section form {
    display: flex;
    gap: 10px;
}

.coupon-section input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart h2 {
    margin-bottom: 20px;
    color: var(--text);
}

/* Checkout */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.checkout-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-form h2 {
    margin-bottom: 20px;
    color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.order-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.order-summary h2 {
    margin-bottom: 20px;
    color: var(--accent);
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.summary-item h4 {
    margin: 0;
    font-size: 14px;
}

.summary-totals {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-line.total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.summary-line.discount {
    color: #2e7d32;
}

/* Payment */
.payment-container {
    max-width: 800px;
    margin: 30px auto;
}

.order-details {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.payment-options {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.payment-method.active {
    border-color: var(--accent);
    background: #fff8f8;
}

.payment-method img {
    height: 24px;
}

.payment-form {
    text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
    .shop-container {
        grid-template-columns: 1fr;
    }
    
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }

    .auth-container,
    .shop-main,
    .shop-sidebar,
    .checkout-form,
    .order-summary,
    .payment-options,
    .order-details {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-table {
        display: block;
        overflow-x: auto;
    }

    .coupon-section form,
    .update-form {
        flex-direction: column;
    }

    .product-info {
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .auth-container {
        padding: 24px 16px;
    }

    .product-info img,
    .summary-item img {
        width: 64px;
        height: 64px;
        object-fit: contain;
        background: #fff;
    }
}
