/* Pezm Furniture — Modern Store Design System */

:root {
    --pezm-yellow: #FFEB14;
    --pezm-yellow-dark: #e6d412;
    --pezm-red: #d21010;
    --pezm-red-hover: #b50d0d;
    --pezm-blue: #2d176e;
    --pezm-blue-light: #3d2494;
    --nav-bg: #FFEB14;
    --nav-text: #1a1a2e;
    --nav-text-muted: #2d176e;
    --nav-hover: #d21010;
    --nav-hover-bg: rgba(26, 26, 46, 0.08);
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --bg-page: #f5f6f8;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
    --transition: 0.25s ease;
    --header-height: 72px;
    --font-sans: 'Inter', 'Poppins', system-ui, sans-serif;
    --content-max-width: 1280px;
    --page-gutter: clamp(20px, 4.5vw, 40px);
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

html {
    width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

main,
.top-bar,
.main-header,
.trust-strip,
.main-footer,
section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--content-max-width);
    min-width: 0;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    margin: 0 auto;
}

/* Catalog / listing pages sit in main without .container — keep the same side margins */
.catalog-page,
.product-page-container:not(.container),
.page-shell:not(.container) {
    width: 100%;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    box-sizing: border-box;
}

/* ── Top utility bar ── */
.top-bar {
    background: var(--nav-bg);
    color: var(--nav-text);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.top-bar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
}

.top-bar a {
    color: var(--nav-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color var(--transition);
}

.top-bar a:hover {
    color: var(--nav-hover);
}

.top-bar a i {
    color: var(--nav-hover);
}

.top-bar-promo {
    font-weight: 700;
    color: var(--nav-text);
    margin-left: auto;
    white-space: nowrap;
}

.top-bar-promo i {
    color: var(--nav-hover);
}

@media (max-width: 768px) {
    .top-bar-promo {
        width: 100%;
        margin-left: 0;
        white-space: normal;
    }

    .top-bar-email {
        display: none;
    }
}

/* Tablet — slightly tighter nav */
@media (max-width: 1200px) and (min-width: 993px) {
    .header-top {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo actions"
            "nav nav"
            "search search";
        row-gap: 8px;
    }

    .main-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .main-nav > ul {
        justify-content: flex-start;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (min-width: 1280px) {
    .nav-link {
        font-size: 14px;
        padding: 10px 14px;
    }

    .main-nav > ul {
        column-gap: 4px;
    }
}

@media (max-width: 480px) {
    .header-search-form button {
        font-size: 0;
        padding: 12px 16px;
    }

    .header-search-form button::before {
        content: '\f002';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 14px;
    }

    .header-search-form input[type="search"]::placeholder {
        font-size: 13px;
    }

    .account-link-text {
        display: none;
    }

    .logo-img--full {
        display: none;
    }

    .logo-img--icon {
        display: block;
    }

    .logo-img {
        height: 38px;
    }

    .logo-img--icon {
        width: 38px;
        height: 38px;
    }

    .header-actions {
        gap: 4px;
    }

    .top-bar {
        font-size: 12px;
        padding: 6px 0;
    }

    .top-bar-links {
        gap: 10px 14px;
    }
}

/* ── Header ── */
.main-header {
    background: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(26, 26, 46, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(26, 26, 46, 0.1);
}

.header-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "logo nav actions"
        "search search search";
    align-items: center;
    column-gap: 20px;
    row-gap: 10px;
    padding: 14px 0 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.logo {
    grid-area: logo;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.logo-img--icon {
    display: none;
    width: 40px;
    height: 40px;
}

.main-nav {
    grid-area: nav;
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-search-row {
    grid-area: search;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0 0 14px;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    max-width: 100%;
}

.main-nav > ul > li {
    flex-shrink: 0;
}

.nav-link {
    color: var(--nav-text);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 11px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.nav-link .menu-option-icon,
.main-nav .dropdown-menu .menu-option-icon {
    font-size: 13px;
    opacity: 0.9;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.main-nav .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nav-hover);
    background: var(--nav-hover-bg);
}

.nav-link-deal {
    color: var(--nav-hover);
    font-weight: 700;
}

.nav-chevron {
    font-size: 10px;
    transition: transform var(--transition);
}

.has-dropdown:hover .nav-chevron,
.has-dropdown.open .nav-chevron {
    transform: rotate(180deg);
}

.main-nav .has-dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    min-width: 240px;
    max-width: 280px;
    max-height: min(400px, 65vh);
    overflow-y: auto;
    background: var(--bg-white);
    z-index: 1100;
    list-style: none;
    margin: 0;
}

.main-nav .has-dropdown:hover > .dropdown-menu,
.main-nav .has-dropdown.open > .dropdown-menu {
    display: block;
}

.main-nav .dropdown-menu li {
    padding: 0;
    width: 100%;
}

.main-nav .dropdown-menu a {
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    white-space: nowrap;
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.main-nav .dropdown-menu a:hover {
    background: var(--bg-page);
    color: var(--pezm-red);
}

/* Search row — full width below nav */
.header-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 100%;
    margin: 0;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.header-search-form:focus-within {
    border-color: var(--pezm-red);
    box-shadow: 0 0 0 3px rgba(210, 16, 16, 0.1);
}

.search-form-icon {
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.header-search-form input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.header-search-form input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
}

.header-search-form button {
    flex-shrink: 0;
    border: none;
    background: var(--pezm-red);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    cursor: pointer;
    transition: background var(--transition);
}

.header-search-form button:hover {
    background: var(--pezm-blue);
}

.search-autocomplete-wrap {
    position: relative;
    width: 100%;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: min(420px, 60vh);
    overflow: auto;
}

.search-suggestions-list {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
}

.search-suggestion-item:hover,
.search-suggestion-item.is-active {
    background: var(--bg-page);
}

.search-suggestion-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: #f3f4f6;
}

.search-suggestion-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-page);
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-suggestion-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-suggestion-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.search-suggestion-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--pezm-red);
    margin-left: auto;
}

.search-smart-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(210, 16, 16, 0.08), rgba(26, 26, 46, 0.06));
    border: 1px solid rgba(210, 16, 16, 0.15);
    color: var(--text-dark);
}

.search-smart-banner i {
    color: var(--pezm-red);
    margin-top: 2px;
}

.search-smart-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(26, 26, 46, 0.15);
    border-radius: var(--radius-sm);
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    cursor: pointer;
    color: var(--nav-text);
    font-size: 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.nav-toggle-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--nav-hover);
    color: var(--nav-hover);
}

/* Mobile & tablet header — must follow base .main-nav rules */
@media (max-width: 992px) {
    .header-top {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "logo actions"
            "search search"
            "nav nav";
        gap: 8px 12px;
        padding-top: 12px;
    }

    .logo-img--full {
        display: none;
    }

    .logo-img--icon {
        display: block;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        justify-content: flex-start;
        border-top: none;
        padding: 0 0 12px;
        margin: 0;
    }

    .main-nav.active {
        display: block;
        animation: mobileNavIn 0.25s ease;
        view-transition-name: mobile-main-nav;
        max-height: calc(100dvh - 140px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
    }

    @keyframes mobileNavIn {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(255, 255, 255, 0.45);
        border: 1px solid rgba(26, 26, 46, 0.1);
        border-radius: var(--radius-md);
        padding: 8px;
    }

    .main-nav > ul > li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        min-height: 48px;
        white-space: normal;
        justify-content: flex-start;
        text-align: left;
        gap: 10px;
    }

    .nav-link-dropdown {
        justify-content: flex-start;
    }

    .nav-link-dropdown .nav-chevron {
        margin-left: auto;
        flex-shrink: 0;
    }

    .main-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        min-width: 0;
        max-width: none;
        background: rgba(255, 255, 255, 0.7);
        border-radius: var(--radius-sm);
        margin: 0 0 4px;
        transition: max-height 0.35s ease, padding 0.25s ease;
    }

    .main-nav .has-dropdown.open > .dropdown-menu {
        display: block;
        max-height: min(360px, 55dvh);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        padding: 4px;
    }

    .main-nav .dropdown-menu a {
        padding: 12px 14px;
        min-height: 44px;
        font-size: 14px;
    }

    .header-search-form {
        background: #fff;
        border-color: rgba(26, 26, 46, 0.12);
    }

    .header-search-form button {
        padding: 12px 16px;
    }

    .search-form-icon {
        display: none;
    }

    .header-search-form input[type="search"] {
        padding-left: 16px;
        font-size: 16px;
    }

    .toast-container {
        bottom: 80px;
        left: 16px;
        right: 16px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(mobile-main-nav),
    ::view-transition-new(mobile-main-nav) {
        animation-duration: 0.22s;
    }

    ::view-transition-old(mobile-nav-backdrop),
    ::view-transition-new(mobile-nav-backdrop) {
        animation-duration: 0.2s;
    }
}

/* Hide old inline search — removed from markup */
.header-search {
    display: none !important;
}

.search-bar-container {
    display: none !important;
}

.header-content {
    min-height: auto;
    gap: 20px;
}

.account-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--nav-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition), color var(--transition);
}

.account-link:hover {
    background: var(--nav-hover-bg);
    color: var(--nav-hover);
}

@media (max-width: 576px) {
    .account-link-text {
        display: none;
    }
}

.cart-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    position: relative;
    color: var(--nav-text);
    font-size: 1.35rem;
}

.cart-icon:hover {
    background: var(--nav-hover-bg);
    color: var(--nav-hover);
}

.cart-count {
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

/* ── Trust strip marquee ── */
.trust-strip {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    overflow: hidden;
}

.trust-strip-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trust-strip-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: trust-marquee 28s linear infinite;
    will-change: transform;
}

.trust-strip:hover .trust-strip-track {
    animation-play-state: paused;
}

.trust-strip-track span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-strip-track i {
    color: var(--pezm-red);
}

@keyframes trust-marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-strip-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .trust-strip-track {
        animation: none;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 32px;
        padding: 0 16px;
    }

    .trust-strip-track span[aria-hidden="true"] {
        display: none;
    }
}

/* ── Buttons ── */
.btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--pezm-red);
    color: #fff;
    border-color: var(--pezm-red);
}

.btn-primary:hover {
    background: var(--pezm-blue);
    border-color: var(--pezm-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--pezm-red);
    color: var(--pezm-red);
}

.btn-outline {
    background: transparent;
    color: var(--pezm-red);
    border-color: var(--pezm-red);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ── Product cards ── */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: left;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card .product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    min-height: 160px;
    max-height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card .product-image img,
.product-card .product-image .product-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.4s ease;
    padding: 8px;
}

.product-card--optimized-image .product-image img {
    object-fit: contain;
}

.product-card:not(.product-card--optimized-image) .product-image img {
    object-fit: contain;
    padding: 8px;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.hot-deal {
    background: var(--pezm-red);
    color: #fff;
}

.product-badge.new-arrival {
    background: var(--pezm-blue);
    color: #fff;
}

.product-card .product-overlay {
    display: none;
}

.product-card .product-actions-bar {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 3;
    padding: 0 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.product-card:hover .product-actions-bar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-dark);
}

.product-action-btn:hover {
    transform: scale(1.08);
    background: var(--pezm-red);
    color: #fff;
}

.product-action-btn--credit,
.product-action-btn.product-action-btn--credit {
    background: var(--pezm-blue, #2d176e);
    color: #fff;
}

.product-action-btn--credit:hover,
.product-action-btn.product-action-btn--credit:hover {
    background: #1f1050;
    color: #fff;
}

.btn-credit {
    background: var(--pezm-blue, #2d176e);
    color: #fff;
    border: none;
}

.btn-credit:hover {
    background: #1f1050;
    color: #fff;
}

@media (hover: none) {
    .product-card .product-actions-bar {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

.product-card:hover .product-overlay {
    opacity: 0;
}

.product-card .product-info {
    padding: 12px;
}

.product-card .product-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-category {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.product-card .new-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--pezm-red);
}

.product-card .old-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
    padding: 16px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.breadcrumbs li + li::before {
    content: '/';
    margin: 0 8px;
    color: var(--border);
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--pezm-red);
}

/* ── Product detail page ── */
.product-detail-page {
    padding: 0 0 60px;
    background: var(--bg-page);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 24px;
    }
}

.product-gallery {
    position: relative;
}

.product-gallery .main-image {
    width: 100%;
    max-height: min(480px, 60vh);
    object-fit: contain;
    border-radius: var(--radius-md);
    background: #fafafa;
    cursor: zoom-in;
    border: 1px solid var(--border);
}

.product-info-details .product-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-category-detail {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.product-category-detail a {
    color: var(--pezm-blue);
    text-decoration: none;
    font-weight: 500;
}

.product-category-detail a:hover {
    text-decoration: underline;
}

.product-price-detail {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.product-price-detail .new-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pezm-red);
}

.product-price-detail .old-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-price-detail .save-badge {
    background: rgba(210, 16, 16, 0.1);
    color: var(--pezm-red);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.pdp-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 576px) {
    .pdp-trust-row {
        grid-template-columns: 1fr;
    }
}

.pdp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 10px;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
}

.pdp-trust-item i {
    color: var(--pezm-red);
    font-size: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 600;
    margin-right: 16px;
    font-size: 14px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.qty-btn:first-of-type {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.qty-btn:last-of-type {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.qty-btn:hover {
    background: var(--bg-page);
    border-color: var(--pezm-red);
    color: var(--pezm-red);
}

.qty-input {
    width: 56px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-actions .btn-primary {
    flex: 1;
    min-width: 200px;
}

.product-description {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.product-description h3,
.product-attributes h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-description p {
    color: var(--text-muted);
    line-height: 1.7;
}

.product-attributes {
    margin-top: 24px;
}

.product-attributes ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.product-attributes li {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.product-attributes li strong {
    color: var(--text-dark);
}

/* Related products */
.related-products-section {
    margin-top: 48px;
}

.related-products-section .section-title {
    font-size: 1.5rem;
    text-align: left;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 0;
    background: none;
}

.related-products-section .section-title::after {
    display: none;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* ── Mini cart drawer ── */
.mini-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.mini-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mini-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100vh;
    background: var(--bg-white);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.mini-cart.open {
    transform: translateX(0);
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.mini-cart-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.mini-cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px 8px;
    line-height: 1;
}

.mini-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.mini-cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 48px 16px;
}

.mini-cart-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.mini-cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.mini-cart-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #fafafa;
    border: 1px solid var(--border);
}

.mini-cart-item-info {
    flex: 1;
    min-width: 0;
}

.mini-cart-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-cart-item-info .price {
    color: var(--pezm-red);
    font-weight: 700;
    font-size: 14px;
}

.mini-cart-item-info .qty {
    font-size: 13px;
    color: var(--text-muted);
}

.mini-cart-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}

.mini-cart-remove:hover {
    color: var(--pezm-red);
}

.mini-cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-page);
}

.mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mini-cart-footer .btn {
    width: 100%;
    margin-bottom: 8px;
}

/* ── Toast notifications ── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--text-dark);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 500;
    pointer-events: auto;
    animation: toastIn 0.35s ease;
    max-width: 360px;
}

.toast.success {
    background: #059669;
}

.toast.error {
    background: var(--pezm-red);
}

.toast.info {
    background: #2563eb;
}

.toast i {
    font-size: 18px;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Footer ── */
.main-footer {
    background: var(--nav-bg);
    color: var(--nav-text);
    padding: 56px 0 24px;
    margin-top: auto;
    border-top: 2px solid rgba(26, 26, 46, 0.1);
}

.footer-grid {
    gap: 32px;
}

.footer-section h4 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--nav-text);
}

.footer-section h4::after {
    background-color: var(--nav-hover);
}

.footer-section p {
    color: var(--nav-text-muted);
}

.footer-section p i {
    color: var(--nav-hover);
}

.footer-section a {
    color: var(--nav-text-muted);
}

.footer-section a:hover {
    color: var(--nav-hover);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--nav-text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--nav-hover);
}

.social-media a {
    color: var(--nav-text-muted);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color var(--transition);
}

.social-media a:hover {
    color: var(--nav-hover);
}

.footer-bottom {
    font-size: 13px;
    color: var(--nav-text-muted);
    border-top: 1px solid rgba(26, 26, 46, 0.12);
}

/* ── Page headers ── */
.page-header {
    padding: 32px 0 24px;
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ── Section titles (homepage) ── */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-dark);
    background: none;
    padding-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ── Cart & checkout shared ── */
.store-page-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.store-page-header {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--pezm-red);
}

.store-page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

.store-page-header p {
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── Image zoom modal ── */
#image-modal.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

#image-modal.modal.open {
    display: flex;
}

#image-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 28px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 1;
}

#image-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* Mobile bottom nav — phones/tablets only */
.mobile-nav-bar {
    display: none;
    background: var(--nav-bg);
    border-top: 2px solid rgba(26, 26, 46, 0.1);
    box-shadow: 0 -4px 16px rgba(26, 26, 46, 0.08);
}

@media (max-width: 992px) {
    body {
        padding-bottom: 72px;
    }

    .mobile-nav-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        justify-content: space-around;
        align-items: center;
        height: 65px;
        z-index: 1000;
        padding-top: 5px;
    }

    .mobile-nav-bar .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-decoration: none;
        min-width: 56px;
    }
}

.mobile-nav-bar .nav-item {
    color: var(--nav-text-muted) !important;
    font-size: 11px;
    font-weight: 600;
}

.mobile-nav-bar .nav-item.active,
.mobile-nav-bar .nav-item.active i {
    color: var(--nav-hover) !important;
}

/* Loading spinner for search */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--pezm-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.product-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.product-page-container .product-grid {
    gap: 20px;
}

.sort-options {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.pagination a {
    border-radius: var(--radius-sm);
}

.pagination a.active {
    background: var(--pezm-red);
    border-color: var(--pezm-red);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--pezm-red);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.star-rating {
    color: #f59e0b;
    display: inline-flex;
    gap: 2px;
}

.star-rating-interactive .star-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #f59e0b;
    padding: 0 2px;
}

.reviews-section {
    margin-top: 32px;
    padding: 28px;
}

.reviews-section .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.reviews-list {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.review-item {
    padding: 16px;
    background: var(--bg-page);
    border-radius: var(--radius-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.review-header time {
    color: var(--text-muted);
    font-size: 13px;
}

.review-form-wrap {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.review-form-wrap h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.promo-code-box {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.promo-code-box input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.promo-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ecfdf5;
    color: #047857;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin: 12px 0;
}

.promo-applied button {
    background: none;
    border: none;
    color: #b91c1c;
    cursor: pointer;
    font-size: 13px;
}

.summary-line.discount-line {
    color: #047857;
}

/* ── Responsive overflow fixes ── */
.sliding-brands-container,
.marquee-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    contain: layout paint;
}

.brand-logo-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: brand-marquee 45s linear infinite;
    will-change: transform;
}

.sliding-brands-container:hover .brand-logo-track {
    animation-play-state: paused;
}

.brand-logo {
    flex: 0 0 auto;
    width: 130px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    filter: none;
    margin-right: 0;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes brand-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-slide 30s linear infinite;
}

.marquee-content img {
    flex: 0 0 100vw;
    width: 100vw;
    max-width: 100vw;
    height: 100px;
    object-fit: cover;
}

.product-carousel,
.hot-deals-carousel {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-carousel .product-card,
.hot-deals-carousel .product-card {
    flex-shrink: 0;
    width: min(280px, 78vw);
}

@media (max-width: 576px) {
    .brand-logo {
        width: 110px;
        height: 68px;
    }
}

/* ── Responsive tables (mobile horizontal scroll) ── */
.table-scroll,
.table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.table-scroll > table,
.table-responsive > table {
    margin-bottom: 0;
}

.store-page-card,
.account-content {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 992px) {
    .table-scroll > table,
    .table-responsive > table {
        width: max-content;
        min-width: 100%;
    }

    .table-scroll > table th,
    .table-scroll > table td,
    .table-responsive > table th,
    .table-responsive > table td {
        white-space: nowrap;
    }

    .table-scroll > table td[colspan],
    .table-scroll > table th[colspan],
    .table-responsive > table td[colspan],
    .table-responsive > table th[colspan] {
        white-space: normal;
    }
}

/* ── Site promotions ── */
.top-bar-promo-link {
    color: var(--nav-text);
    text-decoration: none;
}

.top-bar-promo-link:hover {
    color: var(--nav-hover);
    text-decoration: underline;
}

.site-promo-banner {
    background: linear-gradient(90deg, var(--promo-accent, var(--pezm-red)), color-mix(in srgb, var(--promo-accent, var(--pezm-red)) 75%, #000));
    color: #fff;
    padding: 10px 0;
}

.site-promo-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-promo-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.site-promo-banner-text strong {
    font-size: 15px;
    font-weight: 700;
}

.site-promo-banner-text strong i {
    margin-right: 6px;
}

.site-promo-banner-message {
    font-size: 13px;
    opacity: 0.95;
}

.site-promo-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.promo-countdown {
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.site-promo-banner-cta {
    display: inline-block;
    background: #fff;
    color: var(--promo-accent, var(--pezm-red));
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--transition);
}

.site-promo-banner-cta:hover {
    opacity: 0.9;
    color: var(--promo-accent, var(--pezm-red));
}

.hot-deals-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: var(--radius-md, 10px);
    border: 1px solid color-mix(in srgb, var(--promo-accent, #1e4d8c) 35%, transparent);
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--promo-accent, #1e4d8c) 12%, #fff),
        color-mix(in srgb, var(--promo-accent, #1e4d8c) 6%, #fff)
    );
}

.hot-deals-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--promo-accent, #1e4d8c);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.hot-deals-promo-message {
    flex: 1 1 220px;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--pezm-text, #333);
}

.hot-deals-promo-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.hot-deals-promo-countdown {
    color: var(--promo-accent, #1e4d8c);
    background: color-mix(in srgb, var(--promo-accent, #1e4d8c) 12%, #fff);
}

.hot-deals-promo-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: var(--radius-sm, 6px);
    background: var(--promo-accent, #1e4d8c);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--transition, 0.2s ease);
}

.hot-deals-promo-link:hover {
    opacity: 0.9;
    color: #fff;
}

.hot-deals .hot-deals-promo {
    margin-bottom: 24px;
}

.catalog-header-text .hot-deals-promo {
    margin-bottom: 16px;
    width: 100%;
}

.site-promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.site-promo-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--promo-accent, var(--pezm-red));
    display: flex;
    flex-direction: column;
}

.site-promo-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.site-promo-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: color-mix(in srgb, var(--promo-accent, var(--pezm-red)) 12%, #fff);
    color: var(--promo-accent, var(--pezm-red));
    font-size: 42px;
}

.site-promo-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.site-promo-card-title {
    margin: 0;
    font-size: 20px;
    color: var(--pezm-navy, #1a1a2e);
}

.site-promo-card-message {
    margin: 0;
    color: #555;
    line-height: 1.5;
    flex: 1;
}

.site-promo-card-countdown {
    margin: 0;
    font-size: 13px;
    color: var(--promo-accent, var(--pezm-red));
    font-weight: 600;
}

.site-promo-card-cta {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 768px) {
    .site-promo-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-promo-banner-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

.catalog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.catalog-breadcrumb a {
    color: var(--pezm-blue);
    text-decoration: none;
    font-weight: 500;
}

.catalog-breadcrumb a:hover {
    color: var(--pezm-red);
}

.page-shell {
    padding-top: 32px;
    padding-bottom: 48px;
}

.related-products-grid,
#search-results-container.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}
