:root {
  --primary: #e10000;
  --primary-dark: #b70000;
  --secondary: #fff5f5;
  --accent: #ffd200;
  --text: #101010;
  --muted: #4b4b4b;
  --light: #fff8f8;
  --white: #ffffff;
  --border: #f3d9d9;
  --shadow: 0 24px 60px rgba(177, 0, 0, 0.12);
  --radius: 20px;
  --surface: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,245,245,0.98));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(225, 0, 0, 0.09), transparent 22%),
    linear-gradient(180deg, #fffafa 0%, #fff3f3 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }

.container {
  width: calc(100% - clamp(24px, 4vw, 80px));
  max-width: none;
  margin-left: 20px;
  margin-right: 20px;
}
.section {
  padding: 72px 0;
}
.narrow { max-width: 760px; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(10, 29, 59, 0.06);
  box-shadow: 0 10px 30px rgba(18, 32, 51, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-inline {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(17, 39, 71, 0.04);
}
.search-inline input {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  min-width: 200px;
  color: var(--text);
}
.search-inline button,
.search-panel button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.search-inline button,
.button.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(177, 0, 0, 0.18);
}
.button.secondary {
  background: linear-gradient(135deg, #fffefc 0%, #fff4f4 100%);
  color: var(--primary-dark);
}
.button.ghost {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}
.button:hover,
.search-inline button:hover,
.search-panel button:hover {
  transform: translateY(-1px);
}

.dot-menu-wrap {
  position: relative;
}
.dot-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 50%;
  padding: 0;
  box-shadow: none;
}
.dot-menu-toggle span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #68778a;
}
.dot-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 160px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 30;
}
.dot-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
}
.dot-menu a:hover {
  background: #f5f7fb;
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  padding: 10px 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  padding: 74px 0 36px;
  background: linear-gradient(180deg, #fff6ef 0%, #fffdfb 100%);
}
.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  font-size: 0.72rem;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 14px;
  line-height: 1.2;
}
h1 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(1.25rem, 2vw, 2rem);
  color: var(--muted);
  margin-bottom: 15px;
}
h3 {
  font-size: clamp(1.75rem, 2vw, 2.5rem);
}
.hero-text {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 620px;
  margin-bottom: 28px;
}
.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-visual {
  position: relative;
  min-height: 430px;
}
.visual-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--light);
}
.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-card.large {
  width: 82%;
  height: 430px;
  right: 0;
  top: 0;
}
.visual-card.small {
  width: 180px;
  height: 180px;
  border: 6px solid rgba(255,255,255,0.85);
}
.visual-card.small.top {
  left: 0;
  top: 30px;
}
.visual-card.small.bottom {
  left: 30px;
  bottom: 14px;
}

.search-strip {
  padding: 0 0 24px;
}
.search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.search-panel input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 52px;
}
.search-panel button {
  background: var(--primary);
  color: var(--white);
  min-height: 52px;
}

.section-heading {
  margin-bottom: 26px;
}
.section-heading.inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.text-link { color: var(--primary); font-weight: 700; }

.category-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(177, 0, 0, 0.35) transparent;
}
.category-grid::-webkit-scrollbar {
  height: 8px;
}
.category-grid::-webkit-scrollbar-thumb {
  background: rgba(177, 0, 0, 0.28);
  border-radius: 999px;
}
.category-card {
  flex: 0 0 220px;
  min-width: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,249,243,0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: 0 12px 22px rgba(83, 52, 24, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 106px;
  scroll-snap-align: start;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 89, 31, 0.22);
  box-shadow: 0 18px 28px rgba(84, 47, 22, 0.08);
}
.category-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #fff0de 0%, #fde7c7 100%);
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.category-card h4 {
  margin: 0;
  font-size: 0.98rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(170px, 18vw, 280px), 1fr));
  gap: clamp(10px, 1.5vw, 24px);
  width: 100%;
}

.product-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 22px rgba(89, 49, 17, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(89, 49, 17, 0.08);
}
.product-card a { color: inherit; }
.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light);
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-image-wrap img {
  transform: scale(1.03);
}
.product-card-body {
  padding: 5px;
}
.product-badges {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.category-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff0e0;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
}
.availability {
  font-size: 0.72rem;
  font-weight: 700;
}
.availability.available { color: #138b49; }
.availability.unavailable { color: #b64747; }
.product-card h4 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.product-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
}
.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}
.product-actions {
  display: flex;
  gap: 10px;
}
.product-actions .button {
  flex: 1;
  padding: 0.72rem 0.8rem;
  font-size: 0.87rem;
}

.cta-banner {
  padding-top: 0;
}
.cta-box {
  background: linear-gradient(135deg, #2a1a12 0%, #d77838 46%, #f0b45d 100%);
  border-radius: 30px;
  color: var(--white);
  padding: 32px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 25px 40px rgba(161, 78, 19, 0.20);
}
.cta-box .eyebrow { color: rgba(255,255,255,0.8); }

.site-footer {
  background: #0d1726;
  color: rgba(255,255,255,0.8);
  padding-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 30px;
}
.footer-grid h4,
.footer-grid h5 {
  color: var(--white);
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0 32px;
  color: rgba(255,255,255,0.7);
}

.page-hero {
  padding: 90px 0 30px;
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}
.page-hero.compact {
  padding-top: 70px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.search-box {
  flex: 1;
}
.search-box input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 50px;
  background: var(--white);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
}
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.results-meta {
  margin-bottom: 20px;
  color: var(--muted);
}

.product-detail-page {
  padding: 10px 0;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}
.gallery-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: clamp(14px, 1.5vw, 24px);
  padding: clamp(8px, 1.2vw, 16px);
  box-shadow: 0 12px 24px rgba(17, 39, 71, 0.04);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.main-image {
  width: 100%;
  max-width: clamp(280px, 32vw, 480px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  background: var(--light);
  border-radius: clamp(10px, 1vw, 16px);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.thumb-row,
.video-thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(5px, 0.7vw, 9px);
  margin-top: clamp(8px, 1vw, 12px);
}

.thumb {
  width: clamp(48px, 5vw, 70px);
  height: clamp(48px, 5vw, 70px);
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: clamp(7px, 0.8vw, 11px);
  overflow: hidden;
  background: var(--light);
  cursor: pointer;
  padding: 0;
}

.thumb.active {
  border-color: var(--primary);
}

.thumb img,
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb {
  width: clamp(70px, 7vw, 105px);
  height: clamp(52px, 5.5vw, 78px);
  flex-shrink: 0;
  border-radius: clamp(7px, 0.8vw, 11px);
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  background: var(--light);
  cursor: pointer;
  padding: 0;
}

.video-thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}


/* Product information */

.product-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: clamp(14px, 1.5vw, 24px);
  padding: clamp(14px, 2vw, 24px);
  box-shadow: 0 12px 24px rgba(17, 39, 71, 0.04);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  overflow-wrap: break-word;
}

.info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 0.8vw, 10px);
  margin-bottom: clamp(10px, 1.2vw, 16px);
}

.info-price {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 800;
  margin: 8px 0 14px;
}

.product-description {
  color: var(--muted);
  margin: 10px 0 16px;
  line-height: 1.6;
}

.product-info .button {
  width: 100%;
  margin-top: 10px;
}

.product-options {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: clamp(10px, 1vw, 16px);
  padding: clamp(10px, 1.5vw, 16px);
  margin-top: 14px;
}

.product-options h4 {
  margin-bottom: 6px;
}

.product-options ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}


/* Image popup */

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 22, 0.82);
  display: none;
  place-items: center;
  z-index: 2000;
  padding: 12px;
}

.image-modal.visible {
  display: grid;
}

.image-modal img {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  font-size: 1.7rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}


/* Other cards */

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: clamp(14px, 1.5vw, 20px);
  padding: clamp(14px, 2vw, 24px);
  box-shadow: 0 12px 24px rgba(17, 39, 71, 0.04);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}

.map-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.check-list {
  margin: 14px 0 20px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.full-width {
  width: 100%;
}


/* Floating WhatsApp */

.floating-whatsapp {
  position: fixed;
  right: clamp(10px, 1.5vw, 18px);
  bottom: clamp(10px, 1.5vw, 18px);
  z-index: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(46px, 4vw, 56px);
  min-width: clamp(110px, 12vw, 150px);
  padding: 0 clamp(10px, 1.5vw, 16px);
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(14, 92, 255, 0.2);
}


/* Tablet */

@media (max-width: 900px) {

  .main-image {
    max-width: 400px;
  }

  .product-info {
    padding: 18px;
  }

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


/* Mobile */

@media (max-width: 640px) {

  .gallery-panel {
    padding: 10px;
    border-radius: 16px;
  }

  .main-image {
    width: 100%;
    max-width: 340px;
  }

  .product-info {
    padding: 14px;
    border-radius: 16px;
  }

  .info-price {
    font-size: 1.6rem;
  }

  .product-description {
    font-size: 0.95rem;
  }

  .thumb {
    width: 56px;
    height: 56px;
  }

  .video-thumb {
    width: 78px;
    height: 58px;
  }

  .floating-whatsapp {
    right: 10px;
    bottom: 10px;
    min-width: 110px;
    height: 48px;
    font-size: 0.9rem;
  }
}


/* Very small phones */

@media (max-width: 380px) {

  .gallery-panel,
  .product-info {
    padding: 9px;
    border-radius: 12px;
  }

  .main-image {
    max-width: 280px;
  }

  .thumb {
    width: 50px;
    height: 50px;
  }

  .video-thumb {
    width: 70px;
    height: 52px;
  }

  .info-price {
    font-size: 1.4rem;
  }
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-header .eyebrow {
  margin-bottom: 8px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.admin-panel,
.info-card {
  border: 1px solid rgba(15, 94, 247, 0.08);
  box-shadow: 0 16px 32px rgba(15, 94, 247, 0.04);
}

.admin-form {
  display: grid;
  gap: 16px;
}

#form-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #edf4ff 0%, #eef9ff 100%);
  border: 1px solid rgba(15, 94, 247, 0.12);
  border-radius: 999px;
  color: var(--primary-dark);
  font-size: 0.96rem;
  font-weight: 700;
}

#form-title::before {
  content: '✦';
  font-size: 0.9rem;
}
.admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--text);
}
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.checkbox-row input {
  width: auto;
}
.media-group {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,248,255,0.96));
}
.media-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.media-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.multi-field-list {
  display: grid;
  gap: 10px;
}
.multi-field-item {
  display: flex;
  gap: 8px;
  align-items: center;
}
.multi-field-item input {
  flex: 1;
}
.remove-media-button,
.small-link-button {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.remove-media-button {
  white-space: nowrap;
  min-width: 82px;
}
.small-button {
  margin-top: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-list-panel {
  min-height: 500px;
}
.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.list-header h3 {
  margin: 0;
  font-size: 1.2rem;
}
.product-admin-list {
  display: grid;
  gap: 14px;
}
.admin-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,248,255,0.97));
  box-shadow: 0 12px 22px rgba(15, 94, 247, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.admin-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 94, 247, 0.14);
  box-shadow: 0 16px 28px rgba(15, 94, 247, 0.05);
}
.admin-item-image {
  width: 86px;
  height: 86px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--light);
}
.admin-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-item-content {
  min-width: 0;
}
.admin-item-top,
.admin-item-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.admin-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.admin-item-title strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #edf4ff;
  font-size: 0.95rem;
}
.admin-item-badge,
.meta-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.7rem;
  font-weight: 700;
}
.admin-item-badge {
  background: #edf4ff;
  color: var(--primary-dark);
}
.admin-item-content p {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.admin-item-meta {
  color: var(--muted);
  font-size: 0.75rem;
}
.meta-pill {
  background: #f2f7ff;
  color: var(--text);
}
.status-pill.available {
  background: rgba(19, 139, 73, 0.08);
  color: #1b8f58;
}
.status-pill.unavailable {
  background: rgba(182, 71, 71, 0.08);
  color: #b64747;
}
.admin-item-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tiny {
  min-width: 84px;
  padding: 0.62rem 0.8rem;
  font-size: 0.76rem;
}
.hidden {
  display: none !important;
}
.empty-state {
  color: var(--muted);
}
.admin-message {
  margin-top: 16px;
  color: #b64747;
  font-weight: 600;
}
@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-content,
  .product-detail-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    padding: 12px 0;
    gap: 12px;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(280px, calc(100vw - 24px));
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px 12px;
    z-index: 50;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .main-nav a:hover,
  .main-nav a.active {
    background: #fff0f0;
  }
  .nav-toggle {
    display: block;
    flex-shrink: 0;
  }
  .header-actions {
    margin-left: auto;
    gap: 8px;
  }
  .search-inline,
  .dot-menu-wrap,
  .header-actions .button.primary {
    display: none;
  }
  .category-card {
    flex-basis: 190px;
    min-width: 190px;
  }
}

@media (max-width: 640px) {

  .container {
    width: calc(100% - 10px);
  }

  .section {
    padding: 42px 0;
  }

  .hero {
    padding-top: 40px;
  }

  .brand {
    gap: 8px;
  }

  .brand span {
    font-size: 0.82rem;
    line-height: 1.25;
  }

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

  .visual-card.large {
    width: 88%;
    height: 270px;
  }

  .visual-card.small {
    width: 110px;
    height: 110px;
  }

  .site-footer {
    padding-top: 32px;
  }

  .footer-grid {
    gap: 18px;
    padding-bottom: 18px;
  }

  .footer-grid ul {
    justify-items: center;
    text-align: center;
  }

  .footer-bottom {
    text-align: center;
  }

  /* MOBILE SEARCH */

  .search-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .search-panel input,
  .search-panel button {
    width: 100%;
  }

  /* MOBILE CATALOG */

  .catalog-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .search-box {
    width: 100%;
  }

  .filter-group {
    width: 100%;
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filter-group::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    padding: 9px 13px;
    font-size: 0.82rem;
  }

  /* PRODUCT GRID */

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* PRODUCT CARD */
.product-card {
  width: 100%;
  min-width: 0;
  border-radius: clamp(10px, 1vw, 16px);
  box-shadow: 0 6px 16px rgba(89, 49, 17, 0.06);
  overflow: hidden;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.product-card-body {
  padding: clamp(8px, 1vw, 16px);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(4px, 0.5vw, 8px);
  margin-bottom: clamp(5px, 0.6vw, 9px);
}

.category-tag {
  padding: clamp(3px, 0.35vw, 6px) clamp(5px, 0.5vw, 9px);
  font-size: clamp(0.58rem, 0.7vw, 0.75rem);
}

.availability {
  font-size: clamp(0.58rem, 0.7vw, 0.75rem);
}

.product-card h4 {
  font-size: clamp(0.82rem, 1vw, 1.1rem);
  line-height: 1.25;
  margin-bottom: clamp(5px, 0.6vw, 9px);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card p {
  font-size: clamp(0.68rem, 0.8vw, 0.9rem);
  line-height: 1.4;
  margin-bottom: clamp(6px, 0.7vw, 10px);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: clamp(7px, 0.8vw, 12px);
  gap: clamp(4px, 0.5vw, 8px);
}

.product-price {
  font-size: clamp(0.82rem, 1vw, 1.1rem);
}

  /* PRODUCT BUTTONS */

  .product-actions {
    display: flex;
    flex-direction: row;
    gap: 6px;
  }

  .product-actions .button {
    min-height: 38px;
    padding: 0.55rem 0.35rem;
    font-size: 0.72rem;
    border-radius: 9px;
  }

  /* CATEGORY GRID */

  .category-grid {
    gap: 10px;
  }

  .category-card {
    flex-basis: 168px;
    min-width: 168px;
    min-height: 90px;
    padding: 12px;
    border-radius: 14px;
  }

  .category-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
    font-size: 1rem;
  }

  .category-card h4 {
    font-size: 0.85rem;
  }

  /* HEADER */

  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .header-actions {
    width: auto;
    margin-left: auto;
  }

  .header-actions .button {
    width: auto;
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
  }

  /* CTA */

  .cta-box {
    display: block;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .cta-box .button {
    width: 100%;
    margin-top: 16px;
  }

  /* WHATSAPP */

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-width: 126px;
    height: 48px;
    font-size: 0.8rem;
  }
}


/* VERY SMALL PHONES */

@media (max-width: 360px) {

  .product-grid {
    gap: 8px;
  }

  .product-card-body {
    padding: 8px;
  }

  .product-card h4 {
    font-size: 0.82rem;
  }

  .product-card p {
    font-size: 0.7rem;
  }

  .product-price {
    font-size: 0.85rem;
  }

  .product-actions {
    flex-direction: column;
    gap: 5px;
  }

  .product-actions .button {
    width: 100%;
  }
}
/* =========================================================
   RELATED PRODUCTS SECTION
   ========================================================= */

.related-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
}

.related-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.related-heading h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--text);
}

.related-category-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}


/* =========================================================
   RELATED PRODUCT GRID
   ========================================================= */

.related-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}


/* =========================================================
   RELATED PRODUCT CARD
   ========================================================= */

.related-product-card {
  position: relative;
  min-width: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(89, 49, 17, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.related-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 0, 0, 0.22);
  box-shadow: 0 18px 35px rgba(89, 49, 17, 0.11);
}


/* =========================================================
   IMAGE
   ========================================================= */

.related-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light);
}

.related-product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(0, 0, 0, 0.08)
  );
  pointer-events: none;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.related-product-card:hover
.related-product-image img {
  transform: scale(1.06);
}


/* =========================================================
   PRODUCT INFORMATION
   ========================================================= */

.related-product-info {
  padding: 14px 15px 16px;
}

.related-product-info h4 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-product-info p {
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
}


/* =========================================================
   CLICK AREA
   ========================================================= */

.related-product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   VIEW ALL
   ========================================================= */

.related-heading .text-link {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff0f0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.related-heading .text-link:hover {
  background: #ffe0e0;
  transform: translateY(-1px);
}


/* =========================================================
   CATEGORY COUNT SECTION
   ========================================================= */

.category-count-section {
  margin-top: 58px;
  padding-top: 42px;
  border-top: 1px solid var(--border);
}

.category-count-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-count-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  min-width: 0;
  padding: 16px 18px;

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #fff5f5 100%
  );

  border: 1px solid var(--border);
  border-radius: 14px;

  color: var(--text);
  text-decoration: none;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.category-count-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 0, 0, 0.22);
  box-shadow: 0 12px 24px rgba(89, 49, 17, 0.07);
}

.category-count-name {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 700;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-count-number {
  flex-shrink: 0;
  padding: 5px 9px;
  border-radius: 999px;

  background: #fff0e0;
  color: var(--primary-dark);

  font-size: 0.72rem;
  font-weight: 800;
}


/* =========================================================
   NO RELATED PRODUCTS
   ========================================================= */

.no-related-products {
  padding: 28px;
  text-align: center;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;

  color: var(--muted);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  .related-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-count-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .related-section {
    margin: 48px auto 30px;
    padding: 0 10px;
  }

  .related-heading {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .related-heading h2 {
    font-size: 1.45rem;
  }

  .related-category-count {
    font-size: 0.78rem;
  }

  .related-heading .text-link {
    padding: 7px 10px;
    font-size: 0.78rem;
  }


  /* Two cards per row on mobile */

  .related-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }


  .related-product-card {
    border-radius: 14px;
    box-shadow: 0 6px 15px rgba(89, 49, 17, 0.06);
  }

  .related-product-card:hover {
    transform: translateY(-2px);
  }


  .related-product-info {
    padding: 10px;
  }

  .related-product-info h4 {
    font-size: 0.84rem;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .related-product-info p {
    font-size: 0.78rem;
  }


  /* Category count */

  .category-count-section {
    margin-top: 42px;
    padding-top: 30px;
  }

  .category-count-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .category-count-card {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .category-count-name {
    font-size: 0.82rem;
  }

  .category-count-number {
    font-size: 0.68rem;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

  .related-product-grid {
    gap: 8px;
  }

  .related-product-card {
    border-radius: 12px;
  }

  .related-product-info {
    padding: 8px;
  }

  .related-product-info h4 {
    font-size: 0.78rem;
  }

  .related-product-info p {
    font-size: 0.72rem;
  }

}