﻿/*
 * CatWalk Theme - Components CSS
 * Clean, organized component styles
 * Version: 1.0.0
 */

/* ============================================
   GLOBAL LINK RESET FOR BUTTONS
   ============================================ */
a[class*="btn"],
a[class*="catwalk-action"],
a.catwalk-listing-cart-btn,
a.catwalk-related-card-title {
  text-decoration: none !important;
}

a[class*="btn"]:hover,
a[class*="btn"]:focus,
a[class*="catwalk-action"]:hover,
a[class*="catwalk-action"]:focus {
  text-decoration: none !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-catwalk {
  display: inline-block;
  padding: 14px 40px;
  background: var(--catwalk-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-catwalk:hover {
  background: var(--catwalk-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 141, 207, 0.3);
}

/* ============================================
   NAVIGATION
   ============================================ */
.catwalk-nav {
  background: #fff;
  border-bottom: 1px solid var(--catwalk-border, #e8e8e8);
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  padding: 23px 55px;
  /* Exact from reference site */
  max-width: 1920px;
  margin: 0 auto;
}

/* Left Menu - Categories */
.nav-left {
  justify-self: start;
}

.nav-left .nav-menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--catwalk-text-primary, #151515);
  font-family: "futura-pt", sans-serif;
  font-size: 17px;
  font-weight: 500;
  /* Reference uses 500, not 400 */
  text-transform: none;
  letter-spacing: normal;
  line-height: 25.5px;
  /* From reference */
  padding: 15.3px;
  /* From reference - creates spacing */
  transition: color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  white-space: nowrap !important;
}
.btn-catwalk-outline {
  display: inline-block;
  padding: 12px 35px;
  background: transparent;
  color: var(--catwalk-primary);
  border: 2px solid var(--catwalk-primary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-catwalk-outline:hover {
  background: var(--catwalk-primary);
  color: #fff;
}

.nav-menu a:hover {
  color: var(--catwalk-primary, #fc8dcf);
}

/* Dropdown for "Other Categories" */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-menu li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
}

.nav-dropdown a:hover {
  background: var(--catwalk-bg-light);
}

/* Center Logo - Absolutely centered */
.nav-center {
  justify-self: center;
}

.nav-center .logo {
  display: block;
}

.nav-center .logo img {
  max-height: 26px;
  width: auto;
  display: block;
}

/* Right Icons */
.nav-right {
  justify-self: end;
}

.nav-right .nav-icons {
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.icon-link {
  color: var(--catwalk-text-primary, #151515);
  font-size: 24px; /* Increased from 18px */
  position: relative;
  transition: color 0.3s ease;
}

/* ============================================
   OFF-CANVAS MENU
   ============================================ */
.catwalk-offcanvas {
  position: fixed;
  top: 0;
  right: -500px; /* Start hidden */
  width: 100%;
  max-width: 450px;
  height: 100vh;
  background: #fdf5f9; /* Reference Pink */
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05); /* Softer shadow */
  z-index: 2000;
  transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1); /* Smoother bezier */
  overflow-y: auto;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
}

.catwalk-offcanvas.active {
  right: 0;
}

.catwalk-offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(253, 245, 249, 0.8); /* Light pink overlay effect */
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  backdrop-filter: blur(2px);
}

.catwalk-offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Header with Text Brand */
.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px; /* More spacing */
}

.offcanvas-brand {
  font-family: "Didot", "Bodoni MT", serif; /* Elegant serif for CATWALK */
  font-size: 32px;
  letter-spacing: -0.5px;
  color: #171517;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
}

.offcanvas-brand:hover {
  text-decoration: none;
  color: #171517;
}

/* Close Button (White Circle) */
.offcanvas-close-btn {
  background: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  color: #171517;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.offcanvas-close-btn:hover {
  transform: rotate(90deg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.offcanvas-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offcanvas-section {
  margin-bottom: 40px;
}

/* Vertical Social Links with Text */
.offcanvas-social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 35px; /* Large spacing */
}

.offcanvas-social-links li a {
  display: flex;
  align-items: center;
  gap: 30px; /* Space between icon and text */
  font-size: 16px;
  color: #171517;
  font-weight: 500;
  font-family: var(--font-main);
  transition: all 0.3s ease;
  text-decoration: none;
}

.offcanvas-social-links li a i {
  font-size: 22px;
  width: 24px;
  text-align: center;
  display: inline-block;
}

.offcanvas-social-links li a:hover {
  color: var(--catwalk-primary);
  transform: translateX(10px);
}

/* Bottom Contact Info */
.offcanvas-contact {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle line */
  padding-top: 50px;
}

.contact-item-large {
  font-size: 22px;
  font-weight: 600;
  color: #171517;
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-main);
  letter-spacing: 0.5px;
}

.contact-email-large {
  color: #777;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.contact-email-large:hover {
  color: var(--catwalk-primary);
  text-decoration: none;
}

@media (max-width: 576px) {
  .catwalk-offcanvas {
    width: 100%;
    padding: 30px 25px;
  }

  .offcanvas-brand {
    font-size: 24px;
  }
}

.offcanvas-contact {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 40px;
}

.contact-item-large {
  font-size: 24px;
  font-weight: 600;
  color: #171517;
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-main);
  letter-spacing: 1px;
}

.contact-email-large {
  color: #777;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email-large:hover {
  color: var(--catwalk-primary);
}

@media (max-width: 576px) {
  .catwalk-offcanvas {
    width: 320px;
    padding: 40px 30px;
  }
}

.icon-link:hover {
  color: var(--catwalk-primary, #fc8dcf);
}

/* Cart Count Badge (Pink!) */
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--catwalk-primary, #fc8dcf);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Nav - Switch to flexbox on mobile */
@media (max-width: 1279px) {
  .nav-wrapper {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .nav-left .nav-menu {
    display: none;
  }

  /* Logo left-aligned on mobile (like reference theme) */
  .nav-center {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    /* Left align logo on mobile */
  }

  .nav-right {
    flex-shrink: 0;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.catwalk-footer {
  background: var(--catwalk-bg-footer, #171517);
  color: #fff;
}

.footer-features {
  background: rgba(255, 255, 255, 0.05);
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.feature-item i {
  font-size: 32px;
  color: var(--catwalk-primary, #fc8dcf);
  margin-bottom: 15px;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #fff;
}

.feature-item p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.footer-main {
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #fff;
}

.footer-column p {
  font-size: 14px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 10px;
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #999;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--catwalk-primary, #fc8dcf);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--catwalk-primary, #fc8dcf);
  color: #fff;
  border-radius: 50%;
}

.newsletter-form {
  margin-top: 20px;
}

.input-group {
  display: flex;
  gap: 0; /* Remove gap to prevent wrapping */
  flex-wrap: nowrap; /* Prevent wrapping */
}

.input-group input {
  flex: 1;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  border-radius: 0;
}

.input-group input::placeholder {
  color: #999;
}

.newsletter-btn {
  width: 50px;
  height: 46px;
  background: var(--catwalk-primary, #fc8dcf);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--catwalk-primary-hover, #fa73c4);
}

/* Footer Contact Links */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact .address {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-contact .contact-link {
  color: #fff;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
  transition: all 0.3s;
}

.footer-contact .contact-link:hover {
  color: var(--catwalk-primary, #fc8dcf);
  text-decoration-color: var(--catwalk-primary, #fc8dcf);
}

/* Footer Links List */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #999;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-links li a:hover {
  color: #fff;
}

/* Newsletter Enhanced */
.newsletter-text {
  font-size: 14px;
  color: #999;
  margin-bottom: 15px;
}

.newsletter-input-group {
  display: flex;
  flex-wrap: nowrap;
}

.newsletter-input-group input {
  flex: 1;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  border-right: none;
}

.newsletter-input-group input::placeholder {
  color: #777;
}

.newsletter-input-group .newsletter-btn {
  width: 50px;
  height: auto;
  background: var(--catwalk-primary, #fc8dcf);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-input-group .newsletter-btn:hover {
  background: #fa73c4;
}

/* Newsletter Privacy Checkbox */
.newsletter-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: #777;
  cursor: pointer;
}

.newsletter-privacy input {
  width: 14px;
  height: 14px;
  accent-color: var(--catwalk-primary, #fc8dcf);
}

.newsletter-privacy a {
  color: var(--catwalk-primary, #fc8dcf);
  text-decoration: underline;
}

/* Footer Socials List */
.footer-socials-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials-list a {
  color: #999;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-socials-list a:hover {
  color: #fff;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--catwalk-primary, #fc8dcf);
  color: #fff;
}

/* Footer Bottom (Copyright) */
.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.footer-bottom p {
  color: #777;
  font-size: 14px;
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .features-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================
   HOMEPAGE
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, #fdf5f9 0%, #f9f0f4 100%);
  padding: 120px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--catwalk-text-primary);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--catwalk-text-secondary);
  margin-bottom: 30px;
}

.products-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--catwalk-text-primary);
}

/* Product Card - Clean CatWalk Style */
.product-card {
  position: relative;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}

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

.product-image {
  position: relative;
  background-color: #f7f7f7 !important; /* Force grey background */
  padding: 20px;
  margin-bottom: 15px;
  overflow: hidden;
  height: 380px; /* Standardize height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05); /* Subtle zoom on hover */
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
  background: var(--catwalk-primary);
  color: #fff;
}

/* Quick View Overlay (Bottom Bar) */
.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(23, 21, 23, 0.9); /* Dark background */
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.product-card:hover .product-overlay {
  transform: translateY(0);
}

.quick-view-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 15px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: block;
}

.quick-view-btn:hover {
  background: var(--catwalk-primary);
  color: #fff;
}

/* Sale Badge */
.sale-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--catwalk-primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

/* Price Wrapper */
.product-price-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

/* Product Info */
.product-info {
  text-align: center;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
}

.product-info h3 a {
  color: var(--catwalk-text-primary);
  transition: color 0.3s ease;
}

.product-info h3 a:hover {
  color: var(--catwalk-primary);
}

.product-price {
  font-size: 18px;
  font-weight: 500;
  color: var(--catwalk-text-primary);
}

/* ============================================
   FORMS
   ============================================ */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--catwalk-border);
  background: #fff;
  font-size: 14px;
  color: var(--catwalk-text-primary);
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--catwalk-primary);
  outline: none;
}

/* ============================================
   BADGES
   ============================================ */
.badge-pink {
  background: var(--catwalk-primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 50px;
}

.badge-sale {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--catwalk-primary);
  color: #fff;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   LOADING STATES
   ============================================ */
.loading-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--catwalk-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */
.alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px;
  margin-bottom: 20px;
}

.alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 15px;
  margin-bottom: 20px;
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px !important;
  }
}

.modal-content {
  background: #fff;
  /* padding: 30px; */ /* Bootstrap handles padding in body/header usually */
  position: relative;
  border: none; /* Clean look */
  border-radius: 0; /* Square edges for CatWalk theme */
  width: 100%; /* Ensure content takes full width of dialog */
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--catwalk-text-secondary);
}

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

/* ============================================
   SIDEBAR & FILTERS (CatWalk Minimal)
   ============================================ */
.filter-sidebar {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.filter-group {
  border-bottom: 1px solid #f0f0f0; /* Keep separator */
  margin-bottom: 30px;
  padding-bottom: 25px;
}

.filter-title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

/* Category List */
.filter-options ul li a {
  color: #555;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.filter-options ul li a:hover,
.filter-options ul li a.active {
  color: var(--catwalk-primary);
  padding-left: 5px; /* Slight movement */
}

/* Checkboxes */
.filter-label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: color 0.2s;
}

.filter-label:hover {
  color: var(--catwalk-primary);
}

.filter-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  margin-right: 12px;
  position: relative;
  transition: all 0.2s ease;
}

.filter-checkbox:checked {
  background-color: var(--catwalk-primary);
  border-color: var(--catwalk-primary);
}

.filter-checkbox:checked::after {
  content: "âœ“";
  color: white;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Color Swatches (If implemented via class) */
.color-swatch-input {
  display: none;
}
.color-swatch-label {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  border: 1px solid #eee;
  position: relative;
}
.color-swatch-input:checked + .color-swatch-label::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid #222;
  border-radius: 50%;
}

/* Shop Banner */
.shop-banner {
  background: linear-gradient(135deg, #f7adc2 0%, #eeaeca 100%);
  padding: 60px 0;
  text-align: center;
  color: white;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.shop-banner h1 {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  position: relative;
  z-index: 2;
}
/* ============================================
   PRODUCT CARD HOVER (Reference Style)
   ============================================ */
.product-card {
  transition: all 0.3s ease;
  border: 1px solid transparent; /* Invisible border by default to prevent layout shift */
  padding-bottom: 50px; /* Space for button sliding up */
  background: #fff;
  overflow: hidden; /* Contain the button */
}

/* On Hover: Pink Border & Shadow */
.product-card:hover {
  border-color: #f7adc2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  z-index: 2;
}

/* Button: Initially Hidden/Lowered */
.select-options-btn {
  position: absolute;
  bottom: -50px; /* Hidden below */
  left: 0;
  right: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  border-radius: 0; /* Full width look usually implies squared off or container fitting */
  z-index: 3;
}

/* Show Button on Hover */
.product-card:hover .select-options-btn {
  display: block !important; /* Override inline display:none if present */
  bottom: 0px;
  opacity: 1;
}

/* Adjust Product Info to avoid overlap if needed */
.product-info {
  position: relative;
  background: #fff;
  z-index: 4;
  transition: transform 0.3s;
}

/* Optional: Slide info up slightly or keep it static? 
   Reference image has button OVER or replacing content? 
   Let's just slide button up over bottom padding. */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
/* Card Typography (Overrides) */
.product-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  margin-bottom: 0.25rem !important;
}
.old-price {
  text-decoration: line-through;
  font-size: 13px !important;
  color: #6c757d;
  margin-right: 0.5rem;
}
.product-price {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #222 !important;
}
.select-options-btn {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 0 !important;
  border: none !important;
  background-color: var(--catwalk-primary) !important;
  text-transform: uppercase;
  color: #fff !important;
}

/* ============================================
   LISTING CARD SPECIFIC STYLES
   ============================================ */
.listing-card .product-image {
  position: relative;
  overflow: hidden;
}

/* Quick View Bar (Dark) - Over image bottom */
.listing-card .product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(34, 34, 34, 0.95);
  padding: 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.listing-card:hover .product-overlay {
  transform: translateY(0);
}

.listing-card .quick-view-btn {
  color: #fff;
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.listing-card .quick-view-btn:hover {
  color: var(--catwalk-primary);
}
/* ==========================================================================
   UPDATED PRODUCT CARD (Listing Page)
   ========================================================================== */

/* Card Container */
.product-card {
  transition: all 0.3s ease;
  padding-bottom: 10px;
  background: #fff;
}

.product-card:hover {
  /* Intentionally no visual changes on hover for this old class */
  cursor: pointer;
}

/* Image Wrapper */
.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.product-image-wrapper img {
  transition: transform 0.5s ease;
}

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

/* Quick View Overlay (Eye Icon) */
.quick-view-overlay {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 5;
}

.product-card:hover .quick-view-overlay {
  opacity: 1;
  visibility: visible;
}

.quick-view-trigger {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333;
  background: #fff;
  border: none;
  transition: all 0.2s;
}

.quick-view-trigger:hover {
  background: var(--catwalk-primary, #ff6f61);
  color: #fff;
}

/* Product Info */
.product-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
  text-transform: capitalize;
}

.product-price {
  font-size: 14px;
  color: #666;
}

.product-price .current-price {
  color: #333;
  font-weight: 600;
}

/* Action Button (Bag Icon) */
.hover-action-btn {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.product-card:hover .hover-action-btn {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%; /* Optional circle bg, or just icon */
  color: #333;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-action:hover {
  color: var(--catwalk-primary, #ff6f61);
}

/* ==========================================================================
   SHOP BANNER - Theme Pink Background (Matches /shop/ reference)
   ========================================================================== */
.shop-banner {
  background: var(--catwalk-pink);
  padding: 60px 0;
  margin-bottom: 40px;
}

.shop-banner h1 {
  font-family: var(--catwalk-font);
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.shop-banner .breadcrumb {
  justify-content: center;
  padding-left: 0;
  text-align: center;
  display: inline-flex !important; /* Make breadcrumb only as wide as its content for true centering */
  margin: 0 auto; /* Center the inline-flex element */
}

/* Remove Bootstrap's default padding from breadcrumb items to prevent double padding */
.shop-banner .breadcrumb-item {
  padding-left: 0;
  font-size: 13px !important; /* Uniform font-size to fix vertical misalignment */
  display: flex !important; /* Flex to allow vertical centering */
  align-items: center !important; /* Center items vertically */
}

.shop-banner .breadcrumb-item a,
.shop-banner .breadcrumb-item.active {
  color: #fff !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.shop-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
  padding: 0 8px; /* Equal padding on both sides of separator */
}

/* ==========================================================================
   LOAD MORE BUTTON (Matches /shop/ reference - pink solid)
   ========================================================================== */
.load-more-container {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.btn-catwalk-outline,
#load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--catwalk-pink);
  border: none;
  color: #fff;
  padding: 17px 54px;
  font-family: var(--catwalk-font);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-catwalk-outline:hover,
#load-more-btn:hover {
  background: var(--catwalk-dark);
  color: #fff;
}

#load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   RESPONSIVE UTILITIES (Restored)
   ========================================================================== */
.mobile-filters {
  display: block;
}

.desktop-filters {
  display: none;
}

@media (min-width: 992px) {
  /* Changed to 992px (lg) to match bootstrap grid used in listing */
  .mobile-filters {
    display: none;
  }

  .desktop-filters {
    display: block;
  }
}

/* ============================================================================
   CATWALK HOMEPAGE PRODUCT CARD (Matches "New Arrivals" Section)
   ============================================================================ */

/* Base Variables */
:root {
  --catwalk-pink: #fc8dcf;
  --catwalk-dark: #171517;
  --catwalk-muted: #b0a9ad;
  --catwalk-font: "Outfit", "futura-pt", sans-serif;
}

/* Card Container */
.catwalk-product-card {
  position: relative;
  margin-bottom: 35px;
}

/* Image Container */
.catwalk-product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}

.catwalk-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

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

/* Wishlist Button (Heart - Top Right) */
.catwalk-wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--catwalk-dark);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 5;
}

.catwalk-product-card:hover .catwalk-wishlist-btn {
  opacity: 1;
  transform: translateY(0);
}

.catwalk-wishlist-btn:hover {
  color: var(--catwalk-pink);
}

.catwalk-wishlist-btn:hover i {
  transform: scale(1.1);
}

/* Quick View Overlay */
.catwalk-quick-view-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 5;
}

.catwalk-product-card:hover .catwalk-quick-view-overlay {
  opacity: 1;
  transform: translateY(0);
}

.catwalk-quick-view-btn {
  background: #fff;
  border: 1px solid var(--catwalk-dark);
  color: var(--catwalk-dark);
  font-family: var(--catwalk-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.catwalk-quick-view-btn:hover {
  background: var(--catwalk-dark);
  color: #fff;
}

/* Badges */
.catwalk-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 15px;
  font-family: var(--catwalk-font);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
}

.catwalk-badge-sale {
  background: var(--catwalk-pink);
  color: #fff;
}

.catwalk-badge-flash {
  background: var(--catwalk-dark);
  color: #fff;
}

.catwalk-badge-flash img {
  width: 40px;
  height: auto;
  border-radius: 50%;
}

/* Product Info */
.catwalk-product-info {
  padding-top: 18px;
  text-align: center;
}

/* Product Title */
.catwalk-product-title {
  font-family: var(--catwalk-font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  color: var(--catwalk-dark);
}

.catwalk-product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Product Price */
.catwalk-product-price {
  margin-top: 8px;
  font-family: var(--catwalk-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--catwalk-muted);
}

.catwalk-old-price {
  text-decoration: line-through;
  margin-right: 8px;
  color: var(--catwalk-muted);
}

.catwalk-current-price {
  color: var(--catwalk-muted);
}

/* ============================================================================
   HOMEPAGE PRODUCT GRID
   ============================================================================ */

.catwalk-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 15px;
}

@media (min-width: 576px) {
  .catwalk-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
  }
}

@media (min-width: 768px) {
  .catwalk-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 25px;
  }
}

@media (min-width: 992px) {
  .catwalk-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 30px;
  }

  .catwalk-product-title {
    font-size: 19px;
  }

  .catwalk-product-price {
    font-size: 18px;
    margin-top: 11px;
  }
}

/* ============================================================================
   CATWALK LISTING PAGE PRODUCT CARD (Matches "/shop/" Design)
   ============================================================================ */

/* Card Container */
.catwalk-listing-card {
  position: relative;
  margin-bottom: 30px;
}

/* Image Container */
.catwalk-listing-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f8f8f8;
}

.catwalk-listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catwalk-listing-card:hover .catwalk-listing-image img {
  transform: scale(1.05);
}

/* Wishlist Button - VISIBLE BY DEFAULT per /shop/ reference */
.catwalk-listing-wishlist {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--catwalk-dark);
  cursor: pointer;
  opacity: 1; /* VISIBLE by default */
  transition: all 0.3s ease;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.catwalk-listing-wishlist:hover {
  color: var(--catwalk-pink);
  transform: scale(1.1);
}

/* Quick View Button (Centered Eye Icon) */
.catwalk-listing-quick-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.catwalk-listing-card:hover .catwalk-listing-quick-view {
  opacity: 1;
}

.catwalk-listing-quick-view-btn {
  width: 50px;
  height: 50px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--catwalk-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.catwalk-listing-quick-view-btn:hover {
  background: var(--catwalk-pink);
  color: #fff;
}

/* Cart Overlay (Bottom) */
.catwalk-listing-cart-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 5;
}

.catwalk-listing-card:hover .catwalk-listing-cart-overlay {
  transform: translateY(0);
}

.catwalk-listing-cart-btn {
  display: block;
  width: 100%;
  background: var(--catwalk-pink);
  color: #fff;
  font-family: var(--catwalk-font);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  padding: 15px 20px;
  transition: background 0.3s ease;
}

.catwalk-listing-cart-btn:hover {
  background: var(--catwalk-dark);
  color: #fff;
}

/* Badges */
.catwalk-listing-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 12px;
  font-family: var(--catwalk-font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
}

.catwalk-listing-badge-sale {
  background: var(--catwalk-pink);
  color: #fff;
}

.catwalk-listing-badge-flash {
  background: linear-gradient(135deg, #ff5a00, #ff2d55);
  color: #fff;
}

.catwalk-listing-badge-stock {
  background: #171517;
  color: #fff;
}

/* Product Info */
.catwalk-listing-info {
  padding-top: 15px;
  text-align: center;
}

/* Product Title */
.catwalk-listing-title {
  font-family: var(--catwalk-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  color: var(--catwalk-dark);
}

.catwalk-listing-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.catwalk-listing-title a:hover {
  color: var(--catwalk-pink);
}

/* Product Price */
.catwalk-listing-price {
  margin-top: 8px;
  font-family: var(--catwalk-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--catwalk-muted);
}

.catwalk-listing-old-price {
  text-decoration: line-through;
  margin-right: 8px;
  color: var(--catwalk-muted);
}

.catwalk-listing-current-price {
  color: var(--catwalk-muted);
}

/* Cart Button Wrapper - Absolute positioning to prevent layout shift */
.catwalk-listing-cart-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 10;
}

.catwalk-listing-card:hover .catwalk-listing-cart-wrap {
  opacity: 1;
  padding: 12px;
  transform: translateY(0);
}

/* Add border on hover */
.catwalk-listing-card:hover {
  border: 1px solid #e0e0e0;
  padding: 12px;
  padding-bottom: 64px;
  z-index: 300;
  background: white;
  margin: -12px;
}

.catwalk-listing-cart-btn {
  display: block;
  width: 100%;
  background: var(--catwalk-pink);
  color: #fff;
  font-family: var(--catwalk-font);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  transition: background 0.3s ease;
  cursor: pointer;
}

.catwalk-listing-cart-btn:hover {
  background: var(--catwalk-dark);
  color: #fff;
}

/* Responsive adjustments for listing page */
@media (min-width: 992px) {
  .catwalk-listing-title {
    font-size: 17px;
  }

  .catwalk-listing-price {
    font-size: 16px;
  }
}

/* ==========================================================================
   CHECKBOX FIX (Override corrupted encoding)
   ========================================================================== */
.filter-checkbox:checked::after {
  content: "\2714" !important;
}

/* Load More Button Loading State */
#load-more-btn .btn-text,
#load-more-btn .btn-loading {
  display: inline-flex;
  align-items: center;
}

#load-more-btn .spinner-border {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (Matches CatWalk Reference)
   ========================================================================== */

/* Main Product Section - More Breathing Room */
.product-details-area {
  padding: 40px 0 60px;
  background: #fff;
}

.product-details-area .container {
  max-width: 1400px;
}

.product-details-area .bg-white {
  padding: 0 !important;
  background: transparent !important;
}

/* Gallery Column - More Space */
.product-details-area .col-lg-6:first-child {
  padding-right: 30px;
}

/* Product Info Column - More Space */
.product-details-area .col-lg-6:last-child {
  padding-left: 30px;
}

/* Sections Spacing */
.product-description-wrapper {
  padding: 0 15px;
}

/* Breadcrumb */
.catwalk-breadcrumb .breadcrumb {
  margin-bottom: 0;
}

.catwalk-breadcrumb .breadcrumb-item {
  font-size: 15px;
  color: #b0a9ad;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.catwalk-breadcrumb .breadcrumb-item a {
  color: #b0a9ad;
  text-decoration: none;
  transition: color 0.3s ease;
}

.catwalk-breadcrumb .breadcrumb-item a:hover {
  color: var(--catwalk-pink);
}

.catwalk-breadcrumb .breadcrumb-item.active {
  color: #888;
}

.catwalk-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #b0a9ad;
  padding: 0 8px;
}

/* Product Title */
.catwalk-product-title {
  font-family: var(--catwalk-font), sans-serif;
  font-size: 35px;
  font-weight: 500;
  color: #171517;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 0;
}

/* Price Wrapper */
.catwalk-price-wrapper {
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.catwalk-price-old {
  font-size: 18px;
  color: #999;
}

.catwalk-price-old del {
  text-decoration: line-through;
}

.catwalk-price-current {
  font-size: 28px;
  font-weight: 500;
  color: #171517;
  font-family: var(--catwalk-font);
}

/* Action Buttons */
.catwalk-action-buttons {
  margin-top: 30px;
  margin-bottom: 30px;
}

.catwalk-btn-buy-now,
.catwalk-btn-add-cart {
  height: 55px;
  padding: 0 55px;
  font-family: var(--catwalk-font);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.catwalk-btn-buy-now {
  background: #fc8dcf;
  color: #fffefe;
}

.catwalk-btn-buy-now:hover {
  background: #e97dbf;
  color: #fffefe;
}

.catwalk-btn-buy-now:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.catwalk-btn-add-cart {
  background: transparent;
  color: #171517;
  border: 2px solid #171517;
}

.catwalk-btn-add-cart:hover {
  background: #171517;
  color: #fff;
}

/* Color Swatches */
.checkbox-color li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

.checkbox-color input[type="radio"] {
  display: none;
}

.checkbox-color label {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.checkbox-color input[type="radio"]:checked + label {
  border-color: #171517;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #171517;
}

.checkbox-color label:hover {
  transform: scale(1.1);
}

/* Size Selection */
.checkbox-alphanumeric li {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
}

.checkbox-alphanumeric input[type="radio"] {
  display: none;
}

.checkbox-alphanumeric label {
  display: inline-block;
  padding: 6px 14px;
  min-width: 45px;
  text-align: center;
  font-family: var(--catwalk-font);
  font-size: 14px;
  font-weight: 400;
  border: 1px solid #f3d4ee;
  background: transparent;
  color: #171517;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.checkbox-alphanumeric input[type="radio"]:checked + label {
  background: #fc8dcf;
  border-color: #fc8dcf;
  color: #fff;
}

.checkbox-alphanumeric label:hover {
  border-color: #fc8dcf;
}

/* Quantity Input - Horizontal Layout with visible +/- buttons */
.input-group--style-2 {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 160px !important;
  border: 1px solid #f3d4ee;
  position: relative;
}

.input-group--style-2 .form-control {
  height: 50px;
  width: 70px !important;
  border: none !important;
  border-left: 1px solid #f3d4ee !important;
  border-right: 1px solid #f3d4ee !important;
  border-radius: 0 !important;
  text-align: center;
  font-size: 16px;
  font-family: var(--catwalk-font);
  padding: 0 !important;
  flex: 1;
  order: 2;
}

.input-group--style-2 .input-group-btn {
  display: flex !important;
  align-items: stretch !important;
}

.input-group--style-2 .input-group-btn:first-child {
  order: 1;
}

.input-group--style-2 .input-group-btn:last-child {
  order: 3;
}

.input-group--style-2 .btn-number {
  position: relative !important;
  background: transparent;
  border: none;
  width: 45px;
  height: 50px;
  padding: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #171517;
  transition: all 0.3s ease;
  font-size: 16px;
}

.input-group--style-2 .btn-number:hover:not(:disabled) {
  background: #f8f0f5;
  color: #fc8dcf;
}

.input-group--style-2 .btn-number:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.input-group--style-2 .btn-number i,
.input-group--style-2 .btn-number .la {
  font-size: 14px !important;
  line-height: 1;
}

/* Quantity Loading Overlay */
.quantity-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.quantity-loading.active {
  display: flex;
}

.quantity-loading i {
  font-size: 18px;
  color: #fc8dcf;
  animation: spin 1s linear infinite;
}

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

/* Vertical Accordion */
.catwalk-accordion {
  margin-top: 40px;
}

.catwalk-accordion-item {
  border-bottom: 1px solid #eee;
}

.catwalk-accordion-item:last-child {
  border-bottom: none;
}

.catwalk-accordion-header {
  padding: 0;
}

.catwalk-accordion-button {
  width: 100%;
  padding: 25px 0;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--catwalk-font);
  font-size: 24px;
  font-weight: 500;
  color: #171517;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.catwalk-accordion-button:hover {
  color: var(--catwalk-pink);
}

.catwalk-accordion-button:focus {
  outline: none;
}

.catwalk-accordion-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.catwalk-accordion-button:not(.collapsed) .catwalk-accordion-icon {
  transform: rotate(180deg);
}

.catwalk-accordion-body {
  padding: 0 0 30px 0;
  color: #666;
  line-height: 1.8;
}

.catwalk-accordion-body p {
  margin-bottom: 15px;
}

/* Related Products */
.catwalk-related-products {
  padding: 60px 0;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.catwalk-related-title {
  font-family: var(--catwalk-font);
  font-size: 28px;
  font-weight: 500;
  color: #171517;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   CATWALK IMAGE GALLERY - Thumbnails LEFT, Main Image RIGHT
   ========================================================================== */
.catwalk-gallery {
  display: flex;
  gap: 25px;
}

/* Thumbnails - Vertical on LEFT */
.catwalk-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90px;
  flex-shrink: 0;
}

.catwalk-thumb-item {
  width: 90px;
  height: 90px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
  background: #f8f8f8;
}

.catwalk-thumb-item:hover {
  border-color: #ddd;
}

.catwalk-thumb-item.active {
  border-color: var(--catwalk-pink);
}

.catwalk-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Image - on RIGHT */
.catwalk-gallery-main {
  flex: 1;
  position: relative;
  background: #f8f8f8;
}

.catwalk-main-image {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  cursor: zoom-in;
  transition: opacity 0.3s ease;
}

/* Flash Deal Badge */
.catwalk-gallery-main .flash-icon {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
}

/* Mobile Responsive - Stack vertically */
@media (max-width: 576px) {
  .catwalk-gallery {
    flex-direction: column-reverse;
  }

  .catwalk-gallery-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .catwalk-thumb-item {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .catwalk-product-title {
    font-size: 24px;
  }

  .catwalk-price-current {
    font-size: 22px;
  }

  .catwalk-breadcrumb .breadcrumb-item {
    font-size: 13px;
  }

  .catwalk-btn-buy-now,
  .catwalk-btn-add-cart {
    padding: 0 30px;
    font-size: 14px;
  }
}

/* ==========================================================================
   RELATED PRODUCTS CARD - NEW DESIGN
   ========================================================================== */
.catwalk-related-card {
  text-align: left;
}

.catwalk-related-card-image {
  position: relative;
  background: #f5f5f5;
  padding: 30px;
  overflow: hidden;
}

.catwalk-related-card-image > a {
  display: block;
}

.catwalk-related-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.catwalk-related-card:hover .catwalk-related-card-image img {
  transform: scale(1.05);
}

/* Action Buttons - Centered, shown on hover */
.catwalk-related-card-actions {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: all 0.3s ease;
}

.catwalk-related-card:hover .catwalk-related-card-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.catwalk-action-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #171517;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.catwalk-action-btn:hover {
  background: var(--catwalk-pink);
  color: white;
  transform: scale(1.1);
  text-decoration: none;
}

/* Card Info */
.catwalk-related-card-info {
  padding: 18px 0;
}

.catwalk-related-card-title {
  display: block;
  font-family: var(--catwalk-font);
  font-size: 16px;
  font-weight: 400;
  color: #171517;
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.catwalk-related-card-title:hover {
  color: var(--catwalk-pink);
}

.catwalk-related-card-price {
  font-family: var(--catwalk-font);
  font-size: 14px;
  font-weight: 400;
  color: #999;
}

.catwalk-related-card-price .old-price {
  text-decoration: line-through;
  color: #ccc;
  margin-right: 8px;
}

/* Related Products Section Title */
.catwalk-related-products .catwalk-related-title {
  font-family: var(--catwalk-font);
  font-size: 28px;
  font-weight: 500;
  color: var(--catwalk-dark);
  margin-bottom: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .catwalk-related-card-image {
    padding: 20px;
  }
  .catwalk-action-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .catwalk-related-card-title {
    font-size: 14px;
  }
  .catwalk-related-card-price {
    font-size: 13px;
  }
}

/* ==========================================================================
   LIGHTBOX ZOOM MODAL
   ========================================================================== */
.catwalk-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catwalk-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.catwalk-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 90%;
}

.catwalk-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.catwalk-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}

.catwalk-lightbox-close:hover {
  color: var(--catwalk-pink);
}

body.lightbox-open {
  overflow: hidden;
}

/* ============================================
   USER DROPDOWN MENU
   ============================================ */
.nav-user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  cursor: pointer;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: #fff;
  border: 1px solid var(--catwalk-border, #e8e8e8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 240px;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.user-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-header {
  padding: 20px;
  border-bottom: 1px solid var(--catwalk-border, #e8e8e8);
  background: #fafafa;
}

.user-dropdown-name {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--catwalk-text-primary, #151515);
  margin-bottom: 4px;
}

.user-dropdown-email {
  display: block;
  font-size: 13px;
  color: #888;
}

.user-dropdown-items {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.user-dropdown-items li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--catwalk-text-primary, #151515);
  transition: all 0.2s ease;
}

.user-dropdown-items li a:hover {
  background: #f8f8f8;
  color: var(--catwalk-primary, #fc8dcf);
}

.user-dropdown-items li a i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--catwalk-border, #e8e8e8);
  margin: 8px 0;
}

.user-dropdown-items .logout-link {
  color: #dc3545;
}

.user-dropdown-items .logout-link:hover {
  background: #fff5f5;
  color: #dc3545;
}

/* Arrow pointer on dropdown */
.user-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.user-dropdown-menu::after {
  content: "";
  position: absolute;
  top: -9px;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid var(--catwalk-border, #e8e8e8);
  z-index: -1;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .user-dropdown-menu {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 100%;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .user-dropdown-menu.active {
    transform: translateY(0);
  }

  .user-dropdown-menu::before,
  .user-dropdown-menu::after {
    display: none;
  }
}

/* ============================================
   HOMEPAGE PRODUCT CARD (ISOLATED DESIGN)
   ============================================ */
.catwalk-home-product-card {
  position: relative;
  margin-bottom: 30px;
  background: #fff;
  transition: all 0.3s ease;
}

.home-product-image-wrapper {
  position: relative;
  background-color: #f5f5f5; /* Light gray background */
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 15px;
}

.home-product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  z-index: 1;
}

.catwalk-home-product-card:hover .home-product-image-wrapper img {
  transform: scale(1.05);
}

/* Hover Overlay - Darken image */
.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05); /* Slight darken effect */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

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

/* Wishlist Button - Top Right */
.home-wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
  opacity: 0; /* Hidden by default? No, usually visible */
  opacity: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.home-wishlist-btn:hover {
  background: var(--catwalk-primary);
  color: #fff;
}

/* Quick View Button - Centered below image */
.home-quick-view-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0; /* Remove padding from wrapper */
  background: rgba(255, 255, 255, 0.9); /* Adding background for visibility */
  transform: translateY(100%); /* Start hidden below */
  transition: all 0.3s ease;
  z-index: 10;
}

.catwalk-home-product-card:hover .home-quick-view-wrapper {
  transform: translateY(0); /* Slide up into view */
}

.home-quick-view-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  display: flex; /* Changed to flex for full centering */
  align-items: center;
  justify-content: center; /* Center content */
  width: 100%; /* Full width */
  padding: 10px; /* Add padding here */
  gap: 5px;
  transition: color 0.3s ease;
}

.home-quick-view-btn:hover {
  color: var(--catwalk-primary);
}

/* Product Info */
.home-product-info {
  /* padding: 0 10px; */
}

.home-product-info .product-title {
  font-size: 16px;
  font-weight: 500; /* Bolder as per screenshot */
  margin-bottom: 8px;
  line-height: 1.4;
}

.home-product-info .product-title a {
  color: #111;
}

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

/* Price / Add to Cart Toggle */
.price-action-wrapper {
  position: relative;
  height: 24px; /* Fixed height to prevent layout shift */
  overflow: hidden;
}

.price-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
}

.action-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.catwalk-home-product-card:hover .price-view {
  transform: translateY(-20px);
  opacity: 0;
}

.catwalk-home-product-card:hover .action-view {
  transform: translateY(0);
  opacity: 1;
}

.home-add-to-cart-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.home-add-to-cart-btn:hover {
  color: var(--catwalk-primary);
}

.price-view .current-price {
  font-size: 15px;
  color: #777; /* Lighter gray for price */
}

.price-view .old-price {
  font-size: 14px;
  text-decoration: line-through;
  color: #aaa;
  margin-right: 5px;
}

/* ============================================
   MODAL CENTERING FIX
   ============================================ */
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  content: "";
}

@media (min-width: 576px) {
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
}

/* ============================================================================
   ERROR PAGES (CatWalk Theme)
   Generic styles for all error pages (403, 404, 500, 503, etc.)
   ============================================================================ */

.catwalk-error-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fffefe;
  padding: 40px 20px;
}

.catwalk-error-content {
  text-align: center;
  max-width: 600px;
}

.catwalk-error-number {
  font-family: var(--catwalk-font, "futura-pt", sans-serif);
  font-size: 320px;
  color: var(--catwalk-pink, #fc8dcf);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  letter-spacing: -5px;
}

.catwalk-error-heading {
  font-family: var(--catwalk-font, "futura-pt", sans-serif);
  font-size: 47px;
  color: var(--catwalk-dark, #171517);
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.catwalk-error-text {
  font-family: var(--catwalk-font, "futura-pt", sans-serif);
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.catwalk-error-button {
  background: var(--catwalk-pink, #fc8dcf);
  color: #fff !important;
  padding: 17px 54px;
  font-family: var(--catwalk-font, "futura-pt", sans-serif);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none !important;
  display: inline-block;
  border-radius: 0;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
}

.catwalk-error-button:hover {
  background: var(--catwalk-dark, #171517);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .catwalk-error-number {
    font-size: 180px;
    letter-spacing: -3px;
  }

  .catwalk-error-heading {
    font-size: 32px;
  }

  .catwalk-error-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .catwalk-error-container {
    min-height: 70vh;
  }

  .catwalk-error-number {
    font-size: 120px;
    letter-spacing: -2px;
  }

  .catwalk-error-heading {
    font-size: 24px;
    margin-top: 15px;
  }

  .catwalk-error-text {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .catwalk-error-button {
    padding: 14px 40px;
    font-size: 14px;
  }
}

/* ============================================
   SWEETALERT2 THEME OVERRIDES
   ============================================ */
.swal2-popup {
  border-radius: 0 !important;
  font-family: "futura-pt", sans-serif !important;
  padding: 40px !important;
}

.swal2-title {
  color: #171517 !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  margin-bottom: 10px !important;
}

.swal2-content {
  color: #666 !important;
  font-size: 16px !important;
}

/* Success Icon - Make it Pink */
.swal2-icon.swal2-success {
  border-color: #fc8dcf !important;
}

.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long {
  background-color: #fc8dcf !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border: 4px solid rgba(252, 141, 207, 0.2) !important;
}

/* Error Icon */
.swal2-icon.swal2-error {
  border-color: #dc3545 !important;
}

.swal2-icon.swal2-error .swal2-x-mark-line-left,
.swal2-icon.swal2-error .swal2-x-mark-line-right {
  background-color: #dc3545 !important;
}

/* Confirm Button */
.swal2-confirm.btn-catwalk {
  background: #fc8dcf !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 15px 40px !important;
  box-shadow: 0 4px 10px rgba(252, 141, 207, 0.3) !important;
  transition: all 0.3s ease;
}

.swal2-confirm.btn-catwalk:hover {
  background: #fa73c4 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(252, 141, 207, 0.4) !important;
}

.swal2-actions {
  margin-top: 30px !important;
}
