/* Main site styles extracted from index.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0c2a3a 0%, #294754 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-container-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 40px;
    width: auto;
    cursor: pointer;
}

.logo-text {
    color: rgb(255, 255, 255);
    font-size: 22px;
    font-weight: bold;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a{
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.5px; */
}
.nav-right-links a {
    text-decoration: none;
    color: white;
    gap: 55px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.5px; */
}


.nav-links a:hover, .nav-right-links a:hover { color: #ffd700; }

.nav-container-right { display: flex; align-items: center; gap: 40px; }

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 10px 14px;
  }

  .nav-container-left,
  .nav-container-right {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo img {
    height: 32px;
  }

  .logo-text {
    font-size: 16px;
  }

  .nav-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 10px;
    flex-shrink: 0;
  }

  .nav-container-right {
    margin-top: 10px;
  }

  .nav-right-links {
    display: none; /* hide text links on mobile */
  }

  .cart-icon,
  .user-icon {
    font-size: 18px;
  }
}

.nav-links {
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 769px) and (max-width: 1024px) {
  nav {
    padding: 12px 20px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .nav-right-links a {
    font-size: 14px;
  }
}



/* Logo layout improvements */
.logo { display:flex; align-items:center; gap:12px; }
.logo-text { display:inline-block; font-size:22px; font-weight:700; margin-left:6px; margin-bottom: 6px;}

.cart-icon { position: relative; cursor: pointer; font-size: 20px; color: white; }
.cart-badge { position: absolute; top: -8px; right: -8px; background-color: #ff6b6b; color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; }

/* Hero Carousel Section */
.hero-carousel { position: relative; width: 100%; height: 500px; overflow: hidden; background: linear-gradient(135deg, #0c2a3a 0%, #294754 100%); }
.carousel-container { position: relative; width: 100%; height: 100%; }
.carousel-slide { position: absolute; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 60px; opacity: 0; transition: opacity 0.5s ease-in-out; background-size: cover; background-position: center right; }
.carousel-slide.active { opacity: 1; }
.slide-content { max-width: 50%; color: white; z-index: 2; }
.slide-content h1 { font-size: 52px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.slide-content p { font-size: 28px; font-weight: 600; margin-bottom: 30px; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }
.slide-buttons { display: flex; gap: 15px; }

.btn-primary { background-color: white; color: #0c2a3a; padding: 12px 30px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; text-transform: uppercase; }
.btn-primary:hover { background-color: #ffd700; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.btn-secondary { background-color: transparent; color: white; border: 2px solid white; padding: 12px 30px; }
.btn-secondary:hover { background-color: white; color: #0c2a3a; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }

.carousel-controls { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255,255,255,0.4); cursor: pointer; }
.dot.active { background-color: #ffd700; transform: scale(1.3); }

.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255,255,255,0.2); color: white; border: 2px solid white; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 24px; font-weight: bold; z-index: 3; }
.carousel-nav:hover { background-color: rgba(255,215,0,0.3); border-color: #ffd700; }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(12,42,58,0.7) 0%, transparent 60%); z-index: 1; }

/* Season's Top Picks */
.season-top-picks { padding: 60px 40px; background-color: #f5f5f5; }
.section-title { text-align: center; font-size: 36px; font-weight: 700; margin-bottom: 50px; color: #000; letter-spacing: 2px; }
.products-carousel { position: relative; overflow: visible; width: 100%; display: flex; align-items: center; justify-content: center; gap: 20px; }
.products-container { display: flex; gap: 20px; transition: transform 0.5s ease-in-out; width: calc(100% - 120px); overflow: hidden; }
.product-card { flex: 0 0 calc(20% - 16px); background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: box-shadow 0.3s ease; cursor: pointer; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.15); z-index: 10; }
.product-card:hover .product-image-wrapper { transform: scale(1.08); }
.product-image-wrapper { position: relative; width: 100%; height: 300px; overflow: hidden; background: #f0f0f0; transition: transform 0.3s ease; }
.product-image { width: 100%; height: 100%; object-fit: cover; }
.carousel-badge-fixed { position: absolute; top: 180px; left: 40px; background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%); color: white; padding: 10px 16px; font-size: 11px; font-weight: 800; text-transform: uppercase; border-radius: 4px; letter-spacing: 1px; box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3); z-index: 100; pointer-events: none; }
.product-info { flex: 1; display: flex; flex-direction: column; padding: 12px; }
.product-name { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #0c2a3a; line-height: 1.3; }
.price-display { display: flex; flex-direction: column; gap: 6px; background: #f9f9f9; padding: 10px; border-radius: 6px; margin: 8px 0; }
.price-row { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.price-row .label { color: #666; font-weight: 600; min-width: 50px; }
.product-mrp { color: #999; text-decoration: line-through; font-size: 12px; font-weight: 500; }
.product-current-price { color: #0c2a3a; font-size: 14px; font-weight: 700; }
.discount-badge { background: #ff6b6b; color: white; padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 700; }
.price-row.best-price { border-top: 1px solid #eee; padding-top: 6px; margin-top: 2px; }
.best-price-value { color: #4caf50; font-size: 13px; font-weight: 700; }

/* Buttons for carousel nav */
/* .products-nav-button { position: relative; background-color: #0c2a3a; color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 22px; font-weight: bold; z-index: 15; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; flex-shrink: 0; }
.products-nav-button:hover { background-color: #ffd700; color: #0c2a3a; transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.products-prev { }
.products-next { } */

.add-to-bag-btn { width: 100%; padding: 12px; background-color: #fff; border: 1px solid #ddd; font-size: 14px; font-weight: 700; color: #333; cursor: pointer; text-transform: capitalize; border-radius: 4px; transition: all 0.3s ease; }
.add-to-bag-btn:hover { background-color: #0c2a3a; color: white; border-color: #0c2a3a; }
.add-to-bag-btn.added { background-color: #4caf50; border-color: #4caf50; color: white; }
.add-to-bag-btn.added:hover { background-color: #45a049; border-color: #45a049; }

/* New Homepage Sections */
.featured-collections { padding: 60px 40px; background-color: #ffffff;text-decoration: none; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.featured-item { background: #fff; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); overflow: hidden; text-align: center; padding: 18px; }
.featured-item img { width: 100%; height: 160px; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.featured-item h3 { color: #000; font-size: 18px;text-decoration: none; margin-bottom: 6px; }
.featured-item p { color: #666;text-decoration: none; font-size: 14px; }

.our-commitment { padding: 60px 40px; background-color: #f7f9f9; }
.commitment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.commitment-item { background: white; padding: 20px; border-radius: 8px; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.commitment-item h4 { margin-bottom: 6px; font-size: 16px; }
.commitment-item p { color: #666; font-size: 14px; }

/* Responsive tweaks */
@media (max-width: 768px) {
    .slide-content h1 { font-size: 34px; }
    .slide-content p { font-size: 18px; }
    .product-card { flex: 0 0 calc(50% - 10px); }
    .products-carousel { gap: 12px; }
    .products-container { gap: 12px; width: calc(100% - 100px); }
    .products-nav-button { width: 44px; height: 44px; font-size: 18px; }
}

/* Footer (migrated from footer.css) */
.footer-main { background-color: #11110a; color: #bdb8a5; padding: 60px 40px; font-family: Arial, sans-serif; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.footer-brand { color: #ffd700; font-size: 20px; font-weight: 800; display:flex; flex-direction:column; gap:18px; }
.footer-brand .tagline { color: #9b9b8b; font-size: 36px; font-weight: 300; letter-spacing: 6px; }
.footer-links h4 { color: #fff; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; text-transform: uppercase; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; padding-left:0; }
.footer-links a { color: #cfc8b9; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #ffd700; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.03); }
.socials { display:flex; gap: 12px; }
.socials a { display:inline-flex; width:36px; height:36px; align-items:center; justify-content:center; background: rgba(255,255,255,0.03); border-radius: 50%; color: #ddd; text-decoration:none; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; background: white; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:4px; box-shadow:0 6px 20px rgba(0,0,0,0.2); cursor:pointer; display:none; }

@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand .tagline { font-size: 24px; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 12px; } }

/* Variant modal animation and accessibility */
#variantModal { animation: modalFadeIn 240ms ease both; }
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
#variantModal [role="dialog"] { outline: none; }

/* ===== PROFESSIONAL CART PAGE STYLES ===== */

/* Container for cart page */
.container-lg { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.cart-page-wrapper { background-color: #f9f9f9; min-height: 100vh; }

.cart-page-header { background-color: white; padding: 30px 0; border-bottom: 1px solid #eee; }

.cart-page-title { font-size: 28px; font-weight: 700; color: #000; letter-spacing: 1px; }

.cart-page-container { padding: 40px 0; }

.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; }

/* Cart Items Section */

#cartItemsContainer { background: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.cart-empty-state { text-align: center; padding: 60px 20px; }

.cart-empty-state h3 { font-size: 22px; font-weight: 700; color: #000; margin-bottom: 8px; }

.cart-empty-state p { color: #999; margin-bottom: 24px; }

.btn-primary-outline { display: inline-block; padding: 12px 32px; border: 2px solid #0c2a3a; color: #0c2a3a; text-decoration: none; border-radius: 4px; font-weight: 700; transition: all 0.3s ease; }

.btn-primary-outline:hover { background-color: #0c2a3a; color: white; }

/* Cart Item Card */
.cart-item { display: grid; grid-template-columns: 120px 1fr 180px; gap: 20px; padding: 20px; border-bottom: 1px solid #eee; align-items: flex-start; }

.cart-item:last-child { border-bottom: none; }

.cart-item-image { width: 120px; height: 140px; background: #f0f0f0; border-radius: 6px; overflow: hidden; }

.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-details { display: flex; flex-direction: column; gap: 12px; }

.item-name { font-size: 14px; font-weight: 700; color: #000; margin: 0; line-height: 1.3; }

.item-specs { font-size: 12px; color: #999; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }

.item-actions { display: flex; gap: 12px; margin-top: 8px; }

.quantity-control { display: flex; align-items: center; gap: 4px; border: 1px solid #ddd; border-radius: 4px; padding: 4px; background: #f9f9f9; }

.qty-minus, .qty-plus { width: 28px; height: 28px; border: none; background: none; cursor: pointer; font-size: 16px; font-weight: 700; color: #0c2a3a; transition: all 0.2s ease; }

.qty-minus:hover, .qty-plus:hover { background-color: #f0f0f0; border-radius: 3px; }

.qty-value { width: 40px; text-align: center; border: none; background: transparent; font-weight: 600; color: #000; }

.item-remove { padding: 6px 12px; background: #ff6b6b; color: white; border: none; border-radius: 4px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }

.item-remove:hover { background: #ff5252; }

/* Cart Item Pricing */
.cart-item-pricing { text-align: right; }

.price-original { font-size: 12px; color: #999; text-decoration: line-through; }

.price-current { font-size: 16px; font-weight: 700; color: #000; margin-top: 4px; }

.price-saving { font-size: 11px; color: #4caf50; font-weight: 600; margin-top: 2px; }

.promo-banner { background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%); border-radius: 8px; padding: 16px; display: flex; gap: 12px; margin-bottom: 20px; align-items: center; }

.banner-icon { font-size: 24px; min-width: 30px; }

.banner-text strong { font-size: 12px; font-weight: 700; color: #2e7d32; display: block; margin-bottom: 2px; }

.banner-text p { font-size: 11px; color: #558b2f; margin: 0; }

/* Summary Card */
.summary-card { background: white; border-radius: 8px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 100px; }

.summary-card-title { font-size: 14px; font-weight: 700; letter-spacing: 1px; color: #000; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #eee; }

.summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #666; margin-bottom: 12px; }

.summary-label { font-weight: 600; }

.summary-value { color: #000; font-weight: 500; }

.summary-value.discount { color: #4caf50; }

.summary-value.free { color: #4caf50; font-weight: 700; }

/* Promo Section */
.promo-section { border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin: 16px 0; }

.promo-toggle { width: 100%; padding: 12px 0; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: #000; letter-spacing: 0.5px; transition: color 0.3s ease; }

.promo-toggle:hover { color: #0c2a3a; }

.toggle-icon { font-size: 18px; }

.promo-input-wrapper { display: flex; gap: 8px; padding: 12px 0; }

.promo-input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; transition: border-color 0.3s ease; }

.promo-input:focus { outline: none; border-color: #0c2a3a; }

.promo-apply-btn { padding: 10px 16px; background-color: #0c2a3a; color: white; border: none; border-radius: 4px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }

.promo-apply-btn:hover { background-color: #0a1f2a; }

#promoMessage { font-size: 12px; font-weight: 700; text-align: center; }

/* Grand Total */
.summary-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-bottom: 20px; }

.summary-total span:first-child { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; color: #000; }

.total-amount { font-size: 20px; font-weight: 700; color: #0c2a3a; }

/* Checkout Button */
.checkout-btn { width: 100%; padding: 14px; background-color: #000; color: white; border: none; border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; letter-spacing: 1px; transition: all 0.3s ease; margin-bottom: 12px; text-transform: uppercase; }

.checkout-btn:hover { background-color: #222; }

.trust-text { font-size: 11px; color: #999; margin: 0; text-align: center; line-height: 1.4; }

.trust-text a { color: #0c2a3a; text-decoration: none; }

.trust-text a:hover { text-decoration: underline; }

/* Trust Section */
.trust-section { background: white; padding: 50px 0; border-top: 1px solid #eee; margin-top: 60px; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }

.trust-icon { font-size: 40px; margin-bottom: 12px; }

.trust-item h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #000; margin-bottom: 6px; text-transform: uppercase; }

.trust-item p { font-size: 11px; color: #999; margin: 0; line-height: 1.5; }

/* Cart quantity controls - Updated */
.cart-item-qty { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.qty-btn { padding: 6px 10px; background: #eee; border-radius: 6px; border: 1px solid #ddd; cursor: pointer; }
.qty-input { width: 56px; text-align: center; padding: 6px 8px; border-radius: 6px; border: 1px solid #ddd; }

/* Responsive - Cart Layout */
@media (max-width: 1024px) {
    .cart-layout { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .cart-item { grid-template-columns: 100px 1fr 140px; gap: 16px; }
}

@media (max-width: 768px) {
    .cart-page-title { font-size: 22px; }
    .cart-item { grid-template-columns: 80px 1fr; gap: 12px; padding: 16px; }
    .cart-item-pricing { grid-column: 2; text-align: left; margin-top: 8px; }
    .trust-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Floating Go to cart hint overrides */
#goToCartHint { box-shadow: 0 6px 18px rgba(0,0,0,0.12); }

/* Category Section Styles */
.category-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
}

/* Featured Collections Section */
.featured-collections-section {
    padding: 40px;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.featured-collections-container {
    max-width: 1200px;
    margin: 0 auto;
}

.collections-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.collection-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.collection-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f0f0f0;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.1);
}

.collection-info {
    padding: 15px;
    text-align: center;
}

.collection-name {
    font-size: 16px;
    font-weight: 600;
    color: #0c2a3a;
    margin-bottom: 5px;
}

.collection-count {
    font-size: 12px;
    color: #666;
    margin: 0;
}

@media (max-width: 1200px) {
    .collections-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .featured-collections-section {
        padding: 20px;
    }
    
    .collections-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .collection-image {
        height: 120px;
    }
    
    .collection-name {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .collections-row {
        grid-template-columns: 1fr;
    }
}

/* Category Sections */
.category-section:last-child {
    border-bottom: none;
}

.category-header {
    font-size: 28px;
    font-weight: 700;
    color: #0c2a3a;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0c2a3a;
    display: inline-block;
}

.category-count {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
    margin-bottom: 20px;
    display: block;
}

.category-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

@media (max-width: 1200px) {
    .category-products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .category-header {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .category-products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}
