/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #24b9bb;
    --secondary-color: #144545;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --whatsapp-color: #25d366;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-brand a {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-link {
    position: relative;
    color: var(--text-dark);
    font-size: 1.3rem;
    transition: color 0.3s;
}

.icon-link:hover {
    color: var(--primary-color);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--error-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   SECTIONS & TITLES
   ========================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-dark);
}

.subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ==========================================
   CATEGORIES SECTION
   ========================================== */
.categories {
    padding: 60px 20px;
    background: var(--bg-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.category-card p {
    color: var(--text-light);
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.featured-products,
.products-section {
    padding: 60px 20px;
}

.products-section {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Square container like before */
.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;               /* perfect square */
  background: #f7f7f7;           /* neutral backdrop */
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Show entire image inside square without crop */
.product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;                    /* keep natural ratio */
  height: auto;
  object-fit: contain;            /* ensure full image visible */
  object-position: center;
  padding: 10px;                  /* breathing space */
  display: block;
  transition: transform 0.25s ease;
}

/* Keep hover subtle without breaking layout */
.product-card:hover .product-image img {
  transform: scale(1.03);
}

/* Prevent previous rules from forcing cover */
.product-card .product-image img {
  object-fit: contain !important;
}
/* === PRODUCT CARD IMAGE - FINAL OVERRIDES === */
.product-card .product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;                  /* square card */
  display: grid;
  place-items: center;
  background: #f7f7f7;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.product-card .product-image img {
  /* kill any previous sizing */
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;

  /* ensure full image visible, centered */
  object-fit: contain !important;
  object-position: center !important;

  /* visual polish */
  padding: 10px;
  display: block;
  transition: transform 0.25s ease;
}

/* Slight hover without layout shift */
.product-card:hover .product-image img {
  transform: scale(1.03);
}

/* If small screens still feel wide, use portrait-ish card */
@media (max-width: 600px) {
  .product-card .product-image {
    aspect-ratio: 4 / 5;           /* like marketplace listing */
  }
}



.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: all 0.3s;
    z-index: 10;
}

.wishlist-btn:hover,
.wishlist-btn.active {
    color: var(--error-color);
    transform: scale(1.1);
}

.product-info-card {
    padding: 1.5rem;
}

.product-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.product-price .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
}

/* ==========================================
   PRODUCTS PAGE - FILTERS
   ========================================== */
.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.filters-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.filters-sidebar h3 {
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.filter-toggle-btn {
    display: none;
    width: 100%;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.filter-toggle-btn i {
    transition: transform 0.3s;
}

.filter-toggle-btn.active i {
    transform: rotate(180deg);
}

.products-main {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.sort-options select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

/* ==========================================
   PRODUCT DETAIL PAGE
   ========================================== */
.product-detail {
    padding: 60px 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-btn-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s;
}

.wishlist-btn-large:hover,
.wishlist-btn-large.active {
    color: var(--error-color);
    transform: scale(1.1);
}

.wishlist-btn-large.active i {
    animation: heartBeat 0.3s;
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--primary-color);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.product-description,
.product-specs {
    margin: 2rem 0;
}

.product-description h3,
.product-specs h3 {
    margin-bottom: 1rem;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.product-specs li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.size-selector,
.quantity-selector {
    margin: 1.5rem 0;
}

.size-selector h4,
.quantity-selector h4 {
    margin-bottom: 0.5rem;
}

.required {
    color: var(--error-color);
}

.size-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.size-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s;
}

.size-guide-link:hover {
    color: var(--secondary-color);
    gap: 0.5rem;
}

.size-guide-link i {
    font-size: 0.85rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.quantity-controls button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-controls input {
    width: 60px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    font-size: 1rem;
}

.delivery-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.delivery-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.delivery-info i {
    color: var(--primary-color);
}

/* ==========================================
   WISHLIST & CART PAGES
   ========================================== */
.wishlist-section,
.cart-section {
    padding: 60px 20px;
    min-height: 60vh;
}

.wishlist-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-item-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details h3 {
    margin-bottom: 0.5rem;
}

.cart-item-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.remove-btn:hover {
    transform: scale(1.1);
}

.cart-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    border-bottom: none;
}

.payment-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.payment-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.payment-info i {
    color: var(--primary-color);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ==========================================
   CUSTOM DESIGN PAGE
   ========================================== */
.custom-design-section {
    padding: 60px 20px;
    min-height: 60vh;
    background: var(--bg-light);
}

.custom-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.custom-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quantity-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-input-wrapper input {
    width: 80px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.design-upload-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.design-upload-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.design-upload-info i {
    color: var(--primary-color);
}

.design-upload-info ul {
    list-style: none;
    padding-left: 0;
}

.design-upload-info li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-dark);
}

.design-upload-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==========================================
   SIZE CHART MODAL
   ========================================== */
.size-chart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.size-chart-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.size-chart-content {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s;
}

.size-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 12px 12px 0 0;
}

.size-chart-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.size-chart-header i {
    color: var(--primary-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-modal:hover {
    background: var(--error-color);
    color: white;
}

.size-chart-body {
    padding: 2rem;
}

.size-chart-note {
    background: #fff3cd;
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    color: #856404;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.size-chart-note i {
    color: var(--accent-color);
    margin-top: 2px;
}

.size-table-wrapper {
    margin-bottom: 2.5rem;
}

.size-table-wrapper h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.size-table thead {
    background: var(--primary-color);
    color: white;
}

.size-table th,
.size-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.size-table th {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-table tbody tr {
    transition: background 0.3s;
}

.size-table tbody tr:hover {
    background: var(--bg-light);
}

.size-table tbody tr:last-child td {
    border-bottom: none;
}

.size-table td strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.measuring-guide {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.measuring-guide h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.measuring-guide h3 i {
    color: var(--primary-color);
}

.measure-instructions {
    display: grid;
    gap: 1rem;
}

.measure-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.measure-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.measure-text {
    flex: 1;
}

.measure-text strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.3rem;
}

.size-chart-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.size-chart-footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.size-chart-footer i {
    color: var(--primary-color);
}

.whatsapp-link-inline {
    color: var(--whatsapp-color);
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-link-inline:hover {
    text-decoration: underline;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    padding: 60px 20px;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--whatsapp-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.3s;
}

.whatsapp-link:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================
   RESPONSIVE - TABLET (968px)
   ========================================== */
@media (max-width: 968px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .filter-toggle-btn {
        display: flex;
    }

    .filters-sidebar {
        display: none;
        position: static;
    }

    .filters-sidebar.active {
        display: block;
        margin-bottom: 1.5rem;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE (768px)
   ========================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title,
    .page-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-info-card {
        padding: 1rem;
    }

    .product-info-card h3 {
        font-size: 0.9rem;
    }

    .product-price .price {
        font-size: 1.2rem;
    }

    .product-actions .btn {
        font-size: 0.8rem;
        padding: 8px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cart-item-image img {
        width: 100%;
        height: 200px;
    }

    .cart-item-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .products-header {
        flex-direction: column;
        gap: 1rem;
    }

    .sort-options select {
        width: 100%;
    }

    .custom-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .size-buttons {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }

    .size-btn {
        width: 100%;
        padding: 12px 0;
    }

    .quantity-input-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .quantity-input-wrapper input {
        flex: 1;
    }

    .qty-btn {
        width: 50px;
        height: 50px;
    }

    .design-upload-info {
        padding: 1rem;
    }

    .design-upload-info h3 {
        font-size: 1rem;
    }

    .design-upload-info li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    .btn-large {
        font-size: 1rem;
        padding: 14px 20px;
    }

    .size-chart-content {
        max-height: 95vh;
        margin: 10px;
    }

    .size-chart-header {
        padding: 1rem 1.5rem;
    }

    .size-chart-header h2 {
        font-size: 1.3rem;
    }

    .size-chart-body {
        padding: 1.5rem;
    }

    .size-table {
        font-size: 0.85rem;
    }

    .size-table th,
    .size-table td {
        padding: 0.7rem 0.5rem;
    }

    .measure-item {
        flex-direction: column;
        text-align: center;
    }

    .measure-icon {
        font-size: 2rem;
    }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (480px)
   ========================================== */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .custom-design-section {
        padding: 40px 15px;
    }

    .custom-form {
        padding: 1rem;
        border-radius: 8px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .size-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .size-btn {
        font-size: 0.9rem;
        height: 45px;
    }

    .size-chart-header h2 {
        font-size: 1.1rem;
    }

    .size-table {
        font-size: 0.75rem;
    }

    .size-table th,
    .size-table td {
        padding: 0.5rem 0.3rem;
    }

    .measuring-guide {
        padding: 1rem;
    }

    .size-chart-footer {
        font-size: 0.9rem;
    }
}


/* Hero AI Style Section */
/* Hero AI Style Section */
.hero-ai-style {
  background: linear-gradient(110deg, #f6f5f3 60%, #f4f7fa 100%);
  min-height: 480px;
  padding: 0;
}

.hero-ai-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
  padding: 3.5rem 2vw 1.5rem 2vw;
  position: relative;
  z-index: 1;
}

.hero-ai-left {
  flex: 1.2;
  padding-right: 1rem;
  min-width: 300px;
  position: relative;
  z-index: 2;
  color: #232324;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 1.1rem;
  line-height: 1.1;
  color: #232324;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  font-size: 1.17rem;
  color: #555;
  margin-bottom: 2.2rem;
}

.hero-ai-right {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.hero-ai-img {
  width: 100%;
  max-width: 490px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 50px 7px rgba(77,75,188,0.08), 0 0 1px #ececec;
  background: #f5f9fb;
  object-fit: contain;
  object-position: center;
  /* REMOVED: position absolute and opacity 0 - this was hiding the image */
}

/* MEDIA QUERIES */
@media (max-width: 900px) {
  .hero-ai-layout {
    flex-direction: column;
    padding: 4rem 1.5rem 1rem 1.5rem;
    text-align: center;
    position: relative;
    min-height: 500px;
  }

  .hero-ai-left {
    padding-right: 0;
    z-index: 10;
    position: relative;
  }

  .hero-ai-right {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: 100%;
  }

  .hero-ai-img {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* light opacity background on mobile */
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
  }

  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-ai-img {
    opacity: 0.12;
  }

  .hero-title {
    color: #000;
    font-size: 1.45rem;
    font-family: balmoral seript;
  }

  .hero-subtitle {
    color: #000;
    font-size: 1.01rem;
    font-family: balmoral seript;
  }
}

/* ==========================================
   PRODUCT IMAGE SLIDER & LIGHTBOX
   ========================================== */

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 5;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 15px;
}

.next-arrow {
    right: 15px;
}

/* Main Image Cursor */
.main-image img {
    cursor: zoom-in;
}

/* Thumbnail Images */
.thumbnail-images {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.thumbnail-images img:hover {
    border-color: var(--primary-color);
    opacity: 0.8;
}

.thumbnail-images img.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--error-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .lightbox-close {
        font-size: 35px;
        top: 10px;
        right: 15px;
    }
}




