@media screen and (min-width: 1250px) and (max-width: 1420px) {


  /* ------ AboutUs ------- */


.about-us-section {
  max-width: 1100px;
  margin-bottom: 10rem;
}


.about-header h1 {
  font-size: 2.5rem;
}

.about-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}


.about-card h3 {
  font-size: 1.8rem;
  line-height: 38px;
}

.about-card p {
  font-size: 1.1rem;
  line-height: 24px;
  width: 420px;

}


.about-card a {
  font-size: 1.3rem
}


.about-card {
  border-radius: 28px;
  height: 480px;
  padding: 2rem 2.5rem 2rem 2.5rem;
}


.card-large {
  grid-column: span 7;
}

.card-small {
  grid-column: span 5;
}

.card-small p {
width: 90%;
}

.card-small1 p {
width: 90%;
}

.card-large img {
width: 300px;
height: 320px;
}


.card-large1 img {
width: 410px;
height: 290px;
}

.card-small img {
width: 270px;
height: 200px;
}

.card-small1 img {
width: 200px;
height: 200px;
}






.card-large1 {
  grid-column: span 7;
}

.card-small1 {
  grid-column: span 5;
}


.about-grid {
  gap: 2rem;
}








  /* category1 */


  #category1 h2 {
    margin-left: 2rem;
  }


.category1-div {
  width: 1038px;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  
  justify-content: center;
}



  .product-grid1,
.product-grid4{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(323px, 1fr)); /* was auto-fill/minmax(250px,1fr) */
  gap: 2rem;  /* a touch more breathing room on large screens */
  width: 1034px;
  margin-left: auto;
  margin-right: auto;
}

.product-item{
  border-radius: 24px;
  width: 100%;
  max-width: 323px;   /* optional cap */
  height: 460px;       /* or: min-height: 460px; */
  padding-bottom: 20px;

}

  


/* category2 */

#category2 h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}


.category2-div{
  padding: 2rem;
  max-width: 1200px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}



.slider-viewport {
  max-width: 1230px /* was 1400px */;
  position: relative;   /* new */
  margin: 0 auto;
}


#category2 {
  max-width: 1230px;
  padding-bottom: 7rem;
}

#category2 .product-item {
  max-width: 323px;

}



/* category3 */

#category3 h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  margin-left: 2rem;
}




.category3-div{
   padding: 2rem;
  max-width: 1100px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}



#category3 .slider-viewport {
  max-width: 1100px /* was 1400px */;
  position: relative;   /* new */
  margin: 0 auto;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}


#category3 {
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
}

.category3-div .product-item{
  max-width: 323px;
}








  /* category1 */


  #category4 h2 {
    margin-left: 2rem;
  }


.category4-div {
  width: 1038px;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}



/* ____________________ ProductPage __________________________ */



.category-prod-div {
 margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}


.product-detail-image {
  width: 350px;
  border-radius: 26px;
}




.product-detail-info h2 {
  font-size: 1.9rem;
}


.description1 {
  font-size: 1.2rem;
}

.price1 {
  font-size: 1.3rem;
}


.add-to-cart-btn1 {
  font-size: 1.4rem;
  width: 100%;
  border-radius: 16px;
}

.btn-icon {
  width: 27px;
  height: 27px;
}

.rec h2 {
  font-size: 2rem;
  color: #262626;
}





.rec .product-grid4{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(3, 1fr)); /* was auto-fill/minmax(250px,1fr) */
  gap: 1rem;  /* a touch more breathing room on large screens */
  width: 1100px;
  margin-left: auto;
  margin-right: auto;
}



.product-item3{
  border-radius: 30px;
  width: 100%;
  max-width: 320px;   /* optional cap */
  height: 480px;       /* or: min-height: 460px; */
  padding-bottom: 20px;
}












}


@media screen and (min-width: 1440px) and (max-width: 1449px) {

.scroll-btn.left {
left: 1.5rem;
}

.scroll-btn.right {
  right: 1.5rem;
}



}



@media screen and (min-width: 1450px) and (max-width: 1479px) {

.scroll-btn.left {
left: 2rem;
}

.scroll-btn.right {
  right: 2rem;
}



}



@media screen and (min-width: 1480px) and (max-width: 1521px) {

.scroll-btn.left {
left: 2.6rem;
}

.scroll-btn.right {
  right: 2.6rem;
}



}






@media screen and (min-width: 1522px) {

.menu li a {
  font-size: 1.2rem;
}
 


  #category1 {
  padding-top: 6rem;
  padding-bottom: 7rem;

}


  .product-item{
  border-radius: 30px;
  width: 100%;
  max-width: 300px;   /* optional cap */
  height: 470px;       /* or: min-height: 460px; */
  padding-bottom: 20px;
}


.product-grid1,
.product-grid4{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* was auto-fill/minmax(250px,1fr) */
  gap: 1.5rem;  /* a touch more breathing room on large screens */
}

.category1-div{
  padding: 1rem;
  max-width: 1330px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}


/* category2 */


.category2-div{
  padding: 1rem;
  max-width: 1400px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}



.slider-viewport {
  max-width: 1460px /* was 1400px */;
  position: relative;   /* new */
  margin: 0 auto;
}


#category2 {
  max-width: 1460px;
  padding-bottom: 7rem;
  
}



#category2 .product-item{
  max-width: 300px;
}


/* category3 */



.category3-div{
   padding: 1rem;
  width: 1400px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}


#category3 h2 {
  margin-left: 3rem;
}



#category3 .slider-viewport {
  max-width: 1300px /* was 1400px */;
  position: relative;   /* new */
  margin: 0 auto;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}


#category3 {
  max-width: 1460px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.category3-div .product-item{
  max-width: 300px;
}






/* category4 */



#category4 {
  padding-top: 5rem;
  padding-bottom: 5rem;

}




/* CartPopup */


/* popup */

  .cart-popup {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    background-color: #F8F7FF;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.7rem 1.9rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
    max-width: 500px;
    border-radius: 20px;
    display: none;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    animation: fadeInUp 0.3s ease forwards;
    text-align: center;
    border: 2px solid #E0D9FF;
  }


  .cart-popup p {
    margin-top: 5px;
    font-size: 1.3rem;
    font-family: "firago-mediumitalic";
    color: #2D2D2D;
  }
  
  .cart-popup.show {
    display: flex;
  }
  
  .popup-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: #696969;
  }
  
  .view-cart-btn {

  margin-top: 1rem;
  padding: 0.9rem 1.4rem;
  background-color: #3A1AC7;
  color: white;
  border: none;
  border-radius: 18px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "firago-mediumitalic";
  gap: 0.4rem;
  max-height: 60px;
  font-size: 1.3rem;
  line-height: 1;

  }

   .view-cart-btn:hover {
     background-color: #5B2EFF;
   }


  .view-cart-btn img.btn-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}



}




/* ____________________ ShopPage __________________________ */




.shop-div {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}







.product-grid-shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(296px, 296px));
  gap: 2rem;
  justify-content: center;
  margin-top: 20px;

}




/* ____________________ ProductPage __________________________ */



.category-prod-div {
  margin-left: auto;
  margin-right: auto;
}



.rec h2 {
  margin-left: 2rem;
}



/* ____________________ ConfirmPopup __________________________ */



.order-confirm-popup {
  border-radius: 29px;
  padding: 2.1rem 2rem 2.1rem;
}


.order-confirm-popup h2 {
  font-size: 1.8rem;
}

.order-confirm-popup .popup-subtext {
font-size: 1.2rem;
}

.order-confirm-popup .popup-ok-btn {
  font-size: 1.6rem;
  padding: 0.8rem 2.2rem;
  border-radius: 22px;
}

.popup-close-btn {
  font-size: 2rem;
  top: 10px;
  right: 18px;
}

.order-confirm-popup .popup-icon {
  width: 90px;
}













@media screen and (min-width: 1600px) {

.nav {
  padding: 1rem 4rem;
}

nav.sticky {
  padding: 1rem 4rem;
}


.cart-count {
  
  
  top: 0.9rem;
  right: 3.1rem
}


.logo-photo {
  width: 140px;
  margin-top: -4px;
}


.menu li a {
  font-size: 1.2rem;
}

.cart-icon {
  width: 30px;
  height: 30px;
}

.content h1 {
  font-size: 3rem; 
  line-height: 50px;
}

.content p {
  font-size: 1.4rem;
}

.content a {
  font-size: 1.8rem;
}


.about-header h1 {
  font-size: 3.6rem;
}

.about-header p {
  font-size: 1.2rem;
}



.about-card h3 {
  font-size: 1.8rem;
}


.about-card p {
   font-size: 1.2rem;
   line-height: 1.4rem;
}

.about-card a {
  font-size: 1.4rem;
}

.about-card {
  padding: 2.5rem;
  height: 470px;
}

.card-large1 img {
  width: 380px;
}

.about-us-section {
  padding-bottom: 3rem;
}



/* category1 */



#category1 {
  padding-top: 6rem;
  padding-bottom: 6rem;

}


#category1 h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}





.product-item{
  border-radius: 30px;
  width: 100%;
  max-width: 340px;   /* optional cap */
  height: 470px;       /* or: min-height: 460px; */
  padding-bottom: 20px;
}


.product-grid1,
.product-grid4{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* was auto-fill/minmax(250px,1fr) */
  gap: 1.5rem;  /* a touch more breathing room on large screens */
}

.category1-div{
  padding: 2rem;
  max-width: 1400px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}




.product-item img.product-img {

  width: 300px;
}



.product-item h3 {
  font-size: 1.1rem;
}


.product-item .p-price {
  font-size: 1.3rem;
}


.product-item p {
   font-size: 0.9rem;
}


.product-actions button:first-child {
  font-size: 1.2rem;
   border-radius: 14px;
}


.product-actions button:last-child {
 font-size: 1.2rem;  
 border-radius: 14px;
}

.add-to-cart-btn img.btn-icon {
  width: 23px;
  height: 23px;
}







/* category2 */

#category2 h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}


.category2-div{
  padding: 2rem;
  max-width: 1460px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}



.slider-viewport {
  max-width: 1400px /* was 1400px */;
  position: relative;   /* new */
  margin: 0 auto;
}


#category2 {
  max-width: 1560px;
  padding-bottom: 7rem;
}

#category2 .product-item{
  max-width: 318px;
}



.scroll-btn {
  width: 60px;
  height: 60px;
  top: 53%;
}


.scroll-btn img.scroll-arrow {
  width: 60px;
  height: 60px;
}



/* category3 */

#category3 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}


#category3 h2 {
   font-size: 2.5rem;
  margin-bottom: 4rem;
  margin-left: 2rem;
}


.category3-div{
   padding: 2rem;
  max-width: 1460px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}



#category3 .slider-viewport {
  max-width: 1370px /* was 1400px */;
  position: relative;   /* new */
  margin: 0 auto;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}


#category3 {
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}

.category3-div .product-item{
  max-width: 318px;
}




/* category4 */



#category4 {
  padding-top: 6rem;
  padding-bottom: 4rem;

}


#category4 h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}




.category4-div{
  padding: 2rem;
  max-width: 1400px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}



/* Footer */


.site-footer {
  padding: 2rem 5rem 2rem;
}


.footer-logo img {
  width: 150px;
}


.link-column h4 {
  font-size: 1.3rem;
}

.link-column a {
  font-size: 1.2rem;
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-bottom a {
  font-size: 1.1rem;
}



/* popup */

  .cart-popup {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    background-color: #F8F7FF;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.8rem 2.1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
    max-width: 500px;
    border-radius: 20px;
    display: none;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    animation: fadeInUp 0.3s ease forwards;
    text-align: center;
    border: 2px solid #E0D9FF;
  }


  .cart-popup p {
    margin-top: 5px;
    font-size: 1.4rem;
    font-family: "firago-mediumitalic";
    color: #2D2D2D;
  }
  
  .cart-popup.show {
    display: flex;
  }
  
  .popup-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: #696969;
  }
  
  .view-cart-btn {

  margin-top: 1rem;
  padding: 0.9rem 1.4rem;
  background-color: #3A1AC7;
  color: white;
  border: none;
  border-radius: 18px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "firago-mediumitalic";
  gap: 0.4rem;
  max-height: 60px;
  font-size: 1.4rem;
  line-height: 1;

  }

   .view-cart-btn:hover {
     background-color: #5B2EFF;
   }


  .view-cart-btn img.btn-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}


/* ____________________ CartPage __________________________ */

.your-cart {
  font-size: 2.3rem;
  padding-bottom: 3rem;
}


#cart-items {
  gap: 1rem;
}


.cart-item {

  gap: 1.1rem;
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.5rem;
}

.cart-item img {
  width: 110px;
  height: 110px;
  border-radius: 18px;
}

.cart-item h3 {
 font-size: 1.4rem;

}


.cart-item p {
   margin-top: 0.6rem;
   margin-bottom: 0.9rem;
   font-size: 1.3rem;
}

.quantity-controls {
  font-size: 1.1rem;
}


.quantity-controls button {
  font-size: 1.1rem;
}

.remove-x {
  font-size: 1.5rem;
}

.empty {
  font-size: 2rem;
}



#cart-subtotal {
  font-size: 1.5rem;
}


.complete-order {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}


#checkout-form input {
   font-size: 1.7rem;
   padding: 1.2rem 1.2rem;
   border-radius: 23px;
}


.order-btn {
   font-size: 2.3rem;
   padding: 1.2rem 1.2rem;
   border-radius: 23px;
   margin-top: 0.1rem;
}


.form-background {
   padding: 3.2rem 1.5rem 4rem 1.5rem;
   border-radius: 38px;
}


#checkout-form {
  gap: 1.2rem;
}



.undo-bar {
  font-size: 1.3rem;
  border-radius: 100px;
}

.undo-bar button { 
   font-size: 1.3rem;
}


.undo-box {
width: 50vw;
border-radius: 23px;
padding: 1rem 2rem;
margin-bottom: 2rem;
}


.form-background {
  margin-bottom: 9rem;
}


/* ____________________ ConfirmPopup __________________________ */



.order-confirm-popup {
  border-radius: 29px;
  padding: 2.3rem 2.3rem 2.3rem;
}


.order-confirm-popup h2 {
  font-size: 2rem;
}

.order-confirm-popup .popup-subtext {
font-size: 1.3rem;
}

.order-confirm-popup .popup-ok-btn {
  font-size: 1.8rem;
  padding: 0.8rem 2.2rem;
  border-radius: 22px;
}

.popup-close-btn {
  font-size: 2rem;
  top: 10px;
  right: 18px;
}

.order-confirm-popup .popup-icon {
  width: 90px;
}



/* ____________________ ShopPage __________________________ */



.shop-div {
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
}







.product-grid-shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(296px, 296px));
  gap: 2rem;
  justify-content: center;
  margin-top: 20px;

}



.shop-controls {
  gap: 2rem;
  padding-top: 10rem;
  padding-bottom: 3rem;
}





.shop-controls input, .shop-controls select {

  font-size: 1.3rem;
  padding-left: 1.1rem;
  height: 3rem;
  border-radius: 16px;
 
}

#search-input::placeholder {
  font-size: 1.3rem;
}



/* ____________________ ProductPage __________________________ */



.category-prod-div {
 margin-left: auto;
  margin-right: auto;
  max-width: 1500px;
}


.product-detail-image {
  width: 380px;
  border-radius: 26px;
}




.product-detail-info h2 {
  font-size: 2.2rem;
}


.description1 {
  font-size: 1.3rem;
}

.price1 {
  font-size: 1.6rem;
}


.add-to-cart-btn1 {
  font-size: 1.6rem;
  width: 100%;
  border-radius: 16px;
}

.btn-icon {
  width: 27px;
  height: 27px;
}

.rec h2 {
  font-size: 2.2rem;
  color: #262626;
}



.product-item3{
  border-radius: 30px;
  width: 100%;
  max-width: 340px;   /* optional cap */
  height: 470px;       /* or: min-height: 460px; */
  padding-bottom: 20px;
}



.product-item3 img.product-img3 {

  width: 200px;
  max-width: 200px;
  height: 200px;
}



.product-item3 h3 {
  font-size: 1.1rem;
}


.product-item3 .p-price3 {
  font-size: 1.3rem;
}


.product-item3 p {
   font-size: 0.9rem;
}


.product-actions3 button:first-child {
 font-size: 1.2rem;
 border-radius: 14px;
}


.product-actions3 button:last-child {
 font-size: 1.2rem;
 border-radius: 14px;
}

.product-item3 .btn-icon {
  width: 23px;
  height: 23px;
}




















}



@media screen and (min-width: 1725px) {

.nav {
  padding: 1.5rem 5rem;
}


nav.sticky {
  padding: 1.5rem 5rem;
}


.cart-count {
  font-size: 0.9rem;
  padding: 3px 8px;
  top: 1.3rem;
  right: 4rem
}


.logo-photo {
  width: 175px;
  margin-top: -7px;
}


.menu li a {
  font-size: 1.5rem;
}

.cart-icon {
  width: 35px;
  height: 35px;
}


.content {
  max-width: 550px;
}



.content h1 {
  font-size: 4rem; 
  line-height: 65px;

}


.content p {
  margin-top: 10px;
  font-size: 2rem; 
  line-height: 35px;
}

.content a {
font-size: 2.3rem;
padding: 12px 20px;

}

.nav-buttons {

    gap: 1.8rem;


}


.pagination {

  padding: 0.6rem 1.4rem;
  gap: 1.4rem;
}


.dot {
  width: 14px;
  height: 14px;
}


.nav-buttons button {
  width: 45px;
  height: 45px;
}


 .arrow-icon {
            width: 30px;
            height: 30px;
            pointer-events: none;
        }





/* ------ AboutUs ------- */


.about-us-section {
  max-width: 1500px;
  margin-bottom: 10rem;
}


.about-header h1 {
  font-size: 4rem;
}

.about-header p {
  font-size: 1.5rem;
  opacity: 0.9;
}


.about-card h3 {
  font-size: 2.3rem;
  line-height: 38px;
}

.about-card p {
  font-size: 1.4rem;
  line-height: 24px;
  width: 420px;

}


.about-card a {
  font-size: 1.7rem
}


.about-card {
  border-radius: 28px;
  height: 500px;
  padding: 3rem;
}


.card-large {
  grid-column: span 7;
}

.card-small {
  grid-column: span 5;
}


.card-large1 {
  grid-column: span 7;
}

.card-small1 {
  grid-column: span 5;
}


.about-grid {
  gap: 3rem;
}


/* category1 */



#category1 {
  padding-top: 6rem;
  padding-bottom: 6rem;

}


#category1 h2 {
  font-size: 3.7rem;
  margin-bottom: 4rem;
}





.product-item{
  border-radius: 38px;
  width: 100%;
  max-width: 360px;   /* optional cap */
  height: 515px;       /* or: min-height: 460px; */
  padding-bottom: 25px;
}


.product-grid1,
.product-grid4{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* was auto-fill/minmax(250px,1fr) */
  gap: 2.5rem;  /* a touch more breathing room on large screens */
}

.category1-div{
  padding: 2rem;
  max-width: 1600px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}




.product-item img.product-img {

  width: 500px;
}



.product-item h3 {
  font-size: 1.4rem;
}


.product-item .p-price {
  font-size: 1.4rem;
}


.product-item p {
   font-size: 1.1rem;
}


.product-actions button:first-child {
  font-size: 1.5rem;
   border-radius: 16px;
}


.product-actions button:last-child {
 font-size: 1.5rem;  
 border-radius: 16px;
}

.add-to-cart-btn img.btn-icon {
  width: 27px;
  height: 27px;
}


/* category2 */

#category2 h2 {
  font-size: 3.7rem;
  margin-bottom: 4rem;
}


.category2-div{
  padding: 2rem;
  max-width: 1600px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}



.slider-viewport {
  max-width: 1600px /* was 1400px */;
  position: relative;   /* new */
  margin: 0 auto;
}


#category2 {
  max-width: 1760px;
  padding-bottom: 7rem;
}

#category2 .product-item{
  max-width: 360px;
}



.scroll-btn {
  width: 70px;
  height: 70px;
  top: 55%;
}


.scroll-btn img.scroll-arrow {
  width: 70px;
  height: 70px;
}




/* category3 */

#category3 h2 {
  font-size: 3.7rem;
  margin-bottom: 4rem;
}


.category3-div{
  padding: 2rem;
  max-width: 1600px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}



.slider-viewport {
  max-width: 1600px /* was 1400px */;
  position: relative;   /* new */
  margin: 0 auto;
}


#category3 {
  max-width: 1760px;
  padding-top: 3rem;
  margin-left: auto;
  margin-right: auto;
}




#section-colour {
  background-color: #f2f4ff;
}






/* category4 */



#category4 {
  padding-top: 6rem;
  padding-bottom: 6rem;

}


#category4 h2 {
  font-size: 3.7rem;
  margin-bottom: 4rem;
}




.product-grid1,
.product-grid4{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* was auto-fill/minmax(250px,1fr) */
  gap: 2.5rem;  /* a touch more breathing room on large screens */
}

.category4-div{
  padding: 2rem;
  max-width: 1600px /* was 1400px */;
  margin-left: auto;
  margin-right: auto;
}




/* Footer */


.site-footer {
  padding: 2rem 8rem 2rem;
}


.footer-logo img {
  width: 180px;
}


.link-column h4 {
  font-size: 1.5rem;
}

.link-column a {
  font-size: 1.4rem;
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-bottom a {
  font-size: 1.3rem;
}




/* popup */

  .cart-popup {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    background-color: #F8F7FF;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 2.3rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
    max-width: 500px;
    border-radius: 20px;
    display: none;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    animation: fadeInUp 0.3s ease forwards;
    text-align: center;
    border: 2px solid #E0D9FF;
  }


  .cart-popup p {
    margin-top: 5px;
    font-size: 1.6rem;
    font-family: "firago-mediumitalic";
    color: #2D2D2D;
  }
  
  .cart-popup.show {
    display: flex;
  }
  
  .popup-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #696969;
  }
  
  .view-cart-btn {

  margin-top: 1rem;
  padding: 0.9rem 1.4rem;
  background-color: #3A1AC7;
  color: white;
  border: none;
  border-radius: 18px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "firago-mediumitalic";
  gap: 0.4rem;
  max-height: 60px;
  font-size: 1.5rem;
  line-height: 1;

  }

   .view-cart-btn:hover {
     background-color: #5B2EFF;
   }


  .view-cart-btn img.btn-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}







/* ____________________ CartPage __________________________ */





.your-cart {
  font-size: 2.8rem;
  padding-bottom: 5rem;
}


.cart-item {

  gap: 1.2rem;
  border-radius: 20px;
  padding: 1.7rem 1.7rem 1.7rem;
}

.cart-item img {
  width: 120px;
  height: 120px;
  border-radius: 18px;
}

.cart-item h3 {
 font-size: 1.7rem;

}


.cart-item p {
   margin-top: 0.6rem;
   margin-bottom: 0.9rem;
   font-size: 1.3rem;
}

.quantity-controls {
  font-size: 1.3rem;
}


.quantity-controls button {
  font-size: 1.3rem;
}

.remove-x {
  font-size: 1.8rem;
}

.empty {
  font-size: 2rem;
}



#cart-subtotal {
  font-size: 1.7rem;
}


.complete-order {
  font-size: 3rem;
  margin-bottom: 2rem;
}


#checkout-form input {
   font-size: 2rem;
   padding: 1.5rem 1.5rem;
   border-radius: 30px;
}


.order-btn {
   font-size: 2.7rem;
   padding: 1.5rem 1.5rem;
   border-radius: 30px;
   margin-top: 0.5rem;
}


.form-background {
   padding: 4rem 2rem 5rem 2rem;
   border-radius: 50px;
}


#checkout-form {
  gap: 1.2rem;
}



.undo-bar {
  font-size: 1.5rem;
  border-radius: 100px;
}

.undo-bar button { 
   font-size: 1.5rem;
}


.undo-box {
  width: 60vw;
border-radius: 25px;
padding: 1rem 2rem;
}


.form-background {
  margin-bottom: 12rem;
}


/* ____________________ ConfirmPopup __________________________ */



.order-confirm-popup {
  border-radius: 32px;
}


.order-confirm-popup h2 {
  font-size: 2.4rem;
}

.order-confirm-popup .popup-subtext {
font-size: 1.5rem;
}

.order-confirm-popup .popup-ok-btn {
  font-size: 2.2rem;
  padding: 0.8rem 3rem;
  border-radius: 25px;
}

.popup-close-btn {
  font-size: 2.3rem;
  top: 12px;
  right: 18px;
}

.order-confirm-popup .popup-icon {
  width: 100px;
}




/* ____________________ ShopPage __________________________ */



.shop-div {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}




.product-grid-shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 360px));
  gap: 2rem;
  justify-content: center;
  margin-top: 20px;

}



.shop-controls {
  gap: 2rem;
  padding-top: 13rem;
  padding-bottom: 5rem;
}





.shop-controls input, .shop-controls select {

  font-size: 1.6rem;
  padding-left: 1.5rem;
  height: 3.5rem;
  border-radius: 20px;
 
}

#search-input::placeholder {
  font-size: 1.6rem;
}


/* ____________________ ProductPage __________________________ */



.category-prod-div {
 margin-left: auto;
  margin-right: auto;
  max-width: 1600px;
}


.product-detail-image {
  width: 480px;
  border-radius: 30px;
}




.product-detail-info h2 {
  font-size: 2.5rem;
}


.description1 {
  font-size: 1.5rem;
}

.price1 {
  font-size: 1.8rem;
}


.add-to-cart-btn1 {
  font-size: 1.8rem;
  width: 100%;
  border-radius: 20px;
}

.btn-icon {
  width: 30px;
  height: 30px;
}

.rec h2 {
  font-size: 2.5rem;
  color: #262626;
}



.product-item3{
  border-radius: 38px;
  width: 100%;
  max-width: 360px;   /* optional cap */
  height: 520px;       /* or: min-height: 460px; */
  padding-bottom: 25px;
}



.product-item3 img.product-img3 {

  width: 200px;
  max-width: 200px;
  height: 200px;
}



.product-item3 h3 {
  font-size: 1.4rem;
}


.product-item3 .p-price3 {
  font-size: 1.7rem;
}


.product-item3 p {
   font-size: 1.2rem;
}


.product-actions3 button:first-child {
 font-size: 1.5rem;
 border-radius: 16px;
}


.product-actions3 button:last-child {
 font-size: 1.5rem;
 border-radius: 16px;
}

.product-item3 .btn-icon {
  width: 27px;
  height: 27px;
}













}



  
  
  
