/* ===== GLAMOR LINGERIE SHOP STYLES ===== */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #ff6b9d;
  --secondary-color: #c44569;
  --accent-color: #f8b500;
  --dark-color: #2c2c2c;
  --light-color: #fbfbfb;
  --white-color: #ffffff;
  --text-color: #333333;
  --text-muted: #6c757d;
  --border-color: #e9ecef;
  --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Playfair Display", serif;

  --transition: all 0.3s ease;
  --border-radius: 0.375rem;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: var(--white-color);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid var(--white-color);
  color: var(--white-color);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

/* ===== HEADER STYLES ===== */
.header-area {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white-color);
}

.top-bar {
  font-size: 0.875rem;
}

.top-bar .contact-info span {
  margin-right: 1rem;
}

.top-bar .social-links a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.top-bar .social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.brand-text {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 2rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 0.75rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ===== Filter Bar ===== */
.filter-options .btn {
    border-color: #c44569;
    color: #c44569;
    background-color: transparent;
    transition: all 0.3s ease;
}

.filter-options .btn:hover,
.filter-options .btn.active {
    background-color: #ff6b9d;
    border-color: #ff6b9d;
    color: #fff;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 0px;
  display: flex;
  align-items: center;
}

.hero-slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: var(--light-color);
}

.feature-item {
  padding: 2rem 1rem;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white-color);
  font-size: 2rem;
}

/* ===== UPDATED PRODUCT CARDS ===== */
.product-card {
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

.product-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.02);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e91e63;
  color: var(--white-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge.sale {
  background: #e91e63;
}

.product-badge.new {
  background: #4caf50;
}

.product-badge.hot {
  background: #ff5722;
}

.product-badge.trending {
  background: #9c27b0;
}

.product-badge.exclusive {
  background: #9c27b0;
}

.product-badge.limited {
  background: #ff9800;
}

/* Enhanced product card animations */
.product-card .add-to-cart-btn {
  transition: all 0.3s ease;
}

.product-card .add-to-cart-btn:active {
  transform: scale(0.95);
}

/* Improved hover effects for product images */
.product-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 107, 157, 0.1), rgba(196, 69, 105, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

/* Enhanced rating display */
.product-rating .stars {
  display: inline-block;
  margin-right: 8px;
}

.product-rating .rating-count {
  font-size: 0.85rem;
  color: #666;
  font-weight: 400;
}

/* Improved product title styling */
.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #333;
  min-height: 2.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Better price display */
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 1.5rem;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e91e63;
}

.original-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

.product-info {
  padding: 20px;
  text-align: left;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.3;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover {
  color: var(--primary-color);
}

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

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e91e63;
}

.original-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.product-rating .stars {
  color: #ffc107;
  font-size: 0.9rem;
}

.rating-count {
  color: #666;
  font-size: 0.85rem;
  margin-left: 4px;
}

.add-to-cart-btn {
  width: 100%;
  background: #e91e63;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-to-cart-btn:hover {
  background: #c2185b;
  transform: translateY(-1px);
}

.add-to-cart-btn i {
  font-size: 0.85rem;
}

/* ===== Product pagination ===== */
.pagination .page-link {
    color: #c44569;
    border: 1px solid #c44569;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #ff6b9d;
    color: #fff;
    border-color: #ff6b9d;
}

.pagination .page-item.active .page-link {
    background-color: #ff6b9d;
    border-color: #ff6b9d;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* ===== SECTION STYLES ===== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.page-header {
  padding: 5rem 0;
  text-align: center;
  color: var(--white-color);
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: var(--white-color);
}

/* ===== CATEGORY CARDS ===== */
.category-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 300px;
}

.category-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  text-align: center;
  transition: var(--transition);
}

.category-card:hover .category-overlay {
  background: linear-gradient(rgba(255, 107, 157, 0.8), rgba(196, 69, 105, 0.8));
}

.category-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.product-count {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ===== STYLE CARDS ===== */
.style-card {
  background: var(--white-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.style-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.style-card .card-body {
  padding: 2rem;
}

.style-card .col-md-6:first-child {
    overflow: hidden;
}

.style-card img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
}

/* ===== SHOP SIDEBAR ===== */
.shop-sidebar {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.filter-widget {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.filter-widget:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.filter-widget ul {
  list-style: none;
  padding: 0;
}

.filter-widget ul li {
  margin-bottom: 0.5rem;
}

.filter-widget ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.filter-widget ul li a:hover {
  color: var(--primary-color);
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.color-option:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}

.w-45 {
  width: 45% !important;
}

/* ===== CART STYLES ===== */
.cart-item {
  padding: 1.5rem 0;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.cart-item-details h6 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.remove-item {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.remove-item:hover {
  color: #dc3545;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-input {
  width: 60px;
  text-align: center;
}

.quantity-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cart-summary .card {
  border: none;
  box-shadow: var(--shadow);
}

.cart-summary .card-header {
  background: var(--light-color);
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
  border-bottom: none;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-location {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.rating {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white-color);
  font-size: 2rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== VIDEO TESTIMONIALS ===== */
.video-testimonial {
  position: relative;
}

.video-placeholder {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 157, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.play-button:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ===== REVIEW SUMMARY ===== */
.review-summary {
  background: var(--white-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.overall-rating {
  margin-bottom: 2rem;
}

.rating-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.rating-stars {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin: 1rem 0;
}

.rating-breakdown {
  max-width: 400px;
  margin: 0 auto;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.rating-label {
  min-width: 60px;
  font-size: 0.875rem;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.rating-percentage {
  min-width: 40px;
  font-size: 0.875rem;
  text-align: right;
}

/* ===== BLOG STYLES ===== */
.blog-post {
  background: var(--white-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.featured-post {
  margin-bottom: 3rem;
}

.featured-post .post-image {
  height: 400px;
  position: relative;
}

.featured-post .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.post-title {
  margin-bottom: 1rem;
}

.post-title a {
  color: var(--text-color);
  text-decoration: none;
}

.post-title a:hover {
  color: var(--primary-color);
}

.post-excerpt {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}

.read-more:hover {
  color: var(--secondary-color);
}

/* ===== BLOG SIDEBAR ===== */
.blog-sidebar {
  padding-left: 2rem;
}

.sidebar-widget {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.category-list a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.category-list a:hover {
  color: var(--primary-color);
}

.recent-posts {
  list-style: none;
  padding: 0;
}

.recent-post {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.recent-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-image {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
  flex-shrink: 0;
}

.recent-post-content h6 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.recent-post-content h6 a {
  color: var(--text-color);
  text-decoration: none;
}

.recent-post-content h6 a:hover {
  color: var(--primary-color);
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--light-color);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
}

.tag:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* ===== 404 PAGE STYLES ===== */
.error-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.error-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.category-card-404 {
  text-align: center;
  transition: var(--transition);
}

.category-card-404:hover {
  transform: translateY(-5px);
}

.category-card-404 .category-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.category-card-404 .category-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.help-card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.help-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.help-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white-color);
  font-size: 2rem;
}

/* ===== LINGERIE PAGE STYLES ===== */
.collection-tabs .nav-link {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-color);
  margin: 0 0.5rem;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
}

.collection-tabs .nav-link.active,
.collection-tabs .nav-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.lingerie-item .product-image img {
  height: 350px;
}

.size-guide-table {
  background: var(--white-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.size-guide-table th {
  background: var(--dark-color);
  color: var(--white-color);
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.size-guide-table td {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.newsletter-form .input-group {
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 2rem 0 0 2rem;
}

.newsletter-form .btn {
  border-radius: 0 2rem 2rem 0;
  padding: 0.75rem 1.5rem;
}

/* ===== FOOTER STYLES ===== */
.footer-section {
  background: var(--dark-color);
  color: var(--white-color);
}

.footer-section h5 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--white-color);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white-color);
  text-decoration: none;
  transition: var(--transition);
  margin-right: 0.5rem;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .error-code {
    font-size: 6rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .blog-sidebar {
    padding-left: 0;
    margin-top: 3rem;
  }

  .cart-header {
    display: none !important;
  }

  .cart-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .cart-item .row > div {
    margin-bottom: 1rem;
  }

  .quantity-controls {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .error-code {
    font-size: 4rem;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }

  .feature-item,
  .stat-item {
    padding: 1.5rem 0.5rem;
  }

  .testimonial-card,
  .sidebar-widget {
    padding: 1.5rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background: var(--primary-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

.object-cover {
  object-fit: cover;
}

.min-vh-100 {
  min-height: 100vh;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header-area,
  .footer-section,
  .btn,
  .social-links {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .container {
    max-width: none !important;
  }
}

/* ===== Top Menu Responsive ===== */

@media (max-width: 767.98px) {
  .filter-options .btn {
    margin-bottom: 10px; 
  }
}
@media (max-width: 767.98px) {
    .collection-tabs .nav-link {
        margin-bottom: 10px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        position: relative;
        z-index: 1000;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        transition: all 0.3s ease;
    }

    .dropdown-menu {
        position: static;
        float: none;
        box-shadow: none;
    }
}

@media (max-width: 767.98px) {
    .navbar-nav.d-flex.flex-column {
        flex-direction: row !important;
        justify-content: left; 
        align-items: center;
        gap: 10px; 
        margin-top: 1rem;
    }

    .navbar-nav.d-flex.flex-column .nav-link {
        padding: 0.5rem;
    }
}

/* Make collapsed navbar menu scrollable on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 80vh; /* 80% of viewport height */
        overflow-y: auto;
    }
}
