.category-tabs{display:flex;gap:28px;align-items:stretch;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c6c8c0 transparent;border-bottom:1px solid #e4e4df;white-space:nowrap;padding:0;margin:0;-webkit-overflow-scrolling:touch}
.category-tabs a{position:relative;flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:58px;min-width:48px;padding:0 8px;font-size:17px;font-weight:400;color:#62645c;text-decoration:none;touch-action:pan-x pan-y}
.category-tabs a[aria-current=page]{font-weight:600;color:#242522}
.category-tabs a[aria-current=page]::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:#292b27}
.category-tabs a:hover{color:#242522}
.home-page .category-page .collection-heading{padding:28px 0 20px}
.category-page{min-height:65vh}
.category-empty{text-align:center;padding:70px 16px 90px}
.category-empty h2{font-size:22px;font-weight:500;line-height:1.5;margin:0 0 12px;color:#242522}
.category-empty p{font-size:16px;line-height:1.8;color:#64655f;margin:0 0 24px;word-break:keep-all}
.category-empty a{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:12px 24px;background:#292b27;color:white;border-radius:6px;font-size:16px}
.category-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-bottom:40px}
.category-product{min-width:0}.category-product .product-row{align-items:start;flex-wrap:wrap;margin:0;padding:16px 0}
.category-product .product-row h3{font-size:17px}.category-product .photo{border-radius:3px}
@media(max-width:640px){.category-tabs{gap:12px;margin:0 -20px;padding:0 20px}.category-tabs a{font-size:16px;min-height:52px;padding:0 5px;min-width:48px}.home-page .home-intro{padding-top:16px}.category-empty{padding:54px 0 70px}.category-empty h2{font-size:20px}.category-empty p{font-size:15px}.category-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:360px){.category-tabs{margin:0 -16px;padding:0 16px}}

.category-product:has(.real-product-colors){grid-column:1/-1;max-width:850px}.real-product-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.real-product-colors figure{margin:0}.real-product-colors img{display:block;width:100%;aspect-ratio:4/5;object-fit:contain;background:white}.real-product-colors figcaption{text-align:center;font-size:17px;font-weight:700;padding:10px 0}.affiliate-notice{font-size:13px;line-height:1.65;color:#666}.category-product:has(.real-product-colors) .buy{background:#1760d9;color:white;border-radius:8px;padding:14px 20px}

.category-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.shop-card{min-width:0;overflow:hidden;border:1px solid #e1e5eb;border-radius:18px;background:white;display:flex;flex-direction:column}.shop-cover{padding:0;border:0;background:white;cursor:pointer;width:100%}.shop-cover img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block}.shop-copy{padding:18px;display:flex;flex-direction:column;flex:1}.shop-copy h2{font-size:20px;line-height:1.5;margin:0}.shop-copy p{margin:10px 0 18px;font-size:18px}.shop-copy .primary{margin-top:auto;width:100%;background:#1760d9;color:white;border:0;cursor:pointer;min-height:50px}.real-product-colors{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}@media(max-width:640px){.category-products{gap:12px}.shop-copy{padding:12px}.shop-copy h2{font-size:17px}.shop-copy p{font-size:16px}.shop-copy .primary{padding:12px 5px;font-size:15px}}

.shop-copy .primary{justify-content:center;align-items:center;text-align:center}
.real-product-colors{display:block}.real-product-colors figure{margin:0 0 20px}.real-product-colors img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}.product-options{line-height:1.7;overflow-wrap:anywhere}

/* Simple photo-first listings; retain the established desktop/mobile text sizes. */
.category-products{gap:28px 24px}
.shop-card{overflow:visible;border:0;border-radius:0;background:transparent}
.shop-cover{border-radius:18px;overflow:hidden}
.shop-cover:focus-visible{outline:3px solid #1760d9;outline-offset:4px}
.shop-copy{padding:10px 0 0;text-align:center}
.shop-copy h2{word-break:keep-all;overflow-wrap:anywhere}
.shop-copy p{margin:6px 0 0}
@media(max-width:640px){.category-products{gap:24px 12px}.shop-copy{padding:10px 0 0}}

.shop-copy h2{white-space:nowrap;overflow-wrap:normal}
.shop-copy h2 span{display:inline-block;white-space:nowrap}

.subcategory-tabs{display:flex;gap:10px;overflow-x:auto;padding:14px 0 6px;white-space:nowrap;scrollbar-width:thin}
.subcategory-tabs a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:8px 16px;border:1px solid #dde3eb;border-radius:24px;color:#383e48;background:white;font-size:17px;text-decoration:none}
.subcategory-tabs a[aria-current]{background:#1760d9;border-color:#1760d9;color:white;font-weight:700}
.subcategory-tabs a:focus-visible{outline:3px solid #1760d9;outline-offset:2px}
@media(max-width:640px){.subcategory-tabs{gap:8px}.subcategory-tabs a{font-size:16px;padding:8px 13px}}

/* Every menu stays visible; fixed mobile positions help recognition. */
.category-tabs{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;overflow:visible;white-space:normal;margin:0;padding:0;scrollbar-width:none}
.category-tabs a{min-width:0;padding:0 4px;white-space:nowrap}
.category-tabs a[aria-current=page]{color:#1760d9;font-weight:700}
.category-tabs a[aria-current=page]::after{background:#1760d9;left:12px;right:12px}
.subcategory-tabs{flex-wrap:wrap;overflow:visible;gap:8px;padding:16px 0 6px;scrollbar-width:none}
@media(max-width:640px){
 .category-tabs{grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;gap:0}
 .category-tabs a{min-height:50px;font-size:16px;padding:0 2px}
 .subcategory-tabs a{font-size:16px;min-height:44px;padding:8px 13px}
}


/* Compact group with left-aligned trailing rows. */
.subcategory-tabs{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px 8px;width:max-content;max-width:100%;margin:0 auto;padding:16px 0 8px;white-space:normal}
.subcategory-tabs a{margin:0;padding:9px 16px;min-height:44px;line-height:1.5;font-size:17px;white-space:nowrap}
@media(max-width:640px){.subcategory-tabs a{font-size:16px;padding:8px 14px}}

/* Bring the price slightly closer to its own product title. */
.shop-copy p{margin-top:0}
.shop-copy{padding-bottom:6px}

.shop-title-row{position:relative;top:-6px}
.shop-copy p{position:relative;top:-14px}
