/* ===== GLOBAL FIXES ===== */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.woocommerce div.product form.cart {
	margin-bottom: 0px !important;
}

/* ===== PAGE WRAPPER FIX ===== */
.sundries-page-wrapper {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.main-content-wrapper {
  display: flex;
  width: 100%;
  gap: 0;
  margin-top: 20px;
}

/* ===== FOAM MARQUEE FIX ===== */
.foam-marquee-wrapper {
    text-align: center;
    padding: 40px 0;
    max-width: 100%;
    overflow: hidden;
}

.foam-marquee-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 5px;
}

.foam-marquee-subtitle {
    color: #666;
    margin-bottom: 25px;
}

/* MARQUEE OUTER MASK - FIXED */
.foam-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(
        90deg, 
        transparent, 
        black 5%, 
        black 95%, 
        transparent
    );
    -webkit-mask-image: linear-gradient(
        90deg, 
        transparent, 
        black 5%, 
        black 95%, 
        transparent
    );
}

/* TRACKS - FIXED */
.foam-marquee-track {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

/* ITEMS */
.foam-item {
    min-width: 200px;
    width: 400px;
    text-align: center;
    height: 500px;
    flex-shrink: 0;
}

.foam-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.foam-item span {
    margin-top: 10px;
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #222;
}

/* SMOOTH INFINITE SCROLL - FIXED */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Add spacing between Track #1 and Track #2 */
.foam-marquee-track:nth-of-type(2) .foam-item:first-child {
    margin-left: 50px;
}

/* ===== PRODUCT GRID FIXES ===== */
.pu-product-grid {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Center built-in WC product card contents */
.pu-product-grid .product {
    margin: 0 auto !important;
    max-width: 100%;
}

/* Product Card - FIXED */
.pu-product-item {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    background: #fff;
    justify-content: center;
    padding-bottom: 50px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto 40px;
    box-sizing: border-box;
}

/* DEFAULT PRODUCT CARD */
.pu-product-item {
    display: flex;
    flex-direction: row;
    margin-bottom: 40px;
}

/* SPECIAL LAYOUT: PRODUCTS 1383 and 1392 */
.pu-product-item.horizontal-layout {
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    padding-right: 0;
    box-sizing: border-box;
}

/* Left Side Image Panel - FIXED */
.product-image {
    width: 60%;
    height: 700px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    max-width: 100%;
}

/* TOP IMAGE spans full width */
.pu-product-item.horizontal-layout .product-image {
    width: 100%;
    height: 500px;
}

.pu-product-item.horizontal-layout .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Side Product Details - FIXED */
.product-details {
    width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
}

.product-title {
    color: #000;
    font-family: Open Sans,Helvetica,Arial,sans-serif;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 10px;
    text-align: left;
    word-wrap: break-word;
}

.product-price {
    color: #000;
    font-family: Open Sans,Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 10px;
    text-align: left;
}

.variation-wrapper {
    margin: 10px 0;
    max-width: 100%;
}

/* Action Buttons */
.product-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

.custom-add-to-cart-btn,
.add_to_cart_button,
.add-to-wishlist {
    padding: 10px 15px;
    background: #f9f8f6;
    color: #000;
    font-size: 15px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

/* Hover + interaction states */
.custom-add-to-cart-btn:hover,
.add_to_cart_button:hover,
.add-to-wishlist:hover,
.add-to-wishlist:active,
.add-to-wishlist:focus {
    background: #f9f8f6;
}


.add-to-wishlist[aria-pressed="true"] .heart-icon {
	color: #c95656;
}




/* Variable product cart row */
.single_variation_wrap .woocommerce-variation-add-to-cart {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	width: 100%;
    transform: translateY(15px);
}

/* Quantity */
.single_variation_wrap .quantity {
	width: 100%;
}

/* Add to cart button */
.single_variation_wrap .single_add_to_cart_button {
	width: 100%;
	height: 48px;
}

/* Disabled state (before variation selection) */
.single_variation_wrap .single_add_to_cart_button.disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Wishlist — match width */
.product-cart-row .add-to-wishlist {
	width: 100%;
	margin-top: 12px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}








/* Heart Icon */
.material-symbols-outlined.heart-icon {
    color: black;
}

.material-symbols-outlined.heart-icon:hover {
    color: #c95656;
}

.material-symbols-outlined:hover {
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' -25,
    'opsz' 48;
}

/* Overlay Section - FIXED */
.product-details-overlay {
    position: static;
    background: none;
    z-index: 2;
    padding-left: 20px;
    width: 350px;
    max-width: 100%;
    box-sizing: border-box;
}

/* BOTTOM SECTION - FIXED */
.pu-product-item.horizontal-layout .product-details-overlay {
    padding-top: 20px;
    width: 100%;
    max-width: 900px;
}

.pu-product-item.horizontal-layout .bottom-section {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
    max-width: 100%;
    flex-wrap: wrap;
}

/* Left (Text / UL) */
.pu-product-item.horizontal-layout .bottom-left {
    width: 65%;
    min-width: 0;
}

.pu-product-item.horizontal-layout .bottom-left ul {
    padding-left: 18px;
}

.pu-product-item.horizontal-layout .bottom-left li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Right (small image) */
.pu-product-item.horizontal-layout .bottom-right {
    width: 200px;
    height: 200px;
    margin-right: 0;
    flex-shrink: 0;
}

.pu-product-item.horizontal-layout .bottom-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pu-product-item.horizontal-layout .bottom-right img,
.bottom-right img {
    border-radius: 100px;
}

.product-details-overlay .product-title a {
    color: black;
    text-decoration: none;
}

.product-details-overlay .product-price {
    color: black;
    font-weight: bold;
}

.product-details-overlay .product-actions .custom-add-to-cart-btn,
.product-details-overlay .product-actions .add_to_cart_button,
.product-details-overlay .product-actions .add-to-wishlist {
    color: #333;
    background: #f9f8f6;
}

.product-details-overlay .product-actions .custom-add-to-cart-btn:hover,
.product-details-overlay .product-actions .add_to_cart_button:hover,
.product-details-overlay .product-actions .add-to-wishlist:hover {
    background: white;
    color: #333;
}

.product-details-overlay .material-symbols-outlined.heart-icon {
    color: #333;
}

.product-details-overlay .material-symbols-outlined.heart-icon:hover {
    color: #c95656;
}

/* Attribute Dropdown */
.custom-attribute-select {
    background: none;
    max-width: 100%;
}

.select-with-icon select {
    background: transparent;
    border: none;
    outline: none;
    max-width: 100%;
    box-sizing: border-box;
}

.select-with-icon select option {
    background: none;
    color: white;
    padding: 8px;
    font-size: 14px;
}

.select-with-icon select::-webkit-scrollbar {
    width: 8px;
}

.select-with-icon select::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.select-with-icon select::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.select-with-icon select::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Small Product Description Badge */
.product-desc {
    background: rgba(255,255,255,0.8);
    color: black;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.2;
    max-width: 180px;
    z-index: 3;
    font-family: Open Sans,Helvetica,Arial,sans-serif;
    box-sizing: border-box;
}

/* ===== MARQUEE COMPONENTS ===== */
.strip-card {
    flex: 0 0 180px;
    text-decoration: none;
    color: #111;
    max-width: 100%;
}

@media (max-width: 680px) { 
    .strip-card { 
        flex-basis: 45vw; 
    } 
}

/* Auto-scrolling marquee strip - FIXED */
.marquee {
    --scroll-speed: 90s;
    overflow: hidden;
    margin: 0 0 24px;
    width: 100%;
    /* soft edge fade (optional) */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.marquee__track {
    display: inline-flex;
    gap: 16px;
    align-items: stretch;
    width: max-content;
    animation: marquee-scroll var(--scroll-speed) linear infinite;
    will-change: transform;
}

.marquee:hover .marquee__track { 
    animation-play-state: paused; 
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .marquee__track, 
    .foam-marquee-track { 
        animation: none; 
    }
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== MAIN LAYOUT - FIXED ===== */
.twc-inspired-sundries {
    display: flex;
    min-height: 100vh;
    padding: 40px clamp(16px, 4vw, 48px);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    max-width: 1800px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

/* ===== SIDEBAR - FIXED ===== */
.twc-sidebar-wrapper {
    width: 220px;
    flex-shrink: 0;
    height: auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 10px;
    min-width: 220px;
    border-right: 2px solid #f9f8f6;
    left: -10px;
    position: relative;
}

.twc-sidebar {
    transition: top 0.05s ease-out;
    position: sticky;
    top: 20px;
}

.sidebar-title {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #333;
    font-weight: 400;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
}

/* Unified style for BOTH category and product lists */
.category-list,
.product-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 185px;
}

.category-list li,
.product-sidebar-list li {
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.category-list li:last-child,
.product-sidebar-list li:last-child {
    border-bottom: none;
}

.category-list a,
.product-sidebar-list a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.category-list a:hover,
.product-sidebar-list a:hover {
    color: #0073aa;
}

.product-price {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 4px;
}

/* Back link styling */
.product-sidebar-list li:first-child a {
    color: black;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

/* "All Fillings & Wraps" link gets special styling in category list */
.category-list li:first-child a {
    color: black;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.product-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-sidebar-list li {
  margin-bottom: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.product-sidebar-list li:last-child {
  border-bottom: none;
}

.product-sidebar-list a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
  width: 200px;
}

.product-sidebar-list a:hover {
  color: #0073aa;
}

.product-price {
  display: block;
  color: #666;
  font-size: 0.9em;
  margin-top: 4px;
}

/* Back link styling */
.product-sidebar-list li:first-child a {
  color: black;
  padding-bottom: 10px;
  margin-bottom: 12px;
}




/* Page Map Styling */

.page-map {
  margin-top: 20px;
  font-size: 13px;
  color: black;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transform: translateX(200px);
  padding-left: 25px;
  z-index: 10;

}

.page-map a {
  text-decoration: none;
  color: black;
}

/* ===== MAIN CONTENT - FIXED ===== */
.twc-main-content {
    flex-grow: 1;
    padding-left: 20px;
    min-width: 0;
    overflow: hidden;
    padding-bottom: 100px;
}

.twc-right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
    position: relative;
}

/* ===== PRODUCT GRID (Used in Category View) ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.product-card {
    background: white;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #d5d5d5;
}

.image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .image-container img {
    transform: scale(1.03);
}

.product-name {
    display: block;
    text-align: center;
    font-size: 14px;
    padding: 20px 10px;
    line-height: 1.4;
    border-top: 1px solid #f0f0f0;
}

/* ===== VISUAL CATEGORY GRID (Default View) - FIXED ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Support either structure: <a> direct child OR wrapper .category-cell */
.category-grid > .category-cell,
.category-grid > a.category-tile {
    width: 100%;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* WIDE banners (1,4,7,8,11) */
.category-grid > .category-cell:nth-child(1),
.category-grid > .category-cell:nth-child(4),
.category-grid > .category-cell:nth-child(7),
.category-grid > .category-cell:nth-child(8),
.category-grid > .category-cell:nth-child(11),
.category-grid > a.category-tile:nth-child(1),
.category-grid > a.category-tile:nth-child(4),
.category-grid > a.category-tile:nth-child(7),
.category-grid > a.category-tile:nth-child(8),
.category-grid > a.category-tile:nth-child(11) {
    grid-column: 1 / -1;
}

/* Half-width items (2,3,5,6,9,10) */
.category-grid > .category-cell:nth-child(2),
.category-grid > .category-cell:nth-child(3),
.category-grid > .category-cell:nth-child(5),
.category-grid > .category-cell:nth-child(6),
.category-grid > .category-cell:nth-child(9),
.category-grid > .category-cell:nth-child(10),
.category-grid > a.category-tile:nth-child(2),
.category-grid > a.category-tile:nth-child(3),
.category-grid > a.category-tile:nth-child(5),
.category-grid > a.category-tile:nth-child(6),
.category-grid > a.category-tile:nth-child(9),
.category-grid > a.category-tile:nth-child(10) {
    grid-column: span 6;
}

/* ===== TILE (clickable area) - FIXED ===== */
.category-tile {
    position: relative;
    text-decoration: none;
    color: #333;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    display: block;
    max-width: 100%;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

/* Media wrappers */
.tile-video,
.tile-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Default tiles: tall (exclude 1,4,7,8,11 which are wide banners) */
.category-grid > .category-cell:not(:nth-child(1)):not(:nth-child(4)):not(:nth-child(7)):not(:nth-child(8)):not(:nth-child(11)) .tile-video,
.category-grid > .category-cell:not(:nth-child(1)):not(:nth-child(4)):not(:nth-child(7)):not(:nth-child(8)):not(:nth-child(11)) .tile-image,
.category-grid > a.category-tile:not(:nth-child(1)):not(:nth-child(4)):not(:nth-child(7)):not(:nth-child(8)):not(:nth-child(11)) .tile-video,
.category-grid > a.category-tile:not(:nth-child(1)):not(:nth-child(4)):not(:nth-child(7)):not(:nth-child(8)):not(:nth-child(11)) .tile-image {
    height: 800px;
    max-height: 800px;
}

/* Wide banners: shorter height (1,4,7,8,11) */
.category-grid > .category-cell:nth-child(1) .tile-video,
.category-grid > .category-cell:nth-child(1) .tile-image,
.category-grid > .category-cell:nth-child(4) .tile-video,
.category-grid > .category-cell:nth-child(4) .tile-image,
.category-grid > .category-cell:nth-child(7) .tile-video,
.category-grid > .category-cell:nth-child(7) .tile-image,
.category-grid > .category-cell:nth-child(8) .tile-video,
.category-grid > .category-cell:nth-child(8) .tile-image,
.category-grid > .category-cell:nth-child(11) .tile-video,
.category-grid > .category-cell:nth-child(11) .tile-image,
.category-grid > a.category-tile:nth-child(1) .tile-video,
.category-grid > a.category-tile:nth-child(1) .tile-image,
.category-grid > a.category-tile:nth-child(4) .tile-video,
.category-grid > a.category-tile:nth-child(4) .tile-image,
.category-grid > a.category-tile:nth-child(7) .tile-video,
.category-grid > a.category-tile:nth-child(7) .tile-image,
.category-grid > a.category-tile:nth-child(8) .tile-video,
.category-grid > a.category-tile:nth-child(8) .tile-image,
.category-grid > a.category-tile:nth-child(11) .tile-video,
.category-grid > a.category-tile:nth-child(11) .tile-image {
    height: 450px;
    max-height: 450px;
}

/* Fill media */
.tile-image {
    background-size: cover;
    background-position: center;
    transition: transform .3s ease;
}

.tile-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.category-tile:hover .tile-image,
.category-tile:hover .tile-video video {
    transform: scale(1.03);
}

/* Optional soft gradient for label readability */
.tile-video::after,
.tile-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Label pill - FIXED (removed huge width) */
.tile-label {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: #fff;
    color: #111;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Non-clickable header (kicker) above the image */
.product-tile-header {
    margin: 0 0 8px;
}

.tile-kicker {
    margin: 0;
    text-align: center;
    font-size: 20px;
    color: #6b7280;
    background: #fff;
    border-radius: 6px;
    margin-top: 20px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 900px) {
    .twc-inspired-sundries {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .twc-sidebar-wrapper {
        width: 100%;
        margin-bottom: 30px;
        min-width: auto;
    }
    
    .twc-main-content {
        padding-left: 0;
    }
    
    /* Make half-width items full width on mobile */
    .category-grid > .category-cell:nth-child(2),
    .category-grid > .category-cell:nth-child(3),
    .category-grid > .category-cell:nth-child(5),
    .category-grid > .category-cell:nth-child(6),
    .category-grid > .category-cell:nth-child(9),
    .category-grid > .category-cell:nth-child(10),
    .category-grid > a.category-tile:nth-child(2),
    .category-grid > a.category-tile:nth-child(3),
    .category-grid > a.category-tile:nth-child(5),
    .category-grid > a.category-tile:nth-child(6),
    .category-grid > a.category-tile:nth-child(9),
    .category-grid > a.category-tile:nth-child(10) {
        grid-column: 1 / -1;
    }
    
    /* Adjust heights for mobile */
    .category-grid > .category-cell .tile-video,
    .category-grid > .category-cell .tile-image,
    .category-grid > a.category-tile .tile-video,
    .category-grid > a.category-tile .tile-image {
        height: 400px !important;
        max-height: 400px !important;
    }
    
    /* Adjust product layout for mobile */
    .pu-product-item {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        height: 400px;
    }
    
    .product-details {
        width: 100%;
    }
    
    .pu-product-item.horizontal-layout .bottom-section {
        flex-direction: column;
    }
    
    .pu-product-item.horizontal-layout .bottom-left {
        width: 100%;
    }
    
    .pu-product-item.horizontal-layout .bottom-right {
        width: 100%;
        margin: 20px auto 0;
    }
}

.tile-video {
    width: 100%;
    height: 750px;
    overflow: hidden;
    position: relative;
    max-height: 750px;
}

.tile-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.category-tile:hover .tile-video video {
    transform: scale(1.03);
}

/* ===== STRIP (horizontal, scrollable) ===== */
.category-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin: 0 0 24px;
    width: 100%;
    max-width: 100%;
}

.category-strip::-webkit-scrollbar {
    height: 8px;
}

.category-strip::-webkit-scrollbar-thumb {
    background: #d2d4d7;
    border-radius: 8px;
}

/* CARD */
.strip-card {
    flex: 0 0 160px;
    text-decoration: none;
    color: #111;
    scroll-snap-align: start;
    max-width: 100%;
}

@media (min-width: 1200px) {
    .strip-card {
        flex-basis: 180px;
    }
}

@media (max-width: 680px) {
    .strip-card {
        flex-basis: 45%;
    }
}

/* MEDIA (portrait tile) */
.strip-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f6f7f8;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.strip-card__img,
.strip-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.strip-card:hover .strip-card__img,
.strip-card:hover .strip-card__video {
    transform: scale(1.03);
}

/* LABEL (like the example) */
.strip-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    font-size: 17px;
    text-align: center;
    letter-spacing: .02em;
    color: #fff;
    text-transform: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 75%);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ===== PAGE TITLE ===== */
.page-title {
    margin: 0 0 14px;
    padding-left: 40px;
    color: #202428;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: var(--global-heading-font-weight, 400);
    letter-spacing: .05rem;
    line-height: 2.2rem;
    text-decoration: none;
    text-transform: none;
    font-style: normal;
    max-width: 100%;
    padding-top: 0px;
}

.page-title h1 {
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    color: #202428;
}

.page-title .page-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: clamp(14px, 1.6vw, 16px);
}

/* ===== BANNER STYLES ===== */
.top-category-banner {
    width: 100%;
    position: relative;
    max-width: 100%;
}

.banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-link:hover .banner-image {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.banner-link:hover .banner-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 80%;
}

.banner-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.banner-cta {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 0px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.banner-link:hover .banner-cta {
    background: white;
    color: #000;
}



/* ===== PRINT STYLES ===== */
@media print {
    .sundries-page-wrapper {
        width: 100%;
        margin: 0;
        left: 0;
        right: 0;
    }
    
    .marquee__track,
    .foam-marquee-track {
        animation: none !important;
    }
}