/* =====================================================
   KEMZY GLOBAL STORE
   SHOP PAGE STYLES
===================================================== */

.shop-container {
    width: min(92%, 1240px);
    margin-inline: auto;
}


/* =====================================================
   SHOP HERO — BACKGROUND VIDEO
===================================================== */

.shop-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 55px 0 75px;
    overflow: hidden;
    background: #071B3D;
}

/* Background video */

.shop-hero-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Video overlay */

.shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(7, 27, 61, 0.97) 0%,
        rgba(7, 27, 61, 0.88) 42%,
        rgba(7, 27, 61, 0.55) 75%,
        rgba(7, 27, 61, 0.35) 100%
    );
}

/* Hero content */

.shop-hero .shop-container {
    position: relative;
    z-index: 1;
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 55px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
}

.shop-breadcrumb a:hover {
    color: #60A5FA;
}

.shop-breadcrumb svg {
    width: 14px;
    height: 14px;
}

.shop-breadcrumb span {
    color: #FFFFFF;
}

.shop-hero-content {
    max-width: 680px;
}

.shop-hero-content h1 {
    margin-bottom: 20px;
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2.5px;
}

.shop-hero-content h1 span {
    color: #60A5FA;
}

.shop-hero-content p {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.9;
}

/* Tablet */

@media (max-width: 768px) {
    .shop-hero {
        min-height: 460px;
        padding: 40px 0 60px;
    }

    .shop-hero-video {
        object-position: 65% center;
    }

    .shop-hero::before {
        background: linear-gradient(
            90deg,
            rgba(7, 27, 61, 0.96),
            rgba(7, 27, 61, 0.78)
        );
    }

    .shop-breadcrumb {
        margin-bottom: 45px;
    }

    .shop-hero-content h1 {
        font-size: clamp(38px, 8vw, 54px);
        letter-spacing: -1.8px;
    }

    .shop-hero-content p {
        font-size: 14px;
    }
}

/* Small mobile */

@media (max-width: 480px) {
    .shop-hero {
        min-height: 430px;
        padding: 35px 0 50px;
    }

    .shop-breadcrumb {
        margin-bottom: 40px;
    }

    .shop-hero-content h1 {
        font-size: 39px;
    }

    .shop-hero-content p {
        font-size: 13px;
        line-height: 1.8;
    }
}

/* Catalogue heading */

.catalogue-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.catalogue-heading h2 {
    color: #071B3D;
    font-family: "Manrope", sans-serif;
    font-size: clamp(29px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1.5px;
}

.product-results {
    color: #64748B;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}


/* =====================================================
   SEARCH AND SORT
===================================================== */

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.shop-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 440px);
    height: 49px;
    padding: 0 15px;
    border: 1px solid #E2E8F0;
    border-radius: 7px;
    background: #FFFFFF;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.shop-search:focus-within {
    border-color: #1264E8;
    box-shadow: 0 0 0 3px rgba(18, 100, 232, 0.08);
}

.shop-search svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #64748B;
}

.shop-search input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #071B3D;
    font-family: inherit;
    font-size: 13px;
}

.shop-search input::placeholder {
    color: #94A3B8;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sort label {
    color: #64748B;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.shop-sort select {
    height: 46px;
    min-width: 175px;
    padding: 0 12px;
    border: 1px solid #E2E8F0;
    border-radius: 7px;
    outline: none;
    background: #FFFFFF;
    color: #071B3D;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.shop-sort select:focus {
    border-color: #1264E8;
}


/* =====================================================
   CATEGORY FILTERS
===================================================== */

.shop-categories {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid #E2E8F0;
}

.category-filter {
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    background: #FFFFFF;
    color: #64748B;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.category-filter:hover {
    border-color: #1264E8;
    color: #1264E8;
}

.category-filter.active {
    border-color: #071B3D;
    background: #071B3D;
    color: #FFFFFF;
}


/* =====================================================
   PRODUCT GRID AND CARDS
===================================================== */

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.shop-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E7ECF3;
    border-radius: 12px;
    background: #FFFFFF;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    border-color: #D6E2F2;
    box-shadow: 0 14px 30px rgba(7, 27, 61, 0.09);
}

.shop-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 245px;
    overflow: hidden;
    padding: 16px;
    background: #F5F7FA;
}

.shop-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

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

.shop-product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 6px 9px;
    border-radius: 4px;
    background: #E8F0FE;
    color: #1264E8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.shop-product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 15px 15px;
}

.shop-product-category {
    display: block;
    margin-bottom: 7px;
    color: #64748B;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

.shop-product-info h3 {
    min-height: 44px;
    margin: 0 0 15px;
    color: #071B3D;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.shop-product-bottom {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 13px;
    margin-top: auto;
}

.shop-product-price {
    display: block;
    margin: 0;
    color: #071B3D;
    font-size: 17px;
    font-weight: 800;
}

.shop-add-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #071B3D;
    border-radius: 6px;
    background: #071B3D;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.shop-add-button:hover {
    border-color: #1264E8;
    background: #1264E8;
}

.shop-add-button:disabled {
    border-color: #15803D;
    background: #15803D;
    cursor: default;
}

.shop-add-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.shop-subfilters[hidden],
.shop-filter-field[hidden] {
    display: none !important;
}


/* =====================================================
   EMPTY STATE
===================================================== */

.shop-empty-state {
    padding: 65px 20px;
    text-align: center;
}

.shop-empty-state[hidden] {
    display: none;
}

.empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #F4F7FC;
    color: #1264E8;
}

.empty-state-icon svg {
    width: 28px;
    height: 28px;
}

.shop-empty-state h3 {
    margin-bottom: 8px;
    color: #071B3D;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
}

.shop-empty-state p {
    margin-bottom: 20px;
    color: #64748B;
    font-size: 13px;
}

.shop-empty-state button {
    padding: 11px 18px;
    border: 0;
    border-radius: 6px;
    background: #1264E8;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
}


/* =====================================================
   SHOPPING CART DRAWER
===================================================== */

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(7, 27, 61, 0.55);
    opacity: 0;
    transition: opacity .3s ease;
}

.cart-overlay.is-visible {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;

    display: flex;
    flex-direction: column;

    width: min(460px, 100%);
    height: 100dvh;

    padding: 28px;
    background: #FFFFFF;

    box-shadow: -15px 0 50px rgba(7, 27, 61, .15);

    transform: translateX(105%);
    visibility: hidden;

    transition:
        transform .35s ease,
        visibility .35s ease;
}

.cart-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 22px;
    border-bottom: 1px solid #E2E8F0;
}

.cart-drawer-header h2 {
    margin-top: 7px;
    color: #071B3D;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.cart-drawer-header h2 span {
    color: #64748B;
    font-size: 15px;
}

.cart-close {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border: 1px solid #E2E8F0;
    border-radius: 50%;

    background: #F4F7FC;
    color: #071B3D;

    cursor: pointer;
    transition: .25s ease;
}

.cart-close:hover {
    background: #071B3D;
    color: #FFFFFF;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 15px;

    padding: 18px 0;
    border-bottom: 1px solid #E2E8F0;
}

.cart-item-image {
    width: 82px;
    height: 92px;
    object-fit: cover;

    border-radius: 12px;
    background: #F4F7FC;
}

.cart-item-details {
    min-width: 0;
}

.cart-item-details h3 {
    margin-bottom: 6px;
    color: #071B3D;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.cart-item-price {
    color: #1264E8;
    font-size: 14px;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 5px 9px;
    border: 1px solid #E2E8F0;
    border-radius: 7px;
}

.cart-quantity button {
    display: grid;
    place-items: center;

    width: 23px;
    height: 23px;

    border: none;
    background: transparent;
    color: #071B3D;

    cursor: pointer;
}

.cart-quantity button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.cart-quantity span {
    min-width: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.cart-remove {
    border: none;
    background: transparent;
    color: #DC3545;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cart-empty > i {
    width: 55px;
    height: 55px;
    margin-bottom: 18px;
    color: #1264E8;
}

.cart-empty h3 {
    margin-bottom: 8px;
    color: #071B3D;
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
}

.cart-empty p {
    max-width: 260px;
    margin-bottom: 20px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
}

.cart-empty button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #1264E8;
    color: #FFFFFF;
    font-weight: 700;
    cursor: pointer;
}

.cart-drawer-footer {
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.cart-subtotal-row,
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #071B3D;
}

.cart-subtotal-row {
    font-size: 14px;
}

.cart-total-row {
    margin-top: 18px;
    font-size: 17px;
    font-weight: 800;
}

.cart-total-row strong {
    color: #1264E8;
    font-size: 21px;
}

.cart-total-note {
    margin-top: 9px;
    color: #64748B;
    font-size: 12px;
    line-height: 1.5;
}

.cart-checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    margin-top: 20px;
    padding: 15px;

    border: none;
    border-radius: 9px;

    background: #1264E8;
    color: #FFFFFF;

    font-weight: 700;
}

.cart-checkout-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.cart-continue-button {
    width: 100%;
    margin-top: 12px;
    padding: 13px;

    border: 1px solid #E2E8F0;
    border-radius: 9px;

    background: #FFFFFF;
    color: #071B3D;

    font-weight: 700;
    cursor: pointer;
}

body.cart-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .cart-drawer {
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-drawer,
    .cart-overlay {
        transition: none;
    }
}



/* =====================================================
   TABLET RESPONSIVENESS
===================================================== */

@media (max-width: 1000px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 17px;
    }

    .shop-product-image {
        height: 220px;
    }
}


/* =====================================================
   MOBILE RESPONSIVENESS
===================================================== */

@media (max-width: 768px) {
    .shop-hero {
        padding: 25px 0 60px;
    }

    .shop-breadcrumb {
        margin-bottom: 40px;
    }

    .shop-hero-content h1 {
        font-size: clamp(37px, 8vw, 50px);
        letter-spacing: -1.8px;
    }

    .shop-hero-content p {
        font-size: 13px;
    }

    .shop-catalogue {
        padding: 50px 0 75px;
    }

    .catalogue-notice {
        margin-bottom: 38px;
    }

    .shop-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-search {
        width: 100%;
    }

    .shop-sort {
        justify-content: space-between;
    }

    .shop-sort select {
        flex: 1;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .shop-product-image {
        height: 205px;
        padding: 13px;
    }

    .shop-product-info {
        padding: 14px 12px;
    }

    .shop-product-info h3 {
        min-height: 42px;
        font-size: 12px;
    }
}


@media (max-width: 480px) {
    .shop-container {
        width: 90%;
    }

    .catalogue-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .shop-products-grid {
        gap: 11px;
    }

    .shop-product-image {
        height: 160px;
        padding: 10px;
    }

    .shop-product-info {
        padding: 12px 10px;
    }

    .shop-product-info h3 {
        min-height: 42px;
        font-size: 11px;
    }

    .shop-product-bottom {
        gap: 10px;
    }

    .shop-product-category {
        font-size: 9px;
    }

    .shop-product-price {
        font-size: 15px;
    }

    .shop-add-button {
        min-height: 39px;
        gap: 6px;
        font-size: 10px;
    }

    .shop-add-button svg {
        width: 14px;
        height: 14px;
    }

    .shop-product-tag {
        top: 8px;
        left: 8px;
        padding: 5px 7px;
        font-size: 8px;
    }
}


/* PHONE BRAND FILTER — ORIGINAL DESIGN */

.shop-subfilters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 0 28px;
    padding: 20px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #F8FAFC;
}

.shop-filter-field {
    display: flex;
    flex: 1 1 190px;
    flex-direction: column;
    gap: 8px;
}

.shop-filter-field label {
    color: #071B3D;
    font-size: 12px;
    font-weight: 700;
}

.shop-filter-field select,
.shop-filter-field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    outline: none;
    background: #FFFFFF;
    color: #071B3D;
    font-family: inherit;
    font-size: 12px;
}

.shop-filter-field select {
    cursor: pointer;
}

.shop-filter-field input::placeholder {
    color: #94A3B8;
}

.shop-filter-field select:focus,
.shop-filter-field input:focus {
    border-color: #1264E8;
    box-shadow: 0 0 0 3px rgba(18, 100, 232, .08);
}

@media (max-width: 600px) {
    .shop-subfilters {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .shop-filter-field {
        min-width: 0;
    }
}


/* =====================================================
   KEMZY SHOP EXPERIENCE ENHANCEMENTS
===================================================== */

.shop-product-image {
    position: relative;
}

.shop-quick-view-button {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(7, 27, 61, .12);
    border-radius: 6px;
    background: rgba(255, 255, 255, .96);
    color: #071B3D;
    font: 700 11px "DM Sans", sans-serif;
    cursor: pointer;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.shop-product-card:hover .shop-quick-view-button,
.shop-quick-view-button:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.shop-quick-view-button:hover {
    background: #1264E8;
    color: #FFFFFF;
}

.shop-quick-view-button svg {
    width: 15px;
    height: 15px;
}

.shop-card-review-summary,
.shop-quick-view-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 18px;
    margin: -5px 0 10px;
    color: #64748B;
    font-size: 10px;
    font-weight: 600;
}

.shop-review-stars {
    color: #E6A323;
    font-size: 13px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.shop-stock-note {
    margin: 0 0 12px;
    color: #64748B;
    font-size: 10px;
    line-height: 1.45;
}

.shop-product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.shop-product-actions .shop-add-button {
    flex: 1;
}

.shop-wishlist-button,
.shop-modal-wishlist {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-height: 42px;
    border: 1px solid #DCE4EF;
    border-radius: 6px;
    background: #FFFFFF;
    color: #64748B;
    cursor: pointer;
    transition: .2s ease;
}

.shop-wishlist-button:hover,
.shop-wishlist-button.is-saved,
.shop-modal-wishlist:hover {
    border-color: #D92D55;
    color: #D92D55;
    background: #FFF5F7;
}

.shop-wishlist-button svg,
.shop-modal-wishlist svg {
    width: 17px;
    height: 17px;
}

.shop-wishlist-button.is-saved svg {
    fill: currentColor;
}

.shop-wishlist-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid #E2E8F0;
    border-radius: 7px;
    background: #FFFFFF;
    color: #071B3D;
    font: 700 12px "DM Sans", sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.shop-wishlist-filter:hover,
.shop-wishlist-filter.is-active {
    border-color: #1264E8;
    color: #1264E8;
}

.shop-wishlist-filter svg {
    width: 16px;
    height: 16px;
}

.shop-wishlist-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: #EEF4FF;
    color: #1264E8;
    font-size: 10px;
}

.shop-product-card[hidden] {
    display: none !important;
}

/* Customer trust information */

.shop-trust-section {
    padding: 35px 0;
    border-top: 1px solid #E8EDF4;
    background: #F7F9FC;
}

.shop-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.shop-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.shop-trust-icon {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: #EAF1FF;
    color: #1264E8;
}

.shop-trust-icon svg {
    width: 19px;
    height: 19px;
}

.shop-trust-item h3 {
    margin: 1px 0 5px;
    color: #071B3D;
    font: 800 13px "Manrope", sans-serif;
}

.shop-trust-item p {
    margin: 0;
    color: #64748B;
    font-size: 11px;
    line-height: 1.65;
}

/* Quick-view dialog */

.shop-quick-view-dialog {
    width: min(900px, calc(100% - 32px));
    max-width: 900px;
    max-height: min(90dvh, 820px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 14px;
    background: #FFFFFF;
    color: #071B3D;
    box-shadow: 0 25px 80px rgba(7, 27, 61, .25);
}

.shop-quick-view-dialog::backdrop {
    background: rgba(5, 17, 38, .68);
    backdrop-filter: blur(3px);
}

.shop-quick-view-shell {
    position: relative;
    min-height: 400px;
}

.shop-modal-close {
    position: sticky;
    top: 14px;
    float: right;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 14px 14px -54px 0;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    background: #FFFFFF;
    color: #071B3D;
    cursor: pointer;
}

.shop-modal-close:hover {
    background: #071B3D;
    color: #FFFFFF;
}

.shop-modal-close svg {
    width: 18px;
    height: 18px;
}

.shop-quick-view-content {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 34px;
    padding: 42px;
}

.shop-quick-view-image {
    display: grid;
    align-self: start;
    place-items: center;
    min-height: 330px;
    overflow: hidden;
    border-radius: 10px;
    background: #F4F7FB;
}

.shop-quick-view-image img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    padding: 22px;
}

.shop-quick-view-details {
    min-width: 0;
    padding-top: 5px;
}

.shop-quick-view-details h2 {
    margin: 6px 0 12px;
    color: #071B3D;
    font: 800 clamp(21px, 3vw, 28px)/1.3 "Manrope", sans-serif;
}

.shop-quick-view-rating {
    margin: 0 0 17px;
    font-size: 11px;
}

.shop-quick-view-price {
    display: block;
    margin: 0 0 20px;
    color: #071B3D;
    font: 800 25px "Manrope", sans-serif;
}

.shop-availability-panel {
    display: flex;
    gap: 11px;
    padding: 13px;
    border: 1px solid #DCE8FA;
    border-radius: 8px;
    background: #F5F8FE;
}

.shop-availability-panel > svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #1264E8;
}

.shop-availability-panel strong {
    display: block;
    margin-bottom: 4px;
    color: #071B3D;
    font-size: 11px;
}

.shop-availability-panel p,
.shop-quick-view-description {
    margin: 0;
    color: #64748B;
    font-size: 11px;
    line-height: 1.7;
}

.shop-quick-view-description {
    margin: 16px 0;
}

.shop-quick-view-actions {
    display: flex;
    gap: 9px;
    margin-bottom: 25px;
}

.shop-quick-view-actions .shop-add-button {
    flex: 1;
}

.shop-modal-wishlist {
    flex: 0 0 auto;
    gap: 7px;
    width: auto;
    padding: 0 12px;
    font: 700 11px "DM Sans", sans-serif;
}

.shop-review-section {
    padding-top: 20px;
    border-top: 1px solid #E7ECF3;
}

.shop-review-heading,
.shop-review-entry-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shop-review-heading h3 {
    margin: 0;
    color: #071B3D;
    font: 800 16px "Manrope", sans-serif;
}

.shop-review-heading > span,
.shop-review-entry time {
    color: #94A3B8;
    font-size: 10px;
}

.shop-no-reviews {
    margin: 13px 0;
    color: #64748B;
    font-size: 11px;
}

.shop-review-entry {
    padding: 13px 0;
    border-bottom: 1px solid #EEF1F5;
}

.shop-review-entry-top strong {
    color: #071B3D;
    font-size: 11px;
}

.shop-review-entry p {
    margin: 7px 0;
    color: #475569;
    font-size: 11px;
    line-height: 1.65;
}

.shop-review-form {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.shop-review-form h4 {
    margin: 0 0 4px;
    color: #071B3D;
    font: 800 13px "Manrope", sans-serif;
}

.shop-review-form label {
    margin-top: 5px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
}

.shop-review-form input,
.shop-review-form select,
.shop-review-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 10px 11px;
    border: 1px solid #DCE3ED;
    border-radius: 6px;
    outline: none;
    background: #FFFFFF;
    color: #071B3D;
    font: 11px "DM Sans", sans-serif;
}

.shop-review-form textarea {
    resize: vertical;
}

.shop-review-form input:focus,
.shop-review-form select:focus,
.shop-review-form textarea:focus {
    border-color: #1264E8;
    box-shadow: 0 0 0 3px rgba(18, 100, 232, .08);
}

.shop-review-submit {
    min-height: 40px;
    margin-top: 5px;
    border: 0;
    border-radius: 6px;
    background: #071B3D;
    color: #FFFFFF;
    font: 700 11px "DM Sans", sans-serif;
    cursor: pointer;
}

.shop-review-submit:hover {
    background: #1264E8;
}

.shop-review-storage-note {
    margin: 0;
    color: #94A3B8;
    font-size: 9px;
    line-height: 1.5;
}

body.shop-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .shop-quick-view-content {
        gap: 24px;
        padding: 32px;
    }

    .shop-quick-view-image {
        min-height: 280px;
    }
}

@media (max-width: 680px) {
    .shop-quick-view-button {
        opacity: 1;
        transform: none;
    }

    .shop-trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-quick-view-dialog {
        width: calc(100% - 20px);
        max-height: 92dvh;
        border-radius: 11px;
    }

    .shop-quick-view-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px;
    }

    .shop-quick-view-image {
        min-height: 210px;
        max-height: 260px;
    }

    .shop-quick-view-image img {
        max-height: 250px;
    }

    .shop-quick-view-details h2 {
        padding-right: 25px;
    }

    .shop-toolbar {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .shop-search {
        width: 100%;
    }

    .shop-wishlist-filter {
        flex: 1;
    }
}

@media (max-width: 420px) {
    .shop-product-actions {
        gap: 6px;
    }

    .shop-wishlist-button {
        flex-basis: 39px;
        width: 39px;
    }

    .shop-product-actions .shop-add-button {
        font-size: 10px;
    }

    .shop-quick-view-actions {
        flex-direction: column;
    }

    .shop-modal-wishlist {
        min-height: 40px;
        justify-content: center;
    }
}
