/* RW4D — red-black-gold marketplace theme; site-wide responsive refinements */
:root{
  --wine:#071b43;--wine2:#123974;--red:#2265c8;--reddeep:#0d3b83;
  --orange:#ffa30d;--gold:#ffcd4d;--pale:#fffaf0;--cream:#fffefb;
  --ink:#17233b;--mute:#617083;--stroke:#dfe7f2;
  --shadow:0 15px 42px rgba(8,37,84,.075);--footer-h:80px
}
body{background:linear-gradient(#eff5ff 0,#f8fbff 520px,#fffdf8 1100px);color:var(--ink)}
a:hover{color:#145ac7}
.notice-top{background:#061839;color:#d7e8ff;border-bottom:1px solid #244578}
.notice-top a{color:#ffd56b}
.site-header{background:#fff;box-shadow:0 6px 23px #0825520c;border-bottom:1px solid #dce6f5}
.site-search{background:#f2f6ff;border:1px solid #d5e1f2;border-radius:15px}
.site-search span{color:#2a62ae}
.site-search button{background:linear-gradient(120deg,#154d9c,#0a2d6b)}
.site-search button:hover{background:#2366c6}
.button-red{background:linear-gradient(120deg,#155bc8,#082d77);color:#fff;box-shadow:0 5px 15px #0d428b2c}
.button-red:hover{background:#1f67cc}
.button-gold{background:linear-gradient(135deg,#ffe690,#ffc33d,#ed970e);border-color:#edbd49;color:#3a2b13}
.button-outline{border-color:#bed2ef;color:#153e83;background:#fff}
.button-outline:hover{background:#edf5ff}
.button-soft{background:#eff5ff;color:#184385;border-color:#cfdff3}
.main-nav{border-color:#edf2fa;background:#fff}
.nav-inner a{color:#32517d}
.nav-inner a:hover,.nav-inner a[aria-current=page]{color:#0b58bf}
.nav-inner a[aria-current=page]::after{background:#eeb224;height:3px}
.ticker{background:linear-gradient(100deg,#071f52,#174ea4,#062456);color:#fff}
.ticker strong{color:#ffda73}
.category-rail{background:linear-gradient(90deg,#092856,#133b7d);box-shadow:0 9px 24px #071e4a20;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:#b2c7ea;font-size:.69rem;font-weight:950;margin-right:10px;white-space:nowrap}
.category-rail a{font-size:.84rem;font-weight:800;white-space:nowrap;border:1px solid #ffffff24;background:#ffffff0c;border-radius:999px;padding:7px 14px;color:#f4f8ff;transition:background .2s}
.category-rail a:hover{color:#fff;background:#ffffff26}
.crumb,.crumb a{color:#496c9d}
.eyebrow{color:#175db5}
.section-head>a{color:#1659b3}
.card{border:1px solid #dce6f3;box-shadow:var(--shadow);border-radius:20px}
.hero-shop{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:23px}
.hero-shop>.gallery{order:2}
.hero-shop>.shop-details{order:1}
.gallery{background:linear-gradient(155deg,#fff,#edf5ff);padding:17px}
.gallery-main{background:radial-gradient(circle at 50% 30%,#ffffff,#d9e9ff);border:1px solid #cadcf2}
.gallery-thumbs{grid-template-columns:repeat(3,1fr);gap:12px}
.thumb{background:#fff;border-color:#c5d5ed;border-radius:12px}
.thumb[aria-pressed=true],.thumb:hover{border-color:#e9ac23;box-shadow:0 0 0 1px #e9ac23}
.shop-details{background:radial-gradient(ellipse at 10% 0%,#ffffff,#ffffff 60%,#f3f7fe);padding:34px 34px 26px}
.shop-details h1{color:#0c2c63;font-size:clamp(1.95rem,2.9vw,3rem)}
.shop-details .lead{color:#455b79}
.shop-meta{border-color:#d8e5f4}
.shop-meta strong{color:#1d3760}
.shop-note{background:#f0f6ff;color:#48607d;border-color:#d9e7f9}
.tag{background:#fff6dc;color:#795413;border-color:#f4dfab}
.highlights{margin-top:23px}
.highlight{background:#fff}
.hi-icon{background:linear-gradient(135deg,#eaf2ff,#fff1c9)}
.feature-card .cover{background:#e9f3ff;border-color:#d6e6f8}
.feature-card .inside p,.blog-card p{color:#53647b}
.mini-btn{border-color:#cbdcf0;color:#144a98}
.mini-btn:hover{background:#e9f3ff}
.mini-btn.fill{background:#164d9e;border-color:#164d9e}
.mini-btn.fill:hover{background:#2670d3}
.content-banner,.hero-page .page-visual{background:#eaf3ff;border-color:#cee2f6}
.hero-page{background:linear-gradient(120deg,#ffffff 35%,#e8f3ff);border-left:5px solid #e6ac31}
.hero-page p,.article-main p{color:#455672}
.article-main h2{border-color:#e2ebf5;color:#142e5c}
.article-main ul{color:#4a6282}
.side-panel a{color:#254f88}
.callout,.empty{background:#f1f7ff;border-color:#96b7ea;color:#395474}
.section-band{background:radial-gradient(ellipse at right,#1e60b8,#081b48 75%);border:1px solid #3a66ac;box-shadow:0 20px 36px #07204d1f}
.section-band h2{color:#fff}
.section-band p{color:#d9e9ff}
.section-band .button-outline{border-color:#b1cdf0;color:#fff}
.section-band .button-outline:hover{background:#ffffff24}
.site-footer{background:#071d45;color:#e9f2ff;border-top:4px solid #e6b741}
.footer-grid p{color:#b8cdea}
.footer-links a{color:#d5e5ff}
.footer-links a:hover{color:#ffd365}
.bottom-dock{background:linear-gradient(110deg,#061634,#0b3270,#061b43);border-top:2px solid #efba4e;box-shadow:0 -8px 24px #08163042}
.dock-inner{grid-template-columns:repeat(6,minmax(0,1fr));max-width:930px;gap:3px}
.dock-link{color:#edf4ff}
.dock-link:hover{color:#ffe288}
.dock-link.cta{color:#35270e;background:linear-gradient(140deg,#ffe997,#f1aa22)}
.dock-link.cta:hover{color:#35270e;background:#ffe29b}
.compare-tray{border-color:#bfd4f2;box-shadow:0 10px 36px #0b336645}
.compare-list .item{border-color:#c8def5}
.compare-list .item strong{color:#14488f}
.list-toolbar input{border-color:#c8d9f0}
.list-toolbar input:focus{border-color:#2c70c9}
.status{color:#52719a}
@media(min-width:1100px){
  .hero-shop{grid-template-columns:minmax(0,1.0fr) minmax(0,.98fr)}
  .gallery-main{aspect-ratio:1/1}
  .shop-details{display:flex;flex-direction:column;justify-content:center}
  .shop-details .shop-actions{grid-template-columns:1fr 1fr}
  .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .feature-card:nth-child(5n + 3) .cover{background:#fff6e5}
}
@media(max-width:1030px){.hero-shop{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.shop-details{padding:21px}}
@media(max-width:760px){
  :root{--footer-h:72px}
  .hero-shop{grid-template-columns:1fr}
  .hero-shop>.gallery{order:1}
  .hero-shop>.shop-details{order:2}
  .category-rail-inner{min-height:51px}
  .category-rail a{font-size:.76rem;padding:7px 10px}
  .rail-title{font-size:.65rem}
  .hero-shop .shop-details{padding:23px}
  .dock-inner{padding:4px 3px;gap:0}
  .dock-link{font-size:.61rem;gap:2px;border-radius:8px}
  .dock-link .dock-icon{font-size:1.19rem}
  .article-main{padding:23px}
}
@media(max-width:390px){
  .dock-link{font-size:.54rem;letter-spacing:-.015em}
  .dock-link .dock-icon{font-size:1.11rem}
  .header-actions .button{font-size:.75rem;padding:9px 5px}
  .brand img{width:106px}
  .site-search span{display:none}
  .site-search button{padding:0 9px}
  .main{padding-top:15px}
  .shell{padding-left:12px;padding-right:12px}
  .shop-details h1{font-size:1.85rem}
}
/* Prevent long ticker text inside a grid item from enlarging mobile grid tracks. */
.content-split > *{min-width:0}
.article-main{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){
 .content-split{grid-template-columns:minmax(0,1fr)}
 .content-split > *{min-width:0;max-width:100%}
 .article-main .ticker{width:100%;max-width:100%}
}

/* RW4D branding layer — warm premium red, black, gold, optimized for responsive browsing. */
:root{--wine:#22070a;--wine2:#5b0d15;--red:#ab0820;--reddeep:#630411;--orange:#ee8e14;--gold:#f5bd4a;--pale:#fff7e8;--cream:#fffdfa;--ink:#2e2022;--mute:#756669;--stroke:#f1ded6;--shadow:0 15px 40px rgba(70,10,15,.09);--footer-h:80px}
body{background:linear-gradient(#fff4ed 0,#fff9f5 520px,#fffdf9 1150px);color:var(--ink)}
a:hover{color:#a00a20}
.notice-top{background:#240407;color:#ffe5cf;border-bottom:1px solid #64202a}.notice-top a{color:#ffd56c}
.site-header{background:#fffdf9;box-shadow:0 8px 22px #58121512;border-bottom:1px solid #edd8d4}
.brand img{display:block;width:clamp(148px,16vw,228px);height:auto;object-fit:contain;aspect-ratio:638/249;border-radius:6px}
.site-search{background:#fff5f2;border:1px solid #ebd6d0}.site-search span{color:#a41c2b}
.site-search button{background:linear-gradient(120deg,#b71929,#51080f);color:#fff}.site-search button:hover{background:#c72438}
.button-red{background:linear-gradient(125deg,#e72f32,#920417,#4e0310);box-shadow:0 8px 16px #780e1938;color:#fff}
.button-red:hover{background:#bf0e25;color:#fff}
.button-gold{background:linear-gradient(130deg,#fff2ad,#ffc344,#df8a18);border-color:#e6a42d;color:#47200e}
.button-outline{border-color:#deb6af;color:#7d1320;background:#fffafa}
.button-outline:hover{background:#fff0e9;color:#a51828}
.button-soft{background:#fff2e7;color:#7b1621;border-color:#eed4c0}
.main-nav{background:#fffdf9;border-color:#f2e6df}.nav-inner a{color:#68444a}.nav-inner a:hover,.nav-inner a[aria-current=page]{color:#a40c22}.nav-inner a[aria-current=page]::after{background:#e6a322}
.ticker{background:linear-gradient(100deg,#330009,#8a101b,#260008)}.ticker strong{color:#ffe18c}
.category-rail{background:linear-gradient(90deg,#2c010b,#801321,#240008);box-shadow:0 9px 24px #5a0b1933}
.category-rail a{color:#ffe7df}.category-rail a:hover{color:#fff;background:#ffffff28}.rail-title{color:#ffd4bd}
.crumb,.crumb a{color:#8a5558}.eyebrow,.section-head>a{color:#ae1630}
.card{border-color:#f1dfd6;box-shadow:var(--shadow)}
.gallery{background:linear-gradient(155deg,#fff6f0,#f7e1d5)}
.gallery-main{background:#220710;border-color:#dda876}.gallery-main img{object-fit:contain}
.thumb{border-color:#e6b5a5}.thumb:hover,.thumb[aria-pressed=true]{border-color:#f0ad2e;box-shadow:0 0 0 1px #e9a024}
.shop-details{background:radial-gradient(ellipse at 10% 0%,#fff,#fffaf6 65%,#fff0e9)}
.shop-details h1{color:#720a16}.shop-details .lead{color:#624648}.shop-meta{border-color:#eed9ce}.shop-meta strong{color:#6b2127}
.shop-note{background:#fff1e7;color:#754950;border-color:#f4d4c0}.tag{background:#fff1d3;color:#90550b;border-color:#f5dc9b}
.hi-icon{background:linear-gradient(120deg,#ffecdd,#fff3c3)}.feature-card .cover{background:#fff0e5;border-color:#ecd6c7}
.feature-card .inside p,.blog-card p{color:#70595d}.mini-btn{border-color:#edd0cb;color:#8f1325}.mini-btn:hover{background:#fff0e9}
.mini-btn.fill{background:#8c1022;border-color:#8c1022;color:#fff}.mini-btn.fill:hover{background:#b31931}
.content-banner,.hero-page .page-visual{background:#fce8df;border-color:#eed1c2}
.hero-page{background:linear-gradient(120deg,#fff 35%,#fff0e6);border-left:5px solid #e6a52e}.hero-page p,.article-main p{color:#574447}
.article-main h2{border-color:#f3e0d9;color:#731725}.article-main ul{color:#634348}
.side-panel a{color:#942035}.callout,.empty{background:#fff0e5;border-color:#ecc7b6;color:#785058}
.section-band{background:radial-gradient(ellipse at right,#9c1727,#2c030a 76%);border-color:#b74a2e}
.section-band p{color:#ffddd5}.section-band .button-outline{border-color:#dda987;color:#fff;background:transparent}
.site-footer{background:#26060a;color:#fce6e0;border-top:4px solid #daa642}.footer-grid p{color:#d8b8af}.footer-links a{color:#eed4c9}.footer-links a:hover{color:#ffd769}
.bottom-dock{background:linear-gradient(110deg,#260407,#6c0918,#2a0208);border-top:2px solid #e4ad3d;box-shadow:0 -8px 25px #4b001c53}
.dock-inner{grid-template-columns:repeat(4,minmax(0,1fr));max-width:700px;gap:6px}
.dock-link{color:#ffe7d9}.dock-link:hover{color:#ffe088}
.dock-link.cta{color:#3d120e;background:linear-gradient(140deg,#ffeaa6,#ebaa37)}.dock-link.cta:hover{background:#ffdda0;color:#3d120e}
.compare-tray{border-color:#e7c3ba}.compare-list .item{border-color:#e6c0b9}.compare-list .item strong{color:#8e182a}
.list-toolbar input{border-color:#e6c8c0}.list-toolbar input:focus{border-color:#b42035}.status{color:#7f5554}
.sitemap-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 35px}
.sitemap-columns a{background:#fff;border:1px solid #eed4c7;border-radius:12px;padding:14px;color:#85202a;text-decoration:none;font-weight:700}
.sitemap-columns a:hover{background:#fff4e9}
.catalog-pages{display:flex;gap:15px;align-items:center;justify-content:center;padding:20px;flex-wrap:wrap}
.catalog-pages button{border:1px solid #d2a78f;border-radius:10px;background:#fff7ec;color:#6d1827;font-weight:800;padding:10px 17px;cursor:pointer}
.catalog-pages button:disabled{opacity:.4;cursor:default}
@media(max-width:760px){.sitemap-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.dock-inner{gap:2px}.dock-link{font-size:.68rem}.brand img{width:155px}}
@media(max-width:480px){.sitemap-columns{grid-template-columns:1fr}.dock-link{font-size:.64rem}.brand img{width:130px}}
