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

:root {
  --red: #e02020;
  --red-dark: #c01a1a;
  --black: #111111;
  --white: #ffffff;
  --gray-light: #f7f7f7;
  --gray-border: #e8e8e8;
  --gray-text: #888888;
  --gray-card: #f0f0f0;
  --maxw: 1400px;
  --px: 60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

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

/* ─── AGE GATE ─── */
#age-gate {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.age-box {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  text-align: center;
  max-width: 420px; width: 90%;
}
.age-icon { font-size: 52px; margin-bottom: 14px; }
.age-box h2 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.age-box p { font-size: 14px; color: var(--gray-text); line-height: 1.65; margin-bottom: 2rem; }
.age-btns { display: flex; gap: 12px; justify-content: center; }
.age-yes {
  background: var(--red); color: var(--white);
  border: none; border-radius: 9px;
  padding: 13px 38px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .15s;
}
.age-yes:hover { background: var(--red-dark); }
.age-no {
  background: var(--black); color: var(--white);
  border: none; border-radius: 9px;
  padding: 13px 38px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .15s;
}
.age-no:hover { background: #333; }
.age-blocked {
  color: var(--white); text-align: center; padding: 3rem; font-size: 18px;
}

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998; transition: opacity .4s;
}
#loaderCanvas { display: block; }

/* ─── HEADER ─── */
header {
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--px);
  height: 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.h-left { display: flex; align-items: center; height: 48px; }
.h-btn {
  font-size: 13px; font-weight: 500; color: var(--black);
  padding: 0 15px; height: 48px;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; border: none; background: none; white-space: nowrap;
  transition: background .15s;
}
.h-btn:hover { background: var(--gray-light); }
.h-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.np-badge {
  background: var(--red); color: var(--white);
  font-size: 13px; font-weight: 600;
  padding: 0 15px; height: 48px;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; transition: background .15s;
}
.np-badge:hover { background: var(--red-dark); }
.np-icon {
  background: transparent;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.h-right { display: flex; align-items: center; height: 48px; }
.h-nav {
  font-size: 13px; color: var(--black);
  padding: 0 13px; height: 48px;
  display: flex; align-items: center;
  white-space: nowrap; transition: color .15s;
}
.h-nav:hover { color: var(--red); }

/* ─── HERO ─── */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 100px var(--px) 80px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.site-logo img {
  max-width: 130px; max-height: 55px;
  border-radius: 8px; object-fit: contain;
}
.site-logo-placeholder {
  width: 130px; height: 55px; border-radius: 8px;
  background: var(--gray-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #ccc; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-row { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; }
.join-btn {
  background: var(--red); color: var(--white);
  border: none; border-radius: 9px;
  padding: 14px 32px; font-size: 15px; font-weight: 700;
  cursor: pointer; letter-spacing: .2px;
  display: inline-block;
  transition: transform .13s, color .13s;
}
.join-btn:hover { transform: translate(3px,-2px); color: rgba(255,255,255,.72); }
.hero-icons {
  display: flex; gap: 10px;
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
}
.hero-icon-btn {
  width: 44px; height: 44px; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: var(--white);
  transition: border-color .15s;
}
.hero-icon-btn svg { width: 20px; height: 20px; }

/* ─── SEARCH ─── */
.search-row { display: flex; align-items: center; gap: 10px; position: relative; width: 330px; }
.search-bar {
  display: flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--gray-border); border-radius: 11px;
  padding: 0 15px; height: 46px; width: 100%; background: var(--white);
  transition: border-color .15s;
}
.search-bar:focus-within { border-color: #aaa; }
.search-bar svg { width: 17px; height: 17px; color: #bbb; flex-shrink: 0; }
.search-bar input {
  border: none; outline: none;
  font-size: 14px; width: 100%; background: transparent; color: var(--black);
}
.search-bar input::placeholder { color: #bbb; }

/* Search Results Dropdown */
#search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--white); border: 1.5px solid var(--gray-border);
  border-radius: 11px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 200; display: none;
  max-height: 360px; overflow-y: auto;
}
#search-results.active { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; cursor: pointer;
  transition: background .15s; text-decoration: none; color: var(--black);
}
.search-result-item:hover { background: var(--gray-light); }
.search-result-thumb {
  width: 42px; height: 42px; border-radius: 7px;
  object-fit: cover; background: var(--gray-card); flex-shrink: 0;
}
.search-result-thumb-placeholder {
  width: 42px; height: 42px; border-radius: 7px;
  background: var(--gray-card); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #ccc;
}
.search-result-name { font-size: 13.5px; font-weight: 500; }
.search-result-type { font-size: 11px; color: var(--gray-text); }
.search-no-results { padding: 14px; font-size: 13px; color: var(--gray-text); text-align: center; }
.search-loading { padding: 14px; font-size: 13px; color: var(--gray-text); text-align: center; }

/* ─── SLIDER ─── */
.slider-outer { width: 100%; overflow: hidden; position: relative; }
.slider-wrap {
  max-width: var(--maxw); margin: 0 auto;
  position: relative; height: 45vh; overflow: hidden;
}
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .55s ease;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; }
.slide-ph {
  font-size: 13px; color: #c0c0c0;
  letter-spacing: 3px; text-transform: uppercase;
}
.slide:nth-child(1) { background-color: #ddd; }
.slide:nth-child(2) { background-color: #d5d5d5; }
.slide:nth-child(3) { background-color: #e0dbd0; }

.sarr {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.85); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 18px; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .15s;
}
.sarr:hover { background: rgba(255,255,255,1); }
.sarr.prev { left: 16px; }
.sarr.next { right: 16px; }
.slide-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 2;
}
.sdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0,0,0,.2); cursor: pointer; transition: background .2s;
}
.sdot.on { background: var(--black); }

/* ─── SECTIONS ─── */
.section { padding: 44px 0; }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--px); }
.sec-title { font-size: 22px; font-weight: 700; margin-bottom: 22px; color: var(--black); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ─── CARD ─── */
.card {
  border: 1px solid var(--gray-border); border-radius: 12px;
  overflow: hidden; cursor: pointer; background: var(--white);
  transition: box-shadow .2s, transform .2s;
  display: block; text-decoration: none; color: inherit;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.card-img {
  height: 175px; overflow: hidden; background: var(--gray-card);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #ccc; letter-spacing: 1.5px; text-transform: uppercase;
  transition: transform .35s ease;
}
.card:hover .card-img-inner { transform: scale(1.06); }
.card-body {
  padding: 12px 15px;
  display: flex; justify-content: space-between; align-items: center;
}
.card-name { font-size: 13.5px; font-weight: 500; color: var(--black); }
.card-arrow { font-size: 18px; color: #bbb; transition: color .2s, transform .2s; }
.card:hover .card-arrow { color: var(--red); transform: translateX(3px); }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.blog-card .card-img { height: 230px; }

/* ─── CARD SLIDER ─── */
.card-slider { position: relative; }
.card-slider-viewport { overflow: hidden; }
.card-slider-track { display: flex; transition: transform .45s ease; }
.card-slider-page { min-width: 100%; flex-shrink: 0; }
.card-slider .sarr {
  top: 35%;
  background: var(--white); border: 1px solid var(--gray-border);
}
.card-slider .sarr:hover { background: var(--gray-light); }
.card-slider .sarr.prev { left: -20px; }
.card-slider .sarr.next { right: -20px; }
.card-slider-dots {
  position: static; transform: none;
  justify-content: center; margin-top: 18px;
}

/* ─── DARK SECTION ─── */
.dark-sec { background: var(--black); padding: 85px 0; }
.dark-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--px); }
.dark-sec h2 { font-size: 30px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.dark-sec p { font-size: 15px; color: #888; line-height: 1.8; max-width: 720px; margin-bottom: 44px; }
.features { display: flex; gap: 0; border-top: 1px solid #1e1e1e; padding-top: 40px; }
.feat { flex: 1; padding: 0 40px; border-right: 1px solid #1e1e1e; }
.feat:first-child { padding-left: 0; }
.feat:last-child { border-right: none; }
.feat-icon { margin-bottom: 12px; }
.feat-icon svg { width: 28px; height: 28px; color: var(--white); }
.feat-title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.feat-text { font-size: 13px; color: #777; line-height: 1.65; }

/* ─── FOOTER ─── */
footer { background: var(--gray-light); border-top: 1px solid var(--gray-border); padding: 52px 0 36px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--px);
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 48px;
}
.foot-logo img { max-width: 150px; max-height: 60px; object-fit: contain; border-radius: 8px; margin-bottom: 16px; display: block; }
.foot-logo-placeholder {
  width: 150px; height: 60px; border-radius: 8px;
  background: #e9e9e9; display: flex; align-items: center;
  justify-content: center; font-size: 10px; color: #bbb;
  margin-bottom: 16px;
}
.foot-copy { font-size: 12px; color: #aaa; line-height: 1.6; }
.foot-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.3px; color: #aaa; margin-bottom: 16px; }
.foot-link { display: block; font-size: 14px; color: #555; margin-bottom: 9px; transition: color .15s; }
.foot-link:hover { color: var(--black); }
.soc-row { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.soc-row svg { width: 16px; height: 16px; color: #aaa; flex-shrink: 0; }
.soc-row a { font-size: 14px; color: #555; transition: color .15s; }
.soc-row a:hover { color: var(--red); }

/* ─── PRODUCT PAGE ─── */
.product-page {
  max-width: var(--maxw); margin: 0 auto;
  padding: 60px var(--px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.product-gallery img {
  width: 100%; border-radius: 16px; object-fit: contain !important; background: none;
}
.product-gallery-placeholder {
  width: 100%; aspect-ratio: 1/1; border-radius: 16px;
  background: var(--gray-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #ccc; letter-spacing: 2px; text-transform: uppercase;
}
.product-info { padding-top: 10px; }
.product-title { font-size: 28px; font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.product-desc { font-size: 15px; color: #444; line-height: 1.8; }

/* ─── BLOG POST PAGE ─── */
.blog-post-page {
  max-width: 780px; margin: 0 auto;
  padding: 60px var(--px);
}
.blog-post-title {
  font-size: 32px; font-weight: 700; text-align: center;
  margin-bottom: 36px; line-height: 1.3;
}
.blog-post-cover {
  width: 100%; border-radius: 14px; overflow: hidden; margin-bottom: 36px;
}
.blog-post-cover img { width: 100%; height: auto; display: block; }
.blog-post-cover-placeholder {
  width: 100%; height: 340px; background: var(--gray-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #ccc; letter-spacing: 2px; text-transform: uppercase;
}
.blog-post-content { font-size: 16px; color: #333; line-height: 1.85; }
.blog-post-content p { margin-bottom: 1.2em; }
.blog-post-content h2 { font-size: 22px; font-weight: 700; margin: 2em 0 .7em; }
.blog-post-content h3 { font-size: 18px; font-weight: 600; margin: 1.6em 0 .6em; }
.blog-post-content img { max-width: 100%; border-radius: 10px; margin: 1em 0; }
.blog-post-content ul, .blog-post-content ol { padding-left: 1.5em; margin-bottom: 1em; }
.blog-post-content li { margin-bottom: .4em; }

/* ─── SECTION SPACING ─── */
.section + .section { padding-top: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  :root { --px: 24px; }
  .header-inner { flex-direction: column; align-items: stretch; height: auto; }
  .h-left, .h-right { height: 44px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
  .h-left::-webkit-scrollbar, .h-right::-webkit-scrollbar { display: none; }
  .h-right { border-top: 1px solid var(--gray-border); }
  .h-btn, .h-nav, .np-badge { flex-shrink: 0; }
  .hero { padding: 60px var(--px) 50px; gap: 20px; }
  .site-logo img { max-width: 110px; max-height: 46px; }
  .hero-row { flex-direction: column; gap: 16px; }
  .hero-icons { position: static; transform: none; justify-content: center; }
  .join-btn { width: 100%; text-align: center; }
  .search-row { width: 100%; }
  .slider-wrap { height: 32vh; min-height: 200px; }
  .cards-grid, .blog-grid, .card-slider-page { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-img { height: 150px; }
  .blog-card .card-img { height: 190px; }
  .card-slider .sarr { width: 32px; height: 32px; font-size: 16px; }
  .card-slider .sarr.prev { left: 6px; }
  .card-slider .sarr.next { right: 6px; }
  .dark-sec { padding: 56px 0; }
  .dark-sec h2 { font-size: 24px; }
  .dark-sec p { font-size: 14px; margin-bottom: 32px; }
  .features { flex-direction: column; border-top: none; padding-top: 0; gap: 0; }
  .feat { padding: 24px 0; border-right: none; border-top: 1px solid #1e1e1e; }
  .feat:first-child { border-top: 1px solid #1e1e1e; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .product-page { grid-template-columns: 1fr; gap: 32px; padding: 40px var(--px); }
  .blog-post-page { padding: 40px var(--px); }
  .blog-post-title { font-size: 26px; }
}

@media (max-width: 560px) {
  :root { --px: 16px; }
  .sec-title { font-size: 18px; margin-bottom: 16px; }
  .section { padding: 32px 0; }
  .site-logo img { max-width: 100px; max-height: 42px; }
  .h-btn, .h-nav, .np-badge { font-size: 12px; padding: 0 10px; }
  .cards-grid, .blog-grid, .card-slider-page { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-img { height: 130px; }
  .blog-card .card-img { height: 160px; }
  .card-name { font-size: 12px; }
  .card-body { padding: 10px 12px; }
  .card-slider .sarr { width: 28px; height: 28px; font-size: 14px; }
  .age-box { padding: 2.2rem 1.6rem; }
  .age-btns { flex-direction: column; }
  .age-yes, .age-no { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .product-title { font-size: 22px; }
  .blog-post-title { font-size: 22px; }
  .search-row { width: 100%; }
}

/* ─── CATEGORY BREADCRUMBS ─── */
.cat-breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin-bottom: 18px;
  font-size: 13px; color: var(--gray-text);
}
.cat-bc-link {
  color: var(--gray-text); transition: color .15s;
}
.cat-bc-link:hover { color: var(--red); }
.cat-bc-sep { color: #ccc; }
.cat-bc-current { color: var(--black); font-weight: 500; }

.cat-description {
  font-size: 14px; color: var(--gray-text);
  line-height: 1.7; margin-bottom: 24px; max-width: 680px;
}
