/* SM DOLL storefront. Font and accent settings remain editable in the CMS. */
html[data-theme="discover"] {
  --bg:#fff;
  --surface:#fff;
  --surface-2:#f7f4f6;
  --text:#302a31;
  --muted:#706871;
  --line:#e7e1e5;
  --header:#fff;
  --radius:5px;
  --max:1400px;
  --shadow:0 6px 24px #35223510;
}
html[data-theme="discover"][data-color="plum"] {
  --accent:#784760;
  --accent-hover:#60364b;
  --accent-soft:#f7eff3;
}
.theme-discover h1,.theme-discover h2,.theme-discover h3 { letter-spacing:-.025em; }
.theme-discover .brand { letter-spacing:-1px; }
.brand-symbol-smdoll { transform:none; }
.theme-discover .site-header { border-top:3px solid var(--accent); }
.theme-discover .header-inner { min-height:72px; padding-block:12px; gap:24px; max-width:1448px; }
.theme-discover .header-inner .brand { font-size:24px; }
.theme-discover .header-search { max-width:620px; box-shadow:none; border-color:#cfc5cc; }
.theme-discover .header-search input { font-size:15px; }
.theme-discover .header-tools { gap:7px; }
.theme-discover .header-nav-row { width:calc(100% - var(--gutter)*2); border-top:1px solid var(--line); }
.theme-discover .desktop-nav { gap:25px; }
.theme-discover .desktop-nav a { min-height:42px; padding-block:10px; font-size:14px; }
.theme-discover .nav-caption { display:flex; gap:6px; align-items:center; font-size:13px; }
.theme-discover .nav-caption .icon { width:14px; height:14px; }
.dropdown-panel { max-height:min(68vh,520px); overflow-y:auto; overscroll-behavior:contain; }
.theme-discover .site-footer { background:#faf8f9; }
.theme-discover .footer-top { padding-block:28px; }
.theme-discover .footer-top h3 { font-size:15px; }
.theme-discover .footer-brand>p { font-size:14px; }

.sm-home { padding-block:20px 28px; }
.sm-hero { display:grid; grid-template-columns:minmax(260px,.9fr) minmax(0,1.6fr); align-items:stretch; gap:28px; min-height:248px; padding:20px; background:#faf7f9; border:1px solid var(--line); border-radius:7px; }
.sm-hero-copy { min-width:0; align-self:center; padding:8px 6px 8px 4px; }
.sm-kicker { display:flex; flex-wrap:wrap; align-items:center; gap:7px; color:var(--accent); font-size:12px; line-height:1.5; font-weight:700; letter-spacing:.045em; }
.sm-kicker>span { color:#b4a4ad; }
.sm-hero h1 { max-width:20ch; margin-top:9px; font-size:32px; line-height:1.13; font-weight:700; }
.sm-hero-intro { max-width:56ch; margin-top:12px; color:#6d626b; font-size:15px; line-height:1.6; }
.sm-hero-actions { display:flex; flex-wrap:wrap; gap:10px 18px; align-items:center; margin-top:18px; }
.sm-hero-actions .button { min-height:42px; padding:9px 13px; font-size:14px; }
.sm-editor-picks { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; min-width:0; }
.sm-highlight { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid var(--line); border-radius:5px; background:white; }
.sm-highlight img { width:100%; height:210px; object-fit:cover; object-position:center 25%; transition:opacity .15s; }
.sm-highlight:hover img { opacity:.9; }
.sm-highlight>span { display:flex; justify-content:space-between; gap:8px; align-items:center; min-height:45px; padding:8px; font-size:13px; font-weight:600; line-height:1.4; }
.sm-highlight>span .icon { width:14px; height:14px; }
.sm-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--line); margin-top:15px; }
.sm-step { display:flex; align-items:flex-start; gap:12px; min-width:0; padding:15px 18px; }
.sm-step:first-child { padding-left:0; }
.sm-step+.sm-step { border-left:1px solid var(--line); }
.sm-step-index { display:flex; align-items:center; justify-content:center; flex:none; width:25px; height:25px; border:1px solid #c8b0bd; border-radius:50%; color:var(--accent); font-size:12px; font-weight:700; }
.sm-step h2 { margin-top:2px; font-size:15px; line-height:1.4; }
.sm-step p { margin-top:3px; color:var(--muted); font-size:13px; line-height:1.5; }
.sm-home-section { margin-top:26px; }
.sm-section-head { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:7px 20px; margin-bottom:12px; }
.sm-section-head h2 { font-size:24px; line-height:1.3; }
.sm-section-head .text-link { font-size:13px; }
.sm-category-row { display:flex; flex-wrap:nowrap; gap:7px; overflow-x:auto; scrollbar-width:thin; padding-bottom:6px; margin-bottom:9px; }
.sm-category-row a { flex:none; padding:6px 11px; border:1px solid var(--line); border-radius:4px; font-size:13px; line-height:1.4; }
.sm-category-row a.active { background:var(--accent-soft); color:var(--accent); border-color:#d5bdc9; }
.sm-category-row a:hover { color:var(--accent); border-color:var(--accent); }
.theme-discover .product-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:19px 12px; }
.theme-discover .product-card { min-width:0; border:0; border-radius:0; background:white; }
.theme-discover .product-card .product-image { aspect-ratio:4/5; border:1px solid var(--line); border-radius:5px; background:#f4f1f3; overflow:hidden; }
.theme-discover .product-card .product-image img { object-fit:cover; object-position:center 25%; width:100%; height:100%; }
.theme-discover .product-card-body { padding:9px 1px 0; }
.theme-discover .product-category { color:var(--muted); font-size:11px; font-weight:600; text-transform:none; letter-spacing:.015em; }
.theme-discover .product-card h3 { margin-top:4px; font-size:15px; line-height:1.4; font-weight:600; }
.theme-discover .product-card h3 a:hover { color:var(--accent); }
.theme-discover .product-card-body>p { font-size:13px; line-height:1.45; margin-top:5px; -webkit-line-clamp:2; }
.theme-discover .product-card-bottom { padding-top:8px; align-items:start; gap:4px; flex-wrap:wrap; }
.theme-discover .product-card-bottom a { font-size:12px; }
.theme-discover .card-price { font-size:15px; line-height:1.4; font-weight:650; }
.theme-discover .card-availability { font-size:12px; color:var(--muted); }
.theme-discover .card-specs { display:flex; flex-wrap:wrap; gap:4px; margin-top:5px; }
.theme-discover .card-specs>span { padding:2px 5px; background:#f7f4f5; border-radius:3px; font-size:11px; color:#71616a; }
.theme-discover .product-badge { top:8px; left:8px; border-radius:3px; padding:3px 6px; color:var(--accent); background:#fff7fb; font-size:10px; }
.theme-discover .card-offer-link { margin-top:5px; font-size:12px; }
.theme-discover .article-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px 14px; }
.theme-discover .sm-guide-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.sm-guide-grid .article-card { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:start; gap:11px; padding:11px; border:1px solid var(--line); border-radius:5px; }
.sm-guide-grid .article-image { aspect-ratio:1; min-width:0; border-radius:3px; }
.sm-guide-grid .article-image>span { display:none; }
.sm-guide-grid .article-card-body { min-width:0; padding:0; }
.sm-guide-grid .article-meta { font-size:10px; gap:6px; flex-wrap:wrap; }
.sm-guide-grid .article-card h3 { margin-top:4px; font-size:15px; line-height:1.4; }
.sm-guide-grid .article-card p { font-size:13px; line-height:1.5; margin-top:5px; -webkit-line-clamp:2; }
.sm-guide-grid .text-link { font-size:12px; margin-top:7px; }
.sm-home-community { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr); gap:24px; margin-top:25px; padding:22px 24px; border:1px solid var(--line); border-radius:5px; background:#faf7f9; }
.sm-home-community h2 { margin-top:6px; font-size:25px; }
.sm-home-community p:not(.sm-kicker) { max-width:70ch; margin-top:7px; font-size:14px; color:var(--muted); }
.sm-community-actions { align-self:center; }
.sm-community-actions>div { display:flex; flex-wrap:wrap; gap:5px 16px; margin-top:9px; }
.sm-community-actions>div a { color:var(--accent); font-size:12px; }
.sm-community-actions>div a:hover { text-decoration:underline; }
.theme-discover .page-intro { max-width:800px; }
.theme-discover .page-intro h1 { font-size:30px; }
.theme-discover .listing-page { padding-top:23px; }
.theme-discover .listing-filters { margin-top:20px; }
.theme-discover .product-detail { grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:32px; margin-top:20px; }
.theme-discover .product-information h1 { font-size:29px; }
.theme-discover .main-product-image { aspect-ratio:4/5; max-height:650px; }
.theme-discover .product-facts { margin-top:18px; }
.theme-discover .product-facts>div { padding:8px 0; font-size:14px; }
.theme-discover .product-description { grid-template-columns:180px minmax(0,1fr); gap:30px; padding-block:24px; }
.theme-discover .prose { font-size:16px; line-height:1.75; }
.theme-discover .prose h2 { font-size:23px; }
.theme-discover .article-heading h1 { font-size:32px; }
.theme-discover .article-heading>p { font-size:17px; }
.theme-discover .section { padding-top:28px; }
.theme-discover .section-heading h2 { font-size:24px; }
@media (max-width:1180px) {
  .theme-discover .product-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .theme-discover .header-inner { gap:16px; }
  .sm-hero { gap:18px; grid-template-columns:minmax(240px,.95fr) minmax(0,1.5fr); padding:16px; }
  .sm-highlight img { height:190px; }
  .sm-guide-grid .article-card { grid-template-columns:85px minmax(0,1fr); }
}
@media (max-width:980px) {
  .theme-discover .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .theme-discover .article-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .theme-discover .sm-guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sm-hero { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); }
  .sm-editor-picks { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sm-highlight-3 { display:none; }
  .sm-hero h1 { font-size:30px; }
  .sm-step { padding:12px; gap:8px; }
  .sm-step:first-child { padding-left:0; }
}
@media (max-width:720px) {
  .theme-discover .header-inner { min-height:62px; padding-block:10px; gap:9px; }
  .theme-discover .header-inner .brand { font-size:22px; }
  .theme-discover .nav-caption { display:none; }
  .theme-discover .header-tools { gap:0; }
  .sm-member-link { display:none; }
  .sm-home { padding-top:12px; }
  .sm-hero { grid-template-columns:1fr; padding:14px; gap:16px; }
  .sm-hero-copy { padding:0; }
  .sm-hero h1 { max-width:none; margin-top:8px; font-size:29px; }
  .sm-hero-intro { font-size:15px; margin-top:9px; }
  .sm-hero-actions { margin-top:12px; }
  .sm-editor-picks { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
  .sm-highlight-3 { display:flex; }
  .sm-highlight img { height:145px; }
  .sm-highlight>span { display:block; font-size:11px; line-height:1.4; padding:6px; min-height:42px; }
  .sm-highlight>span .icon { display:none; }
  .sm-steps { margin-top:12px; }
  .sm-step { display:block; padding:10px 8px; }
  .sm-step:first-child { padding-left:0; }
  .sm-step-index { width:21px; height:21px; font-size:11px; margin-bottom:5px; }
  .sm-step h2 { font-size:12px; }
  .sm-step p { display:none; }
  .sm-home-section { margin-top:21px; }
  .sm-section-head h2 { font-size:22px; }
  .sm-section-head .text-link { font-size:12px; }
  .theme-discover .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px 10px; }
  .theme-discover .product-card h3 { font-size:15px; }
  .theme-discover .product-card-body>p { display:none; }
  .theme-discover .article-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .theme-discover .sm-guide-grid { grid-template-columns:1fr; }
  .sm-guide-grid .article-card { grid-template-columns:92px minmax(0,1fr); }
  .sm-home-community { grid-template-columns:1fr; gap:14px; padding:16px; }
  .sm-home-community h2 { font-size:23px; }
  .sm-home-community .button { font-size:14px; }
  .theme-discover .product-detail { grid-template-columns:1fr; gap:24px; }
  .theme-discover .product-information h1 { font-size:27px; }
  .theme-discover .main-product-image { aspect-ratio:4/5; max-height:540px; }
  .theme-discover .product-description { grid-template-columns:1fr; gap:15px; }
  .theme-discover .article-heading h1 { font-size:29px; }
  .theme-discover .article-heading>p { font-size:16px; }
}
@media (max-width:360px) {
  .sm-hero { padding:11px; }
  .sm-hero h1 { font-size:27px; }
  .sm-highlight img { height:115px; }
  .sm-section-head h2 { font-size:21px; }
  .theme-discover .product-card h3 { font-size:14px; }
  .sm-community-actions .button { width:100%; }
}
.theme-discover .product-card h3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.theme-discover .product-card-bottom a { display:inline-flex; align-items:center; min-height:32px; }
@media (max-width:699px) {
  .theme-discover .mobile-nav>a { font-size:14px; line-height:1.4; overflow-wrap:anywhere; }
  .theme-discover .bottom-nav>a { line-height:1.25; }
  .theme-discover .bottom-nav a span { text-align:center; max-width:100%; }
}
