:root {
  --bg: #f4ece3;
  --ink: #1c1410;
  --muted: #6b5346;
  --paper: #fffaf4;
  --line: #e5d3c3;
  --accent: #c45c26;
  --accent-2: #7a2e14;
  --hero: #2a1610;
  --hero-ink: #fff4ea;
  --shadow: 0 14px 32px rgba(60, 28, 12, 0.08);
  --sans: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Fraunces", "Songti SC", serif;
  --radius: 16px;
}

body.skin-quicksurf {
  --bg: #eef6f4;
  --ink: #0b1f2a;
  --muted: #4d6a70;
  --paper: #f7fffd;
  --line: #c9e3de;
  --accent: #0b7a75;
  --accent-2: #083d44;
  --hero: #06262c;
  --hero-ink: #e8fffb;
  --shadow: 0 14px 32px rgba(8, 40, 44, 0.1);
  --sans: "Sora", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.ds-skip { position: absolute; left: -999px; }
.ds-skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; }

.ds-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.ds-top-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.ds-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.ds-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 30% 30%, #fff6 0 20%, transparent 21%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
}
.ds-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.ds-brand-text strong { font-size: 18px; }
.ds-brand-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.ds-search {
  display: flex;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.ds-search input[type="search"] {
  flex: 1;
  border: 0;
  padding: 10px 16px;
  font: inherit;
  background: transparent;
  outline: none;
}
.ds-search button {
  border: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
}
.ds-search-cat {
  display: none;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-size: 13px;
  max-width: 128px;
  padding: 0 8px;
}
.ds-search.is-assisted .ds-search-cat { display: block; }

.ds-tools { display: flex; align-items: center; gap: 12px; }
.ds-tool { text-decoration: none; font-size: 14px; color: var(--muted); }
.ds-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}
.ds-cart-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
}
.ds-compact-line { height: 0; margin: 0; }
.ds-cart-icon { display: none; }
.ds-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 8px 12px;
}

.ds-catbar { border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.ds-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px 10px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
}
.ds-nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.ds-nav a { text-decoration: none; font-weight: 600; font-size: 17px; }
.ds-nav a:hover { color: var(--accent); }
.ds-cats { padding-left: 8px; border-left: 1px solid var(--line); }
.ds-cats a { font-weight: 500; color: var(--muted); }

.ds-hero {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 36px 28px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 92% 8%, color-mix(in srgb, var(--accent) 36%, transparent), transparent 42%),
    var(--hero);
  color: var(--hero-ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  overflow: hidden;
}
.ds-kicker {
  letter-spacing: 0.18em;
  font-size: 12px;
  margin: 0 0 10px;
  opacity: 0.75;
}
.ds-hero h1, .ds-page-head h1, .ds-section-head h2, .ds-article h1 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.ds-hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 14px; }
.ds-lead { max-width: 38em; color: color-mix(in srgb, var(--hero-ink) 78%, transparent); }
.ds-page-head .ds-lead { color: var(--muted); }
.ds-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.ds-btn-primary { background: var(--accent); color: #fff; }
.ds-btn-ghost { border: 1px solid color-mix(in srgb, var(--hero-ink) 35%, transparent); color: var(--hero-ink); }
.ds-btn-block { width: 100%; margin-top: 10px; font-size: 14px; padding: 9px 14px; }

.ds-hero-stage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 280px;
}
.ds-hero-shot {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: color-mix(in srgb, #fff 10%, transparent);
  text-decoration: none;
  color: #fff;
}
.ds-hero-shot.is-main { grid-row: 1 / span 2; }
.ds-hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.ds-hero-shot span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  font-size: 13px;
  font-weight: 600;
}
.ds-hero-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  border: 1px dashed color-mix(in srgb, var(--hero-ink) 30%, transparent);
  border-radius: 16px;
  color: color-mix(in srgb, var(--hero-ink) 70%, transparent);
}

.ds-strip {
  max-width: 1180px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 20px;
}
.ds-strip article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.ds-strip b { display: block; margin-bottom: 4px; }
.ds-strip span { color: var(--muted); font-size: 14px; }

.ds-section, .ds-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px;
}
.ds-page-narrow { max-width: 820px; }
.ds-section-head, .ds-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.ds-section-head h2 { font-size: 30px; margin: 0; }
.ds-section-head a { font-weight: 700; color: var(--accent); text-decoration: none; }
.ds-page-head { display: block; }
.ds-page-head h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 8px; }

.ds-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ds-cat-tile {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.ds-cat-media {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 70%, var(--line));
}
.ds-cat-media img { width: 100%; height: 100%; object-fit: cover; }
.ds-cat-tile strong { display: block; }
.ds-cat-tile span { color: var(--muted); font-size: 13px; }
.ds-cats-grid.is-collapsed .ds-cat-tile:nth-child(n + 9) { display: none; }
.ds-cats-tools {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.ds-cats-tools button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: inherit;
  border-radius: 999px;
  padding: 6px 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.ds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ds-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.ds-card-media {
  position: relative;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--bg) 70%, var(--line));
  overflow: hidden;
  text-decoration: none;
}
.ds-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ds-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
}
.ds-card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.ds-card-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  min-height: 2.7em;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ds-card-body h3 a { text-decoration: none; }
.ds-price { margin: 8px 0 0; min-height: 1.4em; color: var(--accent-2); font-weight: 700; }
.ds-card-body .ds-btn { margin-top: 12px; }
.ds-ph {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-weight: 700;
}

.ds-banners {
  max-width: 1180px;
  margin: 0 auto 8px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ds-banner {
  display: block;
  text-decoration: none;
  background: var(--hero);
  color: var(--hero-ink);
  border-radius: 20px;
  padding: 28px;
}
.ds-banner-alt { background: color-mix(in srgb, var(--accent-2) 88%, #000); }
.ds-banner em { display: block; letter-spacing: 0.14em; font-size: 12px; opacity: .75; }
.ds-banner strong { display: block; font-family: var(--serif); font-size: 28px; margin: 8px 0; }

.ds-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ds-post-card, .ds-post-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.ds-post-card time, .ds-post-row time { color: var(--muted); font-size: 13px; }
.ds-post-card h3, .ds-post-row h2 { margin: 8px 0; font-family: var(--serif); }
.ds-post-card a, .ds-post-row a { text-decoration: none; }
.ds-more { font-weight: 700; color: var(--accent); text-decoration: none; }
.ds-blog { display: grid; grid-template-columns: 1fr 280px; gap: 22px; }
.ds-post-row { margin-bottom: 14px; }
.ds-empty {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 28px;
  color: var(--muted);
}
.ds-prose { font-size: 17px; }
.ds-prose p { margin: 0 0 1em; }
.ds-widget { margin-bottom: 18px; }
.ds-widget-title { font-family: var(--serif); }

.ds-foot {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  background: color-mix(in srgb, var(--paper) 70%, var(--bg));
}
.ds-foot-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 12px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.ds-foot h3 { margin: 0 0 10px; font-size: 15px; }
.ds-foot p { color: var(--muted); }
.ds-foot ul { list-style: none; padding: 0; margin: 0; }
.ds-foot li { margin: 0 0 8px; }
.ds-foot a { text-decoration: none; color: var(--muted); }
.ds-foot a:hover { color: var(--accent); }
.ds-copy {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px 28px;
  font-size: 13px;
  color: var(--muted);
}

.ds-woo .woocommerce-products-header__title,
.ds-woo .product_title { font-family: var(--serif); }
.ds-woo ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.ds-woo ul.products::before,
.ds-woo ul.products::after {
  content: none !important;
  display: none !important;
}
.ds-woo .woocommerce-pagination.is-loading {
  opacity: 0.45;
}
.ds-woo ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  display: flex !important;
  flex-direction: column;
  height: 100%;
}
.ds-woo ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.ds-woo ul.products li.product img {
  border-radius: 12px;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  object-fit: cover;
}
.ds-woo ul.products li.product .woocommerce-loop-product__title {
  margin: 10px 0 0;
  min-height: 2.7em;
  max-height: 2.7em;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ds-woo ul.products li.product .price {
  display: block !important;
  float: none !important;
  clear: both;
  margin: 8px 0 0 !important;
  min-height: 1.4em;
}
.ds-woo ul.products li.product .button {
  float: none !important;
  display: block !important;
  width: 100%;
  clear: both;
  margin: 12px 0 0 !important;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
}
.ds-woo ul.products li.product a.added_to_cart {
  display: none !important;
}
.ds-woo a.ds-soldout,
.ds-woo button.ds-soldout {
  background: #d7ddd9 !important;
  color: #5c6b66 !important;
}
.ds-cart-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #9a4d3c;
}
.ds-woo .button,
.ds-woo button.button,
.ds-woo input.button,
.ds-woo .single_add_to_cart_button {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 0 !important;
}
.ds-woo .price { color: var(--accent-2); font-weight: 700; }
.ds-woo div.product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.ds-woo .woocommerce-product-gallery {
  opacity: 1 !important;
}
.ds-woo .woocommerce-product-gallery__wrapper img,
.ds-woo .woocommerce-product-gallery .flex-viewport img {
  width: 100%;
  border-radius: 16px;
}
.ds-woo .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0 !important;
  padding: 0;
  list-style: none;
}
.ds-woo .flex-control-thumbs li {
  float: none !important;
  flex: 1 1 calc((100% - 32px) / 5);
  width: calc((100% - 32px) / 5) !important;
  max-width: calc((100% - 32px) / 5);
  height: auto;
  aspect-ratio: 1;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.ds-woo .flex-control-thumbs li img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  cursor: pointer;
}
.ds-woo .flex-control-thumbs li:has(img.flex-active) {
  border-color: var(--accent);
}
.ds-woo .woocommerce-message,
.ds-woo .woocommerce-info {
  border-top-color: var(--accent);
  background: var(--paper);
}

@media (max-width: 960px) {
  .ds-hero, .ds-grid, .ds-posts, .ds-strip, .ds-blog, .ds-woo ul.products,
  .ds-cats-grid, .ds-banners, .ds-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ds-hero { grid-template-columns: 1fr; }
  .ds-top-inner { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 720px) {
  .ds-top { position: static; }
  .ds-top.is-compact {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  .ds-top-inner { grid-template-columns: 1fr auto auto; }
  .ds-search { display: flex; grid-column: 1 / -1; max-width: none; }
  .ds-nav-toggle { display: inline-flex; justify-self: start; }
  .ds-tools { grid-column: 3; justify-self: end; }
  .ds-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 14px;
  }
  .ds-nav.is-open { display: flex; }
  .ds-nav ul { flex-direction: column; }
  .ds-cats { border-left: 0; padding-left: 0; }
  .ds-grid, .ds-posts, .ds-strip, .ds-blog, .ds-woo ul.products,
  .ds-cats-grid, .ds-banners, .ds-foot-grid, .ds-hero-stage {
    grid-template-columns: 1fr;
  }
  .ds-hero-shot.is-main { grid-row: auto; }
  .ds-tool { display: none; }
  .ds-top.is-compact .ds-top-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }
  .ds-top.is-compact .ds-brand-text em { display: none; }
  .ds-top.is-compact .ds-search {
    grid-column: auto;
    justify-self: end;
    width: 168px;
    max-width: none;
    margin: 0 0 0 auto;
    border-radius: 8px;
  }
  .ds-top.is-compact .ds-search input[type="search"] {
    min-width: 0;
    width: 0;
    padding: 6px 8px;
    font-size: 12px;
  }
  .ds-top.is-compact .ds-search button {
    padding: 6px 10px;
    font-size: 12px;
  }
  .ds-top.is-compact .ds-search-cat { display: none; }
  .ds-top.is-compact .ds-nav-toggle { display: none; }
  .ds-top.is-compact .ds-tools {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .ds-top.is-compact .ds-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    padding: 0 16px 10px;
    scrollbar-width: none;
  }
  .ds-top.is-compact .ds-nav::-webkit-scrollbar { display: none; }
  .ds-top.is-compact .ds-cats { display: none; }
  .ds-top.is-compact .ds-nav > .menu {
    display: flex;
    flex-direction: row;
    gap: 18px;
  }
  .ds-top.is-compact .ds-nav > .menu a {
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }
  .ds-top.is-compact .ds-nav > .menu .current-menu-item > a,
  .ds-top.is-compact .ds-nav > .menu .current_page_item > a {
    color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--accent);
  }
  .ds-shop-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 12px;
  }
  .ds-shop-tools .woocommerce-result-count,
  .ds-shop-tools .woocommerce-ordering {
    float: none;
    margin: 0;
  }
  .ds-shop-tools .woocommerce-result-count {
    flex: 1;
    min-width: 0;
    font-size: 13px;
  }
  .ds-shop-tools .woocommerce-ordering select {
    max-width: 42vw;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 13px;
    padding: 4px 8px;
  }
  .ds-top.is-compact .ds-shop-tools {
    margin: 0;
    padding: 8px 16px 10px;
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  }
  .ds-top.is-compact .ds-cart-icon { display: block; }
  .ds-top.is-compact .ds-cart-label { display: none; }
  .ds-top.is-compact .ds-cart {
    position: fixed;
    right: 14px;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 14px;
    justify-content: center;
    gap: 0;
    z-index: 30;
    touch-action: none;
    box-shadow: var(--shadow);
  }
  .ds-top.is-compact .ds-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
  }
}

.ds-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #1f8f4e;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.ds-wa:hover { color: #fff; }
