:root {
  --brand: #f26522;
  --ink: #14213d;
  --ink-soft: #1f3263;
  --brand-dark: color-mix(in srgb, var(--brand) 82%, black);
  --brand-soft: color-mix(in srgb, var(--brand) 8%, white);
  --text: #1d1d1f;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f3f5fa;
  --wa: #25d366;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 4px 16px rgb(0 0 0 / 0.06);
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}
h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 70ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
}
.btn-wa {
  background: var(--wa);
  color: #fff;
}
.btn-wa:hover {
  background: #1ebe5b;
}
.btn-light {
  background: var(--brand);
  color: #fff;
}
.btn-light:hover {
  background: var(--brand-dark);
}

/* Announcement + header */
.topbar {
  background: var(--ink);
  color: #cdd5ea;
  font-size: 0.8rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 36px;
}
.topbar-msg {
  color: #fff;
  font-weight: 600;
}
.topbar-msg:not(:empty)::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  margin-right: 8px;
  vertical-align: 1px;
}
.topbar-links {
  display: flex;
  gap: 20px;
}
.topbar-links > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-links a:hover {
  color: #fff;
}
@media (max-width: 760px) {
  .topbar-links {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.logo img {
  max-height: 52px;
  width: auto;
}
.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  transform: rotate(-6deg);
}
.logo-text strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.search {
  flex: 1;
  display: flex;
  max-width: 560px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: border-color 0.15s;
}
.search:focus-within {
  border-color: var(--brand);
  background: #fff;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  font: inherit;
  outline: none;
}
.search button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px;
  padding: 0 16px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.header-phone svg {
  color: var(--brand);
  box-sizing: content-box;
  padding: 9px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.header-phone small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1;
}

/* Desktop nav + mega menu */
.main-nav {
  background: var(--ink);
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 auto;
  gap: 4px;
}
.nav-list > li > a,
.nav-list > li > button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 13px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #e6eaf5;
}
.nav-list > li > a::after,
.nav-list > li > button::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-list > li:hover > a,
.nav-list > li:hover > button {
  color: #fff;
}
.nav-list > li:hover > a::after,
.nav-list > li:hover > button::after {
  transform: scaleX(1);
}
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 24px 40px rgb(20 33 61 / 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mega-inner {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 28px;
}
.mega-cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}
.mega-title {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
a.mega-title:hover {
  color: var(--brand);
}
.mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-col li a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.mega-col li a:hover {
  color: var(--brand);
}
.mega-image {
  width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Mobile nav */
.mnav-open,
.mnav,
.mnav-backdrop {
  display: none;
}
@media (max-width: 960px) {
  .main-nav,
  .header-main > .search,
  .header-phone span {
    display: none;
  }
  .header-main {
    gap: 12px;
    min-height: 64px;
  }
  .logo img {
    max-height: 40px;
  }
  .mnav-open {
    display: block;
  }
  .mnav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 50;
  }
  .mnav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mnav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(86vw, 360px);
    background: #fff;
    z-index: 51;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .mnav.open {
    transform: none;
  }
}
.mnav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.mnav-search {
  margin: 16px;
  max-width: none;
  flex: none;
}
.mnav-list,
.mnav-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mnav-list ul {
  background: var(--bg-soft);
  padding-left: 12px;
}
.mnav-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.mnav-row > a,
.mnav-label {
  flex: 1;
  padding: 13px 16px;
  font-weight: 500;
  text-align: left;
}
.mnav-toggle {
  padding: 13px 16px;
  transition: transform 0.2s;
}
.mnav-toggle.open {
  transform: rotate(180deg);
}
.mnav-foot {
  margin-top: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}
@media (max-width: 480px) {
  .hide-sm {
    display: none;
  }
}

/* Hero slider */
.hero-wrap {
  padding-top: 20px;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.4);
  background: var(--bg-soft);
}
.hero-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
  flex: 0 0 100%;
}
.hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}
@media (max-width: 640px) {
  .hero-slide img {
    aspect-ratio: 16 / 9;
  }
}
.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.9);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.hero-btn.prev {
  left: 16px;
}
.hero-btn.next {
  right: 16px;
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 24px;
  display: flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(20 33 61 / 0.35);
  backdrop-filter: blur(6px);
  gap: 8px;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.6);
  transition: width 0.2s, background 0.2s;
}
.hero-dots button.active {
  width: 26px;
  background: #fff;
}
@media (max-width: 640px) {
  .hero-btn {
    display: none;
  }
  .hero-wrap {
    padding-top: 12px;
  }
  .hero {
    border-radius: var(--radius);
  }
}

/* Sections */
.section {
  margin-top: 40px;
  margin-bottom: 40px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.section-head h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 8px;
  border-radius: 4px;
  background: var(--brand);
}
.section-head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Carousel */
.carousel {
  position: relative;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 16px) / 5);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track > * {
  scroll-snap-align: start;
}
@media (max-width: 1100px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 3 * 16px) / 4);
  }
}
@media (max-width: 800px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 2 * 12px) / 2.4);
    gap: 12px;
  }
}
.carousel-nav {
  display: flex;
  gap: 6px;
}
.carousel-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.carousel-nav button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
@media (max-width: 640px) {
  .carousel-nav {
    display: none;
  }
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  padding: 8px;
  transition: box-shadow 0.2s;
}
.product-card:hover {
  box-shadow: 0 10px 30px rgb(20 33 61 / 0.1);
}
.product-card-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--bg-soft);
}
.card-quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.product-card:hover .card-quick {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .card-quick {
    display: none;
  }
}
.product-card-img img {
  object-fit: contain;
  padding: 8px;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-soft), var(--line));
}
.badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.badge {
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.badge-sale {
  background: var(--brand);
}
.badge-muted {
  background: var(--muted);
}
.product-card-body {
  padding: 12px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card-body h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-body small {
  font-size: 0.78rem;
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: auto;
}
.price s {
  color: var(--muted);
  font-size: 0.85em;
}
.price strong {
  font-size: 1.05rem;
}
.price strong.sale {
  color: var(--brand);
}
.price-from {
  width: 100%;
  font-size: 0.75rem;
  color: var(--muted);
}
.price.muted {
  font-size: 0.85rem;
}
.price-lg strong {
  font-size: 1.75rem;
}
.price-lg s {
  font-size: 1.1rem;
}
.price-lg .price-from {
  font-size: 0.9rem;
}

/* Grids */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.category-grid,
.banner-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .banner-grid {
    grid-template-columns: repeat(min(var(--cols, 3), 2), 1fr);
  }
}
@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .banner-grid {
    grid-template-columns: 1fr;
  }
}
.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-weight: 600;
}
.category-tile-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  outline: 3px solid transparent;
  outline-offset: 4px;
  transition: outline-color 0.2s;
}
.category-tile:hover .category-tile-img {
  outline-color: var(--brand);
}
.category-tile-img img {
  object-fit: cover;
  transition: transform 0.3s;
}
.category-tile:hover .category-tile-img img {
  transform: scale(1.05);
}
.category-tile:hover span {
  color: var(--brand);
}
.banner-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.banner-grid[style*='--cols: 1'] .banner-tile,
.banner-grid[style*='--cols:1'] .banner-tile {
  aspect-ratio: 16 / 5;
}
.banner-tile img {
  object-fit: cover;
  transition: transform 0.4s;
}
.banner-tile:hover img {
  transform: scale(1.04);
}
.banner-title {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgb(20 33 61 / 0.15);
}
.banner-title::after {
  content: ' →';
  color: var(--brand);
}

/* Notice */
.notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  border: 1px solid;
}
.notice-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}
.notice-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #78350f;
}
.notice-brand {
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--brand) 25%, white);
  color: var(--brand-dark);
}

/* CTA */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 45%),
    linear-gradient(120deg, var(--ink), var(--ink-soft));
  color: #fff;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
}
.cta-has-img {
  grid-template-columns: 1.2fr 1fr;
}
.cta-text {
  padding: 40px;
}
.cta-text h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
.cta-text p {
  opacity: 0.85;
  max-width: 60ch;
  margin: 0 0 20px;
}
.cta-img {
  position: relative;
  height: 100%;
  min-height: 240px;
}
.cta-img img {
  object-fit: cover;
}
@media (max-width: 700px) {
  .cta-has-img {
    grid-template-columns: 1fr;
  }
  .cta-text {
    padding: 28px 20px;
  }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.features {
  background: var(--ink);
  border-radius: calc(var(--radius) * 1.4);
  padding: 12px;
}
.feature {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  color: #fff;
}
.feature-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
}
.feature p {
  margin: 2px 0 0;
  color: #aab4cf;
  font-size: 0.875rem;
}

/* Rich text */
.prose {
  max-width: 80ch;
}
.prose h2,
.prose h3 {
  margin-top: 1.4em;
}
.prose a {
  color: var(--brand);
  text-decoration: underline;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.read-more-content {
  max-height: 220px;
  overflow: hidden;
  position: relative;
}
.read-more-content::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg));
}
.read-more-box.open .read-more-content {
  max-height: none;
}
.read-more-box.open .read-more-content::after {
  display: none;
}
.read-more-btn {
  margin-top: 8px;
  color: var(--brand);
  font-weight: 600;
}

/* Pages */
.page {
  padding-top: 20px;
  padding-bottom: 48px;
}
.page-narrow {
  max-width: 900px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover {
  color: var(--brand);
}
.category-banner {
  position: relative;
  aspect-ratio: 16 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.category-banner img {
  object-fit: cover;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.chip {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  background: #fff;
}
a.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.chip-static {
  cursor: default;
}
.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  margin: 12px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sort-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.875rem;
}
.sort-links a {
  color: var(--muted);
}
.sort-links a.active {
  color: var(--brand);
  font-weight: 600;
}
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
}
.pagination a {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.pagination a.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.category-content {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.empty-state {
  padding: 64px 16px;
  text-align: center;
  color: var(--muted);
}
.empty-state h1 {
  color: var(--text);
}
.empty-state a:not(.btn) {
  color: var(--brand);
  text-decoration: underline;
}
.search-page {
  margin: 8px 0 20px;
}
.search-page button {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 0 22px;
}

/* Product page */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.gallery-main {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.gallery-main img {
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumbs button {
  position: relative;
  flex: none;
  width: 72px;
  height: 72px;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
}
.gallery-thumbs button.active {
  border-color: var(--brand);
}
.gallery-thumbs img {
  object-fit: cover;
}
.product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-info h1 {
  margin: 0;
}
.product-info p {
  margin: 0;
}
.option-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.option-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.option-row .chips {
  margin: 0;
}
.buy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0;
}
.buy-buttons .btn {
  flex: 1 1 220px;
}
.product-description {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* Contact */
.contact-box {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}
.contact-box ul {
  list-style: none;
  padding: 20px;
  margin: 0;
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
}
.contact-box a {
  color: var(--brand);
}
.map {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c3cbe0;
  border-top: 4px solid var(--brand);
  margin-top: 64px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 40px;
}
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}
.footer-brand {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer a:hover {
  color: #fff;
}
.footer-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact svg {
  flex: none;
  margin-top: 3px;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.socials a {
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 16px 0;
  font-size: 0.8rem;
  color: #8d97b5;
}
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgb(37 211 102 / 0.4);
  transition: transform 0.2s;
}
.wa-float:hover {
  transform: scale(1.08);
}
@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature {
    flex-direction: column;
    gap: 8px;
    padding: 14px;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  .feature p {
    font-size: 0.8rem;
  }
}

.hide-md {
  display: inline;
}
@media (max-width: 1100px) {
  .hide-md {
    display: none;
  }
}
.site-footer h3,
.footer-brand,
.cta h2,
.feature strong {
  color: #fff;
}
.chip:hover,
.sort-links a.active {
  color: var(--brand);
}
.pagination a.active {
  background: var(--ink);
  border-color: var(--ink);
}
@media (max-width: 640px) {
  .logo-text small {
    display: none;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .features {
    padding: 6px;
  }
  .feature {
    padding: 10px;
  }
  .feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .feature strong {
    font-size: 0.85rem;
  }
}
.logo .logo-mark-img {
  max-height: none;
  object-fit: cover;
  background: transparent;
}
/* Mobil menü alt listeleri (PHP sürümü) */
.mnav-list li > ul {
  display: none;
}
.mnav-list li.open > ul {
  display: block;
}
/* next/image "fill" karşılığı */
.product-card-img > img,
.category-tile-img > img,
.banner-tile > img,
.cta-img > img,
.category-banner > img,
.gallery-main > img,
.gallery-thumbs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.product-card-img > img,
.gallery-main > img {
  object-fit: contain;
}
