:root {
    --primary: #e83e8c;
    --primary-dark: #c22570;
    --secondary: #6f42c1;
    --dark: #2d3748;
    --light: #f8f9fa;
    --success: #28a745;
    --warning: #ffc107;
    --gray: #718096;
    --light-gray: #edf2f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    background: #fff;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #f8f9fa;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    gap: 10px;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.menu {
    display: none;
    align-items: center;
    font-size: 1rem;
    color: #2d3748;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    z-index: 2100;
}
/* Sidebar */
.header-top.sidebar {
  position: fixed;
  top: 0;
  right: -270px;
  width: 250px;
  height: 100vh;
  background: #2d3748;
  color: #fff;
  box-shadow: -2px 0 12px rgba(0,0,0,0.15);
  z-index: 2000;
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  overflow-y: auto;
}

.header-top.sidebar.active {
  right: 0;
}

.header-top.sidebar .nav-links {
  flex-direction: column;
  display: flex;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.header-top.sidebar .nav-links li {
  margin: 20px 0;
  text-align: left;
}

.header-top.sidebar .nav-links a {
  color: #fff;
  font-size: 1.2rem;
  padding: 10px 30px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.header-top.sidebar .nav-links a:hover {
  background: #4a5568;
  border-radius: 4px;
}

.sidebar-cancel {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2101;
  transition: color 0.2s;
}
.sidebar-cancel:hover {
  color: var(--primary);
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 25px;
}
.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}
.nav-links a:hover {
    color: var(--primary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}
/* Cart */
.cart-icon {
    position: relative;
    color: var(--primary);
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

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

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1525507119028-ed4c629a60a3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(232, 62, 140, 0.3);
}
.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 62, 140, 0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 15px;
}
.btn-outline:hover {
    background: white;
    color: var(--primary);
}
/* Section Titles */
.section-title {
    text-align: center;
    margin: 50px 0 25px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}
.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}
/* Packages Section */
.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.package-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}
.package-img {
    height: 220px;
    overflow: hidden;
}
.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.package-card:hover .package-img img {
    transform: scale(1.05);
}
.package-card a{
    text-decoration: none;
    color: var(--light);
}
.package-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.package-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}
.package-info p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1rem;
}
.package-items {
    margin-bottom: 20px;
}
.package-items h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark);
}
.package-items ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.package-items li {
    background: var(--light-gray);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.package-price {
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 10px;
}
.old-price {
    font-size: 1.2rem;
    color: var(--gray);
    text-decoration: line-through;
}
.add-to-cart:hover {
    background: var(--primary-dark);
}

/* Styling for 'Select Category' button (a.add-to-cart inside .package-info) */
.package-info button.add-to-cart {
    background: var(--primary);
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.package-info button.add-to-cart:hover {
    background: var(--primary-dark);
}
/* Products Section */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0 20px 0; /* Reduced bottom margin from 60px to 20px */
}
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1;
}
.product-title{
     text-align: center;
}
.product-img {
    height: 250px;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-img img {
    transform: scale(1.1);
}
.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}
.product-category {
    color: var(--primary);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.product-price .current-price {
    font-size: 1.3rem;
    margin-right: 10px;
}
.product-price .old-price {
    font-size: 1rem;
}
.product-actions {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    gap: 10px;
    width: 100%;
}
.product-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}
.add-to-cart {
    background: var(--primary);
    color: white;
}
.add-to-cart:hover {
    background: var(--primary-dark);
}
.check-package {
    background: #f7fafc;
    color: var(--primary);
    border: 1px solid var(--primary) !important;
}
.check-package:hover {
    background: #edf2f7;
}
/* Checkout Button */
.checkout-section {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: none;
}
.checkout-btn {
    background: var(--success);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    transition: all 0.3s;
}
.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    background: #218838;
}
.checkout-btn i {
    margin-right: 10px;
}
.checkout-count {
    background: white;
    color: var(--success);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-weight: 700;
}
/* Payment Modal */
#paymentModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

#paymentModal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

#paymentModal .modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    margin: 20px auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

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

.modal-title {
    margin-bottom: 24px;
    color: var(--dark);
    font-size: 1.5rem;
    text-align: center;
}

/* Address Form */
.address-section {
    margin-bottom: 30px;
}
.section-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
}
.section-heading i {
    margin-right: 10px;
    color: var(--primary);
}
.address-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group.full-width {
    grid-column: span 2;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 62, 140, 0.1);
    outline: none;
}
.form-group textarea {
    height: 100px;
    resize: vertical;
}
.save-address {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}
.save-address input {
    margin-right: 10px;
}
/* Payment Methods */
.payment-methods {
    margin-bottom: 25px;
}
.payment-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.payment-method:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.payment-method input {
    margin-right: 15px;
}
.payment-method i {
    font-size: 24px;
    margin-right: 15px;
    color: var(--primary);
}
.payment-method-details {
    flex: 1;
}
.payment-method-details label {
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
}
.payment-method-details p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 5px;
}
/* Bank Details */
.bank-details {
    margin-top: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
    display: none;
}
.bank-details.active {
    display: block;
}
.bank-details p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.account-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    margin: 15px 0;
    padding: 12px;
    background: white;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 1px;
    border: 1px dashed var(--primary);
}
/* Payment Confirmation */
.payment-confirm {
    margin-top: 20px;
}
.payment-confirm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}
.payment-confirm input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px dashed var(--gray);
    border-radius: 8px;
    margin-bottom: 15px;
}
.submit-payment {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.submit-payment:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 62, 140, 0.3);
}
/* Success Notification */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    z-index: 3000;
    transform: translateX(150%);
    transition: transform 0.3s;
}
.notification.active {
    transform: translateX(0);
}
.notification i {
    margin-right: 10px;
    font-size: 1.2rem;
}
/* See More Wrapper */
.see-more-wrapper {
    text-align: left;
    margin: 20px 0 60px 0;
}
.see-more-wrapper .add-to-cart {
    padding: 12px 28px;
}

/* FullSetproduct */
.package-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.package-products .package-card {
    flex: 1 1 300px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.package-products .package-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-products .product-actions {
    margin-top: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.package-products .product-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-products .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-products .product-category {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cart Page Styling */
#cartItems {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    padding: 32px 24px;
    max-width: 500px;
    margin: 40px auto 0 auto;
}

#cartItems ul {
    padding: 0;
    margin: 0;
}

#cartItems li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
    padding: 16px 0;
    font-size: 1.1rem;
}

#cartItems li:last-child {
    border-bottom: none;
}

#cartItems span:first-child {
    font-weight: 600;
    color: #2d3748;
}

#cartItems span:last-child {
    color: #e83e8c;
    font-weight: 700;
}

#cartTotal {
    max-width: 500px;
    margin: 16px auto 0 auto;
    font-size: 1.2rem;
    color: #2d3748;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 24px;
    text-align: right;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.04);
}

/* Cart Table Styling */
#cartTableWrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    padding: 32px 24px;
    max-width: 500px;
    margin: 40px auto 0 auto;
}

#cartTable {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

#cartTable th, #cartTable td {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 1.1rem;
}

#cartTable th {
    text-align: left;
    color: #2d3748;
    font-weight: 700;
    background: #f8f9fa;
}

#cartTable tr:last-child td {
    border-bottom: none;
}

#cartTotal {
    font-size: 1.2rem;
    color: #2d3748;
    font-weight: bold;
    text-align: right;
    margin-bottom: 16px;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: #e83e8c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    transition: background 0.2s;
}
.checkout-btn:hover:enabled {
    background: #c2185b;
}
.checkout-btn:disabled {
    cursor: not-allowed;
}
.remove-btn {
    background: none;
    border: none;
    color: #e83e8c;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 2px 8px;
    border-radius: 4px;
}
.remove-btn:hover {
    background: #ffe6f0;
    color: #c2185b;
}
.custom-package-card {
    display: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
}
.custom-package-card.active {
    display: block;
}
.custom-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    max-height: 500px;
}
.custom-slider-images {
    display: flex;
    overflow: hidden;
    position: relative;
    max-height: 350px;
}
.custom-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.custom-slider-img.custom-active {
    display: block;
}
.custom-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}
.custom-slider-btn.custom-prev {
    left: 10px;
}
.custom-slider-btn.custom-next {
    right: 10px;
}
.custom-package-info {
    padding: 10px;
}
.custom-card-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    justify-content: flex-start;
}
.custom-card-actions .add-to-cart {
    padding: 8px 16px;
    background: #e83e8c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.custom-card-actions .add-to-cart:hover {
    background: #d6336c;
}
/* Glass Background */
.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/* Modal Close Button */
.men-modal-close,
.women-modal-close,
.kids-modal-close {
    position: absolute;
    top: 70px;
    right: 10px;
    background: #e83e8c;
    border: none;
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    width: 45px;
    height: 45px;
    border-radius: 50%;

    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.men-modal-close:hover,
.women-modal-close:hover,
.kids-modal-close:hover {
    background: #d6336c;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
/* Responsive */
@media (max-width: 670px) {
    .header-top .logo {
        font-size: 1.2rem;
    }

    .header-top .logo i {
        font-size: 1rem;
        margin-right: 5px;
    }

    .header-top {
        padding: 10px 15px;
    }

    .header-top .nav-links{
     display: none;

    }
    .hero {
        margin: auto;
        height: 70vh;
        min-height: 400px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .btn {
        padding: 10px 20px;
    }
    .btn-outline {
        margin-left: 10px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .modal-content {
        padding: 20px;
    }

  .menu {
    display: flex !important;

  }
  .header-top.sidebar {
    display: flex !important;
  }
  .header-top.sidebar .nav-links {
    display: flex !important;
  }
  
  .custom-package-card {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 16px 8px;
    box-sizing: border-box;
  }
}

#paymentModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

#paymentModal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

#paymentModal .modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    margin: 20px auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

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

.modal-title {
    margin-bottom: 24px;
    color: var(--dark);
    font-size: 1.5rem;
    text-align: center;
}

.centered-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.centered-modal .Men-container,
.centered-modal .Women-container,
.centered-modal .Kids-container {
    background: #fff;
    border-radius: 16px;
    padding: 16px 24px 32px 24px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

#glassBgWomen {
    margin: 0 !important;
    padding: 0 !important;
}

/* Add spacing between custom-package-card inside Men-container */
.Men-container,
.Women-container,
.Kids-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background: none !important;
}

.custom-package-card {
    margin: 0; /* Remove any default margin if present */
}

#custom-package {
    display: none;
}
.men-modal-close,
.women-modal-close,
.kids-modal-close {
    display: flex !important;
    position: absolute;
    top: 16px;
    right: 16px;
    background: #e83e8c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 5rem;
    z-index: 10001;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 670px) {
    .men-modal-close {
        display: flex;
    }
}

.custom-package-card {
    display: none;
}
.custom-package-card.active {
    display: flex;
    flex-direction: column;
}
.custom-pack-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0 0 0;
    gap: 16px;
}
.custom-card-nav {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    z-index: 2;
    margin: 0;
}

.custom-card-nav.custom-prev {
    margin-right: 0;
}
.custom-card-nav.custom-next {
    margin-left: 0;
}

.custom-card-nav:hover {
    background: #e83e8c;
    color: white;
}
.custom-card-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.custom-card-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.custom-card-actions .add-to-cart {
    background: var(--primary);
    color: white;
}

.custom-card-actions .add-to-cart:hover {
    background: var(--primary-dark);
}


/* FAQ Section Styles */
#faq {
    background: var(--light-gray);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(44,55,130,0.07);
    padding: 40px 32px;
    margin-bottom: 60px;
  }
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .faq-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(44,55,130,0.05);
    overflow: hidden;
    transition: box-shadow 0.2s;
  }
  .faq-item:focus-within, .faq-item:hover {
    box-shadow: 0 4px 16px rgba(44,55,130,0.10);
  }
  .faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 18px 20px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
  }
  .faq-question[aria-expanded="true"] {
    background: var(--light-gray);
  }
  .faq-question::after {
    content: '\25BC';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s;
    font-size: 1rem;
    color: var(--primary);
  }
  .faq-question[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .faq-answer {
    padding: 0 20px 18px 20px;
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
    background: #fff;
    border-top: 1px solid var(--light-gray);
  }
  @media (max-width: 900px) {
    #faq {
      padding: 32px 10px;
    }
  }
  @media (max-width: 670px) {
    #faq {
      padding: 24px 2vw;
      margin-bottom: 40px;
    }
    .faq-question {
      font-size: 1rem;
      padding: 14px 12px;
    }
    .faq-answer {
      font-size: 0.97rem;
      padding: 0 12px 14px 12px;
    }
  }
  

@media (max-width: 670px) {
    .custom-card-nav.custom-prev {
        left: -18px;
        top: 50%;
        transform: translateY(-50%);
    }
    .custom-card-nav.custom-next {
        right: -18px;
        top: 50%;
        transform: translateY(-50%);
    }
    .custom-card-nav {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .custom-package-card {
        padding-bottom: 0;
    }
}
/* Custom Package Containers */
.Men-container,
.Women-container,
.Kids-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 580px;
    height: 100vh;
    z-index: 1000;
    background: white;
    padding: 2rem;
    overflow-y: auto;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    /* display: none; This was causing issues in conjunction with JS display control */
}

.Men-container::-webkit-scrollbar,
.Women-container::-webkit-scrollbar,
.Kids-container::-webkit-scrollbar {
    display: none;
}

.Men-container.centered-modal,
.Women-container.centered-modal,
.Kids-container.centered-modal {
    display: flex;
    flex-direction: column;
}

/* Close buttons for custom packages */
.men-modal-close,
.women-modal-close,
.kids-modal-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    z-index: 1001;
}

.men-modal-close:hover,
.women-modal-close:hover,
.kids-modal-close:hover {
    color: #e83e8c;
}

/* Custom package content */
.custom-pack {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.custom-package-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.custom-package-card.active {
    display: flex !important; /* Ensure active card is displayed */
}

.custom-slider-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 0;
}

.custom-slider-images {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.custom-slider-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start;
}

.custom-package-info {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.custom-card-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

/* Consolidated and Corrected Navigation Styles */
.custom-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px; 
    z-index: 10;
}

.custom-card-nav {
    background: rgba(255, 255, 255, 0.9); /* Lighter background for buttons */
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333; /* Darker text for better contrast */
    z-index: 2;
    transition: background 0.2s, color 0.2s; /* Smooth transition */
}

.custom-card-nav:hover {
    background: var(--primary);
    color: white;
}

/* Specific positioning for prev/next buttons within custom-navigation */
.custom-card-nav.custom-prev {
    margin-right: 0;
}

.custom-card-nav.custom-next {
    margin-left: 0;
}

/* Responsive adjustments for custom package elements */
@media (max-width: 768px) {
    .custom-package-card {
        width: 100%;
        min-width: 100%;
    }
    
    .custom-navigation {
        padding: 0 5px; 
    }

    .custom-card-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 670px) {
    .men-modal-close,
    .women-modal-close,
    .kids-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }

    .custom-pack {
        padding: 0.5rem;
        overflow: visible; /* Ensure content is not clipped */
    }

    .custom-package-card {
        padding: 16px 8px;
    }

    .custom-navigation {
        padding: 0;
    }
}

/* Mobile Styles */
@media (max-width: 670px) {
    .package-products {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .package-card {
        width: 100%;
        margin: 0;
    }

    .product-img, .package-img {
        height: 200px;
    }

    .package-info {
        padding: 15px;
    }

    .product-category {
        font-size: 14px;
    }

    .current-price {
        font-size: 16px;
    }

    .package-desc {
        font-size: 12px;
    }

    .product-actions {
        flex-direction: row;
        gap: 8px;
    }

    .product-actions button {
        padding: 8px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* Custom Package Modal Styles */
    .Men-container, .Women-container, .Kids-container {
        width: 80%;
        margin: 10px auto;
        padding: 15px;
    }

    .custom-pack {
        padding: 10px;
    }

    .custom-package-card {
        margin: 10px 0;
    }

   /*  .custom-slider-wrapper {
        height: 250px;
    }

    .custom-slider-images {
        height: 350px !important;
    }

    .custom-slider-img {
        height: 100%;
    }
 */
    .custom-package-info {
        padding: 15px;
    }

    .custom-package-info p {
        font-size: 1rem !important;
        margin-bottom: 10px;
        font-weight: 700 !important;
    }

}

/* Tablet Styles */
@media (min-width: 671px) and (max-width: 768px) {
    .package-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px;
        align-items: stretch;
    }

    .package-card {
        width: 100%;
        height: 100%;
        /* display and flex-direction are inherited or globally set */
    }

    .product-img, .package-img {
        height: 250px !important;
        width: 100%;
        flex-shrink: 0;
    }
    .product-img img,
    .package-img img {
        width: 100%;
        height: 250px !important;
        object-fit: contain !important;
    }

    .package-info {
        padding: 20px;
        flex-grow: 1;
        height: 200px !important; /* Set fixed height for info section */
        overflow: auto;
        min-height: 0;
    }

    .product-category {
        font-size: 15px;
    }

    .current-price {
        font-size: 18px;
    }

    .package-desc {
        font-size: 13px;
    }

    .product-actions {
        gap: 10px;
    }
    .check-package {
        flex: 2; /* Allow check-package to grow larger */
        padding: 8px;
    }


    /* Custom Package Modal Styles */
    .Men-container, .Women-container, .Kids-container {
        width: 80%;
        margin: 20px auto;
        padding: 20px;
    }

    .custom-pack {
        padding: 15px;
    }

    .custom-package-card {
        margin: 15px 0;
    }

 /*    .custom-slider-wrapper {
        height: 350px;
    }

    .custom-slider-images {
        height: 400px!important;
    }

    .custom-slider-img {
        height: 100%!important;
    } */

    .custom-package-info {
        padding: 20px;
    }

    .custom-package-info p {
        font-size: 1rem!important;
        font-weight: 500!important;
        margin-bottom: 10px;
    }

    .custom-card-actions {
        gap: 15px;
    }

    .custom-card-actions button,
    .custom-card-actions .cart-icon {
        padding: 10px 20px;
    }
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}


.menu-icon {
    display: none; /* Hide by default on desktop */
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: color 0.3s;
}

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

@media (max-width: 670px) {
    .menu-icon {
        display: block; /* Show only on mobile */
    }

    .nav-links {
        display: none;
    }
}

.custom-package-info p strong {
    font-weight: 700!important;
    font-size: 1.2rem;
}


.custom-package-sections {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .custom-package-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .custom-package-sections {
        padding: 0.75rem;
    }
}

/* Men's Custom Section Grid Layout */
.men-custom,
.women-custom,
.kids-custom {
    display: grid!important;
    grid-template-columns: repeat(3, 1fr)!important;
    gap: 20px!important;
    padding: 20px!important;
    max-width: 1200px!important;
    margin: 0 auto!important;
}

.men-custom .custom-package-card, 
.women-custom .custom-package-card,
.kids-custom .custom-package-card {
    display: flex!important;
    flex-direction: column!important;
    background: white!important;
    border-radius: 8px!important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)!important;
    overflow: hidden!important;
    transition: transform 0.3s ease!important;
}

.men-custom .custom-package-card:hover,
.women-custom .custom-package-card:hover,
.kids-custom .custom-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.men-custom .custom-slider-wrapper,
.women-custom .custom-slider-wrapper,
.kids-custom .custom-slider-wrapper {
    width: 100%!important;
    position: relative!important;
}

.men-custom .custom-slider-images,
.women-custom .custom-slider-images, 
.kids-custom .custom-slider-images {
    width: 100%!important;
    height: 500px!important;
    overflow: hidden!important;
}

.men-custom .custom-slider-img,
.women-custom .custom-slider-img,
.kids-custom .custom-slider-img {
    width: 100%!important;
    height: 100%!important;
    object-fit: fill !important;
}

.men-custom .custom-package-info,
.women-custom .custom-package-info,
.kids-custom .custom-package-info {
    padding: 15px!important;
    flex-grow: 1!important;
    display: flex!important;
    flex-direction: column!important;
    min-height: 150px!important; /* Ensure minimum height for consistent layout */
}


.men-custom .custom-package-info span,
.women-custom .custom-package-info span,
.kids-custom .custom-package-info span{
    display: flex;
    flex-direction: column;
}



.men-custom .custom-card-actions,
.women-custom .custom-card-actions,
.kids-custom .custom-card-actions {
    margin-top: auto!important;
    display: flex!important;
    gap: 10px!important;
    padding: 15px!important;
    border-top: 1px solid #eee!important;
    background: #f8f9fa!important;
    width: 100%!important;
    margin-left: -15px!important; /* Compensate for parent padding */
    margin-right: -15px!important; /* Compensate for parent padding */
    margin-bottom: -15px!important; /* Compensate for parent padding */
    border-radius: 0 0 8px 8px!important; /* Match parent's bottom border radius */
}

.men-custom .custom-card-actions button,
.women-custom .custom-card-actions button,
.kids-custom .custom-card-actions button {
    flex: 1!important;
    padding: 12px!important;
    border: none!important;
    border-radius: 4px!important;
    cursor: pointer!important;
    font-weight: 500!important;
    transition: all 0.3s ease!important;
    text-align: center!important;
}


@media (max-width: 900px) {
    .men-custom,
    .women-custom,
    .kids-custom {
        grid-template-columns: repeat(2, 1fr)!important;
        gap: 15px!important;
        padding: 15px!important;
    }
}

@media (max-width: 670px) {
    .men-custom,
    .women-custom,
    .kids-custom {
        grid-template-columns: 1fr!important;
        gap: 10px!important;
        padding: 10px!important;
    }

    .men-custom .custom-slider-images,
    .women-custom .custom-slider-images,
    .kids-custom .custom-slider-images {
        height: 350px!important;
    }
}