/* Clearer product presentation across the catalog and product detail page. */
.catalog-page-main {
    background: #f1f5f9 !important;
}

.catalog-page-inner {
    padding-top: clamp(1rem, 3vw, 2rem) !important;
    padding-bottom: clamp(2rem, 5vw, 4rem) !important;
}

.product-card {
    min-width: 0;
}

.product-img-wrap {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    padding: 0 !important;
    background: #f8fafc !important;
}

.product-img-wrap .p-img-link {
    display: flex;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: clamp(0.75rem, 2.5vw, 1.5rem);
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 1rem) !important;
    max-height: calc(100% - 1rem) !important;
    object-fit: contain !important;
}

.catalog-pf-toolbar {
    gap: 1rem 1.5rem !important;
}

.catalog-products-count {
    letter-spacing: 0.06em !important;
}

.catalog-filter-open-btn:focus-visible,
.catalog-filter-close:focus-visible,
.catalog-sort-select:focus-visible,
.product-card a:focus-visible,
.product-card button:focus-visible {
    outline: 3px solid #f57539 !important;
    outline-offset: 3px;
}

.pdp-ecom-gallery {
    min-width: 0;
}

.product-container.pdp-ecom-card {
    max-width: 1160px !important;
}

.pdp-ecom-gallery .main-img-container {
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    padding: clamp(1rem, 3vw, 2rem) !important;
    background: #f8fafc !important;
}

.pdp-ecom-gallery .main-img-container > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.pdp-thumbs {
    flex-wrap: wrap;
}

.pdp-thumbs .thumb-item {
    flex: 0 0 80px;
}

/* Keep related-product cards compact and let the row read like a carousel. */
.pdp-recommendations .container {
    max-width: 1120px !important;
}

.pdp-recommendations .pdp-rec-viewport {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.pdp-recommendations .pdp-rec-grid.related-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    justify-content: start !important;
    align-items: start !important;
    width: 100% !important;
}

.pdp-recommendations .pdp-rec-grid .product-card {
    min-width: 0;
    min-height: 0;
    height: auto !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    scroll-snap-align: start;
    border-radius: 14px !important;
    background: #ffffff !important;
}

.pdp-recommendations .product-img-wrap {
    position: relative !important;
    flex: 0 0 auto;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    max-height: 170px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.75rem !important;
    border-radius: 13px 13px 0 0 !important;
    background: #f8fafc !important;
}

.pdp-recommendations .product-img-wrap img {
    width: auto !important;
    height: auto !important;
    max-width: calc(100% - 1rem) !important;
    max-height: calc(100% - 1rem) !important;
    object-fit: contain !important;
}

.pdp-recommendations .product-info {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    padding: 0.85rem !important;
    gap: 0.65rem !important;
}

.pdp-recommendations .p-category {
    margin-bottom: 0.3rem !important;
    color: #64748b !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.08em !important;
}

.pdp-recommendations .product-card-footer {
    margin-top: 0.5rem !important;
    padding: 0 !important;
}

.pdp-recommendations .p-meta {
    min-width: 0;
    margin-bottom: 0 !important;
}

.pdp-recommendations .p-category {
    margin-bottom: 0.3rem !important;
    color: #64748b !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.08em !important;
}

.pdp-recommendations .p-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.35 !important;
}

.pdp-recommendations .p-price-box {
    margin: 0 !important;
    padding: 0 !important;
}

.pdp-recommendations .p-card-actions {
    gap: 0.5rem !important;
}

.pdp-recommendations .btn-card-add,
.pdp-recommendations .btn-card-buy {
    min-height: 40px;
    border-radius: 8px !important;
}

.pdp-recommendations .btn-card-buy {
    font-size: 0.78rem !important;
}

.pdp-rec-status {
    grid-column: 1 / -1;
    margin: 0;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #ffffff;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
}

.pdp-premium-recommendations {
    margin-top: 0 !important;
    padding-top: clamp(1rem, 3vw, 2rem) !important;
    border-top: 0 !important;
}

.pdp-ecom-buybox .pdp-buy-inner > * {
    margin-bottom: 1rem !important;
}

.pdp-ecom-buybox .ecom-price-container,
.pdp-ecom-buybox .ecom-highlights-checklist,
.pdp-ecom-buybox .pdp-volume-pricing,
.pdp-ecom-buybox .pdp-pincode-box,
.pdp-ecom-buybox .pdp-purchase-block {
    padding: 1rem !important;
}

@media (max-width: 767px) {
    .catalog-page-inner {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .catalog-hero {
        margin-bottom: 1rem !important;
        border-radius: 14px !important;
    }

    .catalog-pf-toolbar {
        margin-bottom: 1rem !important;
        padding: 1rem !important;
    }

    #products-grid {
        gap: 0.75rem !important;
        padding: 0 !important;
    }

    .product-img-wrap {
        border-radius: 10px 10px 0 0 !important;
    }

    .product-img-wrap .p-img-link {
        padding: 0.75rem;
    }

    .product-info {
        padding: 0.75rem !important;
        gap: 0.65rem !important;
    }

    .p-title {
        font-size: 0.9rem !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
    }

    .p-card-actions {
        display: flex !important;
        gap: 0.5rem !important;
    }

    .btn-card-add,
    .btn-card-buy {
        min-height: 42px;
    }

    .btn-card-buy {
        gap: 0.35rem;
        padding-inline: 0.45rem !important;
    }

    .pdp-page-wrap {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .product-container.pdp-ecom-card {
        margin: 0.5rem 0 1.5rem !important;
    }

    .pdp-ecom-gallery {
        padding: 0.75rem !important;
    }

    .pdp-ecom-gallery .main-img-container {
        border-radius: 12px !important;
    }

    .pdp-ecom-buybox .pdp-buy-inner > * {
        margin-bottom: 0.75rem !important;
    }

    .pdp-ecom-buybox .ecom-brand-row,
    .pdp-ecom-buybox .ecom-rating-box,
    .pdp-ecom-buybox .ecom-price-container,
    .pdp-ecom-buybox .ecom-highlights-checklist,
    .pdp-ecom-buybox .ecom-variants-box,
    .pdp-ecom-buybox .pdp-volume-pricing,
    .pdp-ecom-buybox .pdp-pincode-box,
    .pdp-ecom-buybox .pdp-purchase-block {
        margin-bottom: 0.75rem !important;
    }

    .pdp-ecom-buybox .ecom-current-price {
        font-size: 1.9rem !important;
    }

    .pdp-ecom-buybox .ecom-highlights-checklist {
        gap: 0.45rem !important;
        padding: 0.8rem !important;
    }

    .pdp-ecom-buybox .ecom-hl-point {
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
    }

    .pdp-ecom-buybox .pdp-tier-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.4rem !important;
    }

    .pdp-ecom-buybox .tier-pill {
        min-width: 0;
        padding: 0.55rem 0.35rem !important;
        align-items: center !important;
        text-align: center !important;
    }

    .pdp-ecom-buybox .tier-pill strong,
    .pdp-ecom-buybox .tier-pill span {
        font-size: 0.72rem !important;
    }

    .pdp-ecom-buybox .pdp-qty-row {
        margin-bottom: 0.65rem !important;
        padding-bottom: 0.65rem !important;
    }

    .pdp-ecom-buybox .pdp-engineer-consult {
        margin-top: 0.75rem !important;
    }

    .pdp-recommendations {
        padding: 2rem 0 !important;
    }

    .pdp-recommendations .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .pdp-recommendations .pdp-rec-viewport {
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
        padding: 0 0.75rem 0.65rem !important;
    }

    .pdp-recommendations .pdp-rec-grid.related-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        gap: 0.75rem !important;
    }

    .pdp-recommendations .pdp-rec-grid .product-card {
        flex: 0 0 min(68vw, 230px) !important;
        width: min(68vw, 230px) !important;
        max-width: 230px !important;
    }

    section.pdp-recommendations .pdp-rec-grid .product-img-wrap {
        height: 128px !important;
        max-height: 128px !important;
    }

    .pdp-recommendations .product-info {
        padding: 0.75rem !important;
        gap: 0.5rem !important;
    }

    .pdp-recommendations .p-title {
        font-size: 0.9rem !important;
    }

    .pdp-recommendations .p-card-actions {
        gap: 0.4rem !important;
    }

    .pdp-recommendations .btn-card-add,
    .pdp-recommendations .btn-card-buy {
        min-height: 38px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .pdp-recommendations .pdp-rec-grid.related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1024px) {
    .product-container.pdp-ecom-card {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr) !important;
        gap: clamp(1.5rem, 2.5vw, 2.25rem) !important;
        padding: clamp(1.5rem, 2.5vw, 2rem) !important;
        margin-bottom: 2.5rem !important;
    }

    .pdp-ecom-gallery {
        max-width: 500px;
    }

    .pdp-recommendations .pdp-rec-grid.related-grid {
        grid-template-columns: repeat(4, minmax(0, 220px)) !important;
        justify-content: center !important;
    }

    section.pdp-recommendations .pdp-rec-grid .product-img-wrap {
        height: 150px !important;
        max-height: 150px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-img-wrap img {
        transition: none !important;
    }
}

/* About page */
.about-page {
    color: #0f172a;
    background: #ffffff;
}

.about-page .about-hero {
    min-height: clamp(34rem, 74vh, 48rem);
    padding: clamp(3rem, 7vw, 6rem) 0;
    background:
        linear-gradient(90deg, rgba(8, 15, 24, 0.88) 0%, rgba(8, 15, 24, 0.68) 52%, rgba(8, 15, 24, 0.22) 100%),
        url("../images/warehouse-bg.jpg") center 52% / cover no-repeat;
}

.about-page .about-hero__inner {
    display: flex;
    width: 100%;
    align-items: center;
}

.about-page .about-hero-content {
    max-width: 43rem;
    margin: 0;
    padding: 0;
    text-align: left;
}

.about-page .about-hero-content .about-kicker {
    color: #fed7aa;
}

.about-page .about-hero-content h1 {
    color: #ffffff !important;
}

.about-page .about-hero-content h1 .text-orange {
    color: #fdba74 !important;
}

.about-page .about-hero-content p {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-page .about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-page .about-button--secondary {
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.about-page .about-button--secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.about-page .about-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.4rem;
    margin: 1.75rem 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    list-style: none;
}

.about-page .about-hero__points li::before {
    margin-right: 0.5rem;
    color: #fdba74;
    content: "\2022";
}

.about-simple {
    padding: clamp(3rem, 7vw, 6rem) 0;
    background: #f8fafc;
}

.about-simple__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.about-simple__content {
    max-width: 36rem;
}

.about-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: #c2410c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.about-simple__content h1 {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.about-simple__content p {
    max-width: 34rem;
    margin: 0 0 1.5rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.about-button:hover {
    transform: translateY(-1px);
}

.about-button:focus-visible {
    outline: 3px solid rgba(234, 88, 12, 0.35);
    outline-offset: 3px;
}

.about-button--primary {
    color: #ffffff;
    background: #ea580c;
    box-shadow: 0 8px 18px rgba(194, 65, 12, 0.16);
}

.about-button--primary:hover {
    color: #ffffff;
    background: #c2410c;
}

.about-simple__visual {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #e2e8f0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.about-simple__visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
    object-position: center 42%;
}

.about-page .founder-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: #ffffff;
}

.about-page .founder-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.about-page .founder-content {
    max-width: 54rem;
    padding: 0;
}

.about-page .founder-content h2 {
    max-width: 18ch;
    margin: 0 0 0.8rem;
    color: #0f172a;
    font-size: clamp(1.8rem, 3.6vw, 2.65rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.about-page .founder-content .lead-text {
    margin-bottom: 1.35rem;
    color: #c2410c;
    font-size: 1.05rem;
    font-weight: 650;
}

.about-story__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-page .founder-content p {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
}

.about-page .leadership-signature {
    max-width: 25rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
}

.about-page .leadership-icon {
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #fed7aa;
    background: #fff7ed;
}

.about-page .leadership-info h4 {
    color: #0f172a;
}

.about-page .leadership-info span {
    color: #64748b;
}

.about-page .dedication-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background: #f8fafc !important;
    color: #0f172a;
}

.about-page .dedication-section::before {
    display: none;
}

.about-page .dedication-header {
    max-width: 42rem;
    margin: 0 0 2rem;
    text-align: left;
}

.about-page .dedication-header .kicker {
    color: #c2410c !important;
}

.about-page .dedication-header h2 {
    margin-bottom: 0.65rem;
    color: #0f172a !important;
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    letter-spacing: -0.035em;
}

.about-page .dedication-header p {
    margin: 0;
    color: #475569 !important;
    font-size: 1rem;
    line-height: 1.65;
}

.about-page .dedication-grid {
    gap: 1rem;
}

.about-page .dedication-card {
    min-width: 0;
    padding: clamp(1.35rem, 2.8vw, 2rem);
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.about-page .dedication-card:hover {
    transform: translateY(-3px);
    border-color: #fed7aa;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.about-page .dedication-icon-wrap {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.2rem;
    border: 1px solid #fed7aa;
    border-radius: 0.75rem;
    background: #fff7ed;
    color: #c2410c !important;
}

.about-page .dedication-card:hover .dedication-icon-wrap {
    transform: none;
    background: #fff7ed;
    color: #c2410c;
    box-shadow: none;
}

.about-page .dedication-card h3 {
    margin-bottom: 0.55rem;
    color: #0f172a !important;
    font-size: 1.15rem;
    line-height: 1.3;
}

.about-page .dedication-card p {
    color: #475569 !important;
    font-size: 0.95rem;
    line-height: 1.65;
}

.about-cta {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    background: #0f172a;
}

.about-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.about-cta .about-kicker {
    margin-bottom: 0.5rem;
    color: #fdba74;
}

.about-cta h2 {
    max-width: 36rem;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .about-page .about-hero {
        min-height: 36rem;
        padding: 4rem 0;
        background-position: 58% center;
    }

    .about-page .about-hero__inner {
        align-items: flex-end;
    }

    .about-page .about-hero-content h1 {
        font-size: clamp(2.25rem, 10vw, 3.2rem);
    }

    .about-page .about-hero-content p {
        font-size: 1.05rem;
    }

    .about-page .about-hero__points {
        gap: 0.5rem 1rem;
        font-size: 0.82rem;
    }

    .about-simple {
        padding: 2.5rem 0 3rem;
    }

    .about-simple__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .about-simple__visual img {
        aspect-ratio: 1.3 / 1;
    }
}

/* Compact two-column product browsing on phones. */
@media (max-width: 767px) {
    #products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem !important;
        padding: 0 !important;
    }

    #products-grid > .product-card {
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
    }

    #products-grid .product-img-wrap {
        aspect-ratio: 1 / 1 !important;
    }

    #products-grid .product-info {
        min-width: 0;
        gap: 0.55rem !important;
        padding: 0.7rem !important;
    }

    #products-grid .p-category {
        overflow: hidden;
        font-size: 0.64rem !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #products-grid .p-title {
        display: -webkit-box;
        min-height: 2.6em;
        overflow: hidden;
        font-size: 0.84rem !important;
        line-height: 1.3 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    #products-grid .p-price.current {
        font-size: 0.9rem !important;
    }

    #products-grid .p-price.old {
        font-size: 0.72rem !important;
    }

    #products-grid .p-card-actions {
        gap: 0.35rem !important;
    }

    #products-grid .btn-card-add {
        flex: 0 0 2.35rem !important;
        width: 2.35rem !important;
        min-width: 2.35rem !important;
        max-width: 2.35rem !important;
        min-height: 2.5rem !important;
        height: 2.5rem !important;
    }

    #products-grid .btn-card-buy {
        min-width: 0;
        min-height: 2.5rem !important;
        padding: 0.35rem 0.4rem !important;
        font-size: 0.68rem !important;
    }
}

@media (max-width: 360px) {
    #products-grid {
        gap: 0.55rem !important;
    }

    #products-grid .product-info {
        padding: 0.55rem !important;
    }
}

/* Keep product recommendations visible as a scannable list on mobile. */
@media (max-width: 767px) {
    .pdp-recommendations .pdp-rec-viewport {
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .pdp-recommendations .pdp-rec-viewport::after {
        display: none !important;
    }

    .pdp-recommendations .pdp-rec-grid.related-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        gap: 0.75rem !important;
        margin: 0 !important;
    }

    .pdp-recommendations .pdp-rec-grid .product-card {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: initial !important;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }

    .pdp-recommendations .pdp-rec-grid .product-img-wrap {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: 1 / 1 !important;
    }

    .pdp-recommendations .product-info {
        min-width: 0;
        padding: 0.65rem !important;
        gap: 0.45rem !important;
    }

    .pdp-recommendations .p-category {
        overflow: hidden;
        font-size: 0.62rem !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pdp-recommendations .p-title {
        min-height: 2.5em;
        font-size: 0.82rem !important;
        line-height: 1.28 !important;
    }

    .pdp-recommendations .p-price.current {
        font-size: 0.88rem !important;
    }

    .pdp-recommendations .p-price.old {
        font-size: 0.7rem !important;
    }

    .pdp-recommendations .p-card-actions {
        gap: 0.3rem !important;
    }

    .pdp-recommendations .btn-card-add {
        flex: 0 0 2.25rem !important;
        width: 2.25rem !important;
        min-width: 2.25rem !important;
        max-width: 2.25rem !important;
        min-height: 2.35rem !important;
        height: 2.35rem !important;
    }

    .pdp-recommendations .btn-card-buy {
        min-width: 0;
        min-height: 2.35rem !important;
        padding: 0.3rem 0.35rem !important;
        font-size: 0.64rem !important;
    }

    .pdp-rec-sub {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .pdp-recommendations .pdp-rec-grid.related-grid {
        gap: 0.55rem !important;
    }

    .pdp-recommendations .product-info {
        padding: 0.5rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-button {
        transition: none;
    }
}

/* Product cards: remove image overlays and use a consistent, centered image stage. */
.product-card .p-badge.sale-badge {
    display: none !important;
}

.product-card .product-img-wrap {
    position: relative !important;
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    place-items: center !important;
    padding: clamp(0.65rem, 2vw, 1.25rem) !important;
    overflow: hidden !important;
    background: #f8fafc !important;
}

.product-card .product-img-wrap > .p-img-link {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    place-items: center !important;
    overflow: hidden !important;
}

.product-card .product-img-wrap > .p-img-link > img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

.product-card:hover .product-img-wrap > .p-img-link > img {
    transform: scale(1.03) !important;
}

/* =============================================
   ABOUT PAGE - Simple styling
   ============================================= */

/* Simple styling moved to extra-fixes.css */

/* Compact, accessible catalog filters. */
.catalog-layout {
    gap: 1.5rem;
}

.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1rem !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

.catalog-sidebar .filter-section {
    margin: 0;
}

.catalog-sidebar h4 {
    margin: 0 0 0.65rem;
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
}

.catalog-sidebar .sidebar-category-filters {
    display: grid;
    gap: 0.75rem;
}

.catalog-sidebar .sidebar-select-field {
    display: grid;
    gap: 0.35rem;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
}

.catalog-sidebar .sidebar-select-field select {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.6rem 2rem 0.6rem 0.75rem;
    border: 1px solid #cbd5e1 !important;
    border-radius: 7px;
    background-color: #f1f3f5 !important;
    color: #334155 !important;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.catalog-sidebar .sidebar-select-field select option {
    background: #f1f3f5 !important;
    color: #334155 !important;
}

.catalog-sidebar .sidebar-select-field select:disabled {
    color: #94a3b8;
    background: #f1f5f9;
    cursor: not-allowed;
}

.catalog-sidebar .sidebar-select-field select:focus-visible {
    outline: 2px solid #94a3b8;
    outline-offset: 2px;
}

.catalog-sidebar .toggle-filter:focus-visible {
    outline: 2px solid #94a3b8;
    outline-offset: 2px;
}

.catalog-sidebar .toggle-filter {
    width: 100%;
    min-height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #334155;
    font: inherit;
    text-align: left;
}

.catalog-sidebar .toggle-filter-label {
    font-size: 0.85rem;
    font-weight: 500;
}

.catalog-sidebar .btn-sidebar-apply {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.catalog-sidebar .btn-sidebar-apply:hover {
    background: #cbd5e1 !important;
}

/* Maintain readable active navigation and use neutral dropdown surfaces. */
.site-header.header-solid .nav-link-item.active,
.site-header.scrolled .nav-link-item.active {
    background: #f1f3f5 !important;
    color: #1e293b !important;
    text-shadow: none !important;
    box-shadow: inset 0 -3px #f57539 !important;
}

.site-header.header-solid .nav-link-item.active::before,
.site-header.scrolled .nav-link-item.active::before {
    inset: 0;
    border-radius: 999px;
    background: transparent !important;
    opacity: 0 !important;
    transform: none !important;
}

.site-header.header-solid .nav-link-item.active:hover,
.site-header.scrolled .nav-link-item.active:hover {
    background: #e5e7eb !important;
    color: #0f172a !important;
}

.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu),
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu),
.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu) .nested-submenu,
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu) .nested-submenu {
    min-width: 15rem !important;
    width: 15rem !important;
    max-width: min(18rem, calc(100vw - 2rem)) !important;
    padding: 0.35rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12) !important;
}

.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu) a,
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu) a,
.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu) .nested-submenu a,
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu) .nested-submenu a {
    min-height: 2.2rem !important;
    padding: 0.45rem 0.65rem !important;
    border-radius: 5px !important;
    color: #1e293b !important;
    font-size: 0.85rem !important;
}

.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu) a:hover,
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu) a:hover,
.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu) a:focus-visible,
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu) a:focus-visible {
    background: #e5e7eb !important;
    color: #0f172a !important;
}

.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu) .submenu-divider,
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu) .submenu-divider {
    background: #d1d5db !important;
}

.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu) a:focus-visible,
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu) a:focus-visible,
.site-header.header-solid .nav-dropdown > .submenu:not(.mega-menu) .nested-submenu a:focus-visible,
.site-header.scrolled .nav-dropdown > .submenu:not(.mega-menu) .nested-submenu a:focus-visible {
    outline: 2px solid #c2410c !important;
    outline-offset: -2px !important;
}

/* Keep catalog cards compact and give both actions enough room. */
@media (min-width: 768px) {
    .catalog-layout {
        gap: 1.25rem;
    }

    .catalog-filter-panel {
        width: 220px;
    }

    .catalog-sidebar {
        gap: 0.85rem;
        padding: 0.75rem !important;
    }

    .catalog-sidebar h4 {
        margin-bottom: 0.45rem;
    }

    .catalog-sidebar .sidebar-category-filters {
        gap: 0.5rem;
    }

    .catalog-sidebar .sidebar-select-field select {
        min-height: 2.3rem;
        padding: 0.4rem 1.75rem 0.4rem 0.6rem;
        font-size: 0.78rem;
    }

    .catalog-sidebar .toggle-filter {
        min-height: 2rem;
        gap: 0.55rem !important;
    }

    .catalog-sidebar .toggle-track {
        width: 36px !important;
        height: 20px !important;
    }

    .catalog-sidebar .toggle-track::after {
        width: 16px !important;
        height: 16px !important;
    }

    .catalog-sidebar .toggle-filter.active .toggle-track::after {
        transform: translateX(16px) !important;
    }

    .catalog-sidebar .toggle-filter-label {
        font-size: 0.78rem;
    }

    .catalog-sidebar .btn-sidebar-apply {
        min-height: 2.3rem;
        font-size: 0.74rem;
    }

    #products-grid.lg-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.85rem !important;
    }
}

@media (min-width: 1024px) {
    #products-grid.lg-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

#products-grid > .product-card {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
}

#products-grid .product-img-wrap {
    flex: 0 0 auto !important;
    height: clamp(125px, 12vw, 155px) !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

#products-grid .product-info {
    flex: 1 1 auto !important;
    gap: 0.45rem !important;
    justify-content: flex-start !important;
    padding: 0.7rem !important;
}

#products-grid .p-meta {
    gap: 0.2rem !important;
    margin: 0 !important;
}

#products-grid .p-title {
    min-height: 2.4em !important;
    flex-grow: 0 !important;
}

#products-grid .p-title a {
    font-size: 0.86rem !important;
    line-height: 1.3 !important;
}

#products-grid .p-category {
    font-size: 0.65rem !important;
}

#products-grid .p-price-box {
    margin: 0 !important;
    padding: 0 !important;
}

#products-grid .p-price.current {
    font-size: 1rem !important;
}

#products-grid .product-card-footer {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

#products-grid .p-card-actions {
    display: grid !important;
    grid-template-columns: 2.1rem minmax(0, 1fr) !important;
    gap: 0.4rem !important;
    align-items: stretch !important;
}

#products-grid .p-card-actions .btn-card-add {
    width: 2.1rem !important;
    min-width: 2.1rem !important;
    max-width: 2.1rem !important;
    height: 2.1rem !important;
    min-height: 2.1rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
}

#products-grid .p-card-actions .btn-card-buy {
    width: 100% !important;
    min-width: 0 !important;
    height: 2.1rem !important;
    min-height: 2.1rem !important;
    padding: 0 0.5rem !important;
    border-radius: 6px !important;
    background: #f57539 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

#products-grid .p-card-actions .btn-card-buy:hover {
    background: #e35d1a !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 767px) {
    #products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem !important;
    }

    #products-grid .product-img-wrap {
        height: 112px !important;
    }

    #products-grid .product-info {
        padding: 0.7rem !important;
        gap: 0.55rem !important;
    }

    #products-grid .p-card-actions {
        grid-template-columns: 2rem minmax(0, 1fr) !important;
        gap: 0.35rem !important;
    }

    #products-grid .p-card-actions .btn-card-add,
    #products-grid .p-card-actions .btn-card-buy {
        height: 2rem !important;
        min-height: 2rem !important;
    }

    #products-grid .p-card-actions .btn-card-add {
        width: 2rem !important;
        min-width: 2rem !important;
        max-width: 2rem !important;
    }

    #products-grid .p-card-actions .btn-card-buy {
        padding: 0 0.3rem !important;
        font-size: 0.7rem !important;
    }
}

.mobile-nav a.active,
#dyn-mobile-nav a.active {
    border-left: 3px solid #f57539 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Keep catalog photos prominent in a simple, square-edged frame. */
#products-grid > .product-card,
#products-grid > .product-card:hover {
    border: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

#products-grid .product-img-wrap {
    height: clamp(145px, 15vw, 190px) !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
}

#products-grid .product-img-wrap > .p-img-link {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
    width: auto !important;
    height: auto !important;
    padding: 0.75rem !important;
    place-items: center !important;
}

#products-grid .product-img-wrap > .p-img-link > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transform: none !important;
}

#products-grid .product-card:hover .product-img-wrap > .p-img-link > img {
    transform: none !important;
}

#products-grid .product-img-wrap::after {
    display: none !important;
}

#products-grid .p-card-actions .btn-card-add,
#products-grid .p-card-actions .btn-card-buy {
    border-radius: 3px !important;
}

@media (max-width: 767px) {
    #products-grid .product-img-wrap {
        height: 130px !important;
    }
}

/* Keep the full brand name readable on the light sticky header. */
html body #site-header.header-solid .logo-text-main,
html body #site-header.scrolled .logo-text-main {
    color: #0f172a !important;
    text-shadow: none !important;
    white-space: nowrap !important;
}

html body #site-header.header-solid .logo-text-main .text-orange,
html body #site-header.scrolled .logo-text-main .text-orange {
    color: #c2410c !important;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    #site-header .logo-text-main {
        flex-shrink: 0;
        font-size: clamp(0.875rem, 1.35vw, 1rem) !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 1023px) {
    #site-header .logo-text-main {
        flex-shrink: 0;
        overflow: visible !important;
        font-size: clamp(0.8rem, 2.25vw, 1.1rem) !important;
        white-space: nowrap !important;
        text-overflow: clip !important;
    }
}

/* Give catalog names and prices a clear, consistent text hierarchy. */
#products-grid .p-title a {
    color: #1e293b !important;
    font-weight: 650 !important;
}

#products-grid .p-title a:hover,
#products-grid .p-title a:focus-visible {
    color: #c2410c !important;
}

#products-grid .p-category {
    color: #64748b !important;
}

#products-grid .p-price.current {
    color: #c2410c !important;
}

/* Use one clear white/grey navigation treatment on desktop and mobile. */
.site-header.header-solid .nav-links .nav-link-item,
.site-header.scrolled .nav-links .nav-link-item {
    color: #111827 !important;
}

#site-header:not(.scrolled):not(.header-solid) .logo-text-main .text-orange {
    color: #ff5e33 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65) !important;
}

#site-header .nav-links .nav-link-item:hover,
#site-header .nav-links .nav-link-item:focus-visible,
#site-header .nav-links .nav-link-item:active,
#site-header .nav-links .nav-link-item[aria-current="page"],
#site-header .nav-links .nav-link-item.active {
    background: #e5e7eb !important;
    color: #111827 !important;
    border-radius: 4px !important;
    text-shadow: none !important;
}

#site-header .nav-dropdown > .submenu:not(.mega-menu) {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14) !important;
    padding: 0.35rem !important;
}

#site-header .nav-dropdown > .submenu:not(.mega-menu) a {
    min-height: 2.25rem !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-weight: 500 !important;
}

#site-header .nav-dropdown > .submenu:not(.mega-menu) a:hover,
#site-header .nav-dropdown > .submenu:not(.mega-menu) a:focus-visible,
#site-header .nav-dropdown > .submenu:not(.mega-menu) a:active {
    background: #e5e7eb !important;
    color: #111827 !important;
}

#site-header .nav-dropdown > .submenu:not(.mega-menu) a:focus-visible,
#site-header .nav-links .nav-link-item:focus-visible {
    outline: 2px solid #64748b !important;
    outline-offset: 1px !important;
}

@media (max-width: 1023px) {
    .mobile-panel {
        background: #ffffff !important;
        color: #111827 !important;
    }

    .mobile-panel .mobile-nav > a,
    .mobile-panel .mobile-nav-link,
    .mobile-panel .mobile-submenu a {
        border-radius: 3px !important;
        background: #ffffff !important;
        color: #111827 !important;
    }

    .mobile-panel .mobile-nav > a:hover,
    .mobile-panel .mobile-nav > a:focus-visible,
    .mobile-panel .mobile-nav > a:active,
    .mobile-panel .mobile-nav > a.active,
    .mobile-panel .mobile-nav-link:hover,
    .mobile-panel .mobile-nav-link:focus-visible,
    .mobile-panel .mobile-nav-link:active,
    .mobile-panel .mobile-nav-link.active,
    .mobile-panel .mobile-submenu a:hover,
    .mobile-panel .mobile-submenu a:focus-visible,
    .mobile-panel .mobile-submenu a:active {
        background: #e5e7eb !important;
        color: #111827 !important;
    }

    .mobile-panel .mobile-submenu-toggle,
    .mobile-panel .mobile-submenu-toggle:hover,
    .mobile-panel .mobile-submenu-toggle:focus-visible,
    .mobile-panel .mobile-submenu-toggle[aria-expanded="true"] {
        border-color: #cbd5e1 !important;
        border-radius: 3px !important;
        background: #f1f3f5 !important;
        color: #111827 !important;
    }

    .mobile-panel .mobile-submenu {
        border-left-color: #cbd5e1 !important;
    }
}
