.recycle-catalogue.sell-now-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 1rem; box-sizing: border-box; }
.recycle-catalogue * { box-sizing: border-box; }
.recycle-catalogue .breadcrumb-search-wrapper { display: flex; flex-direction: column; gap: 1rem; width: 100%; padding: 0; margin: 0 0 1.25rem; }
.recycle-catalogue .breadcrumb { padding: 0; margin: 0; width: auto; }
.recycle-catalogue .breadcrumb-item { display: flex; gap: .5rem; flex-wrap: wrap; }
.recycle-catalogue .breadcrumb-text, .recycle-catalogue .breadcrumb-separator { font: .8rem/1.5 Raleway, sans-serif; }
.recycle-catalogue .search-bar { display: flex; align-items: center; gap: .65rem; width: 100%; max-width: 400px; min-height: 48px; padding: .5rem .85rem; margin: 0; background: #f8fafc; border: 1px solid #cad7e6; border-radius: 10px; }
.recycle-catalogue .search-icon { display: flex; width: auto; height: auto; color: #617185; }
.recycle-catalogue .search-text { width: 100%; min-width: 0; min-height: 32px; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #24364b; font: 1rem/1.5 Raleway, sans-serif; }
.recycle-catalogue .search-bar:focus-within { background: #eef4fc; }
.catalogue-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.catalogue-heading h1 { margin: 0 0 .4rem; color: #0066cc; font: 400 clamp(1.6rem, 3vw, 2.25rem)/1.4 Anton, sans-serif; }
.catalogue-heading p { margin: 0; color: #596575; font: .85rem/1.7 Raleway, sans-serif; }
#catalogue-result-count { color: #617185; font: .8rem/1.5 Raleway, sans-serif; white-space: nowrap; }
.recycle-catalogue .products-wrapper { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; width: 100%; margin: 0; padding: 0; align-items: start; }
/* Preserve category colors, active expansion, and hover animation. */
.recycle-catalogue .category-list { width: 100%; min-width: 0; flex-direction: row; gap: .75rem; overflow-x: auto; align-items: center; padding: .5rem; border-radius: 12px; }
.recycle-catalogue .category-list .category-item { width: 130px; }
.recycle-catalogue .product-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; width: 100%; min-width: 0; }
.recycle-catalogue .product-section .product-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: .85rem; width: 100%; max-width: none; height: auto; min-width: 0; margin: 0; padding: 1rem; border: 1px solid #dce4ed; border-radius: 14px; background: white; box-shadow: 0 2px 5px #19314e12, 0 7px 18px #19314e1a; }
.recycle-catalogue .product-section .product-card:hover { transform: none; border-radius: 14px; border-color: #98bde5; }
.recycle-catalogue .product-section .product-card[hidden] { display: none; }
.catalogue-product-photo { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #fff; }
.catalogue-photo-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .65rem; background: #f8fafc; color: #7791ad; }
.catalogue-photo-fallback span { color: #617185; font: .75rem/1.5 Raleway, sans-serif; }
.recycle-catalogue .product-section .product-card .catalogue-product-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; background: white; object-fit: contain; }
.recycle-catalogue .product-section .product-card img[hidden] { display: none; }
.recycle-catalogue .product-section .product-card .product-name { flex: 1; margin: 0; padding: 0; color: #24364b; font: 600 .9rem/1.6 Raleway, sans-serif; text-align: left; overflow-wrap: anywhere; }
.recycle-catalogue .product-section .product-card .product-price { flex: 0 0 auto; margin: 0; color: #24364b; font: 700 1.25rem/1.5 Raleway, sans-serif; text-align: left; }
.recycle-catalogue .product-section .product-card .product-button { margin: 0; width: 100%; border-radius: 8px; }
.recycle-catalogue .product-section .product-card .product-button button { width: 100%; min-height: 44px; height: auto; margin: 0; padding: .7rem; border-radius: 8px; font: 600 .85rem/1.5 Raleway, sans-serif; }
.recycle-catalogue .product-section .product-card .product-button button:hover { width: 100%; border-radius: 8px; }
.recycle-catalogue .no-products { grid-column: 1 / -1; width: 100%; padding: 2rem 1rem; color: #617185; font: .9rem/1.7 Raleway, sans-serif; text-align: center; }
@media (min-width: 480px) { .recycle-catalogue .product-section { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
    .recycle-catalogue.sell-now-container { padding: 1.5rem; }
    .recycle-catalogue .breadcrumb-search-wrapper { flex-direction: row; justify-content: space-between; align-items: center; }
    .recycle-catalogue .products-wrapper { grid-template-columns: 174px minmax(0, 1fr); gap: 1.5rem; }
    .recycle-catalogue .category-list { flex-direction: column; align-items: stretch; overflow: visible; padding: 0; gap: 1rem; }
    .recycle-catalogue .category-list .category-item { width: 100%; }
    .recycle-catalogue .product-section { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
    .recycle-catalogue .category-list { justify-content: flex-start; }
    .recycle-catalogue .category-list .category-item { flex: 0 0 130px; }
}
@media (max-width: 599px) {
    .recycle-catalogue .product-section { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .recycle-catalogue .catalogue-product-photo { aspect-ratio: 4 / 3; }
}

@media (hover: hover) and (pointer: fine) {
    .recycle-catalogue .product-section .product-card:hover { background: linear-gradient(135deg, #0066cc, #4da6ff, #0066cc, #4da6ff); background-size: 400% 400%; animation: gradientRotate 10s linear infinite; border-color: transparent; }
    .recycle-catalogue .product-section .product-card:hover .product-name,
    .recycle-catalogue .product-section .product-card:hover .product-price { color: white; }
    .recycle-catalogue .product-section .product-card:hover .product-button button { background: white; color: #0054aa; }
}
@media (hover: none) and (pointer: coarse) {
    .recycle-catalogue .product-section .product-card.is-touch-highlight { background: linear-gradient(135deg, #0066cc, #4da6ff, #0066cc, #4da6ff); background-size: 400% 400%; animation: gradientRotate 10s linear infinite; border-color: transparent; }
    .recycle-catalogue .product-section .product-card.is-touch-highlight .product-name,
    .recycle-catalogue .product-section .product-card.is-touch-highlight .product-price { color: white; }
    .recycle-catalogue .product-section .product-card.is-touch-highlight .product-button button { background: white; color: #0054aa; }
}
@media (prefers-reduced-motion: reduce) {
    .recycle-catalogue .product-section .product-card:hover,
    .recycle-catalogue .product-section .product-card.is-touch-highlight { animation: none; }
}

@media (max-width: 599px) {
    .recycle-catalogue .catalogue-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: .65rem; row-gap: .3rem; margin-bottom: 1rem; }
    .recycle-catalogue .catalogue-heading > div { display: contents; }
    .recycle-catalogue .catalogue-heading h1 { grid-column: 1; grid-row: 1; margin: 0; font-size: 1.3rem; line-height: 1.4; }
    .recycle-catalogue #catalogue-result-count { grid-column: 2; grid-row: 1; font-size: .7rem; }
    .recycle-catalogue .catalogue-heading p { grid-column: 1 / -1; grid-row: 2; font-size: .75rem; line-height: 1.5; }
}

@media (max-width: 899px) {
    .recycle-catalogue .category-list { gap: .5rem; padding: .4rem .4rem .65rem; border-radius: 12px; box-shadow: 0 3px 12px #19314e12; scrollbar-width: thin; scrollbar-color: #b7c9dd transparent; scroll-padding-inline: .4rem; scroll-snap-type: x proximity; }
    .recycle-catalogue .category-list::-webkit-scrollbar { height: 3px; }
    .recycle-catalogue .category-list::-webkit-scrollbar-track { background: transparent; }
    .recycle-catalogue .category-list::-webkit-scrollbar-thumb { background: #b7c9dd; border-radius: 4px; animation: none; }
    .recycle-catalogue .category-list .category-item { flex-basis: 112px; scroll-snap-align: start; }
    .recycle-catalogue .category-list .category-item .category-text { font-size: .85rem; }
    .recycle-catalogue .category-list .category-item img { width: 36px; height: 36px; object-fit: contain; margin-bottom: .4rem; }
}

#catalogue-search-clear { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #617185; }
#catalogue-search-clear:hover { background: #e4edf7; }
#catalogue-search-clear[hidden], .catalogue-search-notice[hidden] { display: none; }
.catalogue-search-notice { margin: -.25rem 0 1rem; padding: .75rem 1rem; border-radius: 8px; background: #edf4fc; color: #425b77; font: .85rem/1.7 Raleway, sans-serif; }

.recycle-catalogue .category-list .category-item img[hidden] { display: none; }
.recycle-catalogue .category-list .category-item .category-text { max-width: 100%; padding-inline: .5rem; white-space: normal; overflow-wrap: anywhere; text-align: center; line-height: 1.4; }

.recycle-catalogue .catalogue-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-top: .8rem; border-top: 1px solid #e6ebf1; }
.catalogue-card-value { flex: 1 1 auto; }
.catalogue-value-label { display: block; margin-bottom: .15rem; color: #617185; font: .7rem/1.5 Raleway, sans-serif; }
.recycle-catalogue .product-section .product-card .product-name { font-weight: 700; font-size: .95rem; line-height: 1.5; }
.recycle-catalogue .product-section .product-card .catalogue-card-footer .product-button { width: auto; flex: 0 1 auto; }
.recycle-catalogue .product-section .product-card .catalogue-card-footer .product-button button { padding-inline: 1rem; }
@media (max-width: 599px) {
    .recycle-catalogue .catalogue-product-photo { aspect-ratio: 3 / 2; max-height: 220px; }
    .recycle-catalogue .product-section .product-card { gap: 1rem; }
    .recycle-catalogue .product-section .product-card .product-price { font-size: 1.35rem; }
}
@media (hover: hover) and (pointer: fine) {
    .recycle-catalogue .product-card:hover .catalogue-value-label { color: #fff; }
}
@media (hover: none) and (pointer: coarse) {
    .recycle-catalogue .product-card.is-touch-highlight .catalogue-value-label { color: #fff; }
}

/* Fade a separate animated gradient layer instead of swapping backgrounds. */
.recycle-catalogue .product-section .product-card { isolation: isolate; overflow: hidden; }
.recycle-catalogue .product-section .product-card::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: linear-gradient(135deg, #0066cc, #4da6ff, #0066cc, #4da6ff); background-size: 400% 400%; animation: gradientRotate 10s linear infinite; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.recycle-catalogue .product-section .product-card > * { position: relative; z-index: 1; }
.recycle-catalogue .product-section .product-card:hover,
.recycle-catalogue .product-section .product-card.is-touch-highlight { background: white; animation: none; }
.recycle-catalogue .catalogue-card-value, .recycle-catalogue .catalogue-value-label { text-align: left; }
.recycle-catalogue .catalogue-value-label { transition: color .3s ease; }
.recycle-catalogue .catalogue-card-footer { transition: border-color .3s ease; }
.recycle-catalogue .product-section .product-card .product-button button { transition: background-color .3s ease, color .3s ease; }
@media (hover: hover) and (pointer: fine) {
    .recycle-catalogue .product-section .product-card:hover::before { opacity: 1; }
    .recycle-catalogue .product-card:hover .catalogue-card-footer { border-top-color: #ffffff55; }
}
@media (hover: none) and (pointer: coarse) {
    .recycle-catalogue .product-section .product-card.is-touch-highlight::before { opacity: 1; }
    .recycle-catalogue .product-card.is-touch-highlight .catalogue-card-footer { border-top-color: #ffffff55; }
}
@media (prefers-reduced-motion: reduce) {
    .recycle-catalogue .product-section .product-card::before { animation: none; transition: none; }
}

.recycle-catalogue .product-section > .no-products { align-self: start; margin: 0; border: 1px solid #e1e7ef; border-radius: 12px; background: #f8fafc; box-shadow: none; }

@media (min-width: 900px) {
    .recycle-catalogue .category-list { position: static; top: auto; align-self: start; max-height: none; overflow: visible; scrollbar-width: thin; scrollbar-color: #b7c9dd transparent; }
}

/* Subtle branded scrollbar without extra category padding. */
.recycle-catalogue .category-list { scrollbar-width: thin; scrollbar-color: #8e9eb1 transparent; }
.recycle-catalogue .category-list::-webkit-scrollbar { width: 3px; height: 3px; }
.recycle-catalogue .category-list::-webkit-scrollbar-track { background: transparent; }
.recycle-catalogue .category-list::-webkit-scrollbar-thumb { border: 0; border-radius: 3px; background: linear-gradient(135deg, #80a9cf, #80bfff); animation: none; }
.recycle-catalogue .category-list::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #6295c5, #4da6ff); }
@supports selector(::-webkit-scrollbar) {
    .recycle-catalogue .category-list { scrollbar-width: auto; scrollbar-color: auto; }
}
@media (min-width: 900px) {
    .recycle-catalogue .category-list { padding-right: 0; }
}

/* Hide only the scrollbar; preserve the existing selector styling. */
.recycle-catalogue .category-list { scrollbar-width: none; }
.recycle-catalogue .category-list::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Clear the previous scroll viewport and fade constraints. */
.recycle-catalogue .category-list { height: auto; max-height: none; mask-image: none; -webkit-mask-image: none; }
@media (min-width: 900px) {
    .recycle-catalogue .category-list { position: static; overflow: visible; }
    .recycle-catalogue .category-list .category-item { flex: 0 0 auto; min-height: 50px; }
    .recycle-catalogue .category-list .category-item.active { min-height: 100px; }
}
