/* ================= HOME PAGE ================= */

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.hero-sidebar-placeholder {
  /* Used to reserve space when category menu is persistent */
  height: 100%;
}

.hero-slider {
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  padding: 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-dark);
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  max-width: 500px;
  transform: translateY(20px);
  transition: transform 0.8s ease-in-out;
}

.slide.active .slide-content {
  transform: translateY(0);
}

.slide-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--danger-color);
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.slide-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.slide-desc {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 30px;
}

/* Slide controls */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.slider-dot.active {
  background-color: var(--primary-color);
  width: 25px;
  border-radius: 10px;
}

/* Info Banner Columns */
.info-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  background-color: var(--bg-white);
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.info-banner-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-banner-item:not(:last-child) {
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.info-banner-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.info-banner-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.info-banner-text p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Deal Of the Day Slider / Grid */
.deal-section {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
}

.tab-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.tab-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tab-nav li {
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.tab-nav li.active,
.tab-nav li:hover {
  color: var(--primary-color);
  font-weight: 700;
}

.tab-nav li.active::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.tab-dropdown-menu-container {
  position: relative;
  display: inline-block;
}

.tab-dots-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-dots-btn:hover {
  background: #fff5f8;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.tab-dots-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  min-width: 160px;
  padding: 6px;
  list-style: none;
  display: none;
  z-index: 100;
}

.tab-dots-dropdown.active {
  display: block;
}

.tab-dots-dropdown li {
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-dots-dropdown li:hover {
  background: #fff5f8;
  color: var(--primary-color);
}

.tab-dots-dropdown li.active {
  background: var(--primary-color);
  color: #ffffff;
}

.tab-dots-dropdown li.active i {
  color: #ffffff !important;
}

/* Responsive tab switcher: show standard tabs on desktop, show only 3-dots button on mobile */
@media (min-width: 769px) {
  .tab-dropdown-menu-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .tab-nav {
    display: none !important;
  }
  .tab-dropdown-menu-container {
    display: inline-block !important;
  }
}

/* Category Double Banner */
.promo-banners-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.promo-banner-card {
  height: 200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.promo-banner-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.promo-banner-card p {
  font-size: 1rem;
  color: var(--danger-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.promo-banner-card .btn {
  align-self: flex-start;
}


/* ================= PRODUCT DETAIL PAGE ================= */
.product-detail-grid {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 45px;
  background-color: #ffffff;
  border: 1px solid rgba(235, 8, 109, 0.14);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 35px rgba(235, 8, 109, 0.05);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.main-image-view {
  height: 480px;
  border: 1px solid rgba(235, 8, 109, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  position: relative;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.main-image-view img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.4s ease;
  opacity: 0;
}

.main-image-view img.loaded {
  opacity: 1;
}

.main-image-view:hover img {
  transform: scale(1.06);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(235, 8, 109, 0.25);
  color: var(--primary-color);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.gallery-arrow:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }

.gallery-thumbnails-track {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.thumb-img-item {
  width: 80px;
  height: 80px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #ffffff;
  flex-shrink: 0;
  padding: 4px;
}

.thumb-img-item:hover,
.thumb-img-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(235, 8, 109, 0.2);
  transform: translateY(-2px);
}

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

/* Product Varieties Swatches & Chips */
.color-swatch-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #cbd5e1;
  transition: all 0.25s ease;
}

.color-swatch-item:hover,
.color-swatch-item.active {
  box-shadow: 0 0 0 3px var(--primary-color);
  transform: scale(1.12);
}

.size-chip-item {
  padding: 8px 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.25s ease;
}

.size-chip-item:hover,
.size-chip-item.active {
  border-color: var(--primary-color);
  background: #fff5f8;
  color: var(--primary-color);
  box-shadow: 0 3px 10px rgba(235, 8, 109, 0.12);
}

.product-meta-details {
  display: flex;
  flex-direction: column;
}

.product-meta-details h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-price-box {
  background-color: var(--bg-color);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 25px;
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.detail-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--danger-color);
}

.detail-price-original {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--text-light);
}

.detail-stock-status {
  margin-bottom: 25px;
  font-weight: 600;
}

.detail-stock-status.in-stock {
  color: var(--accent-color);
}

.detail-stock-status.out-of-stock {
  color: var(--danger-color);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: nowrap;
  width: 100%;
}

.detail-actions .qty-selector {
  flex: 0 0 auto;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.detail-actions .qty-btn {
  width: 38px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.detail-actions .qty-input {
  width: 36px;
  height: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  background: transparent;
  color: var(--text-dark);
}

.detail-add-to-cart-btn {
  flex: 1 1 auto;
  height: 48px;
  padding: 0 18px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(235, 8, 109, 0.28);
  min-width: 0;
}

.detail-wishlist-btn {
  position: static !important;
  flex: 0 0 48px;
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  border: 1px solid var(--border-color) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
}
  border: none;
  text-align: center;
  font-weight: 600;
}

.product-detail-tabs {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 40px;
}

.tab-headers {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  gap: 35px;
}

.tab-header-item {
  padding: 10px 0;
  font-weight: 700;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  color: var(--text-light);
}

.tab-header-item.active {
  color: var(--text-dark);
}

.tab-header-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
}

.tab-pane {
  display: none;
  line-height: 1.8;
}

.tab-pane.active {
  display: block;
}


/* ================= CART & CHECKOUT PAGE ================= */
.cart-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.cart-table-card,
.checkout-billing-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 25px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 600;
}

.cart-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--bg-color);
  vertical-align: middle;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-product-cell img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.cart-product-cell-name {
  font-weight: 600;
  color: var(--text-dark);
}

.cart-remove-item {
  color: var(--text-light);
}

.cart-remove-item:hover {
  color: var(--danger-color);
}

.order-summary-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 25px;
  height: fit-content;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 25px;
}


/* ================= USER ACCOUNT & VENDOR DASHBOARD ================= */
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.auth-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
}

.auth-card h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

/* Dashboard Layout */
.dashboard-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  background-color: #ffffff;
  border: 1px solid rgba(235, 8, 109, 0.14);
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(235, 8, 109, 0.05);
  overflow: hidden;
  margin-top: 15px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.dashboard-sidebar {
  background: linear-gradient(180deg, #fff5f8 0%, #ffffff 100%);
  border-right: 1px solid rgba(235, 8, 109, 0.12);
  padding: 30px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.dashboard-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 25px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border-left: 4px solid transparent;
  text-decoration: none;
}

.dashboard-menu li a i {
  width: 20px;
  font-size: 1.05rem;
  color: var(--text-light);
  transition: color 0.25s ease;
}

.dashboard-menu li a.active,
.dashboard-menu li a:hover {
  background: #ffffff;
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(235, 8, 109, 0.06);
}

.dashboard-menu li a.active i,
.dashboard-menu li a:hover i {
  color: var(--primary-color);
}

.dashboard-content {
  padding: 35px 40px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
  padding: 22px 20px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(235, 8, 109, 0.15);
  box-shadow: 0 4px 15px rgba(235, 8, 109, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(235, 8, 109, 0.1);
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.dashboard-table th {
  background: #fff5f8;
  padding: 14px 16px;
  text-align: left;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(235, 8, 109, 0.12);
}

.dashboard-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  color: var(--text-dark);
}

.dashboard-table tr:hover td {
  background: #fff5f8;
}

/* Dashboard Helper & Grid Styles */
.account-card-box {
  padding: 30px;
  border: 1px solid rgba(235, 8, 109, 0.14);
  border-radius: 16px;
  background: #ffffff;
  width: 100%;
  box-shadow: 0 4px 20px rgba(235, 8, 109, 0.03);
}

.account-card-box h3 {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(235, 8, 109, 0.12);
  padding-bottom: 10px;
  font-size: 1.18rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}

.account-submit-btn {
  padding: 10px 25px;
  height: 46px;
  font-weight: 700;
  border-radius: 12px;
}

.vendor-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.vendor-form-col {
  border-right: 1px solid rgba(235, 8, 109, 0.12);
  padding-right: 40px;
}

.vendor-form-col h3,
.vendor-orders-col h3 {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(235, 8, 109, 0.12);
  padding-bottom: 10px;
  font-size: 1.15rem;
  color: var(--secondary-color);
  font-weight: 700;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* ================= ORDER TRACKING TIMELINE ================= */
.track-card {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
}

.timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 5%;
  right: 5%;
  height: 4px;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  width: 20%;
}

.step-icon {
  width: 34px;
  height: 34px;
  background-color: var(--border-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
}

.step-title {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.timeline-step.active .step-icon {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(235, 8, 109, 0.3);
}

.timeline-step.active .step-title {
  color: var(--text-dark);
  font-weight: 700;
}

.timeline-step.completed .step-icon {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

.timeline-step.completed .step-title {
  color: var(--text-dark);
}

/* ================= ORDER TRACKING RESPONSIVE ================= */
.track-page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-family: var(--font-primary);
}

.track-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .track-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .track-page-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  .track-sample-id-box {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .track-result-top-bar {
    justify-content: center !important;
    text-align: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .track-order-code-box,
  .track-status-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  #trackingResult {
    padding: 25px 18px !important;
    border-radius: 18px !important;
  }

  .timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-left: 10px;
    margin-top: 20px;
  }

  .timeline::before {
    top: 10px;
    bottom: 10px;
    left: 26px;
    right: auto;
    width: 3px;
    height: calc(100% - 20px);
  }

  .timeline-step {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: left;
  }

  .step-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .step-title {
    margin-top: 0;
    font-size: 0.9rem;
  }

  .step-subtitle {
    margin-top: 1px;
  }
}

@media (max-width: 480px) {
  #trackOrderForm {
    flex-direction: column;
  }
  #trackOrderForm button {
    width: 100%;
  }
}

/* ================= SPECIAL AD BANNER ================= */
.hero-sidebar-placeholder {
  position: relative;
  height: 100%;
}

.special-ad-banner {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  transform: translate3d(0, 0, 0);
}

.special-ad-banner:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.special-ad-banner .ad-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

.special-ad-banner:hover .ad-image {
  transform: scale(1.05);
}

.special-ad-banner .ad-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  padding: 25px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.05) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  pointer-events: none;
  z-index: 10;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.special-ad-banner .ad-badge {
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
  letter-spacing: 1px;
}

.special-ad-banner h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 5px 0 2px 0;
}

.special-ad-banner .ad-discount {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.special-ad-banner .ad-shop-btn {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 5px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ================= RESPONSIVE PAGES DESIGN ================= */

/* Home Page Slides & Banners */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-sidebar-placeholder {
    display: none !important;
  }

  .hero-slider {
    height: 320px;
  }

  .slide {
    padding: 30px;
  }

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

  .slide-desc {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Info banners */
  .info-banners {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 15px;
  }

  .info-banner-item:nth-child(2) {
    border-right: none;
  }

  /* Promo banners */
  .promo-banners-two {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 240px;
  }

  .slide-subtitle {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .slide-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .slide-desc {
    display: none;
  }

  .info-banners {
    grid-template-columns: 1fr;
  }

  .info-banner-item {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
  }

  .info-banner-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Product Detail Page */
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }

  .main-image-view {
    height: 300px;
  }

  .product-meta-details h1 {
    font-size: 1.6rem;
  }

  .detail-actions {
    gap: 8px;
    flex-wrap: nowrap;
  }
  
  .detail-actions .qty-selector {
    height: 46px;
  }

  .detail-actions .qty-btn {
    width: 32px;
  }
  
  .detail-actions .qty-input {
    width: 30px;
    font-size: 0.95rem;
  }
  
  .detail-add-to-cart-btn {
    height: 46px;
    padding: 0 8px;
    font-size: 0.88rem;
    gap: 6px;
  }

  .detail-wishlist-btn {
    flex: 0 0 44px;
    width: 44px !important;
    height: 46px !important;
  }
}

/* Cart & Checkout Page */
@media (max-width: 768px) {
  .cart-page-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cart-table-card {
    padding: 15px;
    overflow-x: auto;
  }

  .cart-table th,
  .cart-table td {
    padding: 12px 8px;
    font-size: 0.85rem;
  }

  .cart-product-cell img {
    width: 40px;
    height: 40px;
  }

  .account-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}



/* Centered Auth Card Page Layout */
.auth-page-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 0 15px;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 50px;
}

.contact-info-col {
  border-right: 1px solid var(--border-color);
  padding-right: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }

  .contact-info-col {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 30px;
  }
}

/* About Page Styles */
.about-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 50px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-card {
    padding: 30px 20px;
  }
}

/* ================= ELEGANT FEMININE CART & CHECKOUT PAGE ================= */
.checkout-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: fit-content;
  margin: 10px auto 20px auto;
  background: #ffffff;
  padding: 10px 30px;
  border-radius: 14px;
  border: 1px solid rgba(235, 8, 109, 0.15);
  box-shadow: 0 4px 15px rgba(235, 8, 109, 0.05);
  flex-wrap: wrap;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.checkout-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.checkout-step.active {
  color: var(--primary-color);
}

.checkout-step.active .checkout-step-num {
  background: linear-gradient(135deg, #eb086d 0%, #ff4b93 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(235, 8, 109, 0.3);
}

.checkout-step-divider {
  width: 40px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
}

.checkout-step-divider.active {
  background: var(--primary-color);
}

.cart-table-card,
.checkout-billing-card,
.order-summary-card {
  background-color: #ffffff;
  border: 1px solid rgba(235, 8, 109, 0.14);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 10px 30px rgba(235, 8, 109, 0.05);
}

.cart-table-card h3,
.checkout-billing-card h3,
.order-summary-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
}

#emptyCartMessage h3 {
  display: block;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.cart-table th {
  background: #fff5f8;
  padding: 12px 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  border-bottom: 2px solid rgba(235, 8, 109, 0.12);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.cart-product-cell img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border: 1px solid rgba(235, 8, 109, 0.15);
  border-radius: 10px;
  transition: transform 0.25s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.cart-product-cell img:hover {
  transform: scale(1.06);
}

.cart-mobile-unit-price {
  display: none;
}

.cart-mobile-total-label {
  display: none;
}

.cart-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-product-cell-name {
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cart-product-cell-name:hover {
  color: var(--primary-color);
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  height: 34px;
  background: #ffffff;
}

.qty-btn {
  width: 28px;
  height: 100%;
  border: none;
  background: #f8fafc;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
  transition: background 0.2s ease;
}

.qty-btn:hover {
  background: #e2e8f0;
}

.qty-input {
  width: 36px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: transparent;
}

/* Selectable Payment Cards */
.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.payment-card-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.payment-card-option:hover {
  border-color: rgba(235, 8, 109, 0.4);
  background: #fff5f8;
}

.payment-card-option.active {
  border-color: var(--primary-color);
  background: #fff5f8;
  box-shadow: 0 4px 14px rgba(235, 8, 109, 0.12);
}

.payment-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Trust Box */
.trust-badges-box {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-color);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.trust-badge-item i {
  color: var(--primary-color);
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
}

.step-text-short {
  display: none !important;
}

/* ================= CART & CHECKOUT MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  /* ================= ACCOUNT DASHBOARD MOBILE RESPONSIVE ================= */
  .dashboard-container {
    grid-template-columns: 1fr !important;
    border-radius: 16px;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(235, 8, 109, 0.05);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* ================= ACCOUNT DASHBOARD MOBILE GRID TABS (NO SLIDING AT ALL) ================= */
  .dashboard-sidebar {
    border-right: none !important;
    border-bottom: 1px solid rgba(235, 8, 109, 0.12) !important;
    padding: 12px 10px !important;
    background: linear-gradient(180deg, #fff5f8 0%, #ffffff 100%) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .dashboard-menu {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  .dashboard-menu li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  .dashboard-menu li.logout-menu-item {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .dashboard-menu li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 10px 6px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-left: none !important;
    border-radius: 12px !important;
    background: #ffffff;
    border: 1px solid rgba(235, 8, 109, 0.14) !important;
    color: var(--text-dark) !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(235, 8, 109, 0.03);
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .dashboard-menu li a i {
    font-size: 1.05rem !important;
    width: auto !important;
    color: var(--primary-color) !important;
    transition: all 0.2s ease !important;
  }

  .dashboard-menu li a.active {
    background: linear-gradient(135deg, #eb086d 0%, #ff4b93 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(235, 8, 109, 0.28) !important;
    border-color: transparent !important;
  }

  .dashboard-menu li a.active i {
    color: #ffffff !important;
  }

  .dashboard-content {
    padding: 20px 14px 60px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dashboard-content h2 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
  }

  .dashboard-content p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-card {
    padding: 16px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .stat-card h3 {
    font-size: 1.8rem !important;
    margin-bottom: 4px !important;
    text-align: center !important;
    color: var(--primary-color) !important;
  }

  .stat-card p {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .account-card-box {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }

  .account-card-box h3 {
    font-size: 1.05rem !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .account-submit-btn {
    width: 100% !important;
    height: 48px !important;
    font-size: 0.95rem !important;
  }

  .vendor-panel-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    margin-top: 25px !important;
  }

  .vendor-form-col {
    border-right: none !important;
    border-bottom: 1px dashed var(--border-color) !important;
    padding-right: 0 !important;
    padding-bottom: 25px !important;
  }

  /* Step Wizard Progress Bar - Fits 100% on Mobile Screen (No Horizontal Scrollbar) */
  .checkout-progress-bar {
    padding: 10px 12px;
    gap: 8px;
    margin: 10px auto 15px auto;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(235, 8, 109, 0.05);
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .step-text-full {
    display: none !important;
  }

  .step-text-short {
    display: inline !important;
  }

  .checkout-step {
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .checkout-step-num {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .checkout-step span {
    white-space: nowrap;
  }

  .checkout-step-divider {
    flex: 1;
    min-width: 8px;
    height: 2px;
  }

  /* Page Grid Layout */
  .cart-page-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .cart-table-card,
  .checkout-billing-card,
  .order-summary-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  /* Responsive Cart Table to Cards Transformation */
  .cart-table,
  .cart-table tbody {
    display: block;
    width: 100%;
  }

  .cart-table thead {
    display: none;
  }

  /* Modern Mobile Card Container */
  .cart-table-row {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(235, 8, 109, 0.14);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(235, 8, 109, 0.05);
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center;
    gap: 12px;
  }

  .cart-table-row td {
    padding: 0;
    border: none;
  }

  /* Hide Desktop Unit Price Cell Completely on Mobile (fixes duplicate price bug) */
  .cart-table-row td:nth-child(2),
  .cart-cell-price {
    display: none !important;
  }

  /* Top Section: Product Image & Details */
  .cart-cell-product {
    grid-column: 1 / -1;
    padding-right: 36px;
  }

  .cart-product-cell {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .cart-product-cell img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: cover;
  }

  .cart-product-cell-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cart-mobile-unit-price {
    display: block;
    font-size: 0.84rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 4px;
  }

  /* Bottom Row: Quantity Counter (Left) */
  .cart-cell-qty {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
  }

  .qty-selector {
    height: 34px;
    border-radius: 10px;
  }

  .qty-btn {
    width: 28px;
  }

  .qty-input {
    width: 34px;
  }

  /* Bottom Row: Item Total (Right) */
  .cart-cell-total {
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: right;
  }

  .cart-mobile-total-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 4px;
  }

  /* Remove Trash Button Top Right */
  .cart-cell-remove {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .cart-remove-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff5f8;
    border: 1px solid rgba(235, 8, 109, 0.18);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    box-shadow: 0 2px 6px rgba(235, 8, 109, 0.08);
    transition: all 0.2s ease;
  }

  .cart-remove-item:hover {
    background: #ef4444;
    color: #ffffff;
  }

  /* Form & Captcha Box on Mobile */
  #checkoutCaptchaBox {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .checkout-step span {
    font-size: 0.7rem;
  }

  .checkout-step i {
    display: none;
  }
}

/* ================= ORDER SUCCESS & CONFIRMATION SCREEN ================= */
.order-success-card {
  max-width: 680px;
  margin: 20px auto 40px auto;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(235, 8, 109, 0.15);
  box-shadow: 0 20px 50px rgba(235, 8, 109, 0.12);
  padding: 40px 35px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: successCardPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes successCardPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-badge-wrapper {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #eb086d 0%, #ff4b93 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: #ffffff;
  font-size: 2.8rem;
  box-shadow: 0 10px 25px rgba(235, 8, 109, 0.35);
  position: relative;
}

.success-badge-wrapper::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(235, 8, 109, 0.4);
  animation: rotatePulse 12s linear infinite;
}

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

.order-success-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-family: var(--font-primary);
}

.order-success-card p.subtitle {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 30px;
  line-height: 1.5;
}

.order-id-box {
  background: #fff5f8;
  border: 1px dashed var(--primary-color);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
  position: relative;
}

.order-id-box label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 6px;
}

.order-id-value-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-id-text {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.btn-copy-order {
  padding: 6px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(235, 8, 109, 0.3);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-order:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  text-align: left;
  margin-bottom: 30px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.order-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-info-item span {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

.order-info-item strong {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 700;
}

.success-actions-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .order-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= ORDER SUCCESS MODAL POPUP ================= */
.order-success-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.order-success-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.order-success-modal-card {
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(235, 8, 109, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  padding: 28px 22px 22px 22px;
  text-align: center;
  position: relative;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-sizing: border-box;
}

.order-success-modal-backdrop.active .order-success-modal-card {
  transform: scale(1) translateY(0);
}

.order-success-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 5;
}

.order-success-modal-close:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.order-success-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.order-success-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.45;
}

.success-actions-row {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.btn-success-action {
  flex: 1;
  height: 44px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0 12px;
  white-space: nowrap;
}

.success-actions-row .btn-primary {
  background: linear-gradient(135deg, #eb086d 0%, #ff4b93 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(235, 8, 109, 0.28) !important;
  transition: all 0.25s ease !important;
}

.success-actions-row .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(235, 8, 109, 0.38) !important;
}

.success-actions-row .btn-outline {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border: 1.5px solid rgba(235, 8, 109, 0.3) !important;
  transition: all 0.25s ease !important;
}

.success-actions-row .btn-outline:hover {
  background: #fff5f8 !important;
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(235, 8, 109, 0.12) !important;
}

@media (max-width: 600px) {
  .order-success-modal-card {
    padding: 24px 16px 18px 16px;
    border-radius: 18px;
  }

  .order-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  .success-actions-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn-success-action {
    width: 100%;
    height: 46px;
    font-size: 0.92rem;
  }
}

/* ================= PROFESSIONAL SHOP FILTER SIDEBAR & GRID ================= */
.shop-main-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 30px;
  margin-top: 25px;
  align-items: start;
}

.shop-filter-sidebar {
  background: #ffffff;
  border: 1px solid rgba(235, 8, 109, 0.14);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(235, 8, 109, 0.05);
  position: sticky;
  top: 90px;
  transition: all 0.3s ease;
}

.sidebar-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 2px solid rgba(235, 8, 109, 0.1);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.sidebar-filter-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  white-space: nowrap;
}

.btn-clear-filters {
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.filter-group {
  margin-bottom: 24px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 20px;
}

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

.filter-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

#extraCategoriesList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.filter-checkbox-item:hover {
  color: var(--primary-color);
}

.filter-checkbox-item input[type="checkbox"],
.filter-checkbox-item input[type="radio"] {
  accent-color: var(--primary-color);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-item-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.filter-count-badge {
  font-size: 0.75rem;
  background: #f1f5f9;
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

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

.price-inputs-row input {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
}

.btn-apply-price {
  width: 100%;
  padding: 8px;
  font-size: 0.85rem;
  border-radius: 8px;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-apply-price:hover {
  opacity: 0.9;
}

.price-presets-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.price-preset-chip {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.price-preset-chip:hover,
.price-preset-chip.active {
  background: #fff5f8;
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
}

/* Shop Toolbar Top Bar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(235, 8, 109, 0.12);
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  flex-wrap: wrap;
  gap: 15px;
}

.shop-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-mobile-filter {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #fff5f8;
  border: 1px solid rgba(235, 8, 109, 0.3);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.shop-results-count {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.shop-results-count strong {
  color: var(--text-dark);
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-toolbar-right select {
  padding: 8px 14px;
  font-size: 0.88rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
}

@media (max-width: 992px) {
  .shop-main-layout {
    grid-template-columns: 1fr;
  }

  .btn-mobile-filter {
    display: inline-flex;
  }

  .shop-filter-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 3500;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
  }

  .shop-filter-sidebar.active {
    display: block;
  }
}

/* ================= CUSTOMER REVIEW CHAT SCREENSHOTS ================= */
.review-screenshots-section {
  background: linear-gradient(180deg, #ffffff 0%, #fffcfd 100%);
  padding: 50px 0;
  border-top: 1px solid rgba(235, 8, 109, 0.08);
  border-bottom: 1px solid rgba(235, 8, 109, 0.08);
}

.review-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 35px;
}

@media (min-width: 1024px) {
  .review-screenshots-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .review-screenshots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .review-screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .review-screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.review-screenshot-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(235, 8, 109, 0.12);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.review-screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(235, 8, 109, 0.15);
  border-color: rgba(235, 8, 109, 0.4);
}

.review-screenshot-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #f8fafc;
  overflow: hidden;
}

.review-screenshot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.review-screenshot-card:hover .review-screenshot-img-wrap img {
  transform: scale(1.04);
}

.review-screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-screenshot-card:hover .review-screenshot-overlay {
  opacity: 1;
}

.review-screenshot-zoom-btn {
  background: #eb086d;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(235, 8, 109, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.review-screenshot-card:hover .review-screenshot-zoom-btn {
  transform: translateY(0);
}

.review-screenshot-info {
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-screenshot-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark, #1f2937);
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-screenshot-date {
  font-size: 0.78rem;
  color: var(--text-light, #6b7280);
}

.review-screenshots-more-wrap {
  margin-top: 35px;
  display: flex;
  justify-content: center;
}

.review-screenshots-more-btn {
  background: linear-gradient(135deg, #eb086d 0%, #d80763 100%);
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(235, 8, 109, 0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.review-screenshots-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(235, 8, 109, 0.35);
  background: linear-gradient(135deg, #ff1a7d 0%, #eb086d 100%);
}

/* Lightbox Modal */
.review-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.review-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.review-lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
}

.review-lightbox-content {
  position: relative;
  z-index: 10000;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.review-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.review-lightbox-close:hover {
  background: #eb086d;
  border-color: #eb086d;
}

.review-lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  background: #ffffff;
}

.review-lightbox-caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ================= BLOG SYSTEM STYLES ================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background-color: var(--bg-white, #ffffff);
  border: 1px solid rgba(235, 8, 109, 0.12);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(235, 8, 109, 0.15);
  border-color: var(--primary-color, #eb086d);
}

.blog-card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  background-color: #f3f4f6;
}

.blog-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.07);
}

.blog-card-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(235, 8, 109, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.blog-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark, #0f172a);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-light, #64748b);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color, #e2e8f0);
  padding-top: 14px;
  margin-top: auto;
}

.blog-card-btn {
  background: #fff5f8;
  color: var(--primary-color, #eb086d);
  border: 1px solid rgba(235, 8, 109, 0.25);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.blog-card-btn:hover {
  background: linear-gradient(135deg, #eb086d, #ff4b93);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(235, 8, 109, 0.3);
}