:root {
  --pink: #ff0052;
  --pink-dark: #d40045;
  --ink: #101010;
  --muted: #6d6d6d;
  --line: #ebebeb;
  --soft: #f7f8f9;
  --blush: #fff1f5;
  --white: #fff;
  --shadow: 0 10px 30px rgba(16, 16, 16, 0.06);
  --container: 1180px;
  --header: 78px;
  --font: "Montserrat", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar {
  background: var(--blush);
  color: #8a8a8a;
  text-align: center;
  font-size: 13px;
  padding: 9px 16px;
}
.topbar a:hover { color: var(--pink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: var(--header);
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  align-items: center;
}
.logo img { width: 132px; height: auto; }
.logo-word { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: #111; line-height: 1; }
.logo-word span { color: #c60000; }
.search {
  display: flex;
  align-items: stretch;
  max-width: 560px;
  width: 100%;
  justify-self: center;
}
.search input {
  flex: 1;
  border: 0;
  background: var(--soft);
  padding: 0 16px;
  height: 46px;
  outline: none;
}
.search input:focus { box-shadow: inset 0 0 0 1px var(--pink); }
.search button {
  width: 48px;
  border: 0;
  background: var(--pink);
  color: var(--white);
}
.search button:hover { background: var(--pink-dark); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.login-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: right;
}
.login-link:hover, .icon-link:hover { color: var(--pink); }
.icon-link {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--pink);
  color: var(--white);
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
}

.main-nav { border-top: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; min-height: 52px; }
.cats { position: relative; }
.cats > button {
  border: 0;
  background: var(--ink);
  color: var(--white);
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cats ul {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  z-index: 20;
}
.cats:hover ul, .cats:focus-within ul, .cats.is-open ul { display: block; }
.cats a { display: block; padding: 10px 14px; }
.cats a:hover { background: var(--blush); color: var(--pink); }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--pink); }

.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 8px 0 16px;
}
.drawer a { display: block; padding: 10px 0; font-weight: 700; letter-spacing: 0.04em; }
.drawer a.is-active, .drawer a:hover { color: var(--pink); }
body.nav-open .drawer { display: block; }

.hero { position: relative; background: var(--blush); overflow: hidden; }
.slide { display: none; min-height: 460px; }
.slide.is-active { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.hero-visual { display: grid; place-items: center; padding: 36px; }
.hero-visual img { width: min(520px, 100%); height: 380px; object-fit: contain; }
.slide-photo .hero-visual img { width: 100%; height: 460px; object-fit: cover; }
.hero-copy { padding: 40px 48px 40px 0; }
.hero-kicker {
  font-size: 64px;
  line-height: 0.95;
  font-weight: 700;
  color: #d5d5d5;
  letter-spacing: -0.03em;
}
.hero-highlight {
  display: inline-block;
  margin: 8px 0;
  background: #f3b8c8;
  color: var(--white);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  padding: 4px 16px;
}
.hero-copy p { max-width: 420px; color: var(--muted); margin-top: 14px; }
.hero-actions { display: flex; gap: 10px; margin-top: 22px; }
.hero-nav { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #ddd;
}
.hero-nav button.is-active { background: var(--pink); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

.services { padding: 28px 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { display: flex; gap: 12px; align-items: flex-start; }
.service svg { color: var(--pink); flex: 0 0 auto; margin-top: 2px; }
.service strong { display: block; font-size: 15px; }
.service span { color: var(--muted); font-size: 13px; }

.section { padding: 18px 0 36px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title {
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 8px;
  background: var(--pink);
}
.tablist { display: flex; gap: 18px; }
.tablist button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  padding: 0 0 6px;
}
.tablist button.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--pink); }
.panel { display: none; }
.panel.is-active { display: block; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid.fit { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.banner-links { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.banner-links a { display: block; background: var(--soft); }
.banner-links img { width: 100%; height: 210px; object-fit: cover; }
.layout .grid { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line);
  padding: 16px 16px 14px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card:hover { border-color: #f3b8c8; }
.card-kicker, .card-cat { color: var(--muted); font-size: 13px; }
.card-kicker:hover, .card-cat:hover, .card-title a:hover { color: var(--pink); }
.card-title { font-size: 16px; margin: 2px 0 10px; }
.card-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  margin-bottom: 12px;
}
.card-media img { width: 100%; height: 180px; object-fit: contain; }
.badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--pink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
}
.card-excerpt { display: none; color: var(--muted); margin-bottom: 10px; }
.card-foot { margin-top: auto; }
.price { margin-bottom: 10px; }
.price del { color: #a3a3a3; margin-right: 6px; }
.price span, .price strong { color: #c60000; font-weight: 700; }
.card-actions { display: flex; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--pink);
  background: var(--pink);
  color: var(--white);
  font-weight: 700;
}
.btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-cart { flex: 1; background: var(--blush); color: var(--pink); border-color: transparent; }
.btn-cart:hover { background: var(--pink); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }
.btn-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
}
.btn-icon:hover { color: var(--pink); border-color: var(--pink); }
.grid.is-list { grid-template-columns: 1fr; }
.grid.is-list .card {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas: "media cat" "media title" "media excerpt" "media foot";
  column-gap: 18px;
}
.grid.is-list .card-cat { grid-area: cat; }
.grid.is-list .card-kicker { grid-column: 2; }
.grid.is-list .card-title { grid-area: title; }
.grid.is-list .card-media { grid-area: media; margin: 0; }
.grid.is-list .card-excerpt { grid-area: excerpt; display: block; }
.grid.is-list .card-foot { grid-area: foot; }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-tile {
  border: 1px solid var(--line);
  text-align: center;
  padding: 16px 10px 12px;
  background: var(--white);
}
.cat-tile img { height: 110px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.cat-tile span { font-weight: 700; }
.cat-tile:hover { border-color: var(--pink); color: var(--pink); }

.banner-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.promo {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #111;
  color: var(--white);
  display: flex;
  align-items: flex-end;
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.promo div { position: relative; padding: 22px; }
.promo strong { display: block; font-size: 28px; line-height: 1.1; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote { background: var(--soft); padding: 22px; }
.quote h3 { letter-spacing: 0.08em; margin-bottom: 8px; }
.quote p { color: var(--muted); }

.page-head { padding: 26px 0 8px; }
.page-head h1 { font-size: 32px; font-weight: 600; }
.crumbs { color: var(--muted); font-size: 13px; margin-top: 4px; }
.crumbs a:hover { color: var(--pink); }
.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  padding-bottom: 48px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 8px 0 16px;
  color: var(--muted);
}
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.toolbar select, .field input, .field select, .field textarea, .filter input {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 10px;
  width: 100%;
}
.toolbar select { width: auto; min-width: 190px; }
.view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
}
.view-btn.is-active { background: #c60000; border-color: #c60000; color: #fff; }
.sidebar { display: flex; flex-direction: column; gap: 22px; }
.widget h2 {
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.widget h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: var(--pink);
  margin-top: 6px;
}
.widget p { color: var(--muted); }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.mini {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.mini img { width: 64px; height: 64px; object-fit: contain; background: var(--soft); }
.mini strong { display: block; font-size: 13px; }
.ad-widget img { width: 100%; height: 180px; object-fit: cover; }
.stack-links a { display: block; padding: 6px 0; color: var(--muted); }
.stack-links a:hover { color: var(--pink); }

.product-layout { align-items: start; }
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding-top: 12px;
}
.gallery-main {
  background: var(--soft);
  min-height: 420px;
  display: grid;
  place-items: center;
  position: relative;
}
.gallery-main img { width: 100%; height: 420px; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { border: 1px solid var(--line); background: var(--white); padding: 4px; }
.thumbs button.is-active { border-color: var(--pink); }
.thumbs img { width: 72px; height: 72px; object-fit: contain; }
.buybox h1 { font-size: 32px; font-weight: 600; margin: 8px 0; }
.buybox .lead { color: var(--muted); margin: 12px 0 18px; }
.buy-row { display: flex; gap: 10px; align-items: center; margin: 18px 0; }
.qty { display: flex; border: 1px solid var(--line); }
.qty button, .qty input {
  width: 40px;
  height: 42px;
  border: 0;
  background: var(--white);
  text-align: center;
}
.qty button { width: 36px; }
.assist { display: flex; gap: 16px; color: var(--muted); margin-bottom: 16px; }
.assist a:hover { color: var(--pink); }
.meta { color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.meta a:hover { color: var(--pink); }
.detail-tabs { margin-top: 28px; }
.detail-tabs .tablist { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.detail-tabs .tablist button { padding: 10px 0; margin-right: 22px; letter-spacing: 0.04em; }
.specs { width: 100%; border-collapse: collapse; margin-top: 12px; }
.specs th, .specs td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px 0; }
.specs th { width: 180px; color: var(--muted); font-weight: 600; }
.review-form, .form { display: grid; gap: 12px; margin-top: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; }
.notice {
  display: none;
  background: var(--blush);
  color: var(--pink-dark);
  padding: 12px 14px;
  margin-top: 12px;
}
.notice.is-on { display: block; }
.related { margin-top: 28px; }
.related .grid { grid-template-columns: repeat(4, 1fr); }

.posts { display: grid; gap: 22px; }
.post-card { display: grid; grid-template-columns: 280px 1fr; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.post-card img { width: 100%; height: 180px; object-fit: cover; }
.post-card h2 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.post-card h2 a:hover { color: var(--pink); }
.post-meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.article { max-width: 760px; }
.article img.cover { width: 100%; height: 380px; object-fit: cover; margin-bottom: 18px; }
.article h1 { font-size: 36px; line-height: 1.2; margin-bottom: 8px; }
.article p { margin: 0 0 14px; color: #333; }
.more { font-weight: 700; color: var(--pink); }

.contact-grid, .account-grid, .checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; }
.panel-box { border: 1px solid var(--line); padding: 18px; }
.panel-box h2 { margin-bottom: 12px; font-size: 20px; }
.map-block {
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(255, 0, 82, 0.12), rgba(255, 255, 255, 0.2)),
    var(--soft);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  margin-bottom: 12px;
  padding: 16px;
}

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12px; letter-spacing: 0.05em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.cart-table td { border-bottom: 1px solid var(--line); padding: 14px 8px 14px 0; vertical-align: middle; }
.cart-product { display: flex; gap: 12px; align-items: center; }
.cart-product img { width: 72px; height: 72px; object-fit: contain; background: var(--soft); }
.summary { background: var(--soft); padding: 18px; }
.summary row, .sum-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.sum-row.total { font-size: 18px; font-weight: 700; border-top: 1px solid #ddd; padding-top: 10px; }
.linkish { border: 0; background: none; color: var(--muted); padding: 0; }
.linkish:hover { color: var(--pink); }
.empty { padding: 28px 0 40px; }
.empty a { color: var(--pink); font-weight: 700; }

.jobs, .coupon-list { display: grid; gap: 12px; }
.job, .coupon {
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.coupon code {
  background: var(--blush);
  color: var(--pink);
  padding: 6px 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.compare img { width: 120px; height: 90px; object-fit: contain; }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.about-grid img { width: 100%; height: 340px; object-fit: cover; }
.prose p { margin-bottom: 12px; color: #333; }
.checks { display: grid; gap: 8px; margin-top: 8px; }
.checks li::before { content: "– "; color: var(--pink); }

.site-footer { background: #111; color: #cfcfcf; padding: 42px 0 20px; margin-top: 10px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 22px; }
.site-footer h2 { color: var(--white); font-size: 14px; letter-spacing: 0.06em; margin-bottom: 12px; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: var(--pink); }
.site-footer li { margin-bottom: 7px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #333;
}
.subfoot {
  border-top: 1px solid #2a2a2a;
  margin-top: 22px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8d8d8d;
  font-size: 12px;
}
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--white);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}
.bottom-nav a, .bottom-nav button { text-align: center; padding: 8px 4px 10px; font-size: 11px; font-weight: 700; border: 0; background: transparent; }
.bottom-nav svg { display: block; margin: 0 auto 2px; }

@media (max-width: 1024px) {
  .grid, .layout .grid, .related .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .slide.is-active, .product, .post-card, .contact-grid, .account-grid, .checkout-grid, .about-grid, .banner-row, .banner-links {
    grid-template-columns: 1fr;
  }
  .hero-copy { padding: 10px 20px 56px; }
  .hero-kicker { font-size: 46px; }
  .hero-highlight { font-size: 36px; }
  .layout { grid-template-columns: 1fr; }
  .slide-photo .hero-visual img, .hero-visual img { height: 280px; }
}

@media (max-width: 760px) {
  .header-row { grid-template-columns: auto 1fr auto; gap: 10px; }
  .search { display: none; }
  .login-link { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { display: none; }
  .grid, .layout .grid, .related .grid, .cat-grid, .quotes, .service-grid { grid-template-columns: 1fr 1fr; }
  .grid.is-list { grid-template-columns: 1fr; }
  .grid.is-list .card { grid-template-columns: 120px 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .bottom-nav { display: grid; }
  body { padding-bottom: 64px; }
  .buy-row, .job, .coupon, .toolbar { flex-wrap: wrap; align-items: stretch; }
  .hero-kicker { font-size: 36px; }
  .page-head h1, .buybox h1, .article h1 { font-size: 28px; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px; padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Match the Royal Market header, slider, and footer */
.topbar {
  background: #fff;
  color: #8d8d8d;
  border-bottom: 1px solid #f1f1f1;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 11px 16px;
}
.topbar a { color: #8d8d8d; }
.site-header { background: #fff; backdrop-filter: none; }
.header-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 86px;
}
.logo img { width: 170px; height: auto; }
.search {
  max-width: none;
  height: 42px;
  background: #f7f8f9;
  align-items: center;
}
.search input {
  height: 42px;
  background: transparent;
  font-size: 13px;
}
.search input:focus { box-shadow: none; }
.search select {
  height: 42px;
  border: 0;
  border-left: 1px solid #e6e6e6;
  background: transparent;
  color: #666;
  padding: 0 10px;
  max-width: 140px;
}
.search button {
  width: 46px;
  height: 42px;
  flex: 0 0 46px;
}
.header-actions { gap: 12px; }
.login-link {
  color: #3f3f3f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: left;
}
.nav-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #3f3f3f;
}
.main-nav { display: none; }
.nav-shade {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
}
body.nav-open .nav-shade { display: block; }
.drawer {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: #fff;
  z-index: 50;
  padding: 18px 18px 28px;
  transform: translateX(-105%);
  transition: transform 0.2s ease;
  overflow: auto;
  border-top: 0;
}
body.nav-open .drawer { transform: translateX(0); }
.drawer-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #777;
}
.drawer-tabs button.is-active { color: var(--pink); box-shadow: inset 0 -2px 0 var(--pink); }
.drawer a { font-size: 13px; letter-spacing: 0.06em; }

.banner { position: relative; background: #fff; }
.banner .slide { display: none; min-height: 0; }
.banner .slide.is-active { display: block; }
.banner .slide img { width: 100%; height: auto; max-height: none; object-fit: fill; }
@media (min-width: 1025px) {
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
}
.banner .hero-arrow { display: none; }
.banner .hero-nav { z-index: 2; }

.services { border-bottom: 1px solid #f3f3f3; }
.service svg { color: #c60000; }
.service strong { font-weight: 600; }

.site-footer {
  background: #fff;
  color: #3f3f3f;
  border-top: 1px solid #eee;
  padding: 0 0 18px;
  margin-top: 20px;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { font-weight: 600; }
.foot-top img { height: 28px; width: auto; }
.foot-grid { padding: 26px 0 8px; }
.site-footer h2 {
  color: #111;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}
.site-footer h2 + h2, .site-footer .foot-grid h2:not(:first-child) { margin-top: 18px; }
.site-footer a, .site-footer li { color: #555; }
.site-footer p { color: #555; margin: 0 0 8px; }
.site-footer .mini strong { color: #111; }
.site-footer .mini img { background: #fff; }
.below-footer {
  border-top: 1px solid #eee;
  margin-top: 12px;
  padding-top: 14px;
  text-align: center;
  color: #8a8a8a;
  font-size: 13px;
}
.quote { display: flex; gap: 16px; align-items: center; }
.quote img { width: 92px; height: 92px; object-fit: contain; flex: 0 0 auto; }
.banner-links { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.banner-links img { height: auto; object-fit: fill; }

@media (max-width: 900px) {
  .search { display: flex; }
  .login-link { display: block; }
}
@media (max-width: 760px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .search select { display: none; }
}
@media (max-width: 640px) {
  .search { display: none; }
  .login-link { display: none; }
  .nav-toggle { display: grid; }
  .banner-links { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* Desktop header and homepage columns, matching the live Royal Market layout */
.desk-nav { display: none; }
.search-open {
  display: none;
  border: 0;
  background: transparent;
  color: #111;
  width: 40px;
  height: 40px;
  place-items: center;
}
.home-side { display: none; }

@media (min-width: 1025px) {
  :root { --container: 1420px; }
  .header-row {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 100px;
    gap: 18px;
  }
  .logo img { width: 250px; }
  .logo-word { font-size: 32px; }
  .desk-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 6px;
  }
  .desk-nav a {
    color: #222;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.7px;
    padding: 12px 14px 12px 0;
  }
  .desk-nav a:hover { color: #c60000; }
  body[data-page="home"] .desk-nav a[data-nav="home"],
  body[data-page="shop"] .desk-nav a[data-nav="shop"],
  body[data-page="product"] .desk-nav a[data-nav="shop"],
  body[data-page="category"] .desk-nav a[data-nav="shop"],
  body[data-page="type"] .desk-nav a[data-nav="shop"],
  body[data-page="best"] .desk-nav a[data-nav="best"],
  body[data-page="blog"] .desk-nav a[data-nav="blog"],
  body[data-page="post"] .desk-nav a[data-nav="blog"],
  body[data-page="sale"] .desk-nav a[data-nav="sale"],
  body[data-page="contact"] .desk-nav a[data-nav="contact"] { color: #c60000; }
  .search {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: min(760px, 72%);
    z-index: 35;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 16, 16, 0.12);
  }
  body.search-open .search { display: flex; }
  .nav-toggle { display: none; }
  .search-open { display: grid; }
  .login-link { font-weight: 400; white-space: nowrap; letter-spacing: 0.04em; }
  .login-link br { display: none; }

  body[data-page="home"] .home-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 220px;
    column-gap: 20px;
    align-items: start;
    width: min(1420px, calc(100% - 24px));
    margin: 16px auto 0;
  }
  body[data-page="home"] .home-side { display: block; }
  body[data-page="home"] .home-main { min-width: 0; }
  body[data-page="home"] .home-main .container {
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  body[data-page="home"] .home-testimonials { display: none; }
  body[data-page="home"] .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; }
  body[data-page="home"] .plain-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  body[data-page="home"] .like-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  body[data-page="home"] .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  body[data-page="home"] .section-title { text-transform: none; font-size: 16px; font-weight: 700; letter-spacing: 0.01em; }
  body[data-page="home"] .section-title::after { width: 64px; height: 3px; margin-top: 6px; background: #c60000; }
  body[data-page="home"] .section { padding: 6px 0 16px; }
  body[data-page="home"] .tablist button.is-active { color: #222; box-shadow: inset 0 -2px 0 #c60000; }
  .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}

.cat-box { border: 1px solid #eee; margin-bottom: 22px; }
.cat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  background: #c60000;
  color: #fff;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 14px;
}
.cat-lines { display: inline-flex; flex-direction: column; gap: 3px; }
.cat-lines i { display: block; height: 2px; background: #fff; width: 14px; }
.cat-lines i:nth-child(2) { width: 10px; }
.cat-chev {
  margin-left: auto;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid #fff;
}
.cat-list li + li { border-top: 1px solid #f2f2f2; }
.cat-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
}
.cat-list img { width: 32px; height: 32px; object-fit: contain; }
.home-side .widget h2::after { width: 70px; height: 3px; background: #c60000; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { border: 1px solid #eee; padding: 4px 8px; font-size: 12px; color: #555; }
.tag-cloud a:hover { color: #c60000; }
.side-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.side-gallery img { width: 100%; height: 58px; object-fit: contain; background: #fff; border: 1px solid #eee; padding: 4px; }
.side-quote { margin-bottom: 16px; text-align: center; }
.side-quote img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; margin: 0 auto 8px; }
.side-quote h3 { font-size: 14px; letter-spacing: 0.06em; margin-bottom: 6px; }
.side-quote p { color: var(--muted); font-size: 13px; }
.about-widget > a img { width: 100%; height: 210px; object-fit: cover; object-position: top; margin-bottom: 10px; }
.know-more {
  display: inline-block;
  margin-top: 8px;
  background: #c60000;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 3px;
}
.about-social { display: flex; gap: 8px; margin-top: 10px; }
.about-social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #eee;
  font-size: 10px;
  color: #666;
}
.muted { color: var(--muted); font-size: 12px; }

.plain-grid .card { position: relative; text-align: center; padding: 12px 10px 14px; }
.plain-grid .card-kicker { display: none; }
.plain-grid .card-cat { color: #8a8a8a; font-size: 13px; }
.plain-grid .card-title { font-size: 14px; font-weight: 700; margin: 2px 0 8px; }
.plain-grid .card-media { min-height: 130px; margin: 0 0 8px; }
.plain-grid .card-media img { height: 120px; }
.plain-grid .badge { background: #c60000; font-weight: 600; }
.plain-grid .price { margin: 0; }
.plain-grid .card-actions {
  display: none;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
}
.plain-grid .card:hover .card-actions { display: flex; }
.like-grid .card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-areas: "img cat" "img title" "img price";
  column-gap: 10px;
  align-items: center;
  padding: 10px;
  text-align: left;
}
.like-grid .card-media { grid-area: img; min-height: 0; margin: 0; }
.like-grid .card-media img { height: 72px; }
.like-grid .card-cat { grid-area: cat; color: #8a8a8a; }
.like-grid .card-title { grid-area: title; font-size: 14px; margin: 0; }
.like-grid .card-foot { grid-area: price; }
.like-grid .card-kicker,
.like-grid .card-actions,
.like-grid .badge,
.like-grid .card-excerpt { display: none; }
.like-grid .price { margin: 0; }
body[data-page="home"] .cat-tile { border: 0; background: transparent; padding: 0; }
body[data-page="home"] .cat-tile img {
  width: 128px;
  height: 128px;
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
}
body[data-page="home"] .cat-tile span { display: block; font-weight: 400; font-size: 14px; }
body[data-page="home"] .cat-tile:hover { border-color: transparent; color: #c60000; }
.home-main .services { padding: 16px 0 6px; }
.home-main .service strong { font-size: 14px; font-weight: 700; }
.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 4px 18px;
}
.brand-row span { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; color: #111; }
.blog-tease { display: block; }
.blog-tease img { width: 100%; height: 150px; object-fit: cover; margin-bottom: 8px; }
.blog-tease strong { display: block; font-size: 14px; line-height: 1.35; }
.blog-tease span, .blog-tease p { color: #777; font-size: 12px; margin-top: 4px; }
.home-side .ad-widget img, .shop-side .ad-widget img { width: 100%; height: auto; object-fit: cover; background: none; }
.shop-titlebar {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border: 1px solid #eee;
  padding: 8px 14px;
  margin: 0 0 12px;
}
.shop-titlebar h1 { font-size: 28px; font-weight: 500; }
.shop-titlebar .crumbs { margin: 0; }
.shop-side { display: flex; flex-direction: column; gap: 18px; }
.shop-side .filter .btn { width: 100%; background: #c60000; border-color: #c60000; }
.grid.is-list.plain-grid .card {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas: "media cat" "media title" "media excerpt" "media foot";
  text-align: left;
  position: static;
}
.grid.is-list.plain-grid .card-kicker { display: block; }
.grid.is-list.plain-grid .card-cat { grid-area: cat; }
.grid.is-list.plain-grid .card-title { grid-area: title; margin: 0 0 8px; text-align: left; }
.grid.is-list.plain-grid .card-media { grid-area: media; min-height: 160px; margin: 0; }
.grid.is-list.plain-grid .card-excerpt { display: block; grid-area: excerpt; }
.grid.is-list.plain-grid .card-foot { grid-area: foot; }
.grid.is-list.plain-grid .card-actions { display: flex; position: static; }
@media (min-width: 1025px) {
  body[data-page="shop"] .shop-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 220px;
    column-gap: 18px;
    align-items: start;
    width: min(1420px, calc(100% - 24px));
    margin: 16px auto 40px;
  }
  body[data-page="shop"] .shop-main .grid:not(.is-list) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}
.foot-top img { height: 32px; }
.foot-links a { font-weight: 400; color: #444; }
.site-footer .mini { border-bottom: 1px solid #f1f1f1; padding-bottom: 8px; }
@media (max-width: 760px) {
  .brand-row { justify-content: center; }
  .brand-row span { font-size: 22px; }
  .like-grid .card { grid-template-columns: 72px minmax(0, 1fr); }
}
body[data-page="home"] .cat-slider { position: relative; }
body[data-page="home"] .cat-slider .cat-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow: hidden;
  scroll-behavior: smooth;
}
body[data-page="home"] .cat-slider .cat-tile {
  flex: 0 0 calc(20% - 7px);
  min-width: 0;
  text-align: center;
}
body[data-page="home"] .cat-slider .cat-tile img {
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
}
.cat-arrow {
  position: absolute;
  top: 48px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cat-arrow.prev { left: 0; }
.cat-arrow.next { right: 0; }
@media (max-width: 1024px) {
  body[data-page="home"] .cat-slider .cat-tile { flex-basis: calc(33.333% - 6px); }
}
@media (max-width: 760px) {
  body[data-page="home"] .cat-slider .cat-tile { flex-basis: calc(50% - 4px); }
}
body[data-page="type"] details.side-acc > summary {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  cursor: pointer;
  list-style: none;
}
body[data-page="type"] details.side-acc > summary::-webkit-details-marker { display: none; }
body[data-page="type"] details.side-acc > summary::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #c60000;
  margin-top: 6px;
}
body[data-page="type"] .about-widget > a img { width: 100%; height: 210px; object-fit: cover; object-position: top; margin-bottom: 10px; }
body[data-page="type"] .shop-titlebar h1 { font-size: 21px; font-weight: 700; }
body[data-page="type"] .cat-list a.is-active { color: #c60000; font-weight: 700; }
body[data-page="type"] .catalog-empty { grid-column: 1 / -1; margin: 0; padding: 28px 8px; text-align: center; }
body[data-page="type"] .catalog-results { position: relative; min-height: 280px; }
body[data-page="type"] .catalog-loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 247, 248, 0.92);
}
body[data-page="type"] .catalog-loader[hidden] { display: none; }
body[data-page="type"] .catalog-loader .site-loader-mark { width: 120px; height: 120px; }
body[data-page="type"] .catalog-loader .site-loader-mark img { width: 92px; height: 92px; }
body[data-page="type"] .load-more-wrap { display: flex; justify-content: center; margin: 22px 0 8px; }
body[data-page="type"] .load-more-wrap .btn[hidden] { display: none; }
@media (min-width: 769px) {
  body[data-page="type"] .shop-main .grid:not(.is-list) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 768px) {
  body[data-page="type"] .shop-main .grid:not(.is-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (min-width: 991px) {
  body[data-page="type"] .shop-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 220px;
    column-gap: 18px;
    align-items: start;
    width: min(1420px, calc(100% - 24px));
    margin: 16px auto 40px;
  }
}
@media (max-width: 990px) {
  body[data-page="type"] .shop-layout {
    display: flex;
    flex-direction: column;
    width: min(1420px, calc(100% - 24px));
    margin: 12px auto 32px;
    gap: 8px;
  }
  body[data-page="type"] .shop-main { order: 1; }
  body[data-page="type"] .side-left { order: 2; }
  body[data-page="type"] .side-right { order: 3; }
  body[data-page="type"] .cat-box { display: none; }
  body[data-page="type"] details.side-acc > summary {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #eee;
  }
  body[data-page="type"] details.side-acc > summary::after {
    width: 0;
    height: 0;
    margin: 0 0 0 auto;
    background: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #222;
  }
  body[data-page="type"] details.side-acc[open] > summary::after {
    border-top: 0;
    border-bottom: 6px solid #222;
  }
  body[data-page="type"] details.side-acc[open] > :not(summary) { margin-top: 10px; }
  body[data-page="type"] .ad-widget img { max-width: 240px; }
}
@media (min-width: 1025px) {
  body[data-page="home"] .side-left .cat-box {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body[data-page="home"] .side-left .cat-box .cat-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c60000 #f3f3f3;
  }
}
@media (min-width: 991px) {
  body[data-page="type"] .side-left .cat-box {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body[data-page="type"] .side-left .cat-box .cat-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c60000 #f3f3f3;
  }
}
body[data-page="home"] .side-left .cat-box .cat-bar,
body[data-page="type"] .side-left .cat-box .cat-bar { flex: 0 0 auto; }
body[data-page="type"] .side-left .filter h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
body[data-page="type"] .side-left .filter h2::after {
  width: 70px;
  height: 3px;
  background: #c60000;
}
body[data-page="type"] .side-left .filter label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
}
body[data-page="type"] .finder {
  border: 1px solid #eee;
  background: #fff;
  padding: 14px 14px 4px;
}
body[data-page="type"] .finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111;
}
body[data-page="type"] .finder h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.04em;
}
body[data-page="type"] .finder h2::after { display: none; }
body[data-page="type"] .finder-reset {
  border: 0;
  background: none;
  color: #c60000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
body[data-page="type"] .finder-group { border-bottom: 1px solid #eee; }
body[data-page="type"] .finder-group[hidden],
body[data-page="type"] .finder-option[hidden] { display: none; }
body[data-page="type"] .finder-group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 2px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
body[data-page="type"] .finder-group > summary::-webkit-details-marker { display: none; }
body[data-page="type"] .finder-group > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(45deg);
}
body[data-page="type"] .finder-group[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
body[data-page="type"] .finder-body,
body[data-page="type"] .finder-price { padding: 0 2px 12px; }
body[data-page="type"] .finder-search {
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #e3e3e3;
  background: #fff;
  font-size: 13px;
}
body[data-page="type"] .finder-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: #222;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
body[data-page="type"] .finder-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #c60000;
}
body[data-page="type"] .finder-more {
  display: inline-flex;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #c60000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
body[data-page="type"] .finder-more.is-on { text-decoration: underline; }
body[data-page="type"] .finder-pop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-height: none;
  padding: 20px 24px;
  background: rgba(17, 17, 17, 0.45);
  border: 0;
  box-shadow: none;
}
body[data-page="type"] .finder-pop[hidden] { display: none; }
body[data-page="type"] .finder-pop-box {
  width: min(1180px, 100%);
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 14px 18px 16px;
}
body[data-page="type"] .finder-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
}
body[data-page="type"] .finder-pop-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  color: #222;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
body[data-page="type"] .finder-pop-search {
  width: 100%;
  margin: 0 0 10px;
  padding: 8px 12px;
  border: 1px solid #e3e3e3;
  background: #fff;
  font-size: 14px;
}
body[data-page="type"] .finder-pop-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 0 12px;
  overflow: visible;
  padding: 0;
}
body[data-page="type"] .finder-pop .finder-option {
  padding: 2px 0;
  font-size: 12px;
}
body[data-page="type"] .finder-pop-empty {
  margin: 8px 0 0;
  color: #666;
  font-size: 13px;
}
body[data-page="type"] .finder-pop-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
body[data-page="type"] .finder-pop-apply {
  min-width: 120px;
  background: #c60000;
  border-color: #c60000;
}
body[data-page="type"] .finder-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: end;
}
body[data-page="type"] .finder-price label {
  display: grid;
  gap: 4px;
  color: #666;
  font-size: 12px;
  font-weight: 600;
}
body[data-page="type"] .finder-price input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #e3e3e3;
  background: #fff;
}
body[data-page="type"] .finder-go {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 36px;
  padding: 0 14px;
  background: #c60000;
  border-color: #c60000;
}

body.is-loading { overflow: hidden; }
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f7f8;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader-mark {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
}
.site-loader-mark img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  animation: site-loader-pulse 1.5s ease-in-out infinite;
}
.site-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(10, 36, 114, 0.12);
  border-top-color: #0a2472;
  animation: site-loader-spin 0.9s linear infinite;
}
@keyframes site-loader-spin { to { transform: rotate(360deg); } }
@keyframes site-loader-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.94); }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader { transition: none; }
  .site-loader-mark img,
  .site-loader-ring { animation: none; }
}

body[data-page="product"] .shop-main { min-width: 0; }
body[data-page="product"] .page-head { padding: 0 0 16px; border: 0; }
body[data-page="product"] .crumbs { margin: 0; font-size: 12px; letter-spacing: 0.7px; line-height: 21px; color: #767676; }
body[data-page="product"] .crumbs a:hover { color: #c60000; }
body[data-page="product"] .product {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 4%;
  position: relative;
  padding: 15px 15px 8px;
  background: #fff;
}
body[data-page="product"] .gallery,
body[data-page="product"] .buybox { width: 48%; min-width: 0; }
body[data-page="product"] .gallery-stage { display: flex; align-items: flex-start; gap: 12px; }
body[data-page="product"] .thumbs { flex: 0 0 72px; flex-direction: column; margin-top: 0; gap: 10px; }
body[data-page="product"] .thumbs button { border: 1px solid #eee; background: #fff; padding: 4px; }
body[data-page="product"] .thumbs button.is-active { border-color: #c60000; }
body[data-page="product"] .thumbs img { width: 100%; height: 64px; object-fit: contain; }
body[data-page="product"] .gallery-main { flex: 1; min-height: 280px; background: transparent; position: relative; }
body[data-page="product"] .gallery-main img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
body[data-page="product"] .gallery-zoom { position: absolute; top: 4px; right: 6px; z-index: 2; color: #111; line-height: 0; }
body[data-page="product"] .buybox h1 { font-size: 21px; font-weight: 700; line-height: 28px; letter-spacing: 1px; color: #111; margin: 0 0 10px; }
body[data-page="product"] .buybox .price { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 21px; }
body[data-page="product"] .buybox .price span { color: #c60000; }
body[data-page="product"] .buybox .lead { color: #101010; font-size: 13px; line-height: 21px; letter-spacing: 0.7px; margin: 0; padding: 20px 0; }
body[data-page="product"] .buy-row { display: flex; align-items: center; flex-wrap: nowrap; gap: 0; margin: 0 0 20px; }
body[data-page="product"] .buybox .qty { border: 1px solid #a7a7a7; margin-right: 15px; flex: 0 0 auto; }
body[data-page="product"] .buybox .qty button,
body[data-page="product"] .buybox .qty input { width: 35px; height: 35px; color: #a7a7a7; background: transparent; font-size: 16px; }
body[data-page="product"] .buybox .qty input { border-left: 1px solid #a7a7a7; border-right: 1px solid #a7a7a7; }
body[data-page="product"] .buybox .btn { background: #c60000; border: 0; border-radius: 3px; color: #fff; max-width: 210px; flex: 2 1 auto; height: 36px; padding: 0 10px; font-size: 13px; font-weight: 700; }
body[data-page="product"] .buybox .btn:hover { background: #a40000; }
body[data-page="product"] .assist { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 16px; color: #111; font-size: 14px; font-weight: 700; line-height: 21px; }
body[data-page="product"] .assist a { display: inline-flex; align-items: center; gap: 6px; }
body[data-page="product"] .assist a:hover { color: #c60000; }
body[data-page="product"] .meta { color: #111; border-top: 1px solid #ebebeb; padding: 15px 0 0; margin: 0; font-size: 12px; line-height: 20px; }
body[data-page="product"] .meta a:hover { color: #c60000; }
body[data-page="product"] .detail-tabs { margin-top: 18px; }
body[data-page="product"] .detail-tabs .tablist { display: flex; justify-content: center; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; margin: 0; padding: 0; gap: 0; }
body[data-page="product"] .detail-tabs .tablist button { position: relative; margin: 0; padding: 14px 16px; border: 0; background: transparent; box-shadow: none; color: #a7a7a7; font-size: 13px; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; }
body[data-page="product"] .detail-tabs .tablist button.is-active,
body[data-page="product"] .detail-tabs .tablist button:hover { color: #111; font-weight: 700; box-shadow: none; }
body[data-page="product"] .detail-tabs .tablist button.is-active::after,
body[data-page="product"] .detail-tabs .tablist button:hover::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; border-bottom: 2px solid #c60000; }
body[data-page="product"] .detail-tabs .panel { padding: 15px 0 0; margin: 0 0 20px; }
body[data-page="product"] .detail-tabs .panel p { margin: 0 0 12px; color: #101010; font-size: 13px; line-height: 21px; }
body[data-page="product"] .detail-tabs h2 { font-size: 18px; line-height: 25px; color: #111; font-weight: 400; margin: 0 0 10px; }
body[data-page="product"] .detail-tabs h3 { font-size: 16px; font-weight: 600; margin: 16px 0 10px; }
body[data-page="product"] .detail-copy { margin: 0 0 8px; }
body[data-page="product"] .detail-copy > p:first-child { margin-top: 0; }
body[data-page="product"] .detail-copy h2,
body[data-page="product"] .detail-copy h3,
body[data-page="product"] .detail-copy h4,
body[data-page="product"] .spec-block h3 {
  margin: 18px 0 0;
  padding: 10px 14px;
  background: #f6f7f8;
  border: 1px solid #eee;
  border-left: 3px solid #c60000;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}
body[data-page="product"] .detail-copy h2 + ul,
body[data-page="product"] .detail-copy h2 + ol,
body[data-page="product"] .detail-copy h3 + ul,
body[data-page="product"] .detail-copy h3 + ol,
body[data-page="product"] .detail-copy h4 + ul,
body[data-page="product"] .detail-copy h4 + ol {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  border: 1px solid #eee;
  border-top: 0;
}
body[data-page="product"] .detail-copy li {
  padding: 9px 14px;
  border-bottom: 1px solid #eee;
  color: #222;
  font-size: 13px;
  line-height: 1.5;
}
body[data-page="product"] .detail-copy li:last-child { border-bottom: 0; }
body[data-page="product"] .detail-copy li strong {
  display: inline-block;
  min-width: 190px;
  margin-right: 12px;
  color: #666;
  font-weight: 600;
}
body[data-page="product"] .spec-block {
  margin: 16px 0 0;
  border: 1px solid #eee;
  background: #fff;
}
body[data-page="product"] .spec-block h3 { margin: 0; border-right: 0; border-top: 0; border-bottom: 1px solid #eee; }
body[data-page="product"] .spec-block .specs { margin: 0; }
body[data-page="product"] .spec-block .specs th,
body[data-page="product"] .spec-block .specs td { padding: 9px 14px; }
body[data-page="product"] .specs th { width: 220px; color: #666; font-weight: 600; }
@media (max-width: 640px) {
  body[data-page="product"] .detail-copy li strong,
  body[data-page="product"] .spec-block .specs th { display: block; min-width: 0; width: auto; margin: 0 0 2px; }
}
body[data-page="product"] .review-form .btn { background: #c60000; border: 0; border-radius: 3px; color: #fff; width: auto; justify-self: start; padding: 8px 18px; }
body[data-page="product"] .review-form .btn:hover { background: #a40000; }
body[data-page="product"] .review-form input,
body[data-page="product"] .review-form select,
body[data-page="product"] .review-form textarea { width: 100%; border: 1px solid #e5e5e5; padding: 8px 10px; background: #fff; }
body[data-page="product"] .related { margin-top: 6px; }
body[data-page="product"] .related .section-title { position: relative; display: inline-block; text-transform: none; font-size: 18px; font-weight: 400; letter-spacing: normal; line-height: 25px; color: #111; padding-bottom: 10px; margin: 15px 0 7px; }
body[data-page="product"] .related .section-title::after { width: 67%; height: 0; margin-top: 0; background: none; border-bottom: 3px solid #70b700; position: absolute; left: 0; bottom: -1px; }
body[data-page="product"] .related .card { border: 0; padding: 8px 6px 14px; }
body[data-page="product"] .related .card-title,
body[data-page="product"] .related .card-cat,
body[data-page="product"] .related .price { text-align: left; }
body[data-page="product"] .related .card-media { min-height: 150px; }
body[data-page="product"] .related .card-media img { height: 150px; }
body[data-page="product"] .related .btn-cart { background: #c60000; color: #fff; border: 0; border-radius: 30px; height: 32px; padding: 0 8px; }
body[data-page="product"] .related .btn-cart:hover { background: #a40000; color: #fff; }
body[data-page="product"] .related .btn-icon { border-radius: 50%; }
@media (min-width: 991px) {
  body[data-page="product"] .shop-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 220px;
    column-gap: 18px;
    align-items: start;
    width: min(1420px, calc(100% - 24px));
    margin: 16px auto 40px;
  }
  body[data-page="product"] .side-left .cat-box .cat-list { max-height: 460px; overflow-y: auto; }
  body[data-page="product"] .review-form { max-width: 60%; }
  body[data-page="product"] .related .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 990px) {
  body[data-page="product"] .shop-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(1420px, calc(100% - 24px));
    margin: 12px auto 32px;
  }
  body[data-page="product"] .shop-main { order: 1; }
  body[data-page="product"] .side-left { order: 2; }
  body[data-page="product"] .side-right { order: 3; }
  body[data-page="product"] .cat-box { display: none; }
  body[data-page="product"] .related .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 768px) {
  body[data-page="product"] .gallery,
  body[data-page="product"] .buybox { width: 100%; }
  body[data-page="product"] .product { padding: 8px; gap: 8px 0; }
  body[data-page="product"] .gallery-stage { flex-direction: column; }
  body[data-page="product"] .gallery-main { order: 1; width: 100%; }
  body[data-page="product"] .thumbs { order: 2; flex: none; flex-direction: row; width: 100%; }
  body[data-page="product"] .thumbs button { width: 72px; }
  body[data-page="product"] .buybox h1 { font-size: 20px; line-height: 26px; }
  body[data-page="product"] .related .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="product"] .detail-tabs .tablist { justify-content: flex-start; }
}
@media (max-width: 420px) {
  body[data-page="product"] .buy-row { flex-wrap: wrap; gap: 10px; }
  body[data-page="product"] .buybox .btn { max-width: none; width: 100%; }
}
