/*=========================================
BIG5 ADVENTURES
SAFARI SHOP (merged with main site design)
=========================================*/

:root{
--primary:#e67e22;
--secondary:#2c3e50;
--accent:#16a085;
--light:#ecf0f1;
--dark:#34495e;
--text:#333;
--white:#fff;
--red:#e74c3c;
--transition:.3s;
}

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

html{
scroll-behavior:smooth;
}

body{
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background:#f9f9f9;
color:var(--text);
line-height:1.6;
overflow-x:hidden;
}

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

a{
text-decoration:none;
}

ul{
list-style:none;
}


/* Wider container for the shop sections so 4-column cards have more room */
.shop-zone .container,
#featured .container{
max-width:1650px;
width:94%;
}

/* Footer uses the homepage's own full-width container, not the shop's narrower one */
footer .container{
width:100%;
max-width:100%;
}

/* Reduce header transparency vs. the homepage default */
header{
background-color:rgba(44,62,80,.97)!important;
}

header.scrolled{
background-color:var(--secondary)!important;
}

/* Light green shared styling for Shop by Category / Featured / Best Sellers, each its own band with a gap between */
.shop-zone{
background:#eefaf1;
margin-bottom:20px;
}

.shop-zone:last-of-type{
margin-bottom:0;
}

section[id],
footer#contact{
scroll-margin-top:100px;
}

/*=========================
HEADER ICONS (shop cart/wishlist/user — shop-specific, not in big 5.css)
==========================*/

.icon{
position:relative;
font-size:20px;
cursor:pointer;
transition:.3s;
}

.icon:hover{
color:var(--primary);
}

.icon span{
position:absolute;
top:-8px;
right:-10px;
background:var(--primary);
color:var(--white);
width:18px;
height:18px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:11px;
}

/* Restore normal overflow so position:sticky works correctly (big 5.css's
   overflow-x:hidden on html/body silently forces overflow-y:auto, which
   breaks sticky positioning in most browsers) */
html, body{
overflow-x:clip;
overflow-y:visible;
}


/*=========================
SHOP TITLE BAR (split hero — white, unchanged regardless of header theme)
==========================*/

.shop-title-bar{
background-color:#fff;
padding:11px 0 11px;
border-bottom:1px solid #eef1f5;
position:fixed;
top:46px;
left:0;
width:100%;
z-index:900;
transition:padding-top .3s ease;
}

.shop-title-bar.title-bar-raised{
top:0;
padding-top:8px;
}

header{
transition:none; }

header.header-hidden{
transform:translateY(-100%);
}

.shop-title-bar + *{
margin-top:150px;
}

.shop-title-bar .container{
width:97%;
max-width:100%;
padding-right:10px;
}

.shop-title-bar-inner{
display:grid;
grid-template-columns:1fr auto 1fr;
align-items:center;
gap:20px;
}

.shop-title-link{
grid-column:1;
justify-self:start;
display:flex;
align-items:center;
gap:1px;
text-decoration:none;
}

.shop-title-icon{
height:58px;
width:auto;
}

.shop-title-bar-inner h1{
font-family:'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
font-size:25px;
font-weight:800;
color:#111;
text-transform:uppercase;
letter-spacing:0.8px;
margin-bottom:0;
}

.shop-title-link:hover h1{
color:var(--primary);
}

.shop-title-bar-inner .header-icons{
grid-column:3;
justify-self:end;
display:flex;
gap:18px;
}

.shop-title-bar-inner .icon{
color:#111;
}

.shop-title-bar-inner .icon:hover{
color:var(--primary);
}

/*=========================
SEARCH BAR INSIDE THE TITLE BAR (shop.html only: title | search | icons)
==========================*/
 
.has-search .shop-title-bar-inner{
grid-template-columns:auto minmax(0,1fr) auto;
}
 
.has-search .shop-title-link{
grid-column:1;
justify-self:start;
}
 
.has-search .search-box{
grid-column:2;
justify-self:center;
width:100%;
max-width:860px;
padding:5px 5px 5px 18px;
align-items:center;
border:1px solid #e2e8f0;
box-shadow:none;
background:#e3e9f0;
}
 
.has-search .search-box input{
min-width:0;
padding:8px 0;
font-size:15px;
background:transparent;
}
 
.has-search .search-box button{
padding:9px 20px;
}
 
.has-search .header-icons{
grid-column:3;
}

/*=========================
HERO
==========================*/
 
.hero{
height:77vh;
background:var(--secondary);
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
overflow:hidden;
}
 
/*=========================
HERO SLIDESHOW (3 rotating images — app.js already has the
showHeroSlide()/startHeroSlideshow() logic for .hero-slide /
.hero-dot, it just had no matching markup until now)
==========================*/
 
.hero-slideshow{
position:absolute;
inset:0;
z-index:1;
}
 
.hero-slide{
position:absolute;
inset:0;
background-size:cover;
background-position:center;
opacity:0;
transition:opacity 1s ease;
}
 
.hero-slide::after{
content:'';
position:absolute;
inset:0;
background:transparent;
}
 
.hero-slide.active{
opacity:1;
}

.slideshow-controls{
position:absolute;
bottom:24px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:12px;
z-index:10;
pointer-events:auto;
}

.hero-dot{
width:11px;
height:11px;
border-radius:50%;
background:rgba(255,255,255,.5);
cursor:pointer;
transition:.3s;
display:block;
pointer-events:auto;
}
 
.hero-dot.active{
background:var(--primary);
transform:scale(1.2);
}
 
.overlay{
position:absolute;
inset:0;
background:transparent;
z-index:1;
}
 
.hero-content{
position:relative;
z-index:2;
color:var(--white);
max-width:850px;
}
 
.hero p{
font-size:22px;
line-height:1.8;
margin-bottom:35px;
}
 
.hero-buttons{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

/*=========================
SEARCH
==========================*/

.search-section{
margin-top:-40px;
position:relative;
z-index:20;
}

.search-section .container{
width:99%;
max-width:1300px;
}

.search-box{
background:white;
display:flex;
align-items:center;
padding:15px;
border-radius:60px;
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.search-box input{
flex:1;
border:none;
outline:none;
font-size:18px;
padding-left:20px;
}

.search-box button{
background:var(--primary);
border:none;
color:white;
padding:clamp(10px, 3vw, 16px) clamp(18px, 6vw, 35px);
border-radius:40px;
cursor:pointer;
font-size:clamp(13px, 2vw, 16px);
white-space:nowrap;
margin:0;
}

/*=========================
FEATURES
==========================*/

.features{
padding:80px 0;
}

.feature-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.feature{
text-align:center;
padding:40px 30px;
border-radius:15px;
background:#f8fafc;
transition:.3s;
}

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

.feature i{
font-size:45px;
color:var(--primary);
margin-bottom:20px;
}

.feature h3{
margin-bottom:15px;
}

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

.section{
padding:25px 0;
}

.section-title{
font-size:30px;
text-align:center;
margin-bottom:15px;
padding-bottom:0;
}

.section-title::after{
content:none;
}

h2::after{
content:none;
}

.section-subtitle{
text-align:center;
color:#64748b;
margin-bottom:60px;
max-width:700px;
margin-left:auto;
margin-right:auto;
line-height:1.8;
}

/*=========================================
CATEGORY CARDS
=========================================*/

.category-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.category-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.35s;
display:flex;
flex-direction:column;
}

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

.category-card img{
height:250px;
object-fit:cover;
}

.category-content{
padding:25px;
display:flex;
flex-direction:column;
flex:1;
}

.category-content h3{
font-size:18px;
margin-bottom:12px;
}

.category-content p{
color:#64748b;
line-height:1.7;
margin-bottom:20px;
}

.category-btn{
display:inline-block;
padding:12px 25px;
background:var(--primary);
color:#fff;
border-radius:8px;
font-weight:600;
transition:.3s;
margin-top:auto;
align-self:flex-start;
}

.category-btn:hover{
background:var(--accent);
}

/*=========================================
PRODUCT GRID
=========================================*/

.product-grid{
display:grid;
grid-template-columns:repeat(4, 1fr);
gap:24px;
padding:0 10px;
}

@media(max-width:1200px){
.product-grid{
grid-template-columns:repeat(3, 1fr);
}
}

@media(max-width:900px){
.product-grid{
grid-template-columns:repeat(2, 1fr);
}
}

@media(max-width:600px){
.shop-zone .container,
#featured .container{
width:98%;
padding:0 6px;
}
.product-grid{
grid-template-columns:repeat(2, 1fr);
gap:10px;
padding:0 4px;
}
.product-info{
padding:14px;
}
.product-info h3{
font-size:14px;
}
.product-buttons{
flex-direction:column;
gap:8px;
}
.cart-button,
.quick-button{
justify-content:center;
font-size:12px;
padding:10px;
}
}

.product-card{
position:relative;
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.35s;
display:flex;
flex-direction:column;
height:100%;
scroll-margin-top:110px;
}

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

.product-card img{
height:320px;
object-fit:cover;
object-position:top;
transition:.4s;
flex-shrink:0;
}

.product-card:hover img{
transform:scale(1.05);
}

/* Phones: the image box follows the card width instead of a fixed 320px,
   so the narrow 2-column cards don't crop the photos. This block has to come
   AFTER the .product-card img rule above, or that rule wins. */
@media(max-width:600px){
.product-card img{
height:auto;
aspect-ratio:5 / 6;
}
}

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

.product-info h3{
margin-bottom:8px;
font-size:17px;
font-weight:700;
line-height:1.3;
color:var(--secondary);
}

.rating{
color:#fbbf24;
font-size:15px;
margin-bottom:15px;
}

.rating span{
color:#64748b;
}

.price{
font-size:16px;
font-weight:700;
color:var(--primary);
margin-top:auto;
margin-bottom:4px;
}

.price-was{
font-size:14px;
font-weight:600;
color:#94a3b8;
text-decoration:line-through;
margin-left:8px;
}

/*=========================================
BADGES
=========================================*/

.badge{
position:absolute;
top:20px;
left:20px;
padding:8px 16px;
border-radius:30px;
color:#fff;
font-size:13px;
font-weight:700;
z-index:20;
}

.badge.new{
background:var(--primary);
}

.badge.sale{
background:var(--red);
}

/*=========================================
WISHLIST
=========================================*/

.wishlist{
position:absolute;
top:20px;
right:20px;
width:45px;
height:45px;
border-radius:50%;
background:#fff;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
box-shadow:0 8px 18px rgba(0,0,0,.15);
transition:.3s;
border:none;
z-index:30;
}

.wishlist.active{
background:var(--primary);
color:#fff;
}

.wishlist:hover{
background:var(--primary);
color:#fff;
}

/*=========================================
COLOUR OPTIONS
=========================================*/

.colors{
display:flex;
gap:10px;
margin-bottom:8px;
}

.color{
width:30px;
height:25px;
border-radius:50%;
cursor:pointer;
border:2px solid #ddd;
transition:.2s;
}

.color.selected{
border-color:var(--primary);
box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--primary);
}

.khaki{
background:#bfa46f;
}

.olive{
background:#556b2f;
}

.brown{
background:#7b4d26;
}

.black{
background:#111;
}

.white{
background:#fff;
}

.green{
background:#1b4d2e;
}

.grey{
background:#9ca3af;
}

.beige{
background:#d8c8a8;
}

.navy
{background:#1e2a4a;}

/*=========================================
SIZE BUTTONS
=========================================*/

.sizes{
display:flex;
gap:8px;
margin-bottom:8px;
flex-wrap:wrap;
}

.sizes button{
padding:8px 14px;
border:none;
background:#e2e8f0;
border-radius:8px;
cursor:pointer;
font-weight:600;
font-size:13px;
transition:.3s;
}

.sizes button:hover{
background:var(--primary);
color:#fff;
}

.sizes button.selected{
background:var(--primary);
color:#fff;
}

.animal-thumbs{
display:flex;
gap:8px;
overflow-x:auto;
margin-bottom:20px;
scroll-snap-type:x mandatory;
padding-bottom:2px;
}

.animal-thumb{
flex:0 0 auto;
width:38px;
height:38px;
border-radius:50%;
overflow:hidden;
border:2px solid #e2e8f0;
cursor:pointer;
scroll-snap-align:start;
transition:.2s;
}

.animal-thumb img{
width:100%;
height:100%;
object-fit:cover;
}

.animal-thumb.selected{
border-color:var(--primary);
}

/*=========================================
PRODUCT BUTTONS
=========================================*/

.product-buttons{
display:flex;
gap:8px;
margin-top:auto;
padding-top:5px;
}

.cart-button{
flex:1;
padding:13px 10px;
background:var(--primary);
border:none;
border-radius:10px;
color:#fff;
font-weight:600;
font-size:12px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
display:flex;
align-items:center;
justify-content:flex-start;
gap:5px;
cursor:pointer;
transition:.3s;
}

.cart-button:hover{
background:var(--accent);
}

.quick-button{
padding:13px 10px;
background:var(--secondary);
color:#fff;
border:none;
border-radius:10px;
font-size:13px;
white-space:nowrap;
cursor:pointer;
transition:.3s;
}

/* Best Sellers cards only have one button — don't let it stretch full width */
.best-sellers .cart-button{
flex:none;
padding:13px 26px;
}

.best-sellers .product-buttons{
justify-content:center;
}

.quick-button:hover{
background:#1e293b;
}

/*=========================================
FLASH SALE
=========================================*/

.flash-sale{
background:var(--secondary);
color:#fff;
padding:80px 0;
text-align:center;
}

.flash-content h2{
color:#fff;
font-size:45px;
margin-bottom:20px;
}

.flash-content p{
font-size:20px;
margin-bottom:35px;
}

.countdown{
display:flex;
justify-content:center;
gap:30px;
margin-bottom:40px;
flex-wrap:wrap;
}

.countdown div{
background:#1e293b;
padding:20px;
border-radius:15px;
min-width:90px;
}

.countdown span{
font-size:36px;
font-weight:700;
}

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

.cart-drawer{
position:fixed;
top:0;
right:-480px;
width:460px;
height:100vh;
background:#fff;
box-shadow:-10px 0 40px rgba(0,0,0,.18);
z-index:99999;
display:flex;
flex-direction:column;
transition:.4s ease;
overflow-y:auto;
}

.cart-drawer.active{
right:0;
}

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

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

.cart-header button{
background:none;
border:none;
font-size:24px;
cursor:pointer;
}

#cartItems{
flex:1;
overflow-y:auto;
padding:20px;
}

#wishlistItems{
flex:1;
overflow-y:auto;
padding:20px;
}

.empty-cart{
text-align:center;
margin-top:80px;
color:#aaa;
}

.cart-item{
display:flex;
gap:15px;
margin-bottom:25px;
padding-bottom:20px;
border-bottom:1px solid #eee;
}

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

.cart-details{
flex:1;
}

.cart-details h4{
margin-bottom:8px;
overflow-wrap:break-word;
word-break:break-word;
}

.cart-price{
font-weight:700;
color:var(--primary);
margin:10px 0;
}

.qty-controls{
display:flex;
align-items:center;
gap:12px;
margin-bottom:12px;
}

.qty-btn{
width:28px;
height:28px;
border-radius:6px;
border:1px solid #ddd;
background:#f8fafc;
font-size:16px;
font-weight:700;
color:var(--secondary);
cursor:pointer;
transition:.2s;
line-height:1;
}

.qty-btn:hover{
background:var(--primary);
color:#fff;
border-color:var(--primary);
}

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

.wishlist-add-btn{
display:inline-flex;
align-items:center;
gap:8px;
padding:8px 14px;
background:var(--primary);
color:#fff;
border:none;
border-radius:6px;
font-weight:600;
font-size:13px;
cursor:pointer;
margin-bottom:10px;
transition:.2s;
}

.wishlist-add-btn:hover{
background:var(--accent);
}

.remove-item{
background:var(--red);
color:#fff;
border:none;
padding:8px 14px;
border-radius:6px;
cursor:pointer;
}

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

.cart-summary-row{
display:flex;
justify-content:space-between;
margin-bottom:10px;
font-size:15px;
color:var(--secondary);
}

.cart-summary-muted{
color:#94a3b8;
}

.cart-summary-divider{
border-top:1px solid #eee;
margin:12px 0;
}

.cart-summary-total{
font-size:20px;
font-weight:700;
margin-bottom:20px;
}

.cart-summary-total #cartTotal{
color:var(--primary);
}

/*=========================================
OVERLAY
=========================================*/

#overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.55);
display:none;
z-index:9990;
}

#overlay.active{
display:block;
}

/*=========================================
QUICK VIEW MODAL
=========================================*/

.quick-view{
position:fixed;
top:50%;
left:50%;
transform:translate(-50%,-50%) scale(.8);
width:1000px;
max-width:95%;
height:640px;
max-height:92vh;
background:#fff;
border-radius:20px;
display:none;
z-index:999999;
box-shadow:0 20px 50px rgba(0,0,0,.35);
transition:.35s;
overflow-y:auto;
}

.quick-view.active{
display:flex;
transform:translate(-50%,-50%) scale(1);
}

.quick-content{
display:grid;
grid-template-columns:1fr 1fr;
gap:28px;
padding:28px 32px;
position:relative;
width:100%;
height:100%;
align-items:start;
}

.quick-image{
height:100%;
display:flex;
}

.quick-image img{
border-radius:15px;
height:100%;
width:100%;
object-fit:cover;
}

.quick-details{
display:flex;
flex-direction:column;
height:100%;
overflow-y:auto;
}

.quick-details h2{
font-size:24px;
margin-bottom:6px;
}

.quick-details p{
line-height:1.5;
margin-bottom:10px;
}

#quickPrice{
font-size:20px;
font-weight:700;
color:var(--primary);
margin-bottom:8px;
}

#quickDescription{
font-size:13px;
line-height:1.5;
color:#64748b;
margin-bottom:8px;
}

#closeQuick{
position:absolute;
top:14px;
right:16px;
background:none;
border:none;
font-size:24px;
cursor:pointer;
z-index:2;
}

/*=========================================
REVIEWS
=========================================*/

.reviews-link{
text-align:center;
margin-bottom:60px;
}

.reviews-link a{
color:var(--accent);
font-weight:600;
padding-bottom:4px;
border-bottom:2px solid var(--accent);
}

.reviews-link a:hover{
color:var(--primary);
border-color:var(--primary);
}

.reviews-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.review-card{
background:#fff;
border-radius:16px;
padding:35px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

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

.review-stars{
color:#fbbf24;
letter-spacing:2px;
}

.review-stars .star-empty{
color:#ddd;
}

.review-name{
font-weight:700;
color:#111;
}

.review-card h3{
margin-bottom:15px;
font-size:20px;
color:var(--secondary);
}

.review-card p{
color:#64748b;
line-height:1.8;
}

/*=========================================
NEWSLETTER
=========================================*/

.newsletter{
background:var(--secondary);
color:#fff;
padding:100px 0;
text-align:center;
}

.newsletter h2{
font-size:42px;
margin-bottom:20px;
}

.newsletter p{
max-width:700px;
margin:0 auto 40px;
line-height:1.8;
}

.newsletter form{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.newsletter input{
width:420px;
max-width:100%;
padding:18px;
border:none;
border-radius:50px;
font-size:16px;
}

.newsletter button{
padding:18px 40px;
background:var(--primary);
color:#fff;
border:none;
border-radius:50px;
cursor:pointer;
font-size:16px;
font-weight:600;
}

.newsletter button:hover{
background:var(--accent);
}

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

@media(max-width:768px){

.dropdown-menu{
position:static !important;
opacity:1 !important;
visibility:visible !important;
box-shadow:none !important;
background:transparent !important;
padding:0 !important;
}

.dropdown-menu a{
padding:8px 0 !important;
}

.cart-drawer{
width:100%;
right:-100%;
}

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

header{
min-height:84px;
}

.shop-title-bar{
top:84px;
padding:16px 0 14px;
}

.shop-title-bar .container{
width:100%;           /* was 97%: removes the ~6px gap at the screen edge */
padding-left:3px;     /* was 20px from the main-site .container rule */
}

.shop-title-bar + *{
margin-top:130px;
}

.shop-title-bar-inner{
display:flex;
flex-direction:row;
justify-content:space-between;
align-items:center;
flex-wrap:nowrap;
gap:8px;
}

.shop-title-link{
min-width:0;
}

.shop-title-bar-inner h1{
font-size:22px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.shop-title-icon{
height:26px;
}

.shop-title-bar-inner .header-icons{
justify-self:auto;
flex-shrink:0;
gap:13px;
}

.shop-title-bar-inner .icon{
font-size:18px;
}
 
/* Search bar goes on its own row under the title and icons */
.has-search .shop-title-bar-inner{
flex-wrap:wrap;
row-gap:10px;
}
 
.has-search .search-box{
order:3;
flex:0 0 100%;
max-width:none;
}
 
/* the bar is taller now, so push the page down by the extra row */
.shop-title-bar.has-search + *{
margin-top:186px;
}
 
.hero{
height:67vh;
}

.hero p{
font-size:17px;
}

.hero-buttons{
flex-direction:column;
text-align:center;
}

.btn{
width:100%;
text-align:center;
}

.section-title{
font-size:34px;
}

.search-box{
flex-direction:row;
border-radius:50px;
padding:4px 4px 4px 18px;
}

.search-box input{
padding:12px 0;
font-size:15px;
}

.category-grid{
grid-template-columns:1fr;
}

.newsletter h2{
font-size:32px;
}

.countdown{
gap:15px;
}

.feature{
padding:25px 20px;
}

.feature-grid{
gap:15px;
 }

}

@media(max-width:576px){

.section-title{
font-size:1.8rem;
}

}

/*=========================================
CART BUTTON SUCCESS STATE
=========================================*/

.cart-button.added{
background:var(--accent)!important;
}

/*=========================================
TOAST NOTIFICATIONS
=========================================*/

.toast{
position:fixed;
bottom:30px;
right:30px;
background:var(--secondary);
color:#fff;
padding:16px 24px;
border-radius:10px;
box-shadow:0 15px 35px rgba(0,0,0,.25);
z-index:100000;
display:flex;
align-items:center;
gap:10px;
font-weight:600;
font-size:15px;
transform:translateY(20px);
opacity:0;
transition:.3s;
pointer-events:none;
}

.toast.show{
transform:translateY(0);
opacity:1;
}

.toast i{
color:var(--accent);
font-size:18px;
}

/*=========================================
QUICK VIEW — ANIMAL / VARIANT SELECTOR
=========================================*/

.variant-label{
font-weight:700;
color:var(--secondary);
margin:8px 0 6px;
font-size:13px;
}

.variant-scroll{
display:flex;
gap:10px;
overflow-x:auto;
padding-bottom:6px;
margin-bottom:6px;
}

.variant-thumb{
flex:0 0 auto;
width:52px;
text-align:center;
cursor:pointer;
opacity:.6;
transition:.25s;
}

.variant-thumb img{
width:52px;
height:52px;
object-fit:cover;
border-radius:8px;
border:2px solid transparent;
margin-bottom:4px;
}

.variant-thumb span{
font-size:11px;
}

.variant-thumb.selected{
opacity:1;
}

.variant-thumb.selected img{
border-color:var(--primary);
}

.variant-thumb span{
font-size:12px;
font-weight:600;
color:var(--secondary);
}

@media(max-width:768px){
.toast{
right:15px;
left:15px;
bottom:20px;
}
}

/*=========================================
QUICK VIEW BUTTON ROW
=========================================*/

.quick-view-buttons{
display:flex;
flex-direction:column;
gap:10px;
}

.btn-whatsapp{
background:#25D366;
color:#fff;
display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;
}

.btn-whatsapp:hover{
background:#1ebe57;
}

/*=========================================
CHECKOUT FORM
=========================================*/

.checkout-form{
padding:25px;
}

.checkout-row{
display:flex;
gap:12px;
margin-bottom:14px;
}

.checkout-field{
flex:1;
min-width:0;
display:flex;
flex-direction:column;
gap:5px;
}

.checkout-field-full{
flex:1 1 100%;
}

.checkout-field-address{
flex:7;
}

.checkout-field-country{
flex:3;
}

.checkout-field label{
font-size:13px;
font-weight:600;
color:var(--secondary);
}

.checkout-field input,
.checkout-field textarea,
.checkout-field select{
width:100%;
padding:10px 12px;
border:1px solid #ddd;
border-radius:8px;
font-size:14px;
font-family:inherit;
resize:vertical;
box-sizing:border-box;
background:#fff;
}

.checkout-field input:focus,
.checkout-field textarea:focus{
outline:none;
border-color:var(--primary);
}

.checkout-amount{
display:flex;
justify-content:space-between;
align-items:center;
background:#f8fafc;
padding:14px 16px;
border-radius:8px;
margin:10px 0 14px;
font-weight:700;
}

.checkout-amount strong{
color:var(--primary);
font-size:18px;
}

.checkout-payment-note{
font-size:12px;
color:#94a3b8;
margin-bottom:18px;
line-height:1.5;
}

.checkout-buttons{
display:flex;
gap:12px;
}

.checkout-buttons .btn{
flex:1;
}

/*=========================================
PRODUCT DETAIL PAGE
=========================================*/

.product-detail-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
align-items:start;
min-width:0;
}

.product-detail-grid > *{
min-width:0;
}

.product-detail-image img{
width:90%;
border-radius:20px;
object-fit:cover;
max-height:485px;
}

.product-detail-info h2{
font-size:20px;
margin-bottom:1px;
}

.product-detail-info .rating{
margin-bottom:4px;
}

.product-detail-info .price{
margin-bottom:10px;
}

.product-detail-description{
font-family:'Lato', 'Segoe UI', sans-serif;
font-weight:400;
font-size:15px; 
color:#64748b;
line-height:1.55;
margin:0 0 10px;
}

/* Lato for everything in the details column (icons excluded) */
.product-detail-info,
.product-detail-info *:not(i){
font-family:'Lato', 'Segoe UI', sans-serif;
}

.product-detail-buttons{
display:flex;
flex-direction:column;
gap:12px;
margin-top:25px;
max-width:360px;
}

.product-detail-buttons .cart-button{
padding:15px;
justify-content:center;
font-size:15px;
}

@media(max-width:900px){
.product-detail-grid{
grid-template-columns:1fr;
}
.product-detail-buttons{
max-width:100%;
}
.quick-content{
grid-template-columns:1fr;
height:auto;
max-height:none;
}
.quick-image{
height:auto;
}
.quick-image img{
max-height:280px;
}
.quick-view{
height:auto;
max-height:85vh;
}
}

/*=========================================
YOU MIGHT ALSO LIKE
=========================================*/

.you-might-like{
background:#eefaf1;
padding-top:40px;
}

.like-grid{
display:grid;
grid-template-columns:repeat(4, 1fr);
gap:20px;
}

.like-card{
background:#fff;
border-radius:14px;
padding:16px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,.06);
text-decoration:none;
transition:.25s;
}

.like-card img{
width:100%;
height:140px;
object-fit:cover;
border-radius:10px;
margin-bottom:14px;
}

.like-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 30px rgba(0,0,0,.1);
}

.like-card h4{
color:var(--secondary);
font-size:15px;
margin-bottom:8px;
padding:0 6px;
}

.like-price{
color:var(--primary);
font-weight:700;
font-size:17px;
}

@media(max-width:900px){
.like-grid{
grid-template-columns:repeat(2, 1fr);
}
}

@media(max-width:500px){
.like-grid{
grid-template-columns:1fr;
}
}

/*=========================================
PAYMENT PAGE
=========================================*/

.payment-grid{
display:grid;
grid-template-columns:1.2fr 1fr;
gap:40px;
align-items:start;
}

.payment-summary{
background:#fff;
border-radius:16px;
padding:30px;
box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.payment-line{
display:flex;
align-items:center;
gap:15px;
padding:14px 0;
border-bottom:1px solid #eee;
}

.payment-line img{
width:60px;
height:60px;
object-fit:cover;
border-radius:8px;
flex-shrink:0;
}

.payment-line-details{
flex:1;
}

.payment-line-details h4{
font-size:15px;
margin-bottom:4px;
color:var(--secondary);
}

.payment-line-details span{
font-size:13px;
color:#94a3b8;
}

.payment-line-price{
font-weight:700;
color:var(--primary);
}

.payment-total-row{
display:flex;
justify-content:space-between;
align-items:center;
padding-top:20px;
margin-top:10px;
font-size:20px;
color:var(--secondary);
}

.payment-total-row strong{
color:var(--primary);
font-size:26px;
}

.payment-methods-panel{
background:#fff;
border-radius:16px;
padding:30px;
box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.payment-customer p{
margin-bottom:6px;
color:#475569;
font-size:14px;
}

.payment-edit-link{
display:inline-block;
margin-top:6px;
font-size:13px;
font-weight:600;
color:var(--primary);
}

.payment-method-btn{
display:flex;
align-items:center;
gap:12px;
width:100%;
padding:16px 20px;
margin-top:14px;
border:2px solid #e2e8f0;
background:#fff;
border-radius:10px;
font-weight:600;
font-size:15px;
color:var(--secondary);
cursor:pointer;
transition:.2s;
}

.payment-method-btn i{
font-size:20px;
color:var(--primary);
}

.payment-method-btn:hover{
border-color:var(--primary);
background:#fff7ef;
}

.payment-method-btn.active{
border-color:var(--primary);
background:#fff7ef;
box-shadow:0 0 0 3px rgba(230,126,34,.15);
}

.payment-pending-note{
margin-top:18px;
font-size:13px;
color:#94a3b8;
text-align:center;
}

@media(max-width:900px){
.payment-grid{
grid-template-columns:1fr;
}
}

/*=========================================
ORDER CONFIRMED
=========================================*/

.order-confirmed{
max-width:560px;
margin:0 auto;
text-align:center;
background:#fff;
border-radius:16px;
padding:60px 40px;
box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.order-confirmed i{
font-size:60px;
color:var(--accent);
margin-bottom:20px;
}

.order-confirmed h2{
margin-bottom:15px;
}

.order-confirmed p{
color:#64748b;
margin-bottom:30px;
}

/* ---------- desktop: main photo + vertical thumbnails on the right ---------- */
.detail-gallery{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.detail-slider{
  flex:1;
  min-width:0;
}

.product-detail-image .detail-slider img{
  width:100%;
  aspect-ratio:auto;
  height:480px;
  max-width:560px;
  max-height:none;
  border-radius:20px;
  object-fit:contain;
  object-position:top;
}

/* desktop shows only the main photo here; extras are for phones */
.detail-slider .detail-slide:not(#detailImage){
  display:none;
}

.detail-thumbs{
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:0 0 72px;
}

.product-detail-image .detail-thumbs img{
  width:72px;
  height:72px;
  border-radius:10px;
  object-fit:contain;
  cursor:pointer;
  border:2px solid #e2e8f0;
  transition:.15s;
}

.product-detail-image .detail-thumbs img.selected{
  border-color:var(--primary);
  box-shadow:0 0 4px rgba(230,126,34,.5);
}

/* ---------- phone: swipe row, no thumbnails ---------- */
@media(max-width:600px){

  .detail-gallery{
    display:block;
  }

  .detail-thumbs{
    display:none;
  }

  .detail-slider{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    padding-bottom:10px;
    scrollbar-width:thin;
    scrollbar-color:#bbb transparent;
  }

  .detail-slider::-webkit-scrollbar{ height:4px; }
  .detail-slider::-webkit-scrollbar-thumb{ background:#bbb; border-radius:4px; }

  .product-detail-image .detail-slider img,
  .product-detail-image .detail-slider .detail-slide:not(#detailImage){
    display:block;
    flex:0 0 87%;          /* leaves the next photo peeking in */
    width:87%;
    height:auto;
    max-height:none;
    scroll-snap-align:start;
  }

  /* only one photo: no swipe row needed */
  .product-detail-image .detail-slider .detail-slide:only-child{
    flex-basis:90%;
    width:90%;
  }
}