/* Shared category views only; no storefront/admin global overrides. */
.cd-page{width:min(calc(100% - 48px),1280px);margin:0 auto;padding:18px 0 36px;color:var(--color-text,#191919)}
.cd-page *{box-sizing:border-box;min-width:0}.cd-page .icon{width:20px;height:20px;flex-shrink:0}.cd-breadcrumb{display:flex;align-items:center;gap:7px;font-size:13px;margin:0 0 12px}.cd-breadcrumb .icon{width:14px;height:14px;color:#8b8b8b}.cd-breadcrumb a{color:var(--color-text-muted,#666)}
.cd-hero,.cd-toolbar,.cd-empty,.cd-about,.cd-related{border:1px solid var(--color-border,#e9e9ec);border-radius:22px;background:var(--color-bg-card,#fff);box-shadow:0 6px 24px #17171705}
.cd-hero{position:relative;overflow:hidden;padding:26px 44px;min-height:286px;background-color:#fffafa;background-image:linear-gradient(125deg,#fff 15%,#fff8f9 68%,#fce7eb);background-repeat:no-repeat;background-position:right center,center;background-size:auto 100%,cover}.cd-hero-content{position:relative;max-width:65%}.cd-kicker{display:inline-flex;align-items:center;gap:7px;background:#ffe4e8;color:#e30613;border-radius:24px;font-size:13px;font-weight:600;padding:7px 14px}.cd-kicker .icon{width:16px;height:16px}.cd-hero h1{font-size:44px;line-height:1.25;margin:10px 0 4px;letter-spacing:-.5px;color:#151515}.cd-hero-lead,.cd-hero-description{font-size:15px;line-height:1.65;margin:0;color:#62626a}.cd-summary{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}.cd-summary>span{display:inline-flex;align-items:center;gap:5px;border:1px solid #e8e6e8;border-radius:30px;padding:7px 12px;font-size:12px;background:#ffffffeb;color:#333}.cd-summary b{color:#e30613;font-weight:650}.cd-summary .icon{width:16px;height:16px}.cd-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:11px;color:#333}.cd-tags .icon{width:17px;height:17px;margin-right:2px}.cd-tags a{display:inline-flex;border:1px solid #e8e6e8;border-radius:24px;padding:6px 13px;font-size:12px;color:#333;background:#ffffffd9}
.cd-results{margin-top:14px}.cd-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:15px 18px}.cd-toolbar-heading{display:flex;align-items:center;gap:12px;margin-right:auto}.cd-toolbar-heading>.icon{width:26px;height:26px}.cd-toolbar h2{font-size:17px;line-height:1.45;margin:0}.cd-toolbar p{font-size:11px;margin:3px 0 0;color:var(--color-text-muted,#777)}.cd-filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.cd-filters a{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--color-border,#e7e7eb);background:var(--color-bg-soft,#fafafa);border-radius:24px;padding:7px 12px;color:inherit;font-size:12px;font-weight:550;white-space:nowrap;min-height:36px}.cd-filters a[aria-current]{color:#e30613;border-color:#ffe4e7;background:#ffe4e7}.cd-filters .icon{width:16px;height:16px}.cd-view{display:flex;border:1px solid var(--color-border,#e7e7eb);border-radius:25px;overflow:hidden;margin-left:auto;flex-shrink:0}.cd-view a{display:grid;place-items:center;width:36px;height:36px;color:var(--color-text-muted,#777)}.cd-view a[aria-current]{color:#e30613;background:#fff4f5}.cd-sort{display:flex;align-items:center;gap:9px;border-left:1px solid var(--color-border,#eee);padding-left:14px}.cd-sort label{white-space:nowrap;font-size:12px;color:var(--color-text-muted,#777)}.cd-sort select{width:156px;max-width:100%;border:1px solid var(--color-border,#eee);background:var(--color-bg-soft,#fafafa);border-radius:25px;padding:9px 12px;font:inherit;font-size:12px;color:inherit;min-height:40px}
.cd-empty{display:flex;justify-content:center;align-items:center;gap:36px;margin-top:14px;padding:17px 40px;min-height:218px}.cd-empty>img{width:min(36%,330px);height:auto;object-fit:contain}.cd-empty h2{font-size:28px;line-height:1.5;margin:0 0 5px;font-weight:700}.cd-empty p{font-size:14px;line-height:1.8;color:var(--color-text-muted,#777);margin:0}.cd-empty-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px}.cd-empty-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:28px;padding:10px 26px;font-size:14px;font-weight:600}.cd-button-primary{color:white;background:#e30613;border:1px solid #e30613;box-shadow:0 5px 15px #e306131c}.cd-button-secondary{color:inherit;border:1px solid var(--color-border,#ddd);background:var(--color-bg-card,#fff)}.cd-about{display:grid;grid-template-columns:1.45fr 1fr 1.15fr 1fr;align-items:center;gap:24px;margin-top:16px;padding:22px}.cd-about h2{display:flex;align-items:center;gap:9px;font-size:19px;margin:0 0 6px}.cd-about-intro{border-right:1px solid var(--color-border,#eee);padding-right:20px}.cd-about p{font-size:12px;line-height:1.8;margin:0;color:var(--color-text-muted,#777)}.cd-benefit{display:flex;align-items:center;gap:12px}.cd-benefit>span{display:grid;place-items:center;flex:0 0 48px;height:52px;border-radius:15px;background:#fff3f5;color:#e30613}.cd-benefit>span .icon{width:27px;height:27px}.cd-benefit h3{font-size:14px;margin:0 0 3px;line-height:1.5}.cd-related{margin-top:16px;padding:20px}.cd-related h2{font-size:18px;margin:0 0 10px}.cd-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px}.cd-products-list{grid-template-columns:1fr}.cd-products-list .product-card{display:grid;grid-template-columns:180px minmax(0,1fr)}.cd-products-list .product-image-wrap{aspect-ratio:1;height:100%}.cd-page a:focus-visible,.cd-page select:focus-visible{outline:3px solid #e77b84;outline-offset:3px}.cd-page a:hover{filter:brightness(.97)}
@media(max-width:1100px){.cd-toolbar-heading{flex-basis:100%}.cd-toolbar .cd-filters{margin-right:auto}.cd-about{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-about-intro{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--color-border,#eee);padding:0 0 14px}.cd-hero-content{max-width:72%}.cd-hero{background-position:right -120px center,center}.cd-products{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-products-list{grid-template-columns:1fr}}
@media(max-width:700px){.cd-page{width:calc(100% - 28px);padding-top:14px}.cd-hero{padding:23px 22px 190px;min-height:0;background-size:auto 180px,cover;background-position:right bottom,center}.cd-hero-content{max-width:100%}.cd-hero h1{font-size:34px}.cd-hero-description,.cd-hero-lead{font-size:14px}.cd-summary{gap:7px}.cd-summary>span{font-size:11px;padding:6px 9px}.cd-tags{gap:6px}.cd-tags a{font-size:11px;padding:5px 10px}.cd-toolbar{padding:14px;gap:12px;border-radius:18px}.cd-toolbar-heading{gap:10px}.cd-toolbar h2{font-size:16px}.cd-toolbar .cd-filters{flex-basis:100%}.cd-filters a{min-height:40px;padding:7px 11px}.cd-view{margin-left:0}.cd-view a{width:44px;height:42px}.cd-sort{flex:1;justify-content:flex-end;padding-left:10px}.cd-sort select{width:150px}.cd-sort label{display:none}.cd-empty{flex-direction:column;gap:3px;padding:18px 18px 26px;text-align:center;border-radius:18px}.cd-empty>img{width:240px;max-width:100%}.cd-empty h2{font-size:23px}.cd-empty p{font-size:13px}.cd-empty-actions{justify-content:center;gap:9px}.cd-empty-actions a{padding:10px 16px;font-size:13px}.cd-about{grid-template-columns:1fr;gap:18px;padding:20px;border-radius:18px}.cd-about h2{font-size:18px}.cd-about-intro{grid-column:auto}.cd-benefit{align-items:flex-start}.cd-benefit p,.cd-about p{font-size:13px}.cd-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cd-products-list{grid-template-columns:1fr}.cd-products-list .product-card{grid-template-columns:110px minmax(0,1fr)}.cd-products-list .product-card-body{padding:12px}.cd-page .cd-sort select{font-size:16px}.cd-empty-actions .icon{width:18px;height:18px}}

.cd-hero-paper{background-image:url('../images/category/paper-desk.svg'),linear-gradient(125deg,#fff 15%,#fff8f9 68%,#fce7eb)}
.cd-hero-content{z-index:2}.cd-hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.cd-hero.has-background:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.88) 45%,rgba(255,255,255,.15))}.cd-hero-art{position:absolute;width:340px;height:270px;right:65px;top:50%;transform:translateY(-50%);color:#e30613}.cd-art-orbit{position:absolute;width:270px;height:270px;border-radius:50%;background:linear-gradient(135deg,#ffe6e9,#ffd3da);right:0;top:0}.cd-art-tile{position:absolute;inset:32px 25px 22px 54px;display:grid;place-items:center;border:1px solid #fff;border-radius:36px;background:linear-gradient(140deg,#fff,#fff9fa);box-shadow:0 18px 35px #bb3d5a15;transform:rotate(-7deg)}.cd-hero-art .cd-art-tile .icon{width:130px;height:130px;stroke-width:1.2}.cd-art-tile img{width:85%;height:85%;object-fit:contain;border-radius:20px}.cd-art-mini{position:absolute;display:grid;place-items:center;width:65px;height:65px;background:#fff;border:1px solid #fee5e9;border-radius:20px;box-shadow:0 8px 22px #bb3d5a10}.cd-hero-art .cd-art-mini .icon{width:30px;height:30px}.cd-art-mini-tag{left:10px;top:25px;transform:rotate(-12deg)}.cd-art-mini-bag{right:0;bottom:5px;transform:rotate(10deg)}
.cd-directory.category-directory{width:min(calc(100% - 48px),1280px);margin:auto;padding:20px 0 40px}.cd-directory-hero{padding:30px 34px;border:1px solid var(--color-border);border-radius:22px;background:linear-gradient(115deg,var(--color-bg-card) 30%,#fff0f3);margin-bottom:24px}.cd-directory-hero h1{font-size:32px;line-height:1.4;margin:12px 0 8px}.cd-directory-hero p{font-size:15px;color:var(--color-text-muted);margin:0 0 20px}.cd-directory-search{display:flex;gap:10px;align-items:center;width:min(100%,650px);padding:6px 7px 6px 14px;border:1px solid var(--color-border);background:var(--color-bg-card);border-radius:14px}.cd-directory-search .icon{width:20px;height:20px;color:var(--color-text-muted);flex-shrink:0}.cd-directory-search input{border:0;outline:0;background:transparent;min-width:0;width:100%;font:inherit;font-size:15px;padding:8px}.cd-directory-search button{border:0;border-radius:10px;background:#e30613;color:#fff;font:inherit;padding:10px 20px;white-space:nowrap;cursor:pointer}.cd-directory-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;font-size:14px}.cd-directory-meta a{color:var(--color-brand)}.cd-directory .category-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.cd-directory .category-directory-card{border:1px solid var(--color-border);border-radius:18px;padding:22px;transition:transform .15s,border-color .15s;background:var(--color-bg-card);box-shadow:none}.cd-directory .category-directory-card:hover{transform:translateY(-3px);border-color:#efadb6}.cd-directory .category-directory-card strong{font-size:16px;line-height:1.5}.cd-directory .category-directory-card>span:not(.category-directory-icon){font-size:12px;color:var(--color-brand)}.cd-directory .category-directory-card p{font-size:13px;line-height:1.7;margin:10px 0 0}.cd-directory-empty{padding:32px;text-align:center;border:1px solid var(--color-border);border-radius:18px}.cd-directory-search:focus-within{outline:2px solid #efadb6;outline-offset:2px}
@media(max-width:1100px){.cd-hero-art{right:20px;width:270px;opacity:.8}.cd-directory .category-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cd-hero-art{top:auto;bottom:4px;right:calc(50% - 120px);width:240px;height:165px;transform:none;opacity:1}.cd-art-orbit{width:155px;height:155px;right:22px;top:0}.cd-art-tile{inset:10px 25px 14px 55px;border-radius:25px}.cd-hero-art .cd-art-tile .icon{width:85px;height:85px}.cd-art-mini{width:45px;height:45px;border-radius:14px}.cd-hero-art .cd-art-mini .icon{width:23px;height:23px}.cd-art-mini-tag{top:15px;left:22px}.cd-art-mini-bag{bottom:10px;right:8px}.cd-hero.has-background:after{background:rgba(255,255,255,.84)}.cd-hero.has-background{padding-bottom:24px}.cd-directory.category-directory{width:calc(100% - 28px);padding:14px 0 28px}.cd-directory-hero{padding:22px 18px}.cd-directory-hero h1{font-size:26px}.cd-directory-hero p{font-size:14px;line-height:1.75}.cd-directory-search{gap:5px;padding-left:10px}.cd-directory-search input{font-size:16px}.cd-directory-search button{padding:10px 14px}.cd-directory .category-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cd-directory .category-directory-card{padding:16px 13px;border-radius:15px}.cd-directory .category-directory-card strong{font-size:14px}.cd-directory .category-directory-card p{font-size:12px}.cd-directory .category-directory-icon{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.cd-directory .category-directory-card{transition:none}}

.cd-products .product-image-wrap img{object-fit:contain;background:#fff;padding:16px}.cd-products-list .product-image-wrap img{padding:12px}

/* Compact category headers: keep product discovery above decoration. */
.cd-page{padding-top:12px}
.cd-page .cd-breadcrumb{margin-bottom:10px}
.cd-page .cd-hero{min-height:0;padding:20px 24px;border-radius:18px}
.cd-page .cd-hero-content{max-width:calc(100% - 210px)}
.cd-page .cd-hero-paper .cd-hero-content{max-width:70%}
.cd-page .cd-kicker,.cd-page .cd-hero-lead,.cd-page .cd-tags{display:none}
.cd-page .cd-hero h1{font-size:32px;line-height:1.3;margin:0;letter-spacing:normal}
.cd-page .cd-hero-description{font-size:14px;line-height:1.6;margin-top:6px}
.cd-page .cd-summary{gap:7px;margin-top:10px}
.cd-page .cd-summary>span{padding:4px 10px;font-size:12px}
.cd-page .cd-summary .icon{width:14px;height:14px}
.cd-page .cd-hero-art{width:160px;height:142px;right:30px;top:50%;bottom:auto;transform:translateY(-50%);opacity:1}
.cd-page .cd-art-orbit{width:142px;height:142px;right:0;top:0}
.cd-page .cd-art-tile{inset:12px 16px 14px 30px;border-radius:22px}
.cd-page .cd-hero-art .cd-art-tile .icon{width:64px;height:64px}
.cd-page .cd-art-mini{width:36px;height:36px;border-radius:12px}
.cd-page .cd-hero-art .cd-art-mini .icon{width:18px;height:18px}
.cd-page .cd-art-mini-tag{left:0;top:5px}.cd-page .cd-art-mini-bag{right:0;bottom:0}
.cd-page .cd-results{margin-top:10px}
@media(max-width:700px){
 .cd-page{padding-top:10px}
 .cd-page .cd-hero,.cd-page .cd-hero.has-background{padding:16px;border-radius:16px}
 .cd-page .cd-hero-content,.cd-page .cd-hero-paper .cd-hero-content{max-width:100%}
 .cd-page .cd-hero h1{font-size:26px;line-height:1.35}
 .cd-page .cd-hero-description{font-size:13px;line-height:1.6}
 .cd-page .cd-hero-art{display:none}
 .cd-page .cd-hero-paper{background-image:linear-gradient(125deg,#fff 15%,#fff8f9 68%,#fce7eb);background-size:cover;background-position:center}
 .cd-page .cd-summary{gap:5px;margin-top:9px}
 .cd-page .cd-summary>span{font-size:10px;gap:4px;padding:4px 7px}
 .cd-page .cd-summary .icon{width:12px;height:12px}
}

/* Compact category cards and direct, tracked platform actions. */
.cd-page .cd-products{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cd-page .category-product-card{border-radius:14px;min-width:0;overflow:hidden}
.cd-page .category-product-card .product-image-wrap{display:block;aspect-ratio:4/3}
.cd-page .category-product-card .product-image-wrap img{padding:10px}
.cd-page .category-product-card .product-card-body{padding:12px;min-width:0}
.cd-page .category-product-card .product-meta{font-size:11px;line-height:1.5;margin-bottom:6px;overflow-wrap:anywhere}
.cd-page .category-product-card .product-title{font-size:14px;line-height:1.5;letter-spacing:normal;margin:0 0 6px;min-height:3em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cd-page .category-product-card .product-price-row{flex-direction:row;align-items:center;gap:6px;padding-top:2px}
.cd-page .category-product-card .product-price{font-size:19px}
.cd-page .category-product-card .product-old-price{font-size:11px}
.cd-page .cd-product-detail{font-size:11px;color:var(--color-text-muted,#777);text-decoration:underline;white-space:nowrap}
.cd-page .cd-product-offers{display:grid;gap:6px;margin-top:10px}
.cd-page .cd-price-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px;border-radius:9px;background:#e30613;color:#fff;font-size:12px;font-weight:600;line-height:1.5;text-align:center}
.cd-page .cd-price-button span{min-width:0;overflow-wrap:anywhere}
.cd-page .cd-price-button .icon{width:14px;height:14px;flex-shrink:0}
.cd-page .category-product-card .product-badges{top:8px;left:8px;gap:4px}
.cd-page .category-product-card .badge{font-size:10px;padding:4px 6px}
.cd-page .cd-products-list{grid-template-columns:1fr}
.cd-page .cd-products-list .category-product-card{grid-template-columns:140px minmax(0,1fr)}
.cd-page .cd-products-list .product-image-wrap{height:100%;aspect-ratio:auto}
.cd-page .cd-products-list .product-title{min-height:0}
.cd-page .cd-products-list .cd-product-offers{display:flex;flex-wrap:wrap}
.cd-page .cd-products-list .cd-price-button{min-width:160px}
@media(max-width:1100px){.cd-page .cd-products{grid-template-columns:repeat(4,minmax(0,1fr))}.cd-page .cd-products-list{grid-template-columns:1fr}}
@media(max-width:850px){.cd-page .cd-products{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-page .cd-products-list{grid-template-columns:1fr}}
@media(max-width:700px){
 .cd-page .cd-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .cd-page .category-product-card .product-card-body{padding:10px}
 .cd-page .category-product-card .product-title{font-size:13px}
 .cd-page .category-product-card .product-meta{font-size:10px}
 .cd-page .category-product-card .product-price{font-size:18px}
 .cd-page .category-product-card .product-price-row{flex-wrap:wrap}
 .cd-page .cd-price-button{font-size:11px;min-height:44px;padding:7px 5px;gap:4px}
 .cd-page .cd-products-list{grid-template-columns:1fr}
 .cd-page .cd-products-list .category-product-card{grid-template-columns:90px minmax(0,1fr)}
 .cd-page .cd-products-list .cd-price-button{min-width:0;flex:1 1 130px}
}
