/* ==========================================
   LASTELLA CSS
   PART 1
========================================== */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fff8fb;
    color:#333;
    overflow-x:hidden;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

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

body{
    overflow-x:hidden;
}
/* HEADER */

header{
    background:#fff;
    text-align:center;
    padding:25px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

header h1{
    color:#d81b60;
    font-size:42px;
    letter-spacing:2px;
}

header p{
    margin-top:10px;
    color:#666;
}

/* NAVIGATION */

nav{
    background:#d81b60;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    padding:15px;
    position:sticky;
    top:0;
    z-index:1000;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#ffe6ef;
}

/* CART ICON */

.cart-icon{
    position:relative;
    cursor:pointer;
    color:white;
    font-size:26px;
}

#cart-count{
    position:absolute;
    top:-8px;
    right:-10px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:red;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:11px;
    font-weight:bold;
}

/* PAGE TITLE */

.title{
    text-align:center;
    color:#d81b60;
    font-size:45px;
    margin:40px 0;
}

/* PRODUCTS */

.products{
    width:95%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    padding-bottom:50px;
}

/* CARD */

.card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 18px rgba(0,0,0,.12);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.card h3{
    text-align:center;
    margin-top:18px;
    font-size:22px;
}

.card h4{
    text-align:center;
    color:#d81b60;
    font-size:28px;
    margin:10px 0 20px;
}

/* BUTTON */

.cart-btn{

    width:85%;

    margin:0 auto 20px;

    display:block;

    padding:14px;

    border:none;

    border-radius:35px;

    background:#d81b60;

    color:white;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.cart-btn:hover{

    background:#b21450;

}

/* CONTACT */

.contact{

    width:90%;

    max-width:700px;

    margin:60px auto;

    text-align:center;

}

.contact h2{

    color:#d81b60;

    margin-bottom:20px;

}

/* FOOTER */

footer{

    background:#d81b60;

    color:white;

    text-align:center;

    padding:20px;

    margin-top:50px;

}
/* ==========================================
   PART 2
   MOBILE RESPONSIVE
========================================== */

@media screen and (max-width:768px){

body{
    overflow-x:hidden;
}

/* Header */

header{
    padding:18px 10px;
}

header h1{
    font-size:30px;
}

header p{
    font-size:14px;
}

/* Navigation */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 15px;
    gap:10px;
    flex-wrap:wrap;
}

nav a{
    font-size:14px;
    padding:6px;
}

.cart-icon{
    font-size:24px;
}

#cart-count{
    width:18px;
    height:18px;
    font-size:10px;
}

/* Title */

.title{
    font-size:30px;
    margin:25px 0;
}

/* Products */

.products{

    width:100%;

    padding:12px;

    display:grid;

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

    gap:12px;

}

/* Card */

.card{

    border-radius:10px;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

}

.card img{

    width:100%;

    aspect-ratio:1/1;

    height:auto;

    object-fit:cover;

}

.card h3{

    font-size:15px;

    margin:10px 6px 5px;

}

.card h4{

    font-size:18px;

    margin-bottom:10px;

}

/* Button */

.cart-btn{

    width:90%;

    padding:10px;

    font-size:14px;

    margin-bottom:15px;

}

/* Contact */

.contact{

    width:92%;

    padding:20px;

}

}

/* Small Phones */

@media screen and (max-width:480px){

.products{

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

    gap:10px;

}

.card h3{

    font-size:14px;

}

.card h4{

    font-size:16px;

}

.cart-btn{

    font-size:13px;

    padding:9px;

}

}

/* Tablets */

@media screen and (min-width:769px) and (max-width:1024px){

.products{

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

    gap:20px;

}

}
/* =========================
   LASTELLA SEARCH BAR
========================= */

.search-box{

    width:100%;

    display:flex;

    justify-content:center;

    margin:35px auto;

}

.search-box input{

    width:420px;

    max-width:90%;

    padding:16px 25px;

    border:none;

    border-radius:50px;

    font-size:17px;

    font-family:'Poppins',sans-serif;

    background:#ffffff;

    color:#444;

    box-shadow:0 8px 25px rgba(214,31,107,.15);

    transition:.35s;

    outline:none;

}

.search-box input::placeholder{

    color:#999;

}

.search-box input:focus{

    transform:scale(1.03);

    box-shadow:0 10px 30px rgba(214,31,107,.35);

    border:2px solid #d61f6b;

}
@media(max-width:768px){

.search-box{

    padding:0 15px;

}

.search-box input{

    width:100%;

    font-size:16px;

    padding:15px 20px;

}

}
/* IMAGE ZOOM */

.image-modal{

    display:none;

    position:fixed;

    z-index:9999;

    left:0;

    top:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.92);

    justify-content:center;

    align-items:center;

}

.image-modal img{

    max-width:90%;

    max-height:90%;

    border-radius:15px;

    animation:zoom .3s;

}

@keyframes zoom{

    from{

        transform:scale(.8);

    }

    to{

        transform:scale(1);

    }

}

.close-image{

    position:absolute;

    top:25px;

    right:35px;

    color:white;

    font-size:45px;

    cursor:pointer;

}
.out-stock{

    background:#999 !important;

    cursor:not-allowed;

    opacity:.8;

}

/* ===========================
   Ring Size Selector
=========================== */

.size-title{
    text-align:center;
    margin:15px 0 10px;
    font-size:15px;
    font-weight:600;
    color:#555;
}

.card .size-selector{
    display:flex !important;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
}

.card .size-selector button{

    width:42px;

    height:42px;

    border-radius:50%;

    border:none;

    background:#f3f3f3;

    color:#333;

    font-size:15px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;
}

.card .size-selector button:hover{

    background:#d61f6b;

    color:white;

}

.card .size-selector button.active{

    background:#d61f6b;

    color:white;

}
/* ===========================================
            LASTELLA HOMEPAGE V2
===========================================*/

/* Top Bar */

.top-bar{

    background:#d61f6b;

    color:#fff;

    text-align:center;

    padding:12px;

    font-size:14px;

    font-weight:600;

}

/* Header */

/* ==========================
   LOGO SECTION
========================== */

.logo-area{

    background:#fff;

    text-align:center;

    padding:40px 20px;

}

.logo{

    width:min(90vw, 520px);

    height:auto;

    display:block;

    margin:0 auto;

}

.logo-area p{

    font-size:20px;

    color:#555;

    font-weight:500;

    letter-spacing:.5px;

}
/* Navigation */

nav{

    background:#d61f6b;

}

nav ul{

    display:flex;

    justify-content:center;

    list-style:none;

    flex-wrap:wrap;

}

nav li{

    margin:18px;

}

nav a{

    color:#fff;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

nav a:hover{

    color:#ffe3ef;

}

/* Search */

.search-section{

    padding:35px;

    background:#fff8fb;

}

.search-section input{

    width:100%;

    max-width:650px;

    display:block;

    margin:auto;

    padding:18px 25px;

    border:none;

    border-radius:40px;

    font-size:18px;

    box-shadow:0 10px 25px rgba(214,31,107,.15);

    outline:none;

}

/* Categories */

.categories{

    padding:70px 6%;

    background:#fff;

}

.categories h2{

    text-align:center;

    font-size:48px;

    color:#c06d84;

    margin-bottom:60px;

}

.category-grid{

    display:grid;

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

    gap:35px;

}

.category-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    text-decoration:none;

    color:#333;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.category-card:hover{

    transform:translateY(-10px);

}

.category-card img{

    width:100%;

    aspect-ratio:4/5;

    object-fit:cover;

    display:block;

}

.category-card span{

    display:block;

    padding:18px;

    text-align:center;

    font-size:26px;

    font-weight:600;

}
/* Featured */

.featured{

    padding:80px 6%;

    background:#fff8fb;

}

.featured h2{

    text-align:center;

    font-size:45px;

    color:#c06d84;

    margin-bottom:50px;

}

/* Why Choose */

.why-us{

    padding:80px 6%;

    background:#fff;

}

.why-us h2{

    text-align:center;

    font-size:45px;

    margin-bottom:50px;

    color:#c06d84;

}

.why-grid{

    display:grid;

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

    gap:25px;

}

.why-card{

    background:#fff8fb;

    border-radius:20px;

    text-align:center;

    padding:40px 20px;

    font-size:55px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.why-card h3{

    margin-top:20px;

    font-size:22px;

}

/* Instagram */

.instagram{

    background:#fff8fb;

    padding:80px;

    text-align:center;

}

.instagram h2{

    color:#d61f6b;

    font-size:45px;

}

.instagram p{

    font-size:24px;

    margin-top:15px;

}

/* Footer */

footer{

    background:#222;

    color:#fff;

    text-align:center;

    padding:60px 20px;

}

footer h3{

    font-size:36px;

    margin-bottom:20px;

}
.hero{
    min-height:650px;
    height:70vh;
}
/* Mobile */

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media screen and (max-width:768px){

/* Top Bar */
.top-bar{
    font-size:12px;
    padding:10px;
}

/* Logo */
.logo-area{
    padding:25px 15px;
}

.logo{
    width:240px;
    max-width:85%;
}

.logo-area p{
    font-size:15px;
    margin-top:10px;
}

/* Hero */
.hero{
    height:260px;
    background-position:center;
}

/* Navigation */
nav{
    overflow-x:auto;
}

nav ul{
    display:flex;
    flex-wrap:nowrap;
    justify-content:flex-start;
    gap:18px;
    padding:12px 15px;
}

nav li{
    flex:none;
    margin:0;
}

nav a{
    white-space:nowrap;
    font-size:15px;
}
/* Search */

.search-section{
    padding:20px 15px;
}

.search-section input{
    width:100%;
    font-size:15px;
    padding:14px 18px;
    border-radius:30px;
}

/* Section Headings */

.categories,
.featured,
.why-us,
.instagram{
    padding:45px 18px;
}

.categories h2,
.featured h2,
.why-us h2,
.instagram h2{
    font-size:30px;
    margin-bottom:30px;
}

/* Categories */

.category-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.category-card{
    border-radius:16px;
}

.category-card img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
}

.category-card span{
    font-size:17px;
    padding:12px;
}

/* Why Choose */

.why-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.why-card{
    padding:22px 12px;
    font-size:34px;
    border-radius:16px;
}

.why-card h3{
    font-size:15px;
    margin-top:12px;
}

/* Instagram */

.instagram p{
    font-size:16px;
}

/* Footer */

footer{
    padding:40px 20px;
}

footer h3{
    font-size:24px;
}

/* Buttons */

button,
.btn,
.shop-btn,
.whatsapp-btn{
    width:100%;
    max-width:320px;
    margin:auto;
    display:block;
    font-size:16px;
    padding:14px;
}

}
/* Back To Top */

.top-btn{

position:fixed;

bottom:25px;

right:25px;

width:50px;

height:50px;

border:none;

border-radius:50%;

background:#d61f6b;

color:white;

font-size:22px;

cursor:pointer;

display:none;

box-shadow:0 8px 20px rgba(0,0,0,.25);

z-index:9999;

transition:.3s;

}

.show-top{

display:block;

}

.top-btn:hover{

transform:scale(1.1);

}


/* Pulse Animation */

.pulse{

animation:pulse .8s;

}

@keyframes pulse{

0%{

transform:scale(1);

}

50%{

transform:scale(1.08);

}

100%{

transform:scale(1);

}

}
/* Product Sizes */

.size-box{

    margin-top:15px;

    text-align:center;

}

.size-box p{

    margin-bottom:10px;

    font-size:14px;

    color:#555;

    font-weight:600;

}

.size-box button{

    width:42px;

    height:42px;

    margin:5xpx;

    border:none;

    border-radius:50%;

    background:#f3f3f3;

    cursor:pointer;

    font-weight:bold;

    transition:.3s;

}

.size-box button:hover{

    background:#d61f6b;

    color:#fff;

}
/* Fade */

.hidden{

opacity:0;

transform:translateY(60px);

transition:.8s;

}

.show{

opacity:1;

transform:translateY(0);

}


/* Sticky Navigation */

.sticky{

position:sticky;

top:0;

z-index:999;

box-shadow:0 8px 25px rgba(0,0,0,.12);

}


/* Back To Top */

.top-button{

position:fixed;

right:25px;

bottom:25px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:#d61f6b;

color:#fff;

font-size:24px;

cursor:pointer;

display:none;

box-shadow:0 10px 25px rgba(0,0,0,.25);

transition:.3s;

z-index:9999;

}

.show-top{

display:block;

}


/* Pulse */

.pulse{

animation:pulse .8s;

}

@keyframes pulse{

0%{

transform:scale(1);

}

50%{

transform:scale(1.08);

}

100%{

transform:scale(1);

}

}
/* ===========================
   Checkout Products
=========================== */

.checkout-product{

display:flex;

align-items:center;

gap:15px;

margin-bottom:20px;

}

.checkout-image{

width:80px;

height:80px;

border-radius:10px;

object-fit:cover;

border:1px solid #ddd;

}

.summary-row{

display:flex;

justify-content:space-between;

margin:15px 0;

font-size:16px;

}

.total{

font-size:20px;

font-weight:bold;

color:#d4af37;

}

.bank-details{

background:#fff8e8;

padding:15px;

border-radius:10px;

margin:20px 0;

border:1px solid #f0d68a;

}
/* ======================================
   CHECKOUT PAGE
====================================== */

.checkout-page{
    max-width:1200px;
    margin:40px auto;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
    padding:20px;
}

.billing-box,
.summary-box{
    background:#fff;
    border-radius:15px;
    padding:30px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.billing-box h2,
.summary-box h2{
    margin-bottom:25px;
}

.billing-box input,
.billing-box select,
.billing-box textarea{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
    outline:none;
    transition:.3s;
}

.billing-box input:focus,
.billing-box select:focus,
.billing-box textarea:focus{
    border-color:#d4af37;
    box-shadow:0 0 8px rgba(212,175,55,.3);
}

.billing-box textarea{
    height:100px;
    resize:none;
}

.checkout-btn{
    width:100%;
    background:#d4af37;
    color:#fff;
    border:none;
    padding:16px;
    border-radius:10px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.checkout-btn:hover{
    background:#b99220;
}

.checkout-product{
    display:flex;
    gap:15px;
    align-items:center;
    margin-bottom:20px;
}

.checkout-image{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:10px;
    border:1px solid #ddd;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    margin:15px 0;
}

.total{
    font-size:20px;
    color:#d4af37;
    font-weight:bold;
}
@media(max-width:768px){

.checkout-page{

grid-template-columns:1fr;

}

.billing-box,
.summary-box{

padding:20px;

}

.checkout-product{

flex-direction:column;

text-align:center;

}

.checkout-image{

width:120px;
height:120px;

}

.checkout-btn{

position:fixed;
left:15px;
right:15px;
bottom:15px;
z-index:999;

}

body{

padding-bottom:90px;

}
.qty-box{

display:flex;

align-items:center;

gap:10px;

}

.qty-box button{

width:35px;

height:35px;

border:none;

background:#f8d7da;

border-radius:8px;

cursor:pointer;

font-size:20px;

font-weight:bold;

transition:.3s;

}

.qty-box button:hover{

background:#d4af37;

color:white;

}

.remove-btn{

margin-left:20px;

width:40px;

height:40px;

border:none;

background:#ff4d4d;

color:white;

border-radius:50%;

cursor:pointer;

font-size:18px;

transition:.3s;

}

.remove-btn:hover{

background:#d60000;

transform:scale(1.1);

}
}
.payment-option{

display:block;

margin:15px 0;

font-size:16px;

cursor:pointer;

}

.payment-option input{

margin-right:8px;

}

.bank-details{

background:#fff8e5;

padding:20px;

border-radius:10px;

margin-top:20px;

border:1px solid #d4af37;

}

.bank-details h4{

color:#d4af37;

margin-bottom:10px;

}

.bank-details p{

margin:8px 0;

}
/* ==========================================
   PART 3
   SHOPPING CART SIDEBAR
========================================== */

/* Cart Sidebar */

#cart-sidebar{
    position:fixed;
    top:0;
    right:-420px;
    width:400px;
    max-width:100%;
    height:100vh;
    background:#fff;
    box-shadow:-5px 0 25px rgba(0,0,0,.20);
    transition:0.35s ease;
    z-index:99999;
    display:flex;
    flex-direction:column;
}

#cart-sidebar.open{
    right:0;
}

/* Header */

.cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    border-bottom:1px solid #eee;
}

.cart-header h2{
    font-size:34px;
    color:#222;
}

.close-cart{
    font-size:32px;
    cursor:pointer;
    font-weight:bold;
}

/* Products */

#cart-items{
    flex:1;
    overflow-y:auto;
    padding:15px;
}

/* Single Product */

.cart-product{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.cart-product img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:10px;
}

.cart-info{
    flex:1;
}

.cart-info h4{
    font-size:17px;
    margin-bottom:6px;
}

.cart-info p{
    color:#d81b60;
    font-weight:bold;
    margin-bottom:8px;
}

/* Quantity */

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

.qty button{
    width:32px;
    height:32px;
    border:none;
    background:#f3f3f3;
    cursor:pointer;
    border-radius:5px;
    font-size:18px;
}

.qty button:hover{
    background:#d81b60;
    color:#fff;
}

.qty span{
    font-weight:bold;
    min-width:20px;
    text-align:center;
}

/* Remove */

.remove{
    color:red;
    font-size:22px;
    cursor:pointer;
}

/* Footer */

.cart-footer{
    padding:20px;
    border-top:1px solid #eee;
    background:#fff;
}

.cart-footer h3{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
    font-size:26px;
}

/* Buttons */

.checkout-btn,
.whatsapp-cart{

    width:100%;
    padding:15px;
    border:none;
    border-radius:35px;
    font-size:17px;
    cursor:pointer;
    transition:.3s;
}

.checkout-btn{
    background:#d81b60;
    color:#fff;
    margin-bottom:12px;
}

.checkout-btn:hover{
    background:#b3134d;
}

.whatsapp-cart{
    background:#25D366;
    color:#fff;
}

.whatsapp-cart:hover{
    background:#1ea952;
}

/* Scrollbar */

#cart-items::-webkit-scrollbar{
    width:6px;
}

#cart-items::-webkit-scrollbar-thumb{
    background:#d81b60;
    border-radius:10px;
}

/* Mobile */

@media screen and (max-width:768px){

#cart-sidebar{
    width:100%;
}

.cart-header h2{
    font-size:26px;
}

.cart-product img{
    width:70px;
    height:70px;
}

.cart-footer h3{
    font-size:22px;
}

.checkout-btn,
.whatsapp-cart{
    font-size:15px;
    padding:13px;
}

}
/* Popup */

.popup{

display:none;

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.5);

justify-content:center;

align-items:center;

z-index:9999;

}

.popup-box{

background:white;

padding:30px;

border-radius:15px;

width:400px;

max-width:90%;

text-align:center;

}

.popup-buttons{

display:flex;

justify-content:space-between;

margin-top:20px;

}

.cancel-btn{

background:#ccc;

border:none;

padding:12px 25px;

border-radius:8px;

cursor:pointer;

}

.confirm-btn{

background:#d4af37;

color:white;

border:none;

padding:12px 25px;

border-radius:8px;

cursor:pointer;

}
