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

/* Firefox-specific fixes and improvements */
* {
  -moz-box-sizing: border-box;
}

body {
  -moz-font-feature-settings: "liga" on, "calt" on;
  text-rendering: optimizeLegibility;
}

/* Firefox backdrop-filter fallback - add semi-transparent background when backdrop-filter is not supported */
@supports not (backdrop-filter: blur(10px)) {
  .product-card {
    background-color: rgba(255, 255, 255, 0.98);
  }
  
  .badge-featured,
  .badge-pid,
  .badge-product-type,
  .badge-cod-unavailable {
    background-color: rgba(255, 255, 255, 0.95);
  }
  
  /* Watermark removed */
  
  .modal-backdrop {
    background-color: rgba(14, 4, 6, 0.85);
  }
}

:root {
  --maroon: #0e0406;
  --maroon-dark: #0a0304;
  --maroon-light: #150608;
  --gold: #d4af37;
  --gold-light: #f4d03f;
  --gold-dark: #b8941f;
  --cream: #f5f5dc;
  --white: #ffffff;
  --text-dark: #333;
  --text-light: #666;
}

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

body {
  font-family: 'Lora', 'Times New Roman', serif;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* Prevent horizontal scrolling on all devices */
html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* Ensure all containers respect viewport width */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

/* Fix for Bootstrap rows on mobile */
.row {
  margin-left: -15px;
  margin-right: -15px;
  max-width: 100%;
}

.row > * {
  padding-left: 15px;
  padding-right: 15px;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', 'Lora', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
  min-height: 60px;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: sticky;
  top: 0;
  z-index: 1010;
}

/* Hide auth-dependent menus by default - will be shown by JavaScript */
#my-orders-menu,
#user-menu {
  display: none;
}

/* Show login link by default - will be hidden by JavaScript if logged in */
#login-link {
  display: block !important;
}

.navbar-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.navbar-brand img {
  display: block !important;
}

.navbar-brand:hover {
  transform: scale(1.02);
  color: var(--gold-light) !important;
}

.navbar-logo {
  height: 45px;
  width: auto;
  max-width: 120px;
  min-width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.navbar-brand:hover .navbar-logo {
  filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5));
  transform: scale(1.05);
}

.navbar-logo-fallback {
  font-size: 2rem;
  color: var(--gold);
  margin-right: 8px;
}

.navbar-brand-text {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .navbar-logo {
    height: 40px;
    max-width: 100px;
    min-width: 35px;
    margin-right: 8px;
  }
  
  .navbar-brand-text {
    font-size: 0.9em;
  }
}

@media (max-width: 576px) {
  .navbar-logo {
    height: 35px;
    max-width: 80px;
    margin-right: 6px;
  }
  
  .navbar-brand-text {
    font-size: 0.85em;
  }
}

.navbar-nav .nav-link {
  color: var(--cream) !important;
  font-weight: 500;
  margin: 0 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .nav-link i {
  font-size: 1.1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
  display: none;
}

.navbar-toggler {
  border: 2px solid var(--gold);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Cart Badge */
.nav-link .badge {
  font-size: 0.65rem;
  padding: 0.25em 0.5em;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Improvements */
@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 8px;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(212, 175, 55, 0.2);
  }
  
  .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0.5rem;
    border: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.95rem;
  }
  
  .navbar-nav .nav-link i {
    font-size: 1.2rem;
    width: 24px;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--maroon-dark) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(212, 175, 55, 0.03) 50px,
      rgba(212, 175, 55, 0.03) 100px
    );
  opacity: 0.6;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(212, 175, 55, 0.03) 2px,
      rgba(212, 175, 55, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(212, 175, 55, 0.03) 2px,
      rgba(212, 175, 55, 0.03) 4px
    );
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-logo {
  max-width: 350px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 2;
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--cream);
}

.tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-light);
  margin: 1rem 0;
}

/* About Section Taglines */
.taglines-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.tagline-item {
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  transition: all 0.3s ease;
}

.tagline-item:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: translateX(5px);
}

.tagline-telugu {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 0.5rem;
  font-family: 'Lora', serif;
}

.tagline-english {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

.about-feature-card {
  transition: all 0.3s ease;
  background: white;
}

.about-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(14, 4, 6, 0.15) !important;
}

@media (max-width: 768px) {
  .taglines-container {
    gap: 1rem;
  }
  
  .tagline-telugu {
    font-size: 1.2rem;
  }
  
  .tagline-english {
    font-size: 0.9rem;
  }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border: none;
  color: var(--maroon-dark);
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-outline-primary {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: translateY(-3px);
}

/* Section Styles */
.section {
  padding: 60px 0;
}

/* Override section padding for product detail page */
.product-detail-page.section {
  padding: 20px 0 !important;
}

.section-title {
  font-family: 'Cinzel', serif;
  text-align: center;
  font-size: 3rem;
  color: var(--maroon);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.section-title {
  position: relative;
}

.section-title::before {
  content: '❋';
  position: absolute;
  bottom: -8px;
  left: calc(50% - 100px);
  color: var(--gold);
  font-size: 1.2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.section-title-wrapper {
  position: relative;
  display: inline-block;
  padding: 0 40px;
}

.section-title-wrapper::before,
.section-title-wrapper::after {
  content: '❋';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.5rem;
}

.section-title-wrapper::before {
  left: 0;
}

.section-title-wrapper::after {
  right: 0;
}

/* Products Section - Myntra Style */
.products-section {
  background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%);
  min-height: calc(100vh - 200px);
  padding: 10px 0 20px 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.filters-sidebar {
  background: white;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: sticky;
  top: 20px;
  margin-bottom: 20px;
  /* Hide by default on all devices - users can expand if needed */
  display: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 20px;
  margin-bottom: 0;
  -moz-transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, margin 0.4s ease;
  -webkit-transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, margin 0.4s ease;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, margin 0.4s ease;
}

.filters-sidebar.show {
  display: block;
  max-height: 2000px;
  opacity: 1;
  padding: 20px;
  margin-bottom: 20px;
}

/* Mobile filter toggle button */
.filter-toggle-btn {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(14, 4, 6, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.filter-toggle-btn:hover {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 4, 6, 0.3);
}

.filter-toggle-btn i {
  transition: transform 0.3s ease;
}

.filter-toggle-btn.active i#filter-toggle-icon {
  transform: rotate(180deg);
}

.filters-container {
  position: relative;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.filter-header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #282c3f;
}

.btn-clear-filters {
  background: none;
  border: none;
  color: #ff3f6c;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.btn-clear-filters:hover {
  text-decoration: underline;
}

.filter-section {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-title {
  font-size: 14px;
  font-weight: 600;
  color: #282c3f;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #535766;
  padding: 4px 0;
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

.filter-option:hover {
  color: #282c3f;
}

/* Mobile: Button-style filters for Category and Price */
@media (max-width: 768px) {
  /* Category and Price filter sections - button style */
  .filter-section.category-filter .filter-options,
  .filter-section.price-filter .filter-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .filter-section.category-filter .filter-option,
  .filter-section.price-filter .filter-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    margin: 0;
    background: white;
    border: 1.5px solid #d4d5d9;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #535766;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 36px;
    position: relative;
  }
  
  .filter-section.category-filter .filter-option input[type="radio"],
  .filter-section.price-filter .filter-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
  }
  
  .filter-section.category-filter .filter-option span,
  .filter-section.price-filter .filter-option span {
    display: inline-block;
  }
  
  .filter-section.category-filter .filter-option:hover,
  .filter-section.price-filter .filter-option:hover {
    border-color: var(--maroon);
    color: var(--maroon);
    background: rgba(14, 4, 6, 0.05);
    transform: translateY(-1px);
  }
  
  .filter-section.category-filter .filter-option input[type="radio"]:checked ~ span,
  .filter-section.price-filter .filter-option input[type="radio"]:checked ~ span {
    color: var(--gold);
    font-weight: 600;
  }
  
  .filter-section.category-filter .filter-option:has(input[type="radio"]:checked),
  .filter-section.price-filter .filter-option:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    border-color: var(--maroon);
    color: var(--gold);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(14, 4, 6, 0.2);
  }
  
  /* Fallback for browsers that don't support :has() - use JavaScript class instead */
  .filter-section.category-filter .filter-option.selected,
  .filter-section.price-filter .filter-option.selected {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    border-color: var(--maroon);
    color: var(--gold);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(14, 4, 6, 0.2);
  }
  
  .filter-section.category-filter .filter-option.selected span,
  .filter-section.price-filter .filter-option.selected span {
    color: var(--gold);
    font-weight: 600;
  }
}

.products-main {
  padding-left: 20px;
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 0;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(14, 4, 6, 0.05);
}

.products-title h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--maroon);
  margin: 0;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 2px rgba(14, 4, 6, 0.1);
}

.products-count {
  font-size: 12px;
  color: #878b94;
  margin-left: 10px;
}

.products-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.products-sort label {
  font-size: 14px;
  color: #282c3f;
  font-weight: 500;
}

.products-sort select {
  width: auto;
  min-width: 150px;
  border: 1px solid #d4d5d9;
  border-radius: 2px;
  padding: 6px 10px;
  font-size: 14px;
}

.products-sort .btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 6px 12px;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  background: white;
  border-radius: 2px;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.products-sort .btn:hover {
  background: var(--maroon);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.products-sort .btn i {
  font-size: 0.9rem;
}

.products-sort .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.products-sort .btn i.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Product Type Navigation Tabs */
.product-type-tabs-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
  margin-top: 0;
}

.product-type-tabs {
  display: flex;
  gap: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(14, 4, 6, 0.05);
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 4, 6, 0.3) transparent;
  max-width: 100%;
  align-items: center;
}

.product-type-tab {
  background: transparent;
  border: 1.5px solid #e5e5e5;
  color: #535766;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: 'Lora', serif;
  text-decoration: none;
}

.product-type-tab i {
  font-size: 13px;
}

.product-type-tab:hover {
  border-color: var(--maroon);
  color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 4, 6, 0.15);
}

.product-type-tab.active {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  border-color: var(--maroon);
  color: var(--gold);
  box-shadow: 0 4px 15px rgba(14, 4, 6, 0.25);
  transform: translateY(-2px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  background: transparent;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Similar Products Section - Responsive */
.similar-products-section {
  padding: 3rem 0;
  background-color: #f8f9fa;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.similar-products-grid,
.view-more-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  background: transparent;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.view-more-products-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(14, 4, 6, 0.02) 0%, rgba(212, 175, 55, 0.02) 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile responsive for similar products */
@media (max-width: 768px) {
  .similar-products-section,
  .view-more-products-section {
    padding: 2rem 0;
  }
  
  .similar-products-grid,
  .view-more-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .similar-products-section,
  .view-more-products-section {
    padding: 1.5rem 0;
  }
  
  .similar-products-grid,
  .view-more-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 5px;
  }
}

#products-container {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Product Cards - Modern Beautiful Design */
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 0;
  border: 1px solid rgba(240, 240, 240, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 16px 40px rgba(14, 4, 6, 0.18), 0 8px 16px rgba(14, 4, 6, 0.12);
  border-color: var(--gold);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.33%; /* 3:4 aspect ratio */
  overflow: hidden;
  background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 50%, #f8f8f8 100%);
  border-radius: 16px 16px 0 0;
  transition: all 0.4s ease;
}

.product-card:hover .product-image-wrapper {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
}

/* Watermark overlay for product images - Removed */

.product-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.3s ease;
  transform: scale(1);
}

.product-image.active {
  opacity: 1;
  z-index: 1;
}

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

/* Image Indicators */
.image-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 10px;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(4px);
  -moz-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.image-indicators .indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-indicators .indicator.active {
  background: white;
  width: 20px;
  border-radius: 3px;
}

.image-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.badge-featured {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ff3f6c 0%, #ff1744 100%);
  color: white;
  padding: 7px 14px;
  border-radius: 22px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(255, 63, 108, 0.5), 0 2px 8px rgba(255, 63, 108, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  animation: pulse 2s ease-in-out infinite;
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

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

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(255, 63, 108, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 63, 108, 0.6);
  }
}

.badge-pid {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(14, 4, 6, 0.3);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 1.5px;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(14, 4, 6, 0.3), 0 2px 10px rgba(212, 175, 55, 0.2);
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 175, 55, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card:hover .badge-pid {
  transform: scale(1.08) translateY(-2px);
  background: rgba(14, 4, 6, 0.4);
  box-shadow: 0 6px 25px rgba(14, 4, 6, 0.4), 0 3px 15px rgba(212, 175, 55, 0.3);
  border-color: var(--gold);
}

.badge-product-type {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--maroon);
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 10px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  -webkit-backdrop-filter: blur(8px);
  -moz-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 4, 6, 0.08);
  transition: transform 0.3s ease, background 0.3s ease;
}

.product-card:hover .badge-product-type {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 1);
}

.badge-gender {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(212, 175, 55, 0.98);
  color: var(--maroon-dark);
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 10px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4), 0 1px 4px rgba(212, 175, 55, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: 1px solid rgba(184, 148, 31, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .badge-gender {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5), 0 2px 8px rgba(212, 175, 55, 0.3);
}

.badge-cod-unavailable {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(200, 35, 51, 0.95) 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.5), 0 2px 8px rgba(220, 53, 69, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.badge-cod-unavailable i {
  font-size: 11px;
}

.product-card:hover .badge-cod-unavailable {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6), 0 3px 10px rgba(220, 53, 69, 0.4);
}

/* Hide rating elements in product cards on home page */
.product-card .product-rating,
.product-card .rating,
.product-card .star-rating,
.product-card .product-rating-label,
.product-card [class*="rating"],
.product-card [class*="star"],
.product-body .product-rating,
.product-body .rating,
.product-body .star-rating {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* PID badge for product detail page - ensure it's visible */
.product-detail-page .product-images-section .badge-pid {
  z-index: 20;
}

.product-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  overflow: visible;
  min-width: 0;
  transition: background 0.3s ease;
}

.product-card:hover .product-body {
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
}

.product-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 6px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.5px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-brand {
  opacity: 1;
}

.product-title-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 13px;
  color: #282c3f;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  cursor: pointer;
  transition: color 0.3s ease;
  flex: 1;
  letter-spacing: 0.2px;
  text-overflow: ellipsis;
  max-height: 3em;
  line-height: 1.5em;
}

.product-card:hover .product-title {
  color: var(--maroon);
  font-weight: 600;
}

.btn-whatsapp-icon-inline {
  background: #25d366;
  border: 1px solid #25d366;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 14px;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-icon-inline:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.4);
}

.product-title-telugu {
  font-size: 10px;
  color: #94969f;
  margin-bottom: 8px;
}

.product-price-container {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  width: 100%;
}

.product-price {
  font-size: 18px;
  color: var(--maroon);
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}

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

.product-price-old {
  font-size: 12px;
  color: #94969f;
  text-decoration: line-through;
  font-weight: 400;
}

.product-discount {
  font-size: 10px;
  color: #ff3f6c;
  font-weight: 700;
  background: rgba(255, 63, 108, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.product-actions .btn {
  flex: 1;
  font-size: 11px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.product-actions .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.product-actions .btn:hover::before {
  width: 300px;
  height: 300px;
}

.product-actions .btn-primary {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  border: none;
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(14, 4, 6, 0.2);
}

.product-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 4, 6, 0.3);
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
}

.product-actions .btn-outline-primary {
  border: 2px solid var(--maroon);
  color: var(--maroon);
  background: white;
}

.product-actions .btn-outline-primary:hover {
  background: var(--maroon);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 4, 6, 0.2);
}


/* Product Share Button */
.product-share {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-share-icon,
.btn-whatsapp-icon {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #282c3f;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 0;
}

.btn-share-icon:hover {
  background: var(--maroon);
  color: white;
  border-color: var(--maroon);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(14, 4, 6, 0.3);
}

.btn-whatsapp-icon {
  background: rgba(37, 211, 102, 0.95);
  color: white;
  border-color: #25d366;
}

.btn-whatsapp-icon:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Share Menu */
.share-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

.share-menu-content {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.share-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
  font-weight: 600;
  font-size: 18px;
  color: #282c3f;
}

.share-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #535766;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.share-menu-close:hover {
  background: #f5f5f5;
  color: #282c3f;
}

.share-menu-options {
  padding: 10px;
}

.share-option-btn {
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: white;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #282c3f;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.share-option-btn:hover {
  background: #f5f5f5;
}

.share-option-btn i {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.share-option-btn:first-child i {
  color: #25D366;
}

.share-option-btn:nth-child(2) i {
  color: #1877F2;
}

.share-option-btn:nth-child(3) i {
  color: #1DA1F2;
}

.share-option-btn:nth-child(4) i {
  color: #0088cc;
}

.share-option-btn:last-child i {
  color: var(--maroon);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .btn-share-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .share-menu-content {
    width: 95%;
  }
  
  .product-discount {
    font-size: 9px;
    padding: 2px 5px;
  }
  
  .badge-pid {
    top: 8px;
    right: 8px;
    padding: 6px 12px;
    font-size: 10px;
    border-radius: 20px;
  }
}

/* Desktop/Laptop: Filters in row at top when expanded */
@media (min-width: 992px) {
  /* Filter toggle button visible on desktop */
  .filter-toggle-btn {
    display: flex;
  }
  
  /* When filters are collapsed (default), hide sidebar */
  .filters-sidebar:not(.show) {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 20px;
    margin-bottom: 0;
  }
  
  /* When filters are expanded, show sidebar */
  .filters-sidebar.show {
    display: block;
    position: sticky;
    top: 20px;
    width: auto;
    max-width: none;
    opacity: 1;
    max-height: 2000px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  /* Expanded filters row at top */
  #filters-expanded-row {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
  }
  
  #filters-expanded-row.show .filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  #filters-expanded-row.show .filter-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid #e5e5e5;
    padding-right: 20px;
  }

  #filters-expanded-row.show .filter-section:last-child {
    border-right: none;
  }
  
  /* When filters are expanded, products take full width */
  #filters-expanded-row.show ~ .row .products-main,
  .row:has(#filters-expanded-row.show) ~ .row .products-main {
    width: 100%;
    padding-left: 0;
    margin-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .filters-sidebar.show {
    position: sticky;
    top: 20px;
  }
}

@media (max-width: 768px) {
  /* Mobile: Filters hidden by default (inherited from base) */
  .filters-sidebar {
    position: relative;
    top: 0;
    -moz-transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, margin 0.4s ease;
    -webkit-transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, margin 0.4s ease;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease, margin 0.4s ease;
  }

  .filters-sidebar.show {
    position: relative;
    top: 0;
  }
  
  .products-section {
    padding: 15px 0;
  }
  
  .products-main {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  /* Ensure product cards don't overflow */
  .product-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
  
  .products-header {
    padding: 12px 15px;
    margin-bottom: 15px;
  }
  
  .product-type-tabs {
    padding: 8px 12px;
    margin-bottom: 12px;
    gap: 6px;
  }
  
  .product-type-tab {
    padding: 5px 12px;
    font-size: 11px;
  }
  
  .product-type-tab i {
    font-size: 12px;
  }
}

/* Extra small devices (phones in portrait, like Vivo S1 Pro) */
@media (max-width: 480px) {
  .products-section {
    padding: 10px 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 5px;
  }
  
  .container,
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
  }
  
  .row {
    margin-left: -10px;
    margin-right: -10px;
    max-width: 100%;
  }
  
  .row > * {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
  }
  
  .products-main {
    padding-left: 0;
    padding-right: 0;
  }
  
  .product-card {
    font-size: 0.9rem;
    width: 100%;
    max-width: 100%;
  }
  
  .product-price-container {
    gap: 4px;
    flex-wrap: nowrap;
    align-items: center;
  }
  
  .product-price {
    font-size: 16px;
    flex-shrink: 0;
  }
  
  .product-price-old {
    font-size: 12px;
    flex-shrink: 0;
  }
  
  .product-discount {
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: fit-content;
  }
  
  .product-actions {
    gap: 6px;
    padding-top: 8px;
  }
  
  .product-actions .btn {
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 4px;
  }
  
  .products-header {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .product-type-tabs {
    padding: 8px 10px;
    margin-bottom: 10px;
    gap: 5px;
  }
  
  .product-type-tab {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .product-type-tab i {
    font-size: 11px;
  }
  
  .size-options {
    gap: 6px;
  }
  
  .size-option {
    min-width: 35px;
    height: 35px;
    font-size: 11px;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .navbar-logo {
    height: 32px;
    max-width: 70px;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .products-section {
    padding: 8px 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 4px;
  }
  
  .container,
  .container-fluid {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100%;
  }
  
  .row {
    margin-left: -8px;
    margin-right: -8px;
    max-width: 100%;
  }
  
  .row > * {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 100%;
  }
  
  .products-main {
    padding-left: 0;
    padding-right: 0;
  }
  
  .products-header {
    padding: 8px 10px;
  }
  
  .product-type-tabs {
    padding: 6px 8px;
    margin-bottom: 8px;
    gap: 4px;
  }
  
  .product-type-tab {
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .product-type-tab i {
    font-size: 10px;
  }
  
  .product-price-container {
    gap: 3px;
    flex-wrap: nowrap;
    align-items: center;
  }
  
  .product-price {
    font-size: 14px;
    flex-shrink: 0;
  }
  
  .product-price-old {
    font-size: 10px;
    flex-shrink: 0;
  }
  
  .product-discount {
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: fit-content;
  }
  
  .product-actions {
    gap: 5px;
    padding-top: 6px;
  }
  
  .product-actions .btn {
    font-size: 9px;
    padding: 4px 6px;
    border-radius: 4px;
  }
  
  .size-options {
    gap: 5px;
  }
  
  .size-option {
    min-width: 32px;
    height: 32px;
    font-size: 10px;
  }
}

/* Additional responsive fixes for all mobile devices */
@media (max-width: 768px) {
  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Fix product images */
  .product-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  /* Fix text overflow */
  .product-title,
  .product-name,
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Ensure all sections respect viewport */
  .section {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Fix navbar on small screens */
  .navbar-collapse {
    max-width: 100%;
  }
  
  .navbar-nav {
    max-width: 100%;
  }
  
  .navbar-nav .nav-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Ensure products container is properly constrained */
  #products-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  /* Ensure container-fluid doesn't cause overflow */
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Fix for specific device issues (Vivo S1 Pro and similar) */
@media (max-width: 480px) and (min-width: 360px) {
  /* Ensure proper spacing */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 5px;
    gap: 10px;
  }
  
  /* Fix product card padding */
  .product-card {
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  
  /* Ensure buttons are touch-friendly */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  color: var(--cream);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer h5 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer a {
  color: #303026;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--gold);
}

/* Cart Badge */
.cart-badge {
  background: var(--gold);
  color: var(--maroon-dark);
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-left: 5px;
}

/* Form Styles */
.form-control {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

/* Alert Styles */
.alert {
  border-radius: 10px;
  border: none;
  padding: 15px 20px;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
}

/* Loading Spinner */
.spinner-border {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Decorative Elements */
.decorative-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px 0;
}

/* Share Buttons */
.share-section {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 20px;
}

.share-buttons {
  margin-top: 10px;
}

.btn-share {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
}

.btn-share i {
  font-size: 16px;
}

.btn-whatsapp {
  background: #25D366;
}

.btn-whatsapp:hover {
  background: #20BA5A;
}

.btn-facebook {
  background: #1877F2;
}

.btn-facebook:hover {
  background: #166FE5;
}

.btn-twitter {
  background: #1DA1F2;
}

.btn-twitter:hover {
  background: #1A91DA;
}

.btn-telegram {
  background: #0088cc;
}

.btn-telegram:hover {
  background: #0077B5;
}

.btn-link {
  background: var(--maroon);
}

.btn-link:hover {
  background: var(--maroon-dark);
}

@media (max-width: 768px) {
  .share-buttons {
    flex-direction: column;
  }
  
  .btn-share {
    width: 100%;
    justify-content: center;
  }
}

/* Product Detail Page - Myntra Style */
.product-detail-page {
  background: #f5f5f5 !important;
  min-height: calc(100vh - 200px);
  padding: 20px 0 !important;
}

.product-detail-page .product-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-detail-page .product-images-section {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: sticky;
  top: 80px;
  margin-bottom: 20px;
}

.product-detail-page .main-image-container {
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

/* Watermark overlay for main product image on detail page - Removed */

.product-detail-page .main-product-image {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.product-detail-page .main-product-image:hover {
  transform: scale(1.05);
}

.product-detail-page .thumbnail-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 0;
}

.product-detail-page .thumbnail-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-detail-page .thumbnail-item:hover {
  border-color: #ff3f6c;
}

.product-detail-page .thumbnail-item.active {
  border-color: #ff3f6c;
}

.product-detail-page .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-page .product-details-section {
  padding-left: 30px;
}

.product-brand-name {
  font-size: 18px;
  font-weight: 600;
  color: #282c3f;
  margin-bottom: 8px;
}

.product-detail-title {
  font-size: 24px;
  font-weight: 400;
  color: #282c3f;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-title-telugu-detail {
  font-size: 16px;
  color: #535766;
  margin-bottom: 20px;
}

.price-section {
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.current-price {
  font-size: 28px;
  font-weight: 600;
  color: #282c3f;
}

.original-price {
  font-size: 20px;
  color: #94969f;
  text-decoration: line-through;
}

.discount-badge {
  font-size: 14px;
  font-weight: 600;
  color: #ff3f6c;
  padding: 2px 8px;
  background: #ffeef2;
  border-radius: 2px;
}

.inclusive-text {
  font-size: 12px;
  color: #94969f;
}

.size-section, .color-section {
  margin: 24px 0;
}

.size-label, .color-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #282c3f;
}

.size-guide-link {
  font-size: 12px;
  color: #ff3f6c;
  text-decoration: none;
}

.size-guide-link:hover {
  text-decoration: underline;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-option {
  min-width: 40px;
  height: 40px;
  border: 1px solid #d4d5d9;
  background: white;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #282c3f;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-option:hover {
  border-color: #ff3f6c;
}

.size-option.selected {
  border-color: #ff3f6c;
  background: #ffeef2;
  color: #ff3f6c;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-option:hover {
  border-color: #d4d5d9;
}

.color-option.selected {
  border-color: #ff3f6c;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
}

.color-name {
  font-size: 12px;
  color: #535766;
}

.action-buttons {
  display: flex;
  gap: 12px;
  margin: 30px 0;
}

.btn-add-to-bag {
  flex: 1;
  height: 50px;
  background: #ff3f6c;
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-to-bag:hover:not(:disabled) {
  background: #ff527b;
}

.btn-add-to-bag:disabled {
  background: #d4d5d9;
  cursor: not-allowed;
}

.btn-buy-now {
  flex: 1;
  height: 50px;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-buy-now:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(14, 4, 6, 0.3);
}

.btn-buy-now:disabled {
  background: #d4d5d9;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-wishlist,
.btn-whatsapp-contact {
  width: 50px;
  height: 50px;
  border: 1px solid #d4d5d9;
  background: white;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 20px;
  color: #282c3f;
}

.btn-wishlist:hover {
  border-color: #ff3f6c;
  color: #ff3f6c;
}

.btn-whatsapp-contact {
  background: #25d366;
  border-color: #25d366;
  color: white;
}

.btn-whatsapp-contact:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.out-of-stock-msg {
  color: #ff3f6c;
  font-weight: 600;
  margin-top: 10px;
}

.delivery-info {
  margin: 30px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 4px;
}

.delivery-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.delivery-item:last-child {
  margin-bottom: 0;
}

.delivery-item i {
  font-size: 24px;
  color: #282c3f;
  margin-top: 2px;
}

.delivery-item strong {
  display: block;
  color: #282c3f;
  margin-bottom: 4px;
}

.delivery-item div {
  font-size: 14px;
  color: #535766;
}

.share-section-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.share-label {
  font-size: 14px;
  font-weight: 600;
  color: #282c3f;
}

.share-icons {
  display: flex;
  gap: 8px;
}

.share-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d4d5d9;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  color: #535766;
}

.share-icon-btn:hover {
  border-color: #ff3f6c;
  color: #ff3f6c;
}

.product-tabs-section {
  margin-top: 60px;
  border-top: 1px solid #e5e5e5;
  padding-top: 30px;
}

.product-tabs {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 30px;
}

.product-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #535766;
  font-size: 14px;
  font-weight: 600;
  padding: 15px 20px;
  margin-right: 30px;
  background: transparent;
}

.product-tabs .nav-link:hover {
  border-bottom-color: #ff3f6c;
  color: #ff3f6c;
}

.product-tabs .nav-link.active {
  border-bottom-color: #ff3f6c;
  color: #ff3f6c;
  background: transparent;
}

.tab-content-body {
  padding: 20px 0;
  line-height: 1.8;
  color: #535766;
}

.tab-content-body p {
  margin-bottom: 15px;
}

.tab-content-body ul {
  padding-left: 20px;
}

.tab-content-body li {
  margin-bottom: 8px;
}

@media (max-width: 992px) {
  .product-details-section {
    padding-left: 0;
    margin-top: 30px;
  }
  
  .product-images-section {
    position: relative;
  }
}

@media (max-width: 768px) {
  .product-detail-container {
    padding: 10px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .btn-wishlist {
    width: 100%;
  }
  
  .size-options, .color-options {
    gap: 8px;
  }
  
  /* Watermark removed */
}

/* Traditional Pattern Background */
.traditional-bg {
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(14, 4, 6, 0.03) 10px, rgba(14, 4, 6, 0.03) 20px);
  position: relative;
}

.traditional-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Enhanced Card Styles */
.card {
  border: none;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 5px 25px rgba(14, 4, 6, 0.15);
  transform: translateY(-2px);
}

/* Enhanced Button Styles */
.btn {
  font-family: 'Lora', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Enhanced Form Styles */
.form-control, .form-select {
  font-family: 'Lora', serif;
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Scroll Buttons */
.scroll-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 15px rgba(14, 4, 6, 0.4);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: fadeIn 0.3s ease;
}

.scroll-btn:hover {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
  border-color: var(--gold-light);
}

.scroll-btn:active {
  transform: scale(0.95);
}

.scroll-btn-up {
  bottom: 100px;
  right: 30px;
}

.scroll-btn-down {
  bottom: 30px;
  right: 30px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .scroll-btn {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .scroll-btn-up {
    bottom: 90px;
    right: 20px;
  }
  
  .scroll-btn-down {
    bottom: 20px;
    right: 20px;
  }
}

/* Decorative Elements */
.decorative-accent {
  position: relative;
  display: inline-block;
}

.decorative-accent::before,
.decorative-accent::after {
  content: '❋';
  color: var(--gold);
  font-size: 0.8rem;
  margin: 0 10px;
  opacity: 0.6;
}

/* Push Notification Menu Item Styles */
.dropdown-item {
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--maroon);
}

.dropdown-item i {
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

#push-status-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  font-weight: 500;
}

#push-menu-icon.bi-bell-fill {
  color: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Admin Panel Modal Styles */
.modal-content {
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
  border-radius: 6px 6px 0 0;
  padding: 1.25rem 1.5rem;
}

.modal-body {
  padding: 1.5rem;
  background: var(--white);
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-radius: 0 0 6px 6px;
}

.modal-backdrop {
  background-color: rgba(14, 4, 6, 0.7);
  -webkit-backdrop-filter: blur(2px);
  -moz-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

/* Fix for aria-hidden issue */
.modal.show {
  display: block !important;
}

.modal.show[aria-hidden="true"] {
  display: none !important;
}

/* Button improvements in modals */
.modal-footer .btn {
  min-height: 40px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modal-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-footer .btn-primary {
  background: var(--maroon);
  border-color: var(--maroon);
}

.modal-footer .btn-primary:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
}

.modal-footer .btn-success {
  background: var(--maroon);
  border-color: var(--maroon);
}

.modal-footer .btn-success:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
}

/* Form improvements in modals */
.modal-body .form-label {
  font-weight: 500;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

.modal-body .form-control,
.modal-body .form-select {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  transition: all 0.3s ease;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Loading state for buttons */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/* Product Form Section Styling */
.form-section {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--maroon);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title i {
  font-size: 1.2rem;
}

/* Enhanced form controls */
.modal-body .form-control:focus,
.modal-body .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
  transform: translateY(-1px);
}

.modal-body .form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.modal-body .form-label i {
  font-size: 1rem;
}

/* Image preview improvements */
#image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

#image-preview-container img {
  border-radius: 8px;
  border: 2px solid var(--gold);
  transition: transform 0.2s;
}

#image-preview-container img:hover {
  transform: scale(1.05);
}

/* Better checkbox styling */
.form-check-input:checked {
  background-color: var(--maroon);
  border-color: var(--maroon);
}

.form-check-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

