/* =========================================================
   NEW ARRIVALS PAGE
========================================================= */

.new-arrivals-page {
    min-height: 100vh;
    background: #fbf3f5;
    color: #111;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.new-arrivals {
    width: 100%;
    box-sizing: border-box;
    padding: 26px 36px 80px;
}


/* =========================================================
   HEADING
========================================================= */

.new-arrivals-heading {
    margin-bottom: 16px;
}

.new-arrivals-heading h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 3vw, 54px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;

    color: #111;
}

.new-arrivals-heading p {
    margin: 10px 0 0;

    color: #777;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   CATEGORY FILTERS
========================================================= */

.new-arrivals-filters {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;

    gap: 23px;

    margin: 0 0 45px;

    overflow-x: auto;

    scrollbar-width: none;
}

.new-arrivals-filters::-webkit-scrollbar {
    display: none;
}

.new-arrivals-filters a {
    flex: 0 0 auto;

    color: #777 !important;
    text-decoration: none !important;

    font-size: 13px;
    line-height: 1;

    padding-bottom: 5px;

    white-space: nowrap;

    transition:
        color .25s ease,
        border-color .25s ease;
}

.new-arrivals-filters a:hover {
    color: #111 !important;
}

.new-arrivals-filters a.active {
    color: #111 !important;

    border-bottom: 1px solid #111;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.new-products-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 21px;

    align-items: start;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.new-product-card {
    min-width: 0;

    display: block;

    color: #111 !important;
    text-decoration: none !important;

    overflow: hidden;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.new-product-image {
    position: relative;

    width: 100%;

    /*
       Reduced height compared to the original 0.60.
       0.70 gives a shorter card while keeping
       enough vertical space for product images.
    */
    aspect-ratio: 0.70;

    overflow: hidden;

    background: #fff;
}


/* =========================================================
   PRODUCT IMAGE
   IMPORTANT: CONTAIN = NO CROPPING
========================================================= */

.new-product-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    /*
       Shows the COMPLETE image.
       No head/feet/product cropping.
    */
    object-fit: contain;

    object-position: center center;

    transition:
        opacity .35s ease,
        transform .45s ease;
}


/* =========================================================
   PRIMARY IMAGE
========================================================= */

.new-primary-image {
    z-index: 1;

    opacity: 1;
}


/* =========================================================
   HOVER IMAGE
========================================================= */

.new-hover-image {
    z-index: 2;

    opacity: 0;

    transition:
        opacity .35s ease,
        transform .45s ease;
}

.new-product-card:hover .new-hover-image {
    opacity: 1;
}

.new-product-card:hover .new-primary-image {
    transform: scale(1.015);
}


/* =========================================================
   BADGE
========================================================= */

.new-badge {
    position: absolute;

    top: 10px;
    left: 10px;

    z-index: 5;

    padding: 7px 10px;

    background: rgba(20, 20, 20, .90);

    color: #fff;

    font-size: 10px;
    line-height: 1;

    pointer-events: none;
}


/* =========================================================
   NO IMAGE
========================================================= */

.new-no-image {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #777;

    font-size: 12px;

    background: #f0eeee;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.new-product-info {
    padding-top: 8px;

    min-width: 0;
}

.new-product-info h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.35;

    color: #111;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* =========================================================
   PRODUCT PRICE
========================================================= */

.new-product-price {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 5px;

    font-size: 13px;

    line-height: 1.3;

    color: #111;
}

.new-product-price del {
    color: #888;
}


/* =========================================================
   COLOR SWATCHES
========================================================= */

.new-color-swatches {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 7px;

    min-height: 14px;

    flex-wrap: wrap;
}


/* =========================================================
   COLOR SWATCH
========================================================= */

.new-color-swatch {
    position: relative;

    width: 14px;
    height: 14px;

    flex: 0 0 14px;

    padding: 0;

    border-radius: 50%;

    border: 1px solid #bdb8b8;

    background: var(--swatch-color, #ddd);

    cursor: pointer;

    appearance: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.new-color-swatch:hover {
    border-color: #111;

    transform: scale(1.08);
}

.new-color-swatch:focus-visible {
    outline: 1px solid #111;

    outline-offset: 2px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.new-empty {
    width: 100%;

    padding: 100px 20px;

    box-sizing: border-box;

    text-align: center;
}

.new-empty h2 {
    margin: 0 0 10px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
    font-weight: 400;

    color: #111;
}

.new-empty p {
    margin: 0;

    color: #777;

    font-size: 13px;
}


/* =========================================================
   1920 × 1080
========================================================= */

@media (min-width: 1600px) {

    .new-arrivals {
        padding-left: 54px;
        padding-right: 54px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 24px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }

    .new-arrivals-heading h1 {
        font-size: 54px;
    }
}


/* =========================================================
   1440 × 900
========================================================= */

@media (min-width: 1367px) and (max-width: 1599px) {

    .new-arrivals {
        padding-left: 44px;
        padding-right: 44px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 21px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }
}


/* =========================================================
   1366 × 768
========================================================= */

@media (min-width: 1025px) and (max-width: 1366px) {

    .new-arrivals {
        padding: 24px 32px 70px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 18px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }

    .new-arrivals-heading h1 {
        font-size: 48px;
    }
}


/* =========================================================
   1024 × 768 — LANDSCAPE TABLET
========================================================= */

@media (min-width: 901px) and (max-width: 1024px) {

    .new-arrivals {
        padding: 24px 26px 60px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 16px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }

    .new-arrivals-heading h1 {
        font-size: 44px;
    }

    .new-arrivals-filters {
        margin-bottom: 38px;
    }
}


/* =========================================================
   768 × 1024 — TABLET
========================================================= */

@media (min-width: 651px) and (max-width: 900px) {

    .new-arrivals {
        padding: 24px 24px 60px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 16px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }

    .new-arrivals-heading h1 {
        font-size: 42px;
    }

    .new-arrivals-heading p {
        font-size: 13px;
    }

    .new-arrivals-filters {
        gap: 20px;

        margin-bottom: 35px;
    }
}


/* =========================================================
   414 × 896 — LARGE MOBILE
========================================================= */

@media (min-width: 391px) and (max-width: 650px) {

    .new-arrivals {
        padding: 24px 16px 55px;
    }

    .new-arrivals-heading {
        margin-bottom: 14px;
    }

    .new-arrivals-heading h1 {
        font-size: 38px;

        letter-spacing: -1px;
    }

    .new-arrivals-heading p {
        margin-top: 8px;

        font-size: 13px;
    }

    .new-arrivals-filters {
        gap: 18px;

        margin-bottom: 28px;

        overflow-x: auto;
    }

    .new-arrivals-filters a {
        font-size: 12px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }

    .new-product-info {
        padding-top: 7px;
    }

    .new-product-info h2 {
        font-size: 12px;
    }

    .new-product-price {
        font-size: 12px;

        gap: 6px;

        margin-top: 4px;
    }

    .new-color-swatches {
        gap: 5px;

        margin-top: 6px;
    }

    .new-color-swatch {
        width: 13px;
        height: 13px;

        flex-basis: 13px;
    }

    .new-badge {
        top: 8px;
        left: 8px;

        padding: 6px 8px;

        font-size: 9px;
    }
}


/* =========================================================
   390 × 844 — MODERN MOBILE
========================================================= */

@media (min-width: 361px) and (max-width: 390px) {

    .new-arrivals {
        padding: 22px 14px 50px;
    }

    .new-arrivals-heading h1 {
        font-size: 36px;
    }

    .new-arrivals-heading p {
        font-size: 12px;
    }

    .new-arrivals-filters {
        gap: 16px;

        margin-bottom: 26px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }

    .new-product-info {
        padding-top: 7px;
    }

    .new-product-info h2 {
        font-size: 12px;
    }

    .new-product-price {
        font-size: 12px;

        gap: 5px;
    }

    .new-color-swatches {
        gap: 5px;
    }

    .new-color-swatch {
        width: 13px;
        height: 13px;

        flex-basis: 13px;
    }

    .new-badge {
        top: 7px;
        left: 7px;

        padding: 6px 8px;

        font-size: 9px;
    }
}


/* =========================================================
   360 × 800 — MOBILE
========================================================= */

@media (min-width: 321px) and (max-width: 360px) {

    .new-arrivals {
        padding: 20px 13px 45px;
    }

    .new-arrivals-heading {
        margin-bottom: 12px;
    }

    .new-arrivals-heading h1 {
        font-size: 34px;

        letter-spacing: -.8px;
    }

    .new-arrivals-heading p {
        font-size: 12px;

        line-height: 1.45;
    }

    .new-arrivals-filters {
        gap: 15px;

        margin-bottom: 24px;
    }

    .new-arrivals-filters a {
        font-size: 11px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 11px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }

    .new-product-info {
        padding-top: 6px;
    }

    .new-product-info h2 {
        font-size: 11px;
    }

    .new-product-price {
        font-size: 11px;

        gap: 5px;

        margin-top: 4px;
    }

    .new-color-swatches {
        gap: 4px;

        margin-top: 5px;
    }

    .new-color-swatch {
        width: 12px;
        height: 12px;

        flex-basis: 12px;
    }

    .new-badge {
        top: 6px;
        left: 6px;

        padding: 5px 7px;

        font-size: 8px;
    }
}


/* =========================================================
   320 × 568 — SMALL MOBILE
========================================================= */

@media (max-width: 320px) {

    .new-arrivals {
        padding: 18px 11px 40px;
    }

    .new-arrivals-heading {
        margin-bottom: 10px;
    }

    .new-arrivals-heading h1 {
        font-size: 31px;

        letter-spacing: -.7px;
    }

    .new-arrivals-heading p {
        margin-top: 7px;

        font-size: 11px;
    }

    .new-arrivals-filters {
        gap: 13px;

        margin-bottom: 22px;
    }

    .new-arrivals-filters a {
        font-size: 10px;
    }

    .new-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .new-product-image {
        aspect-ratio: 0.70;
    }

    .new-product-info {
        padding-top: 5px;
    }

    .new-product-info h2 {
        font-size: 10px;

        line-height: 1.3;
    }

    .new-product-price {
        font-size: 10px;

        gap: 4px;

        margin-top: 3px;
    }

    .new-color-swatches {
        gap: 4px;

        margin-top: 5px;
    }

    .new-color-swatch {
        width: 11px;
        height: 11px;

        flex-basis: 11px;
    }

    .new-badge {
        top: 5px;
        left: 5px;

        padding: 5px 6px;

        font-size: 8px;
    }
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .new-product-card:hover .new-hover-image {
        opacity: 0;
    }

    .new-product-card:hover .new-primary-image {
        transform: none;
    }

    .new-color-swatch:hover {
        transform: none;

        border-color: #bdb8b8;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .new-product-image img,
    .new-hover-image,
    .new-color-swatch,
    .new-product-card {
        transition: none !important;
    }
}