/* DYMO Tools — Kids Battery Vehicle Parts & Service */
:root {
  --green: #1b3022;
  --green-dark: #142319;
  --green-mid: #244032;
  --orange: #f58220;
  --orange-dark: #e06e0e;
  --yellow: #f5a623;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --light: #f7f8f7;
  --light-green: #eef4ef;
  --border: #e5e8e5;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(27, 48, 34, 0.1);
  --font: "Segoe UI", "Nunito Sans", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--green);
  color: #e8efe9;
  font-size: 0.82rem;
  padding: 0.55rem 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: #e8efe9;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar a:hover {
  color: var(--orange);
}

.top-bar .tagline {
  opacity: 0.95;
  letter-spacing: 0.02em;
}

.top-bar i {
  color: var(--orange);
}

/* ========== HEADER ========== */
.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.65rem 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-menu a {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--green);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.search-box {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--light);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 0.55rem 0.85rem;
  width: 140px;
  outline: none;
  color: var(--text);
}

/* Category page filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.category-filters a {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--white);
  transition: 0.2s;
}

.category-filters a:hover,
.category-filters a.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.shop-toolbar select {
  padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--light);
  font-weight: 600;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.category-showcase .category-card {
  padding: 1.5rem 1rem;
}

.category-showcase .category-card .thumb {
  max-width: 180px;
  margin: 0 auto 1rem;
}

.category-showcase .category-card h3 {
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .category-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

.search-box button {
  background: var(--green);
  color: white;
  border: none;
  padding: 0 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.search-box button:hover {
  background: var(--green-mid);
}

.cart-btn,
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light-green);
  color: var(--green);
  font-size: 1.15rem;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.cart-btn:hover {
  background: var(--green);
  color: white;
}

.icon-btn {
  background: var(--light);
  font-size: 1.1rem;
}

.icon-btn:hover {
  background: #fde8e8;
  color: #e74c3c;
}

.wishlist-count,
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.wishlist-count {
  background: #e74c3c;
}

.product-card .img-wrap {
  position: relative;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: white;
  color: #999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: 0.2s;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: #e74c3c;
  background: #fff5f5;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.card-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.mobile-search {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.mobile-search input {
  flex: 1;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--light);
  outline: none;
}

.mobile-search button {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0 0.9rem;
  cursor: pointer;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  align-items: start;
}

.checkout-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.checkout-card h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--green);
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.checkout-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.checkout-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.checkout-item .meta {
  flex: 1;
}

.checkout-item .meta strong {
  display: block;
  font-size: 0.92rem;
}

.pay-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.45;
}

.success-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.success-box .check {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--light-green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--green);
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #f4f7f4 0%, #ffffff 55%, #f0f5f0 100%);
  padding: 2.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-content h1 .accent {
  display: block;
  color: var(--green);
}

.hero-content h1 .accent em {
  font-style: normal;
  color: var(--orange);
}

.hero-content .lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 460px;
  margin-bottom: 1.35rem;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-features .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: white;
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.hero-ring {
  position: absolute;
  width: min(420px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--green) 0%, var(--green) 55%, var(--orange) 55%, var(--yellow) 78%, var(--green) 100%);
  opacity: 0.95;
}

.hero-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #dfece3, #c5d9c8 60%, #a8c4ad);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(380px, 88%);
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 16px 40px rgba(27, 48, 34, 0.25);
}

.hero-contact-bar {
  margin-top: 2rem;
  background: var(--green);
  color: white;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.hero-contact-bar a,
.hero-contact-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-contact-bar i {
  color: var(--orange);
}

/* ========== SECTIONS ========== */
.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--light);
}

.section-title {
  text-align: center;
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
  font-weight: 800;
  margin-bottom: 2.25rem;
  color: var(--text);
}

.section-title span {
  color: var(--green);
  position: relative;
  display: inline-block;
}

.section-title span::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 0.75rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(27, 48, 34, 0.07);
  border: 1px solid transparent;
  transition: 0.25s;
}

.category-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card .thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--light-green);
}

.category-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

/* Products carousel */
.products-wrap {
  position: relative;
}

.products-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1rem;
}

.products-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc(25% - 0.95rem);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card .img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--light);
  overflow: hidden;
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .info {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.5em;
}

.stars {
  color: var(--orange);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.2rem 0 0.5rem;
}


.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(27, 48, 34, 0.3);
}

.carousel-btn:hover {
  background: var(--orange);
}

.carousel-btn.prev {
  left: -12px;
}

.carousel-btn.next {
  right: -12px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 6px 22px rgba(27, 48, 34, 0.08);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--green);
  font-size: 1.5rem;
  opacity: 0.35;
}

.testimonial-card .user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.testimonial-card .user img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--light-green);
}

.testimonial-card .user h4 {
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.65rem;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c5d0c7;
}

.dots span.active {
  background: var(--orange);
  width: 22px;
  border-radius: 6px;
}

/* Features bar */
.features-bar {
  background: var(--light-green);
  padding: 2rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-item .icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27, 48, 34, 0.08);
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Contact info cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: 0.25s;
}

.contact-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.contact-card .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--light-green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.contact-card a {
  color: var(--orange);
  font-weight: 700;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--green);
  color: #dce6de;
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo-footer {
  height: 72px;
  width: auto;
  margin-bottom: 1rem;
  background: white;
  border-radius: 10px;
  padding: 6px 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
  opacity: 0.9;
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: 0.2s;
}

.socials a:hover {
  background: var(--orange);
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--orange);
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-col ul a:hover {
  color: var(--orange);
  opacity: 1;
}

.footer-col .info-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-col .info-row i {
  color: var(--orange);
  margin-top: 3px;
}

.footer-bottom {
  background: var(--orange);
  color: white;
  padding: 0.95rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ========== PAGE HERO (inner) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: white;
  padding: 2.75rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.page-hero p {
  opacity: 0.9;
}

.breadcrumb {
  font-size: 0.88rem;
  margin-top: 0.75rem;
  opacity: 0.85;
}

.breadcrumb a:hover {
  color: var(--orange);
}

/* About / Contact / Cart extras */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-grid h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--green);
}

.about-grid p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
}

.form-card,
.info-side {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: white;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.cart-table th,
.cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cart-table th {
  background: var(--green);
  color: white;
  font-weight: 600;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cart-item-info img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--light-green);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

.cart-summary {
  margin-top: 1.5rem;
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 360px;
  margin-left: auto;
}

.cart-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.cart-summary .total {
  font-size: 1.2rem;
  color: var(--green);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 999;
  transform: translateY(120px);
  opacity: 0;
  transition: 0.3s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.products-grid .product-card {
  flex: none;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 85%);
  height: 100%;
  background: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-nav-panel a {
  font-weight: 700;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-panel .close-nav {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--green);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card {
    flex: 0 0 calc(33.333% - 0.85rem);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .top-bar .tagline {
    display: none;
  }

  .nav-menu,
  .search-box {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .logo img {
    height: 52px;
  }

  .hero-grid,
  .about-grid,
  .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 280px;
  }

  .testimonials-grid,
  .features-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex: 0 0 calc(50% - 0.65rem);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-contact-bar {
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 520px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    flex: 0 0 85%;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    padding: 1rem;
    border-bottom: 2px solid var(--border);
  }
}

/* ========== MOTION & LAZY LOAD ========== */
@media (prefers-reduced-motion: no-preference) {
  :root {
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --reveal-distance: 28px;
  }

  .hero-content {
    animation: softFadeUp 0.9s var(--ease-soft) both;
  }

  .hero-visual {
    animation: softFadeIn 1s var(--ease-soft) 0.15s both;
  }

  .hero-ring {
    animation: softSpin 28s linear infinite;
  }

  .hero-visual img {
    animation: softFloat 5.5s ease-in-out infinite;
  }

  /* Keep float working when parallax sets parent transform */
  .hero-visual.is-parallax img {
    will-change: transform;
  }

  .hero-contact-bar {
    animation: softFadeUp 0.8s var(--ease-soft) 0.35s both;
  }

  .page-hero h1 {
    animation: softFadeUp 0.7s var(--ease-soft) both;
  }

  .page-hero p,
  .page-hero .breadcrumb {
    animation: softFadeUp 0.7s var(--ease-soft) 0.12s both;
  }

  .reveal {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    transition:
      opacity 0.75s var(--ease-soft),
      transform 0.75s var(--ease-soft);
    will-change: opacity, transform;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
  .reveal-delay-3 { transition-delay: 0.24s; }
  .reveal-delay-4 { transition-delay: 0.32s; }
  .reveal-delay-5 { transition-delay: 0.4s; }
  .reveal-delay-6 { transition-delay: 0.48s; }

  .category-card,
  .product-card,
  .testimonial-card,
  .contact-card,
  .feature-item {
    transition:
      transform 0.35s var(--ease-soft),
      box-shadow 0.35s var(--ease-soft),
      border-color 0.25s ease;
  }

  .category-card:hover,
  .product-card:hover,
  .testimonial-card:hover,
  .contact-card:hover {
    transform: translateY(-6px);
  }

  .category-card .thumb img,
  .product-card .img-wrap img {
    transition: transform 0.55s var(--ease-soft), opacity 0.45s ease;
  }

  .category-card:hover .thumb img,
  .product-card:hover .img-wrap img {
    transform: scale(1.06);
  }

  .btn {
    transition:
      transform 0.25s var(--ease-soft),
      background 0.25s ease,
      box-shadow 0.25s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(27, 48, 34, 0.18);
  }

  .btn:active {
    transform: translateY(0);
  }

  .wishlist-btn {
    transition: transform 0.25s var(--ease-soft), color 0.2s ease, background 0.2s ease;
  }

  .wishlist-btn:hover {
    transform: scale(1.1);
  }

  .wishlist-btn.active {
    animation: heartPop 0.45s var(--ease-soft);
  }

  .cart-btn,
  .icon-btn {
    transition: transform 0.25s var(--ease-soft), background 0.2s ease, color 0.2s ease;
  }

  .cart-btn:hover,
  .icon-btn:hover {
    transform: translateY(-2px) scale(1.05);
  }

  .carousel-btn {
    transition: transform 0.25s var(--ease-soft), background 0.2s ease;
  }

  .carousel-btn:hover {
    transform: translateY(-50%) scale(1.08);
  }

  .toast {
    transition: transform 0.35s var(--ease-soft), opacity 0.35s ease;
  }

  .lazy-img {
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.02);
    transition:
      opacity 0.55s var(--ease-soft),
      filter 0.55s var(--ease-soft),
      transform 0.55s var(--ease-soft);
    background: linear-gradient(110deg, #eef4ef 25%, #f7faf7 40%, #eef4ef 55%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
  }

  .lazy-img.is-loaded {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    animation: none;
    background: none;
  }

  .section-title span::after {
    transform-origin: left center;
    animation: underlineGrow 0.7s var(--ease-soft) both;
  }

  .reveal.is-visible .section-title span::after,
  .section.reveal.is-visible .section-title span::after {
    animation: underlineGrow 0.7s var(--ease-soft) both;
  }
}

@keyframes softFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes softSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .lazy-img {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  .hero-ring,
  .hero-visual img,
  .hero-content,
  .hero-visual,
  .hero-contact-bar {
    animation: none !important;
  }
}
