/* RW4D editorial marketplace skin — adapted from the user-provided ZIP's responsive layout. */
:root{
  --wine:#340d22;--wine2:#5e1630;--red:#a81e39;--reddeep:#721729;
  --orange:#ce6834;--gold:#e9ad43;--pale:#fff9ed;--cream:#fffdfa;
  --ink:#2d2330;--mute:#655b67;--stroke:#eadfe4;
  --shadow:0 13px 38px rgba(62,20,40,.09);--footer-h:81px
}
body{background:linear-gradient(180deg,#f9eef1 0,#fff9f7 600px,#fffefd 1450px);color:var(--ink)}
a:hover{color:#981d3d}
.notice-top{background:#2b0b1a;color:#fce7d1;border-bottom:1px solid #7c2743}
.notice-top a{color:#ffe0a3}
.site-header{background:#fff;box-shadow:0 5px 22px #621a3010}
.header-primary{grid-template-columns:186px minmax(170px,1fr) auto}
.brand{width:186px}.brand img{width:173px;max-height:76px;object-fit:contain}
.site-search{background:#fcf9f8;border-color:#ead9dc}.site-search span{color:#a34964}
.site-search button{background:linear-gradient(115deg,#6b1835,#8b2846)}.site-search button:hover{background:#a52349}
.button-red{background:linear-gradient(135deg,#b4274b,#651831);box-shadow:0 5px 15px #781b4035;color:#fff}
.button-red:hover{background:#981e40;color:#fff}
.button-gold{background:linear-gradient(140deg,#ffe9a5,#f3c164,#e7a53a);color:#3a1924;border-color:#e8b650}
.button-gold:hover{background:#ffe5a0;color:#3a1924}
.button-outline{border-color:#d9b8c2;color:#70213d;background:#fff}
.button-outline:hover{background:#fdf0f4}
.button-soft{background:#fff2e5;border-color:#efdbcf;color:#742f39}
.main-nav{background:#fff;border-color:#f2e8ec}
.nav-inner{gap:23px}
.nav-inner a{color:#5c4652}
.nav-inner a:hover,.nav-inner a[aria-current=page]{color:#9b1f3e}
.nav-inner a[aria-current=page]::after{background:#d9a345;height:3px}
.ticker{background:linear-gradient(100deg,#4b0f27,#9c1c3d,#4b0f27);color:#fff6e8}
.ticker strong{color:#ffd27b}
.category-rail{background:linear-gradient(90deg,#371128,#5b1836);box-shadow:0 7px 21px #4f153026;overflow:hidden}
.category-rail-inner{display:flex;align-items:center;gap:9px;min-height:56px;overflow-x:auto;scrollbar-width:thin}
.rail-title{letter-spacing:.11em;color:#edc3cb;font-size:.7rem;font-weight:950;margin-right:9px;white-space:nowrap}
.category-rail a{font-size:.83rem;font-weight:800;white-space:nowrap;border:1px solid #ffffff24;background:#ffffff0b;border-radius:99px;padding:7px 13px;color:#fff4f6}
.category-rail a:hover{color:#ffe4aa;background:#ffffff20}
.crumb,.crumb a{color:#88526b}.eyebrow{color:#912448}.section-head>a{color:#9d2545}
.card{border:1px solid #e7d9de;box-shadow:var(--shadow);border-radius:20px}
.hero-shop{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:22px}
.hero-shop>.gallery{order:2}.hero-shop>.shop-details{order:1}
.gallery{background:linear-gradient(160deg,#fff,#fff4f5);padding:17px}
.gallery-main{background:radial-gradient(circle,#fff,#f7e8ed);border:1px solid #edd6df}
.gallery-main img{object-fit:contain}
.thumb{border-color:#ddc3ce;background:#fff}.thumb:hover,.thumb[aria-pressed=true]{border-color:#bf4561;box-shadow:0 0 0 1px #c64b66}
.shop-details{background:radial-gradient(ellipse at 100% 0%,#fff6f4,#fff 60%);padding:32px 32px 25px}
.shop-details h1{color:#54142d;font-size:clamp(1.9rem,2.9vw,3rem)}
.shop-details .lead{color:#63515b}
.shop-meta{border-color:#efdee3}.shop-meta strong{color:#582740}
.shop-note{background:#fff8eb;border-color:#eed7af;color:#6f5554}
.tag{background:#fff5dd;color:#835615;border-color:#f0daa6}
.highlight{background:#fff}.hi-icon{background:linear-gradient(140deg,#fff0dd,#ffe4e8)}
.feature-card .cover{background:#fbebef;border-color:#edd9e2}.feature-card .cover img{object-fit:contain}
.feature-card .inside p,.blog-card p{color:#635b66}
.mini-btn{border-color:#e4ccd3;color:#83243c;background:#fff}
.mini-btn:hover{background:#fff0f4}.mini-btn.fill{background:#8a2443;border-color:#8a2443;color:#fff}
.mini-btn.fill:hover{background:#b3284f;color:#fff}
.hero-page{background:linear-gradient(120deg,#ffffff 30%,#fff0f1);border-left:5px solid #e2a448}
.hero-page p,.article-main p{color:#544956}
.hero-page .page-visual,.content-banner{background:#fff5f5;border-color:#ecd8df}
.article-main h2{color:#52223b;border-color:#eadfe3}.article-main ul{color:#645661}
.side-panel a{color:#742645}.side-panel a:hover{color:#b53555}
.callout,.empty{background:#fff8eb;border-color:#d6a24f;color:#6a4b4e}
.section-band{background:radial-gradient(ellipse at 100% 20%,#92294a,#300c23 76%);border:1px solid #a35468;box-shadow:0 18px 36px #5613292b}
.section-band h2{color:#fff}.section-band p{color:#ffe5ea}
.section-band .button-outline{background:transparent;border-color:#edc6c6;color:#fff}
.section-band .button-outline:hover{background:#ffffff18}
.site-footer{background:#290d20;color:#fdf1f4;border-top:4px solid #dbad58}
.footer-grid p{color:#d4bac8}.footer-links a{color:#f0dfe6}.footer-links a:hover{color:#ffe1ac}
.footer-links{list-style:none;padding-left:0}
.site-footer .button-gold{margin-top:13px}.small-note{margin-top:14px}
.bottom-dock{background:linear-gradient(120deg,#230a19,#681a39,#250c1d);border-top:2px solid #e2af56;box-shadow:0 -8px 27px #350e2855}
.dock-inner{grid-template-columns:repeat(6,minmax(0,1fr));max-width:930px;gap:4px}
.dock-link{color:#fff3f6}.dock-link:hover{color:#fff0bc;background:#ffffff16}
.dock-link.cta{color:#351d15;background:linear-gradient(140deg,#ffe69a,#eeb54d)}.dock-link.cta:hover{color:#351d15;background:#ffdc85}
.compare-tray{border-color:#ecd0d9;box-shadow:0 12px 36px #40152a44}
.compare-list .item{border-color:#efd7de}.compare-list .item strong{color:#7c2241}
.list-toolbar input{border-color:#dfc7d0}.list-toolbar input:focus{border-color:#b0335c}
.status{color:#806676}
.topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.topic-card{padding:21px 19px;display:flex;flex-direction:column;min-width:0;transition:transform .18s,box-shadow .18s}
.topic-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #5d183123;color:inherit}
.topic-icon{font-size:1.9rem;line-height:1.2;margin-bottom:12px}
.topic-card h3{font-size:1.09rem;margin-bottom:7px;color:#601b36}
.topic-card p{color:#6d5b66;font-size:.83rem;line-height:1.55;flex:1}
.learn-more{color:#9f2449;font-weight:850;font-size:.84rem;padding-top:13px}
.home-prose{margin-top:45px}.home-prose .article-main{min-height:100%}
.page-actions,.article-end-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:19px}
.article-opening{font-size:1.035rem;font-weight:500}
.sidebar-illustration{padding:10px;background:#fff5f6;border-radius:12px;border:1px solid #ead7dd;margin:18px 0}
.sidebar-illustration img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain}
.site-map-list{margin:28px 0;background:white;padding:24px 30px;border:1px solid #e8dce1;border-radius:16px}
.site-map-list ul{columns:2}.site-map-list li{padding:4px 0}
.gallery-wide{max-width:720px;margin:22px auto 35px}
.ticker-track{animation-duration:35s}
@media(min-width:1100px){.hero-shop{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr)}.gallery-main{aspect-ratio:1/1}.shop-details{display:flex;flex-direction:column;justify-content:center}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1030px){.topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-shop{grid-template-columns:1fr 1fr}.shop-details{padding:24px}}
@media(max-width:760px){
 :root{--footer-h:73px}
 .hero-shop{grid-template-columns:1fr}.hero-shop>.gallery{order:1}.hero-shop>.shop-details{order:2}
 .category-rail-inner{min-height:50px}.category-rail a{font-size:.76rem;padding:7px 10px}
 .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dock-inner{gap:1px;padding:4px 3px}.dock-link{font-size:.61rem;gap:3px;border-radius:7px}
 .dock-link .dock-icon{font-size:1.19rem}
 .hero-page{grid-template-columns:1fr}.hero-page .page-visual{max-width:300px;width:100%;margin:8px auto 0}
 .article-main{padding:22px}.home-prose{margin-top:32px}
 .section-band{margin:32px 0}
}
@media(max-width:460px){
 .topic-grid{grid-template-columns:1fr 1fr;gap:10px}.topic-card{padding:13px}.topic-card p{font-size:.76rem}
 .brand img{width:106px}.site-search input{font-size:.77rem}.site-search button{padding:0 9px}
 .dock-link{font-size:.53rem;letter-spacing:-.01em}.dock-link .dock-icon{font-size:1.12rem}
 .page-actions .button,.article-end-actions .button{flex:1;min-width:0}
 .shop-details h1{font-size:1.84rem}.site-map-list ul{columns:1}
 .section-head{align-items:flex-start}.section-head>a{white-space:normal}
}
@media(max-width:350px){.dock-link{font-size:.49rem}.topic-grid{grid-template-columns:1fr}.site-search span{display:none}.header-actions .button{font-size:.74rem}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none;white-space:normal}.ticker-scroll{white-space:normal;mask-image:none}}
/* Prevent the adapted desktop header grid from enforcing a wide min-size on 320px phones. */
@media(max-width:760px){
 .header-primary{grid-template-columns:110px minmax(0,1fr);gap:10px}
 .header-actions{grid-column:1/-1;min-width:0}
 .site-search{min-width:0;width:100%}
 .site-search input{min-width:0}
}
