


/* ===== GLOBAL STRUCTURE ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  min-height: 100vh;
}

main, section {
  flex: 1 0 auto;
}


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --brown: #8B4513;
            --cream: #F5DEB3;
            --tan: #D2B48C;
            --black: #000000;
            --white: #FFFFFF;
            --gold: #FFD700;
        }
        
        body {
           min-height: 100vh; /* full viewport height */
  display: flex;
  flex-direction: column;
           font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
            color: var(--black);
            background: var(--white);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* HEADER */
      /* Enhanced Header */
header {
  background: linear-gradient(90deg, #ffffff 0%, #faf9f7 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
        }
        
        /* Logo styling */
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brown), #d4a574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        /* new one */
        /* ✅ Mobile menu behavior */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--black);
  }

  .nav-links {
    display: none;              /* hide links initially on mobile */
    flex-direction: column;
    background: var(--tan);
    position: absolute;
    top: 60px;                  /* adjust for your nav height */
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    gap: 1.5rem;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;              /* show when active */
  }
  
}

        .nav-links a {
            text-decoration: none;
            color: var(--black);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: var(--brown);
        }
        
        .cart-icon {
            position: relative;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        .cart-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--cream);
            color: var(--black);
            border: 2px solid var(--tan);
            border-radius: 50%;
            padding: 2px 6px;
            font-size: 0.75rem;
            font-weight: bold;
        }
        
        /* HERO CAROUSEL */
        .hero {
            position: relative;
            padding: 4rem 2rem;
            text-align: center;
            min-height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .hero::before {
           content: "";
           position: absolute;
           top: 0;
           left: 0;
           width: 100%;
           height: 100%;
           background: rgba(0, 0, 0, 0.35); /* 35% black overlay */
           z-index: 1;
       }

        
        .carousel-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }
        
        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.2s ease-in-out;
            background-size: cover;
            background-position: center;
        }
        
        .carousel-slide.active {
            opacity: 1;
        }
        
        .carousel-slide:nth-child(1) {
            background-image: url('image1.jpg');         
            background-size: cover;
            background-position: center;
        } 
        .carousel-slide:nth-child(2) {
            background-image: url('image2.jpg');         
            background-size: cover;
            background-position: center;
        }
        
        .carousel-slide:nth-child(3) {
            background-image: url('image3.jpg');         
            background-size: cover;
            background-position: center;
        }
        .carousel-slide:nth-child(4) {
            background-image: url('image1.jpg');
            background-size: cover;
            background-position: center;
        }
        .carousel-slide:nth-child(5) {
            background-image: url('image2.jpg');
            background-size: cover;
            background-position: center;
        }

              
        .hero-content {
            position: relative;
            z-index: 2;
            color: #fff;
            text-shadow: 0 2px 8px rgba(0,0,0,0.5);
        }
        
 .hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.8rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
}


        
        .hero p {
            font-size: 1.2rem;
            color: var(--black);
            margin-bottom: 2rem;
        }
        
        .search-container {
            max-width: 600px;
            margin: 2rem auto 1rem;
            position: relative;
        }
        
        .search-bar {
            width: 100%;
            padding: 1rem 3rem 1rem 1rem;
            border: 2px solid var(--tan);
            border-radius: 50px;
            font-size: 1rem;
            outline: none;
        }
        
        .search-icon {
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
            color: var(--black);
        }
        /*
        .discount-badge {
            background: var(--cream);
            color: var(--black);
            border: 2px solid var(--tan);
            padding: 0.5rem 1.5rem;
            border-radius: 25px;
            font-weight: bold;
            display: inline-block;
            margin: 1rem 0;
        }*/
        .discount-badge {
            
           font-family: 'Pacifico', cursive;
           font-size: 1.8rem;
           color: #FFD700; /* replace this with the new color below */
           text-shadow: 0 2px 8px rgba(0,0,0,0.3);
            
        }
        
        /* Enhanced CTA Button */
.cta-button {
  background: linear-gradient(135deg, var(--cream), #e8d4a0);
  color: var(--black);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(210, 180, 140, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.4s ease;
  z-index: 0;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(210, 180, 140, 0.5);
}

.cta-button:hover::before {
  left: 100%;
}

        /* back page button */
      /* Modern Back Button */
.back-button {
  background: linear-gradient(135deg, var(--brown), #a0522d);
  border: none;
  color: white;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
  font-weight: 600;
}

.back-button:hover {
  background: linear-gradient(135deg, #a0522d, var(--brown));
  transform: translateX(-4px);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.3);
}

/* Mobile positioning - ADD this at the end of your media queries */
@media (max-width: 768px) {
  .back-button {
    position: absolute !important;
    top: 65px !important;
    left: 1rem !important;
    z-index: 999 !important;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}


        /* PRODUCTS */
        .section-title {
         font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
         text-align: center;
        margin: 3rem 0 2rem;
       color: var(--brown);
        font-weight: 600;
        letter-spacing: 0.5px;
         text-transform: capitalize;
        transition: color 0.3s ease, transform 0.3s ease;
       }

.section-title:hover {
  color: #b57f50; /* a warm brown-gold hover tone */
  transform: translateY(-2px);
}

        
       .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    gap: 2rem;
    margin-bottom: 3rem;
       }

        /* Modern Product Card */
.product-card {
  background: var(--white);
  border: none;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: rgba(210, 180, 140, 0.1);
  border-radius: 50%;
  transition: all 0.5s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-card:hover::before {
  top: 10%;
  right: 10%;
}

.product-image {
  font-size: 5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.15) rotate(5deg);
}

        
        .product-image {
            font-size: 5rem;
            margin-bottom: 1rem;
        }
        
        .product-name {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--black);
            margin-bottom: 0.5rem;
        }
        
        .product-rating {
            color: var(--gold);
            margin-bottom: 0.5rem;
        }
        
        .product-description {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        
        .product-price {
            color: var(--brown);
            font-size: 1.5rem;
            font-weight: bold;
            margin: 1rem 0;
        }
        
        .view-details-btn {
            background: var(--cream);
            color: var(--black);
            border: 2px solid var(--tan);
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 700;
            transition: all 0.3s;
            width: 100%;
        }
        
        .view-details-btn:hover {
            background: var(--tan);
        }
        
        /* PRODUCT DETAIL */
        .product-detail-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin: 3rem 0;
        }
        
        .main-image {
            font-size: 15rem;
            text-align: center;
            margin-bottom: 1rem;
            background: #f9f9f9;
            border-radius: 15px;
            padding: 2rem;
        }
        main, section {
  flex: 1;
}
        
        .thumbnail-gallery {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .thumbnail {
            font-size: 3rem;
            cursor: pointer;
            padding: 0.5rem;
            border: 2px solid transparent;
            border-radius: 8px;
            transition: all 0.3s;
        }
        
        .thumbnail:hover,
        .thumbnail.active {
            border-color: var(--tan);
            background: #f9f9f9;
        }
        
        .detail-product-name {
            font-size: 2.5rem;
            color: var(--brown);
            margin-bottom: 0.5rem;
            font-weight: bold;
        }
        
        .customization-section {
            background: #f9f9f9;
            padding: 2rem;
            border-radius: 15px;
            margin-bottom: 2rem;
        }
        
        .option-label {
            font-weight: bold;
            display: block;
            margin-bottom: 0.5rem;
            color: var(--black);
        }
        
        /* Modern Form Inputs */
select, input[type="text"], input[type="date"], input[type="tel"], textarea {
  width: 100%;
  padding: 0.85rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  background: #fafafa;
}

select:focus, input:focus, textarea:focus {
  border-color: var(--brown);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
  outline: none;
  transform: translateY(-2px);
}

        
        .price-breakdown {
            background: var(--white);
            border: 2px solid #f0f0f0;
            border-radius: 15px;
            padding: 1.5rem;
            margin: 2rem 0;
        }
        
        .price-line {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            color: var(--black);
        }
        
        .price-line.total {
            border-top: 2px solid var(--tan);
            padding-top: 1rem;
            margin-top: 1rem;
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--brown);
        }
        
        .add-to-cart-btn {
            width: 100%;
            padding: 1.25rem;
            background: var(--cream);
            color: var(--black);
            border: 2px solid var(--tan);
            border-radius: 12px;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .add-to-cart-btn:hover {
            background: var(--tan);
            transform: scale(1.02);
        }
        
        .order-now-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--black);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.order-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

        /* TABS */
        .tabs {
            margin: 3rem 0;
        }
        
        .tab-buttons {
            display: flex;
            gap: 1rem;
            border-bottom: 2px solid #f0f0f0;
            margin-bottom: 2rem;
        }
        
        .tab-button {
            padding: 1rem 2rem;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
            color: var(--black);
        }
        
        .tab-button.active {
            border-bottom-color: var(--brown);
            color: var(--brown);
            font-weight: bold;
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        /* REVIEWS */
        .rating-summary {
            background: #f9f9f9;
            padding: 2rem;
            border-radius: 15px;
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .overall-rating {
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 0.5rem;
        }
        
        .rating-bars {
            margin: 2rem 0;
        }
        
        .rating-bar-row {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .rating-bar {
            flex: 1;
            height: 12px;
            background: var(--white);
            border-radius: 6px;
            overflow: hidden;
        }
        
        .rating-fill {
            height: 100%;
            background: var(--gold);
        }
        
        .review-card {
            background: var(--white);
            border: 2px solid #f0f0f0;
            border-radius: 15px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .reviewer-name {
            font-weight: bold;
            color: var(--black);
        }
        
        .verified-badge {
            background: #4CAF50;
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
        }
        
        /* CART & CHECKOUT */
        .cart-item {
            background: var(--white);
            border: 2px solid #f0f0f0;
            border-radius: 15px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .checkout-form {
            max-width: 600px;
            margin: 0 auto;
            background: #f9f9f9;
            padding: 2rem;
            border-radius: 15px;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: bold;
            color: var(--black);
        }
        
        .whatsapp-btn {
            background: #25D366;
            color: white;
            border: none;
            padding: 1.25rem;
            border-radius: 12px;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s;
        }
        
        .whatsapp-btn:hover {
            background: #128C7E;
            transform: scale(1.02);
        }
        
    /* ===== FOOTER (Fixed and Always Visible) ===== */
footer {
  background: #F5F5DC; /* beige */
  color: var(--black);
  padding: 3rem 2rem 1rem;
  border-top: 3px solid var(--tan);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  margin-top: auto;           /* ✅ pushes footer to bottom when content is short */
  position: relative;         /* ✅ ensures it stays in normal flow */
  z-index: 1;
}

/* Flex layout for body to support sticky footer */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main, section {
  flex: 1 0 auto;             /* ✅ ensures content expands to fill height */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-left h3 {
  color: var(--brown);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-left p {
  font-size: 1rem;
  color: #9a2626;
  margin: 0.2rem 0;
}

.footer-right {
  text-align: right;
}

.footer-info p {
  margin: 0.3rem 0;
  color: #100f0f;
}

.social-links img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #FFD700);
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #0a0909;
}


.social-links img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px #FFD700);
}



.social-links img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: none !important; /* completely remove any inversion or brightness */
    transition: transform 0.3s ease, filter 0.3s ease;
}


.social-links img:hover {
    transform: scale(1.1);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #0a0909;
}

        
        /* UTILITY */
        .hidden {
            display: none !important;
        }
        
        .page {
            min-height: 60vh;
        }
        
        .breadcrumb {
            color: #666;
            margin-bottom: 1rem;
        }
        
        .breadcrumb a {
            color: var(--brown);
            text-decoration: none;
        }
        
        /* RESPONSIVE */
        @media (max-width: 768px) {
            .product-detail-container {
                grid-template-columns: 1fr;
            }
            
            .nav-links {
                flex-direction: column;
                gap: 1rem;
            }
            
            .main-image {
                font-size: 8rem;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            @media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 on medium screens */
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 on tablets */
    }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* reduce gap */
    padding: 0.5rem;
  }

  .product-card {
    padding: 0.75rem;
    border-radius: 10px;
  }

  .product-image {
    font-size: 2.5rem; /* smaller emoji so cards shrink */
    margin-bottom: 0.5rem;
  }

  .product-name {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .product-description {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .product-price {
    font-size: 1rem;
    margin: 0.3rem 0;
  }

  .view-details-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }
}

/* MOBILE HEADER FIX */
@media (max-width: 768px) {
  header {
    padding: 0.25rem 1rem;
  }

  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }
  /* mobile header fix 2 */
@media (max-width: 768px) {
  nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
  }

  .menu-toggle {
    grid-column: 1;
    justify-self: start;
  }

  .logo {
    grid-column: 2;
    justify-self: center;
    font-size: 1.5rem;
  }

  .cart-icon {
    grid-column: 3;
    justify-self: end;
  }
}

  .nav-links {
    display: none; /* hide links initially */
    flex-direction: column;
    background: white;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    border-top: 1px solid #ddd;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
  }

  .cart-icon {
    font-size: 1.2rem;
  }
}


        }
        .hero-subtitle {
            color: #fff !important;     /* force white text */
            font-weight: 700;           
            font-size: 1.6rem;          
            letter-spacing: 1px;        
            text-shadow: 0 2px 8px rgba(0,0,0,0.7);
            font-family: 'Poppins', 'Segoe UI', sans-serif;
            margin-top: 1rem;
        }
    .menu-toggle {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* When active, transform into X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* Back button positioning - moves below header on mobile, HIDES when scrolling */
@media (max-width: 768px) {
  .back-button {
    position: absolute !important; /* Changed from fixed to absolute */
    top: 65px !important; /* Below the header height (~60px) */
    left: 1rem !important;
    z-index: 999 !important;
  }
}

/* On desktop, keep the original positioning */
@media (min-width: 769px) {
  .back-button {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
  }
}
/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding: 2rem;
}
.product-card {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-emoji {
  font-size: 2rem;
}
.product-card h3 {
  margin: 0.6rem 0 0.2rem;
  color: var(--brown);
}
.product-card p {
  font-size: 0.9rem;
  color: #555;
  min-height: 50px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-weight: 600;
}
.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.product-actions button {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.product-actions .order-btn {
  background: var(--brown);
  color: #fff;
}
.product-actions .add-cart {
  background: #f1f1f1;
}

/* ---------------- Toast (small message) ---------------- */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none; /* clicks pass through except on the toast itself */
}

.toast {
  pointer-events: auto;
  min-width: 180px;
  max-width: 320px;
  background: #fff;
  color: #222;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  font-weight: 600;
  display: flex;
  gap: .6rem;
  align-items: center;
  transform-origin: right top;
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  transition: transform .18s cubic-bezier(.2,.9,.2,1), opacity .18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* small emoji/icon in toast */
.toast .t-emoji { font-size: 1.25rem; }

/* ---------------- Badge pop animation ---------------- */
@keyframes badge-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.45); }
  70%  { transform: scale(.95); }
  100% { transform: scale(1); }
}

.cart-badge.pop {
  animation: badge-pop 420ms cubic-bezier(.2,.9,.2,1);
}

  /* =======================================
   PRODUCT DETAIL PAGE STYLES
======================================= */

/* Layout structure */
.product-page {
  max-width: 1100px;
  margin: auto;
}

.product-grid-detail {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
}

@media (max-width: 850px) {
  .product-grid-detail {
    grid-template-columns: 1fr;
  }
}

/* Main Image */
#mainImage {
  font-size: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 3rem 1rem;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Thumbnails */
#thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.thumb {
  font-size: 2.2rem;
  padding: 0.4rem;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

/* Product Info Box */
.product-info-box {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Product title */
#detailName {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Price */
#detailPrice {
  font-size: 1.6rem;
  color: var(--brown);
  font-weight: 600;
}

/* Rating */
#detailRating {
  color: gold;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

/* Weight dropdown */
#weightWrapper select {
  padding: 0.7rem;
  border-radius: 10px;
  margin-top: 0.4rem;
  width: 100%;
}

/* Quantity */
#detailQty {
  padding: 0.6rem;
  width: 80px;
  border-radius: 8px;
}

/* Action buttons */
#detailAddCart,
#detailOrderBtn {
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
}

#detailOrderBtn {
  background: var(--brown);
  color: #fff;
}

/* Reviews */
#reviewsContainer .review {
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

#reviewForm textarea {
  border-radius: 12px;
  padding: 1rem;
}

#reviewForm input {
  border-radius: 10px;
  padding: 0.6rem;
}

/* Big section title */
.product-page h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

/* Review stars */
.review-stars {
  color: gold;
  font-weight: bold;
}
/* ---------------- product detail styling ---------------- */
.product-page { max-width:1100px; margin:auto; }
.product-grid-detail { display:grid; grid-template-columns:1fr 420px; gap:1.5rem; align-items:start; }
@media (max-width:900px){ .product-grid-detail{ grid-template-columns:1fr; } }

.gallery-card { background:#fff; padding:1rem; border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,0.05); }
.main-image { width:100%; min-height:360px; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:12px; background:#fff; }
.main-image img{ width:100%; height:auto; object-fit:cover; max-height:520px; }

.thumbs { display:flex; gap:0.6rem; margin-top:1rem; flex-wrap:wrap; }
.thumb { width:64px; height:64px; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,0.06); background:#fff; }
.thumb img{ width:100%; height:100%; object-fit:cover; }
.emoji-thumb { font-size:2.2rem; }

/* product info box */
.product-info-box { background:#fff; padding:1.2rem; border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,0.05); position:sticky; top:18px; }
#detailName{ font-size:1.6rem; margin-bottom:.25rem; }
#detailPrice{ font-size:1.4rem; color:#9b4b31; font-weight:700; margin-top:.4rem; display:inline-block; }
.btn{ padding:.6rem .9rem; border-radius:8px; border:none; cursor:pointer; }
.btn.primary{ background:#3b8b5a; color:#fff; }
.btn.secondary{ background:#d9825b; color:#fff; }
#detailQty{ width:80px; padding:.5rem; border-radius:8px; }

.review { padding:1rem; border-radius:10px; background:#fff; margin-bottom:.6rem; box-shadow:0 4px 14px rgba(0,0,0,0.04); }
.review-stars{ color:gold; font-weight:bold; }

.cart-link { display:flex; width:100%; align-items:center; }
.cart-item { cursor:default; }
.cart-item:hover .cart-link { background: rgba(0,0,0,0.02); }

/* === Decorations cards styling === */
#product-grid { display:grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap:1rem; }

.decor-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  display:flex;
  flex-direction:column;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.decor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

.decor-media { padding: 18px; display:flex; align-items:center; justify-content:center; background: linear-gradient(180deg,#fff,#faf7f5); }
.decor-image { font-size: 2.6rem; width:84px; height:84px; display:flex; align-items:center; justify-content:center; border-radius:10px; background:#fff; box-shadow: 0 6px 18px rgba(0,0,0,0.03); }

.decor-body { padding: 12px 14px; display:flex; flex-direction:column; gap:8px; flex:1; }
.decor-title { font-size: 1.05rem; margin:0; font-weight:600; color:#2b2b2b; }
.decor-desc { margin:0; color:#666; font-size:0.92rem; min-height: 2.3em; overflow:hidden; text-overflow:ellipsis; }

.decor-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; }
.decor-price { font-weight:700; color:#9b4b31; }
.decor-actions { display:flex; gap:8px; }

.decor-actions .btn {
  border: none; padding: 0.5rem 0.7rem; border-radius:8px; cursor:pointer; font-size:0.95rem;
}
.decor-actions .decor-order { background:#d9825b; color:#fff; }
.decor-actions .decor-add { background:#3b8b5a; color:#fff; }

/* Small screens */
@media (max-width:600px){
  .decor-desc { min-height: 3.6em; }
  .decor-image { width:64px; height:64px; font-size:2rem; }
}

/* Custom Order Page Spacing */
.custom-form {
  padding-top: 4rem;      /* space from top image/nav */
  padding-bottom: 4rem;   /* space before footer */
}

.custom-form .form-wrapper {
  margin-bottom: 3rem;    /* extra breathing room before footer */
}





  