/* =====================================================
   INK & ARCHIVE — SHOP PAGE
   File: css/pages/shop.css

   Brand Colours:
   Navy       : #1F2544
   Periwinkle : #474F7A
   Purple     : #81689D
   Pink       : #FFD0EC

   Refinement:
   - Softer pastel surfaces
   - Improved text contrast
   - Premium card styling
   - Better image presentation
   - Responsive layout
   - Scoped to the Shop page
===================================================== */


/* =====================================================
   01. SHOP PAGE FOUNDATION
===================================================== */

.shop-page {
    --shop-navy: #1F2544;
    --shop-periwinkle: #474F7A;
    --shop-purple: #81689D;
    --shop-pink: #FFD0EC;

    --shop-soft-pink: #FFF0F8;
    --shop-lavender: #EEEAF4;
    --shop-light-purple: #DCD4E8;

    --shop-page-bg: #FBF7FC;
    --shop-card-bg: #FFFCFE;

    --shop-text: #34334B;
    --shop-muted: #6E6B80;

    --shop-border: rgba(71, 79, 122, 0.17);
    --shop-shadow: 0 12px 30px rgba(31, 37, 68, 0.07);

    width: 100%;
    min-width: 0;

    overflow-x: clip;

    background: var(--shop-page-bg);

    color: var(--shop-text);

    font-family: 'Poppins', sans-serif;
}

.shop-page *,
.shop-page *::before,
.shop-page *::after {
    box-sizing: border-box;
}

.shop-page img {
    display: block;
    max-width: 100%;
}

.shop-page a {
    text-decoration: none;
}

.shop-page button,
.shop-page input,
.shop-page select {
    font: inherit;
}

.shop-container {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
}

.shop-page h1,
.shop-page h2,
.shop-page h3 {
    font-family: 'Playfair Display', serif;
}

.shop-page section {
    min-width: 0;
}


/* =====================================================
   02. SHOP HERO SECTION
===================================================== */

.shop-hero {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(circle at 82% 15%,
            rgba(255, 208, 236, 0.28),
            transparent 34%),
        linear-gradient(115deg,
            #34365D 0%,
            #474F7A 52%,
            #81769B 100%);

    overflow: hidden;
    isolation: isolate;
}

.shop-hero::before {
    content: "";

    position: absolute;

    width: 460px;
    height: 460px;

    top: -220px;
    left: -130px;

    border-radius: 50%;

    background: rgba(255, 208, 236, 0.15);

    filter: blur(5px);

    z-index: -1;
}

.shop-hero::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: -250px;
    right: 15%;

    border-radius: 50%;

    background: rgba(220, 212, 232, 0.28);

    filter: blur(12px);

    z-index: -1;
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(31, 37, 68, 0.35),
            rgba(31, 37, 68, 0.08) 75%,
            transparent);

    pointer-events: none;
}

.shop-hero-content {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);

    align-items: center;

    gap: 65px;

    padding-top: 75px;
    padding-bottom: 75px;
}

.shop-hero-text {
    max-width: 570px;
    min-width: 0;
}

.shop-eyebrow {
    display: inline-block;

    color: var(--shop-purple);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.shop-hero .shop-eyebrow {
    color: #FFDDF0;
}

.shop-hero-text h1 {
    margin: 22px 0 20px;

    color: #FFFFFF;

    font-size: clamp(42px, 5vw, 67px);

    font-weight: 500;

    line-height: 1.16;

    letter-spacing: -1.5px;
}

.shop-hero-text h1 span {
    display: block;

    color: var(--shop-pink);

    font-style: italic;
}

.shop-hero-text>p {
    max-width: 470px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.91);

    font-size: 14px;

    line-height: 1.9;
}

.shop-primary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 25px;

    min-height: 51px;

    padding: 0 25px;

    border: 1px solid var(--shop-pink);
    border-radius: 3px;

    background: var(--shop-pink);

    color: var(--shop-navy);

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.shop-primary-btn:hover {
    background: #FFFFFF;

    border-color: #FFFFFF;

    color: var(--shop-navy);

    transform: translateY(-3px);

    box-shadow: 0 9px 22px rgba(31, 37, 68, 0.15);
}

.shop-primary-btn span {
    font-size: 19px;
}

.shop-hero-note {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 35px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 10px;

    letter-spacing: 1.5px;
}

.shop-note-line {
    width: 36px;
    height: 1px;

    flex-shrink: 0;

    background: var(--shop-pink);
}

.shop-hero-image {
    position: relative;

    width: 100%;
    height: 390px;

    overflow: hidden;

    border: 6px solid rgba(255, 255, 255, 0.48);
    border-radius: 5px;

    background: var(--shop-lavender);

    box-shadow: 0 25px 60px rgba(20, 23, 51, 0.22);
}

.shop-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}

.shop-hero-image:hover img {
    transform: scale(1.035);
}

.shop-hero-image-caption {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 20px;

    background:
        linear-gradient(transparent,
            rgba(31, 37, 68, 0.82));

    color: #FFFFFF;

    font-size: 9px;

    letter-spacing: 1.8px;
}

.shop-hero-decoration {
    position: absolute;

    right: 25px;
    top: 50%;

    writing-mode: vertical-rl;

    color: rgba(255, 255, 255, 0.35);

    font-size: 10px;

    letter-spacing: 5px;
}


/* =====================================================
   03. CATEGORY NAVIGATION
===================================================== */

.shop-category-section {
    padding: 85px 0 95px;

    background:
        linear-gradient(125deg,
            #FFFAFD 0%,
            #F7F0FA 55%,
            #FFF3F9 100%);
}

.shop-section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 38px;
}

.shop-section-heading h2,
.shop-catalogue-heading h2 {
    margin: 12px 0;

    color: var(--shop-navy);

    font-size: clamp(30px, 3vw, 42px);

    font-weight: 500;

    line-height: 1.2;
}

.shop-section-heading p,
.shop-catalogue-heading>div>p {
    margin: 0;

    color: var(--shop-muted);

    font-size: 13px;

    line-height: 1.8;
}

.shop-text-link {
    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--shop-purple);

    color: var(--shop-navy);

    font-size: 12px;
    font-weight: 600;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.shop-text-link:hover {
    color: var(--shop-purple);

    border-color: var(--shop-pink);
}

.shop-category-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.shop-category-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border: 1px solid rgba(71, 79, 122, 0.12);
    border-radius: 7px;

    background: var(--shop-lavender);

    box-shadow: 0 5px 18px rgba(31, 37, 68, 0.045);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.shop-category-card:hover {
    transform: translateY(-6px);

    border-color: rgba(129, 104, 157, 0.4);

    box-shadow: 0 16px 32px rgba(31, 37, 68, 0.11);
}

.shop-category-image {
    height: 225px;

    overflow: hidden;

    background: #E6DFEE;
}

.shop-category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.shop-category-card:hover .shop-category-image img {
    transform: scale(1.06);
}

.shop-category-info {
    position: relative;

    min-height: 130px;

    padding: 20px 22px;

    background: #EAE5F1;
}

.shop-category-romance .shop-category-info,
.shop-category-selfhelp .shop-category-info {
    background: #FBEAF3;
}

.shop-category-mystery .shop-category-info,
.shop-category-classics .shop-category-info {
    background: #E5DFED;
}

.shop-category-info>span:first-child {
    color: var(--shop-purple);

    font-size: 10px;

    letter-spacing: 2px;
}

.shop-category-info h3 {
    margin: 7px 0 4px;

    color: var(--shop-navy);

    font-size: 23px;

    font-weight: 500;
}

.shop-category-info p {
    margin: 0;

    color: #69667C;

    font-size: 11px;
}

.shop-category-arrow {
    position: absolute;

    right: 22px;
    bottom: 23px;

    display: grid;

    place-items: center;

    width: 32px;
    height: 32px;

    border: 1px solid rgba(71, 79, 122, 0.3);

    border-radius: 50%;

    color: var(--shop-navy);

    font-size: 15px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.shop-category-card:hover .shop-category-arrow {
    background: var(--shop-navy);

    border-color: var(--shop-navy);

    color: #FFFFFF;
}


/* =====================================================
   04. MAIN CATALOGUE
===================================================== */

.shop-catalogue-section {
    padding: 90px 0 100px;

    background:
        linear-gradient(140deg,
            #EDE8F4 0%,
            #FFF2F8 55%,
            #F0EAF5 100%);
}

.shop-catalogue-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 42px;
}

.shop-catalogue-count {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 7px;

    padding: 17px 23px;

    border-left: 3px solid var(--shop-purple);

    background: rgba(255, 255, 255, 0.68);

    box-shadow: 0 5px 16px rgba(31, 37, 68, 0.045);
}

.shop-catalogue-count span {
    color: var(--shop-purple);

    font-size: 9px;

    letter-spacing: 2px;
}

.shop-catalogue-count strong {
    color: var(--shop-navy);

    font-family: 'Playfair Display', serif;

    font-size: 17px;

    font-weight: 500;
}

.shop-catalogue-layout {
    display: grid;

    grid-template-columns: 240px minmax(0, 1fr);

    align-items: start;

    gap: 30px;
}


/* =====================================================
   05. FILTER SIDEBAR
===================================================== */

.shop-filter-sidebar {
    min-width: 0;

    padding: 25px 21px;

    background: #FFFCFE;

    border: 1px solid var(--shop-border);
    border-radius: 7px;

    box-shadow: var(--shop-shadow);
}

.shop-filter-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 8px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--shop-border);
}

.shop-filter-heading h3 {
    margin: 0;

    color: var(--shop-navy);

    font-size: 18px;

    font-weight: 500;
}

.shop-clear-filter {
    padding: 0;

    border: none;

    background: none;

    color: var(--shop-purple);

    font-family: 'Poppins', sans-serif;

    font-size: 10px;

    cursor: pointer;

    transition: color 0.2s ease;
}

.shop-clear-filter:hover {
    color: var(--shop-navy);
}

.shop-filter-group {
    display: flex;

    flex-direction: column;

    gap: 13px;

    padding: 22px 0;

    border-bottom: 1px solid var(--shop-border);
}

.shop-filter-group h4 {
    margin: 0 0 5px;

    color: var(--shop-navy);

    font-family: 'Poppins', sans-serif;

    font-size: 12px;

    font-weight: 600;
}

.shop-filter-group label {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #66647A;

    font-size: 11px;

    cursor: pointer;

    transition: color 0.2s ease;
}

.shop-filter-group label:hover {
    color: var(--shop-navy);
}

.shop-filter-group input {
    width: 15px;
    height: 15px;

    flex-shrink: 0;

    margin: 0;

    accent-color: var(--shop-purple);

    cursor: pointer;
}

.shop-filter-decoration {
    margin-top: 23px;

    padding: 19px 15px;

    background: #FBEAF4;

    border-left: 3px solid var(--shop-purple);

    border-radius: 0 4px 4px 0;
}

.shop-filter-decoration span {
    color: var(--shop-purple);

    font-size: 9px;

    letter-spacing: 1.5px;
}

.shop-filter-decoration p {
    margin: 10px 0 0;

    color: var(--shop-navy);

    font-family: 'Playfair Display', serif;

    font-size: 17px;

    line-height: 1.5;

    font-style: italic;
}


/* =====================================================
   06. PRODUCT TOOLBAR
===================================================== */

.shop-products-area {
    min-width: 0;
}

.shop-products-toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

    padding: 16px 19px;

    background: rgba(255, 252, 254, 0.88);

    border: 1px solid var(--shop-border);
    border-radius: 5px;

    box-shadow: 0 5px 16px rgba(31, 37, 68, 0.035);
}

.shop-products-result>span {
    color: var(--shop-purple);

    font-size: 9px;

    letter-spacing: 1.5px;
}

.shop-products-result p {
    margin: 5px 0 0;

    color: var(--shop-navy);

    font-size: 11px;
}

.shop-sort-wrapper {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;
}

.shop-sort-wrapper label {
    color: var(--shop-muted);

    font-size: 11px;
}

.shop-sort-wrapper select {
    max-width: 180px;

    padding: 10px 12px;

    border: 1px solid var(--shop-border);
    border-radius: 3px;

    outline: none;

    background: #FFFFFF;

    color: var(--shop-navy);

    font-family: 'Poppins', sans-serif;

    font-size: 10px;

    cursor: pointer;
}


/* =====================================================
   07. PRODUCT GRID
===================================================== */

.shop-products-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 24px 17px;
}

.shop-product-card {
    min-width: 0;

    overflow: hidden;

    background: var(--shop-card-bg);

    border: 1px solid rgba(71, 79, 122, 0.14);
    border-radius: 6px;

    box-shadow: 0 5px 16px rgba(31, 37, 68, 0.045);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.shop-product-card:hover {
    transform: translateY(-5px);

    border-color: rgba(129, 104, 157, 0.38);

    box-shadow: 0 14px 30px rgba(31, 37, 68, 0.11);
}

.shop-product-image {
    position: relative;

    height: 235px;

    overflow: hidden;

    background:
        linear-gradient(145deg,
            #EAE4F0,
            #F8EDF5);
}

.shop-product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 12px;

    transition: transform 0.45s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.045);
}

.shop-product-badge {
    position: absolute;

    top: 12px;
    left: 10px;

    z-index: 2;

    padding: 6px 9px;

    border-radius: 2px;

    background: var(--shop-navy);

    color: #FFFFFF;

    font-size: 8px;

    letter-spacing: 1px;
}

.shop-badge-new {
    background: var(--shop-purple);
}

.shop-quick-view {
    position: absolute;

    left: 10px;
    right: 10px;
    bottom: 10px;

    width: calc(100% - 20px);

    padding: 10px;

    border: none;
    border-radius: 2px;

    background: rgba(31, 37, 68, 0.94);

    color: #FFFFFF;

    font-family: 'Poppins', sans-serif;

    font-size: 10px;

    cursor: pointer;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.shop-quick-view:hover {
    background: var(--shop-purple);
}

.shop-product-card:hover .shop-quick-view {
    opacity: 1;

    transform: translateY(0);
}

.shop-product-info {
    padding: 16px 13px 15px;
}

.shop-product-category {
    color: var(--shop-purple);

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 1.7px;
}

.shop-product-info h3 {
    min-height: 43px;

    margin: 9px 0 5px;

    color: var(--shop-navy);

    font-size: 16px;

    font-weight: 500;

    line-height: 1.35;
}

.shop-product-author {
    margin: 0 0 13px;

    color: var(--shop-muted);

    font-size: 10px;

    line-height: 1.5;
}

.shop-product-price {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 14px;
}

.shop-product-price strong {
    color: var(--shop-navy);

    font-size: 14px;

    font-weight: 600;
}

.shop-product-price del {
    color: #898598;

    font-size: 10px;
}

.shop-add-cart {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 10px 12px;

    border: 1px solid var(--shop-navy);
    border-radius: 2px;

    background: transparent;

    color: var(--shop-navy);

    font-family: 'Poppins', sans-serif;

    font-size: 10px;

    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.shop-add-cart span {
    font-size: 17px;
}

.shop-add-cart:hover {
    background: var(--shop-navy);

    border-color: var(--shop-navy);

    color: #FFFFFF;
}


/* =====================================================
   08. PAGINATION
===================================================== */

.shop-pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 45px;
}

.shop-pagination button {
    display: grid;

    place-items: center;

    width: 37px;
    height: 37px;

    border: 1px solid var(--shop-border);
    border-radius: 3px;

    background: #FFFCFE;

    color: var(--shop-navy);

    font-family: 'Poppins', sans-serif;

    font-size: 11px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.shop-pagination button:hover,
.shop-pagination .shop-page-active {
    background: var(--shop-navy);

    border-color: var(--shop-navy);

    color: #FFFFFF;
}

.shop-pagination>span {
    color: var(--shop-muted);
}


/* =====================================================
   09. FEATURED COLLECTION BANNER
===================================================== */

.shop-featured-section {
    padding: 90px 0;

    background:
        linear-gradient(125deg,
            #FFFAFD,
            #F4ECF6);
}

.shop-featured-banner {
    position: relative;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: center;

    min-height: 410px;

    background:
        linear-gradient(125deg,
            #292F55,
            #474F7A);

    border-radius: 7px;

    overflow: hidden;

    box-shadow: 0 18px 40px rgba(31, 37, 68, 0.13);
}

.shop-featured-image {
    height: 100%;
    min-height: 410px;

    overflow: hidden;

    background: var(--shop-lavender);
}

.shop-featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.shop-featured-banner:hover .shop-featured-image img {
    transform: scale(1.04);
}

.shop-featured-content {
    position: relative;

    z-index: 2;

    min-width: 0;

    padding: 55px 55px 55px 45px;
}

.shop-featured-content .shop-eyebrow {
    color: var(--shop-pink);
}

.shop-featured-content h2 {
    margin: 19px 0;

    color: #FFFFFF;

    font-size: clamp(30px, 3.3vw, 43px);

    font-weight: 500;

    line-height: 1.3;
}

.shop-featured-content h2 span {
    display: block;

    color: var(--shop-pink);

    font-style: italic;
}

.shop-featured-content p {
    margin: 0 0 27px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 12px;

    line-height: 1.9;
}

.shop-featured-number {
    position: absolute;

    right: 20px;
    bottom: 0;

    color: rgba(255, 255, 255, 0.09);

    font-family: 'Playfair Display', serif;

    font-size: 120px;

    line-height: 1;

    pointer-events: none;
}


/* =====================================================
   10. READER'S CHOICE
===================================================== */

.shop-readers-section {
    padding: 90px 0 100px;

    background:
        linear-gradient(130deg,
            #EEEAF5,
            #F9EEF6 55%,
            #EAE5F2);
}

.shop-readers-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.shop-reader-card {
    min-width: 0;

    overflow: hidden;

    background: var(--shop-card-bg);

    border: 1px solid rgba(71, 79, 122, 0.13);
    border-radius: 6px;

    box-shadow: 0 5px 18px rgba(31, 37, 68, 0.045);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.shop-reader-card:hover {
    transform: translateY(-6px);

    border-color: rgba(129, 104, 157, 0.35);

    box-shadow: 0 15px 30px rgba(31, 37, 68, 0.11);
}

.shop-reader-image {
    position: relative;

    height: 260px;

    overflow: hidden;

    background:
        linear-gradient(145deg,
            #E5DDEC,
            #F8EAF3);
}

.shop-reader-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 17px;

    transition: transform 0.4s ease;
}

.shop-reader-card:hover .shop-reader-image img {
    transform: scale(1.045);
}

.shop-reader-image>span {
    position: absolute;

    top: 12px;
    left: 12px;

    display: grid;

    place-items: center;

    width: 29px;
    height: 29px;

    border-radius: 50%;

    background: var(--shop-pink);

    color: var(--shop-navy);

    font-size: 10px;

    font-weight: 600;
}

.shop-reader-info {
    padding: 19px;
}

.shop-reader-info>span {
    color: var(--shop-purple);

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 1.4px;
}

.shop-reader-info h3 {
    margin: 9px 0 6px;

    color: var(--shop-navy);

    font-size: 20px;

    font-weight: 500;

    line-height: 1.3;
}

.shop-reader-info p {
    margin: 0;

    color: var(--shop-muted);

    font-size: 10px;

    line-height: 1.7;
}


/* =====================================================
   11. NEWSLETTER SECTION
===================================================== */

.shop-newsletter-section {
    position: relative;

    padding: 85px 0 25px;

    background:
        radial-gradient(circle at 85% 20%,
            rgba(255, 255, 255, 0.55),
            transparent 30%),
        linear-gradient(120deg,
            #FFD0EC,
            #E9DDF0 60%,
            #D9D2E9);

    overflow: hidden;
}

.shop-newsletter-content {
    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);

    align-items: center;

    gap: 65px;

    padding-bottom: 65px;
}

.shop-newsletter-text {
    min-width: 0;
}

.shop-newsletter-text h2 {
    margin: 17px 0;

    color: var(--shop-navy);

    font-size: clamp(32px, 3.5vw, 47px);

    font-weight: 500;

    line-height: 1.3;
}

.shop-newsletter-text h2 span {
    display: block;

    color: var(--shop-purple);

    font-style: italic;
}

.shop-newsletter-text>p {
    max-width: 480px;

    margin: 0;

    color: #4F4B66;

    font-size: 12px;

    line-height: 1.9;
}

.shop-newsletter-note {
    display: inline-block;

    margin-top: 25px;

    padding: 10px 14px;

    border-left: 2px solid var(--shop-purple);

    color: var(--shop-navy);

    font-size: 10px;

    font-style: italic;
}

.shop-newsletter-form-area {
    min-width: 0;

    padding: 30px;

    background: rgba(255, 255, 255, 0.7);

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;

    box-shadow: 0 12px 30px rgba(31, 37, 68, 0.07);
}

.shop-newsletter-decoration {
    margin-bottom: 25px;

    color: var(--shop-purple);

    font-family: 'Playfair Display', serif;

    font-size: 20px;

    font-style: italic;

    text-align: center;

    letter-spacing: 1px;
}

.shop-newsletter-form label {
    display: block;

    margin-bottom: 10px;

    color: var(--shop-navy);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1.5px;
}

.shop-newsletter-input {
    display: flex;

    align-items: stretch;

    min-height: 53px;

    background: #FFFFFF;

    border: 1px solid rgba(71, 79, 122, 0.25);
    border-radius: 3px;

    overflow: hidden;
}

.shop-newsletter-input input {
    flex: 1;

    width: 0;
    min-width: 0;

    padding: 0 15px;

    border: none;

    outline: none;

    background: transparent;

    color: var(--shop-navy);

    font-family: 'Poppins', sans-serif;

    font-size: 11px;
}

.shop-newsletter-input input::placeholder {
    color: #827D91;
}

.shop-newsletter-input button {
    width: 55px;

    flex-shrink: 0;

    border: none;

    background: var(--shop-navy);

    color: #FFFFFF;

    font-size: 21px;

    cursor: pointer;

    transition: background 0.3s ease;
}

.shop-newsletter-input button:hover {
    background: var(--shop-purple);
}

.shop-newsletter-form>p {
    margin: 13px 0 0;

    color: #625E73;

    font-size: 9px;

    line-height: 1.7;
}

.shop-newsletter-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 22px;

    border-top: 1px solid rgba(31, 37, 68, 0.2);

    color: var(--shop-navy);

    font-size: 9px;

    letter-spacing: 2px;
}


/* =====================================================
   12. ACCESSIBILITY & INTERACTION
===================================================== */

.shop-page button:focus-visible,
.shop-page a:focus-visible,
.shop-page input:focus-visible,
.shop-page select:focus-visible {
    outline: 2px solid var(--shop-purple);

    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .shop-page *,
    .shop-page *::before,
    .shop-page *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}


/* =====================================================
   13. TABLET RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .shop-container {
        width: calc(100% - 50px);
    }

    .shop-hero-content {
        gap: 40px;
    }

    .shop-catalogue-layout {
        grid-template-columns: 210px minmax(0, 1fr);

        gap: 22px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 22px 15px;
    }

    .shop-product-image {
        height: 240px;
    }

    .shop-featured-content {
        padding: 40px 35px;
    }

    .shop-newsletter-content {
        gap: 40px;
    }

}


/* =====================================================
   14. SMALL TABLET
===================================================== */

@media (max-width: 768px) {

    .shop-container {
        width: calc(100% - 40px);
    }


    /* HERO */

    .shop-hero {
        min-height: auto;
    }

    .shop-hero-content {
        grid-template-columns: minmax(0, 1fr);

        gap: 35px;

        padding-top: 65px;
        padding-bottom: 65px;
    }

    .shop-hero-text {
        max-width: 100%;
    }

    .shop-hero-text h1 {
        font-size: clamp(40px, 8vw, 58px);
    }

    .shop-hero-image {
        height: 330px;

        max-width: 540px;
    }

    .shop-hero-decoration {
        display: none;
    }


    /* CATEGORIES */

    .shop-category-section,
    .shop-catalogue-section,
    .shop-featured-section,
    .shop-readers-section {
        padding: 65px 0;
    }

    .shop-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .shop-category-image {
        height: 190px;
    }

    .shop-category-info {
        min-height: 120px;

        padding: 17px;
    }

    .shop-category-info h3 {
        font-size: 21px;
    }


    /* CATALOGUE */

    .shop-catalogue-layout {
        grid-template-columns: minmax(0, 1fr);

        gap: 25px;
    }

    .shop-filter-sidebar {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 0 22px;
    }

    .shop-filter-heading {
        grid-column: 1 / -1;
    }

    .shop-filter-decoration {
        grid-column: 1 / -1;
    }

    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    /* FEATURED */

    .shop-featured-banner {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-featured-image {
        min-height: 280px;

        height: 300px;
    }

    .shop-featured-content {
        padding: 35px;
    }


    /* READERS */

    .shop-readers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .shop-reader-image {
        height: 250px;
    }


    /* NEWSLETTER */

    .shop-newsletter-section {
        padding-top: 65px;
    }

    .shop-newsletter-content {
        grid-template-columns: minmax(0, 1fr);

        gap: 30px;
    }

}


/* =====================================================
   15. MOBILE RESPONSIVE
===================================================== */

@media (max-width: 520px) {

    .shop-container {
        width: calc(100% - 30px);
    }


    /* HERO */

    .shop-hero-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .shop-hero-text h1 {
        font-size: 40px;

        letter-spacing: -0.8px;
    }

    .shop-hero-text>p {
        font-size: 12px;
    }

    .shop-hero-image {
        height: 260px;

        border-width: 5px;
    }

    .shop-hero-image-caption {
        padding: 13px;

        font-size: 7px;
    }


    /* SECTION HEADINGS */

    .shop-section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 13px;

        margin-bottom: 27px;
    }

    .shop-section-heading h2,
    .shop-catalogue-heading h2 {
        font-size: 31px;
    }

    .shop-section-heading p,
    .shop-catalogue-heading>div>p {
        font-size: 11px;
    }


    /* CATEGORY GRID */

    .shop-category-grid {
        gap: 12px;
    }

    .shop-category-image {
        height: 145px;
    }

    .shop-category-info {
        min-height: 110px;

        padding: 13px;
    }

    .shop-category-info h3 {
        font-size: 18px;
    }

    .shop-category-info p {
        max-width: 85%;

        font-size: 9px;
    }

    .shop-category-arrow {
        right: 10px;
        bottom: 12px;

        width: 26px;
        height: 26px;

        font-size: 12px;
    }


    /* CATALOGUE */

    .shop-catalogue-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

    .shop-catalogue-count {
        align-items: flex-start;
    }

    .shop-filter-sidebar {
        padding: 19px 15px;

        grid-template-columns: minmax(0, 1fr);
    }

    .shop-filter-heading,
    .shop-filter-decoration {
        grid-column: auto;
    }

    .shop-products-toolbar {
        align-items: flex-start;

        flex-direction: column;

        padding: 14px;
    }

    .shop-sort-wrapper {
        width: 100%;

        justify-content: space-between;
    }

    .shop-sort-wrapper select {
        max-width: 65%;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px 11px;
    }

    .shop-product-image {
        height: 190px;
    }

    .shop-product-image img {
        padding: 8px;
    }

    .shop-product-info {
        padding: 13px 10px;
    }

    .shop-product-info h3 {
        min-height: 40px;

        font-size: 14px;
    }

    .shop-product-price {
        gap: 6px;
    }

    .shop-product-price strong {
        font-size: 12px;
    }

    .shop-product-price del {
        font-size: 9px;
    }

    .shop-quick-view {
        opacity: 1;

        transform: none;

        padding: 8px;

        font-size: 9px;
    }

    .shop-pagination {
        gap: 6px;
    }

    .shop-pagination button {
        width: 32px;
        height: 32px;
    }


    /* FEATURED BANNER */

    .shop-featured-image {
        min-height: 220px;

        height: 220px;
    }

    .shop-featured-content {
        padding: 27px 22px;
    }

    .shop-featured-content h2 {
        font-size: 32px;
    }

    .shop-featured-content p {
        font-size: 11px;
    }

    .shop-featured-number {
        font-size: 80px;
    }


    /* READER'S CHOICE */

    .shop-readers-grid {
        gap: 13px;
    }

    .shop-reader-image {
        height: 190px;
    }

    .shop-reader-image img {
        padding: 10px;
    }

    .shop-reader-info {
        padding: 13px 11px;
    }

    .shop-reader-info h3 {
        font-size: 17px;
    }

    .shop-reader-info p {
        font-size: 9px;
    }


    /* NEWSLETTER */

    .shop-newsletter-form-area {
        padding: 22px 16px;
    }

    .shop-newsletter-text h2 {
        font-size: 34px;
    }

    .shop-newsletter-text>p {
        font-size: 11px;
    }

    .shop-newsletter-decoration {
        font-size: 17px;
    }

    .shop-newsletter-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;

        font-size: 8px;
    }

}


/* =====================================================
   16. VERY SMALL MOBILE
===================================================== */

@media (max-width: 360px) {

    .shop-container {
        width: calc(100% - 24px);
    }

    .shop-hero-text h1 {
        font-size: 34px;
    }

    .shop-category-info h3 {
        font-size: 16px;
    }

    .shop-category-info p {
        font-size: 8px;
    }

    .shop-product-image {
        height: 165px;
    }

    .shop-product-info h3 {
        font-size: 12px;
    }

    .shop-reader-image {
        height: 165px;
    }

}