/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FAF8F5;
    color: #2F2F2F;
    font-family: "Lora", serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 80px;
}


/* ===========================
   Header
=========================== */

header {
    height: 65px;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #FAF8F5;
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(20px);
    position: relative;
    z-index: 1000;
}

/* Logo */

.logo a {
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #2F2F2F;
}


/* Navigation Links */

nav ul {
    display: flex;
    gap: 55px;
}
/* Dropdown Menu */

.nav-item {
    position: relative;
}
.nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 30px;
}
.dropdown {
    position: absolute;
    top: 45px;
    left: 0;

    background: #FAF8F5;
    padding: 25px 35px;

    min-width: 220px;

    display: none;
    flex-direction: column;
    gap: 18px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    z-index: 10;
}

.dropdown a {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2F2F2F;
    white-space: nowrap;

    transition: color 0.3s ease;
}

.dropdown a:hover {
    color: #B89D87;
}

.nav-item:hover .dropdown {
    display: flex;
}
nav ul a {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: #2F2F2F;
    text-transform: uppercase;
}

nav ul a:hover {
    color: #B89D87;
}


/* Search & Profile */

.nav-icons {
    display: flex;
    gap: 30px;
}

.nav-icons a {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.18em;
}
nav a:hover {
    color: #B89D87;
}
/* SVG Icons */

.nav-icons svg {
    width: 22px;
    height: 22px;
    stroke: #2F2F2F;
    transition: 0.3s ease;
}

.nav-icons a:hover svg {
    stroke: #B89D87;
}





/* ===========================
   Collections Hero
=========================== */

.collections-hero{

    margin-top:100px;

    height:70vh;

    position:relative;

    overflow:hidden;


    background:

        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),

        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),

        url("collections-assets/collections-banner.jpg") center center/cover no-repeat;

}




/* ===========================
   Collection Page Hero Images
=========================== */

.collections-hero.home-decor-hero {
    background-image:
        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),
        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),
        url("collections-assets/home-decor-banner.jpg");
}

.collections-hero.jewelry-hero {
    background-image:
        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),
        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),
        url("collections-assets/jewelry-banner.jpg");
}

.collections-hero.fashion-hero {
    background-image:
        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),
        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),
        url("collections-assets/fashion-banner.jpg");
}

.collections-hero.beauty-hero {
    background-image:
        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),
        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),
        url("collections-assets/beauty-banner.jpg");
}

.collections-hero.hair-hero {
    background-image:
        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),
        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),
        url("collections-assets/hair-banner.jpg");
}

.collections-hero.bags-hero {
    background-image:
        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),
        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),
        url("collections-assets/bags-banner.jpg");
}

.collections-hero.footwear-hero {
    background-image:
        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),
        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),
        url("collections-assets/footwear-banner.jpg");
}

.collections-hero.gift-hero {
    background-image:
        linear-gradient(
            to right,
            rgba(248,247,244,0.95) 0%,
            rgba(248,247,244,0.75) 20%,
            rgba(248,247,244,0.25) 45%,
            rgba(248,247,244,0) 65%
        ),
        linear-gradient(
            to right,
            rgba(36,30,25,0.65) 0%,
            rgba(36,30,25,0.35) 35%,
            rgba(36,30,25,0.10) 70%,
            rgba(36,30,25,0) 100%
        ),
        url("collections-assets/gift-banner.jpg");
}

/* ===========================
   Hero Layout
=========================== */

.collections-hero-overlay{

    width:100%;

    max-width:1200px;

    height:100%;

    margin:auto;

    padding:0 80px;

    position:relative;

    z-index:2;

}



/* ===========================
   Main Content Bottom Left
=========================== */

.collections-hero-right{

    position:absolute;

    left:40px;

    bottom: 2 px; 

    max-width:560px;

    text-align:left;

}



/* ===========================
   Tagline Bottom Right
=========================== */

.collections-hero-left{

    position:absolute;

    right:80px;

    bottom:30px;

    text-align:right;

}



/* ===========================
   Tagline
=========================== */

.collections-tagline{

    font-family:"Inter",sans-serif;

    font-size:14px;

    font-weight:500;

    letter-spacing:0.35em;

    text-transform:uppercase;

    color:#D8D2C8;

}



/* ===========================
   Heading
=========================== */

.collections-hero h1{

    font-family:"Cormorant Garamond",serif;

    font-size:68px;

    font-weight:500;

    line-height:1.05;

    color:#4A382C;

    margin-bottom:20px;

}



/* ===========================
   Description
=========================== */

.collections-description{

    font-family:"Lora",serif;

    font-size:15px;

    line-height:1.4;

    color:#3F2F24;

    max-width:520px;

}




/* ===========================
   Trust Bar
=========================== */

.collections-trust-bar{

    padding:28px 0;

    background:#FFFFFF;

    border-top:1px solid #ECE7E1;

    border-bottom:1px solid #ECE7E1;

}


.collections-trust-bar .container{

    max-width:1200px;

    margin:auto;

    padding:0 40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

}


.trust-item{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    flex:1;

}


/* Icon */

.trust-item i{

    font-size:14px;

    color:#5E4B3C;

}


/* Text */

.trust-item p{

    margin:0;

    font-family:"Inter", sans-serif;

    font-size:13px;

    font-weight:400;

    color:#3F3A36;

    letter-spacing:0.02em;

}



/* ===========================
   Shop by Category
=========================== */

.shop-by-category{

    padding:90px 0;

    background:#F8F7F4;

}

.shop-by-category .container{

    max-width:1200px;

    margin:auto;

    padding:0 40px;

}


/* Heading */

.shop-category-heading{

    text-align:center;

    margin-bottom:45px;

}

.shop-category-tag{

    margin:0;

    font-family:"Inter",sans-serif;

    font-size:13px;

    font-weight:500;

    letter-spacing:.28em;

    text-transform:uppercase;

    color:#A98A70;

}


/* Grid */

.shop-category-grid{

    display:grid;

    grid-template-columns:repeat(8, 100px);

    justify-content:center;

    gap:30px;

}

/* Card */

.shop-category-card{

    display:flex;

    flex-direction:column;

    align-items:center;

    text-decoration:none;

    color:inherit;

}


/* Circle */

.shop-category-image{

    width:100px;

    height:100px;

    border-radius:50%;

    overflow:hidden;

    position:relative;

}


/* Warm Overlay */

.shop-category-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(184,157,135,.16);

    transition:.35s ease;

}


/* Image */

.shop-category-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:transform .5s ease;

}


/* Hover */

.shop-category-card:hover .shop-category-image img{

    transform:scale(1.10);

}

.shop-category-card:hover .shop-category-image::after{

    background:rgba(184,157,135,.08);

}

/* Category Title */

.shop-category-card h3{

    margin-top:14px;

    font-family:"Inter",sans-serif;

    font-size:12px;

    font-weight:500;

    letter-spacing:0.08em;

    text-transform:uppercase;

    color:#3F3A36;

    text-align:center;

    line-height:1.5;

    transition:color .3s ease;

}


/* Change caption color on hover */

.shop-category-card:hover h3{

    color:#A98A70;

}





/* ===========================
   All Collections
=========================== */

.all-collections{

    padding:0px 0;

    background:#F8F7F4;

}

.products-heading{

    text-align:center;

    margin-bottom:55px;

}

.products-tag{

    font-family:"Inter",sans-serif;

    font-size:13px;

    font-weight:500;

    letter-spacing:.28em;

    color:#A98A70;

}


/* Grid */

.products-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:45px;

}


/* Card */

.product-card{

    text-align:center;

}


/* Image */

.product-image{

    display:block;

    position:relative;

    overflow:hidden;

    border-radius:10px;

    margin-bottom:22px;

}


/* Overlay */

.product-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(184,157,135,.10);

    transition:.35s;

}


/* Product Image */

.product-image img{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    display:block;

    transition:transform .5s ease;

}


/* Hover */

.product-image:hover img{

    transform:scale(1.08);

}

.product-image:hover::after{

    background:rgba(184,157,135,.05);

}


/* Product Title */

.product-card h3{

    font-family:"Cormorant Garamond",serif;

    font-size:30px;

    font-weight:500;

    color:#2F2A26;

    margin-bottom:12px;

}


/* Description */

.product-description{

    font-family:"Lora",serif;

    font-size:16px;

    line-height:1.8;

    color:#6E6257;

    margin-bottom:25px;

}


/* Button */

.product-button{

    display:inline-block;

    padding:12px 28px;

    border:1px solid #A98A70;

    color:#A98A70;

    text-decoration:none;

    font-family:"Inter",sans-serif;

    font-size:13px;

    font-weight:500;

    letter-spacing:.08em;

    transition:.35s ease;

}


.product-button:hover{

    background:#A98A70;

    color:#FFFFFF;

}






/* All Collections Container */

.all-collections .container{

    position:relative;

}



/* Back To Top */

.all-collections .back-top{

    position:absolute;

    right:0px;

    top:auto;

    bottom:300px;


    width:42px;
    height:42px;


    display:flex;

    align-items:center;

    justify-content:center;


    border-radius:50%;


    border:1px solid rgba(184,157,135,0.5);


    color:#B89D87;


    font-size:18px;


    text-decoration:none;


    transition:
    background-color .3s ease,
    color .3s ease,
    transform .3s ease;

}



.all-collections .back-top:hover{

    background:#B89D87;

    color:#F8F7F4;

    transform:scale(1.08);

}



/* ===========================
   Pagination
=========================== */

.pagination-section{

    padding:50px 40px 50px;

}

.pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    font-family:"Inter",sans-serif;

}

.page-link,
.page-number,
.page-dots{

    font-size:14px;

    color:#6E675F;

    text-decoration:none;

    transition:.3s ease;

}

.page-number{

    width:40px;

    height:40px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

}

/* Active Page */

.pagination .page-number.active{

    background:#B89D87;

    color:#F8F7F4;

    border-color:#B89D87;

}
.pagination .page-number:hover{

    background:#B89D87;

    color:#F8F7F4;

    border-color:#B89D87;

}

.page-link.disabled{

    opacity:.4;

    pointer-events:none;

}







/* =========================
AFFILIATE DISCLAIMER
========================= */

.affiliate-disclaimer {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 80px auto;
    padding: 0 20px;

    text-align: center;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #8A837A;

    white-space: normal;

    position: relative;
}


/* ===================================
   Footer
=================================== */


/* Footer Social Icons */

.social-icons {
    display: flex;
    gap: 18px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Pinterest */
.social-icons a:nth-child(1) svg {
    fill: #E60023;
}

/* Instagram */
.social-icons a:nth-child(2) svg {
    color: #C13584;
}

/* YouTube */
.social-icons a:nth-child(3) svg {
    color: #FF0000;
}

/* Hover */

.social-icons a:hover svg {
    transform: scale(1.12);
    opacity: 0.8;
}



footer {
    background-color: #2F2F2F;
    padding: 90px 0 50px;
    margin-top: 80px;
    text-align: center;
}


/* Footer Logo */

.footer-logo h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 44px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #FAF8F5;
    margin-bottom: 10px;
}

.footer-logo p {
    max-width: 380px;
    margin: 0 auto;

    font-family: "Lora", serif;
    font-size: 14px;
    line-height: 1.7;
    color: #D8D2C8;
}


/* Footer Links */

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 30px 0;
}

.footer-links a {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #FAF8F5;

    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #B89D87;
}


/* Social */

.footer-social p {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #D8D2C8;
}


/* Social Icons */

.social-icons {
    justify-content: center;
}


/* Copyright */

.copyright {
    margin-top: 30px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    color: #B8B1A8;
}


/* ===================================
   Newsletter Popup
=================================== */

.newsletter-popup {

    position: fixed;
    inset: 0;

    background: rgba(47,47,47,0.45);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

    z-index: 9999;
}

/* Active State */

.newsletter-popup.active {

    opacity: 1;
    visibility: visible;

}

/* Popup Card */

.newsletter-content {

    position: relative;

    width: 90%;
    max-width: 520px;

    background: #FAF8F5;

    border-radius: 10px;

    padding: 55px 50px;

    text-align: center;

    box-shadow: 0 25px 60px rgba(0,0,0,0.18);

    transform: translateY(20px);

    transition: transform .35s ease;

}

.newsletter-popup.active .newsletter-content {

    transform: translateY(0);

}

/* Logo */

.newsletter-logo img{

    width:90px;

    margin:0 auto 22px;

}

/* Tagline */

.newsletter-tagline{

    font-family:"Inter",sans-serif;

    font-size:12px;

    letter-spacing:.25em;

    text-transform:uppercase;

    color:#B89D87;

    margin-bottom:18px;

}

/* Title */

.newsletter-content h2{

    font-family:"Cormorant Garamond",serif;

    font-size:46px;

    font-weight:400;

    color:#2F2F2F;

    margin-bottom:18px;

}

/* Description */

.newsletter-text{

    font-family:"Lora",serif;

    font-size:16px;

    line-height:1.8;

    color:#6E675F;

    margin-bottom:35px;

}

/* Email */

.newsletter-form input{

    width:100%;

    padding:16px 18px;

    border:1px solid #D8D2C8;

    background:#FFFFFF;

    font-family:"Inter",sans-serif;

    font-size:14px;

    margin-bottom:18px;

    outline:none;

}

.newsletter-form input:focus{

    border-color:#B89D87;

}

/* Button */

.newsletter-form button{

    width:100%;

    height:56px;

    border:none;

    background:#A98A70;

    color:#FFFFFF;

    font-family:"Inter",sans-serif;

    font-size:13px;

    font-weight:600;

    letter-spacing:.18em;

    text-transform:uppercase;

    cursor:pointer;

    transition:.3s ease;

}

.newsletter-form button:hover{

    background:#947761;

}

/* Bottom Note */

.newsletter-note{

    margin-top:22px;

    font-family:"Inter",sans-serif;

    font-size:12px;

    color:#8A837A;

}

/* Close */

.close-popup{

    position:absolute;

    top:18px;

    right:20px;

    border:none;

    background:none;

    font-size:30px;

    cursor:pointer;

    color:#B89D87;

    transition:.3s ease;

}

.close-popup:hover{

    color:#2F2F2F;

}



/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Collections Page)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESKTOP & LARGE LAPTOPS (Max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {

  .container {
    padding: 0 40px;
  }

  /* Shop by Category: Convert 8 fixed columns into a flex wrap layout */
  .shop-category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  /* Products Grid: 3 columns with smaller gap */
  .products-grid {
    gap: 30px;
  }

  /* Hero Adjustments */
  .collections-hero-overlay {
    padding: 0 40px;
  }

  .collections-hero-right {
    left: 40px;
  }

  .collections-hero-left {
    right: 40px;
  }
}


/* --------------------------------------------------------------------------
   2. LAPTOPS & SMALL DESKTOPS (Max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  /* Header Navigation Gap */
  nav ul {
    gap: 30px;
  }

  /* Collections Hero Heights & Text */
  .collections-hero {
    height: 55vh;
    min-height: 420px;
    margin-top: 60px;
  }

  .collections-hero h1 {
    font-size: 52px;
  }

  .collections-hero-right {
    max-width: 460px;
  }

  /* All Collections Grid: 2 Columns */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  /* Back to Top positioning */
  .all-collections .back-top {
    right: 10px;
    bottom: 20px;
  }
}


/* --------------------------------------------------------------------------
   3. TABLETS & SMALL DEVICES (Max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* Global Container Padding */
  .container {
    padding: 0 20px;
  }

  /* Header & Navigation Stacking */
  header {
    height: auto;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    transform: none;
    padding: 15px 0;
  }

  nav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-icons {
    gap: 20px;
  }

  /* Hero Section Mobile Restructure */
  .collections-hero {
    height: auto;
    min-height: 380px;
    margin-top: 30px;
    background-position: center right;
  }

  .collections-hero-overlay {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .collections-hero-right {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 100%;
    text-align: center;
  }

  .collections-hero-left {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 15px;
    text-align: center;
  }

  .collections-hero h1 {
    font-size: 42px;
    text-align: center;
  }

  .collections-description {
    margin: 0 auto;
    text-align: center;
  }

  /* Trust Bar Stacking */
  .collections-trust-bar .container {
    flex-direction: column;
    gap: 18px;
    padding: 0 20px;
  }

  .trust-item {
    width: 100%;
  }

  /* Category Circle Grid */
  .shop-by-category {
    padding: 60px 0;
  }

  .shop-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 15px;
    justify-items: center;
  }

  .shop-category-image {
    width: 80px;
    height: 80px;
  }

  .shop-category-card h3 {
    font-size: 11px;
  }

  /* All Collections: 1 Column Mobile Cards */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-card h3 {
    font-size: 26px;
  }

  .product-description {
    font-size: 15px;
  }

  /* Back to Top Repositioning */
  .all-collections .back-top {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 40px auto 0 auto;
  }

  /* ==========================================================================
   HORIZONTAL PAGINATION LAYOUT
   ========================================================================== */

.pagination-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  width: 100%;
}

.pagination {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Page Numbers & Previous/Next Buttons */
.page-number,
.pagination-prev,
.pagination-next,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #D8D2C8;
  color: #2F2F2F;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Active Page & Hover States */
.page-number.active,
.pagination .active {
  background-color: #B89D87;
  border-color: #B89D87;
  color: #FFFFFF;
}

.page-number:hover,
.pagination a:hover {
  border-color: #B89D87;
  color: #B89D87;
}

/* --------------------------------------------------------------------------
   Mobile Adjustment (Ensures everything fits comfortably on narrow screens)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .pagination {
    gap: 6px;
  }

  .page-number,
  .pagination-prev,
  .pagination-next,
  .pagination a,
  .pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
}

  /* Footer */
  footer {
    padding: 60px 0 40px;
    margin-top: 50px;
  }

  .footer-links {
    flex-direction: column;
    gap: 14px;
  }

  /* Newsletter Popup */
  .newsletter-content {
    padding: 40px 25px;
  }

  .newsletter-content h2 {
    font-size: 34px;
  }
}


/* --------------------------------------------------------------------------
   4. EXTRA SMALL MOBILE SCREENS (Max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

  .logo a {
    font-size: 36px;
  }

  .collections-hero h1 {
    font-size: 34px;
  }

  /* Category Circle Grid: 2 Columns for Small Screens */
  .shop-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
  }

  .shop-category-image {
    width: 90px;
    height: 90px;
  }

  .newsletter-content h2 {
    font-size: 28px;
  }
}