/* ============================================================
   KOSKII – Main Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --brand-red: #c41e3a;
  --brand-dark: #1a1a1a;
  --brand-gold: #b8860b;
  --brand-light: #fdf8f5;
  --text-main: #1a1a1a;
  --text-muted: #777;
  --border: #ebebeb;
  --white: #ffffff;
  --bg-light: #f8f4f0;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --transition: 0.25s ease;
}

/* ── Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  color: var(--text-main);
  background: var(--white);
  font-size: 14.5px;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Announcement Bar ──────────────────────────────── */
.announcement-bar {
  background: var(--brand-dark);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.4px;
}

/* ── Navbar ────────────────────────────────────────── */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 10px 0;
  z-index: 1040;
}

.brand-logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-red);
  letter-spacing: 2px;
  text-transform: lowercase;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-main) !important;
  padding: 8px 14px !important;
  transition: color var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--brand-red) !important;
}

.nav-icon-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-icon-btn:hover {
  color: var(--brand-red);
}

.nav-icon-link {
  font-size: 18px;
  color: var(--text-main);
}

/* Cart Badge */
.cart-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--brand-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
}

/* ── Mega Menu ──────────────────────────────────────── */
.mega-menu {
  min-width: 640px;
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 3px solid var(--brand-red);
  padding: 24px !important;
}
.mega-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--brand-red);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mega-link {
  font-size: 13px;
  color: var(--text-main);
  display: block;
  padding: 3px 0;
  transition:
    color var(--transition),
    padding-left var(--transition);
}
.mega-link:hover {
  color: var(--brand-red);
  padding-left: 6px;
}

/* ── Hero Section ───────────────────────────────────── */
.hero-section {
  position: relative;
}

.hero-slide {
  height: 85vh;
  min-height: 480px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
}

.hero-caption {
  text-align: left;
  left: 8% !important;
  right: auto !important;
  bottom: auto !important;
  top: 50%;
  transform: translateY(-50%);
}

.hero-sub {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  font-weight: 500;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  max-width: 340px;
}

.btn-hero {
  background: var(--brand-red);
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition:
    background var(--transition),
    transform var(--transition);
  border: 2px solid transparent;
}
.btn-hero:hover {
  background: #fff;
  color: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.hero-arrow {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
}

/* ── Category Strip ─────────────────────────────────── */
.category-strip {
  border-bottom: 1px solid var(--border);
}

.cat-chip {
  display: inline-block;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text-main);
  transition: all var(--transition);
  white-space: nowrap;
}
.cat-chip:hover,
.bestseller-chip {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

/* ── Section Titles ─────────────────────────────────── */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--brand-red);
  margin-top: 8px;
}
.text-center .section-title::after {
  margin: 8px auto 0;
}

.view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-red);
  border-bottom: 1px solid var(--brand-red);
  padding-bottom: 1px;
  transition: opacity var(--transition);
}
.view-all-link:hover {
  opacity: 0.75;
}

/* ── Occasion Cards ─────────────────────────────────── */
.occasion-card {
  display: block;
}

.occasion-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
}

.occasion-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.occasion-img-wrap:hover .occasion-img {
  transform: scale(1.07);
}

.occasion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px 16px;
}
.occasion-overlay span {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 600;
}

/* ── Product Cards ──────────────────────────────────── */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f5f0eb;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.main-img {
  opacity: 1;
  position: absolute;
  inset: 0;
}
.hover-img {
  opacity: 0;
  position: absolute;
  inset: 0;
}
.product-img-wrap:hover .main-img {
  opacity: 0;
}
.product-img-wrap:hover .hover-img {
  opacity: 1;
}

.badge-discount,
.badge-new,
.badge-bestseller {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}
.badge-discount {
  background: var(--brand-red);
  color: #fff;
}
.badge-new {
  background: #0a8a0a;
  color: #fff;
  top: 10px;
  left: 10px;
}
.badge-bestseller {
  background: #ffc107;
  color: #1a1a1a;
  top: 10px;
  left: 10px;
  font-size: 10px;
}

/* Stack badges if both */
.badge-new + .badge-bestseller,
.badge-discount + .badge-bestseller {
  top: 36px;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 3;
  opacity: 0;
}
.product-img-wrap:hover .wishlist-btn {
  opacity: 1;
}
.wishlist-btn:hover {
  background: var(--brand-red);
  color: #fff;
}
.wishlist-btn .fas.text-danger {
  color: var(--brand-red) !important;
}

.product-fabric {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  transition: color var(--transition);
}
.product-name:hover {
  color: var(--brand-red);
}

.product-rating {
  font-size: 11px;
}
.review-count {
  color: var(--text-muted);
  font-size: 11px;
}

.price-current {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
}
.price-mrp {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 5px;
}
.price-save {
  font-size: 11px;
  color: #0a8a0a;
  font-weight: 600;
  display: block;
}

.btn-add-cart {
  background: #fff;
  border: 1.5px solid var(--brand-red);
  color: var(--brand-red);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.btn-add-cart:hover {
  background: var(--brand-red);
  color: #fff;
}

/* ── Sale Banner ────────────────────────────────────── */
.sale-sub {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}
.sale-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
}

/* ── Fabric Cards ───────────────────────────────────── */
.fabric-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  color: inherit;
}
.fabric-card:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.fabric-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
}
.fabric-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

/* ── Features Strip ─────────────────────────────────── */
.features-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-icon {
  font-size: 24px;
  color: var(--brand-red);
  display: block;
  margin-bottom: 8px;
}
.feature-title {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 2px;
}
.feature-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ── Footer ─────────────────────────────────────────── */
.main-footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand {
  color: var(--brand-red);
}

.footer-heading {
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.footer-link:hover {
  color: var(--brand-red);
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.social-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition);
  font-size: 14px;
}
.social-icon:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13px;
}
.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-red);
  color: #fff;
  box-shadow: none;
}

.btn-footer-sub {
  background: var(--brand-red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
}
.btn-footer-sub:hover {
  background: #a01830;
  color: #fff;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.footer-hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Search Modal ───────────────────────────────────── */
.search-modal-content {
  border: none;
  border-radius: var(--radius);
}
.search-modal-input .form-control {
  font-size: 18px;
  font-family: "Playfair Display", serif;
  border-bottom: 2px solid var(--border) !important;
}
.search-modal-input .form-control:focus {
  border-bottom-color: var(--brand-red) !important;
  box-shadow: none;
}
.search-tag {
  padding: 5px 14px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--text-main);
  transition: all var(--transition);
}
.search-tag:hover {
  background: var(--brand-red);
  color: #fff;
}

/* ── Products Page ──────────────────────────────────── */
.products-header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.products-page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
}
.breadcrumb-item a {
  color: var(--brand-red);
  font-size: 13px;
}
.breadcrumb-item.active {
  font-size: 13px;
  color: var(--text-muted);
}

/* Filter Sidebar */
.filter-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.sticky-filter {
  position: sticky;
  top: 80px;
}

.filter-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filter-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 12px;
}

.filter-label {
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  padding: 2px 0;
  display: flex;
  align-items: center;
}
.filter-label input[type="radio"] {
  accent-color: var(--brand-red);
}

.price-range {
  accent-color: var(--brand-red);
}

/* Sort Buttons */
.sort-btn {
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.sort-btn:hover,
.sort-btn.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.view-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.view-btn.active,
.view-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

/* Filter Chips Mobile */
.filter-chips-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.filter-chip {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-chip.active,
.filter-chip:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

/* Load More */
.btn-load-more {
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
  background: transparent;
  font-weight: 600;
  padding: 10px 40px;
  border-radius: 4px;
  transition: all var(--transition);
}
.btn-load-more:hover {
  background: var(--brand-red);
  color: #fff;
}

/* ── Product Detail Page ────────────────────────────── */
.main-img-container {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f0eb;
}

.main-product-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: opacity 0.2s ease;
  display: block;
}

.product-thumb {
  width: 68px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.active-thumb {
  border-color: var(--brand-red);
}

.badge-discount-lg {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
}

.wishlist-btn-lg {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  z-index: 3;
  transition: all var(--transition);
}
.wishlist-btn-lg:hover {
  background: var(--brand-red);
  color: #fff;
}

.img-nav-btns {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.img-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 12px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-nav-btn:hover {
  background: var(--brand-red);
  color: #fff;
}

/* PDP Info */
.badge-bestseller-pdp {
  background: #ffc107;
  color: #1a1a1a;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}
.badge-new-pdp {
  background: #0a8a0a;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.pdp-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 4px;
}

.pdp-fabric {
  font-size: 14px;
}

.pdp-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-dark);
}
.pdp-mrp {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.pdp-save {
  display: block;
  font-size: 13px;
  color: #0a8a0a;
  font-weight: 600;
  margin-top: 2px;
}

.pdp-offer-box {
  background: #fff8e7;
  border: 1px dashed #f5c42c;
}

/* Quantity Selector */
.qty-selector {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: inline-flex;
}
.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  background: var(--brand-red);
  color: #fff;
}
.qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.qty-val {
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.btn-add-cart-pdp {
  background: var(--brand-red);
  color: #fff;
  border: 2px solid var(--brand-red);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 6px;
  transition: all var(--transition);
}
.btn-add-cart-pdp:hover {
  background: #a01830;
  border-color: #a01830;
  color: #fff;
}

.btn-buy-now {
  background: var(--brand-dark);
  color: #fff;
  border: 2px solid var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 6px;
  transition: all var(--transition);
}
.btn-buy-now:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.pdp-delivery-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
}

/* Accordion */
.pdp-accordion .accordion-button {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main) !important;
  box-shadow: none !important;
}
.pdp-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-red) !important;
}
.pdp-accordion .accordion-button::after {
  filter: none;
}

/* Trust Badges */
.trust-badge {
  flex: 1;
  min-width: 64px;
  padding: 10px 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.trust-badge:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}
.trust-badge i {
  font-size: 16px;
  color: var(--brand-red);
}

/* ── Cart Page ──────────────────────────────────────── */
.cart-item {
  border: 1px solid var(--border) !important;
  transition: box-shadow var(--transition);
}
.cart-item:hover {
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 90px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.cart-item-name:hover {
  color: var(--brand-red);
}

.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}
.cart-item-mrp {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition);
}
.btn-remove-item:hover {
  color: var(--brand-red);
}

.coupon-box {
  background: #fff;
  border: 1px dashed var(--border);
}
.coupon-hint {
  color: var(--brand-red);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline dotted;
}
.btn-apply-coupon {
  background: var(--brand-red);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 16px;
}

/* Order Summary */
.order-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.sticky-summary {
  position: sticky;
  top: 80px;
}

.summary-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-main);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-red);
  margin-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 5px 0;
  color: var(--text-main);
}
.total-row {
  font-size: 16px;
  font-weight: 700;
}

/* ── Checkout Page ──────────────────────────────────── */
.checkout-steps {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: #fff;
  transition: all var(--transition);
}
.step-item.active .step-num {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}
.step-item.done .step-num {
  background: #0a8a0a;
  border-color: #0a8a0a;
  color: #fff;
}
.step-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.step-item.active .step-label {
  color: var(--brand-red);
}
.step-item.done .step-label {
  color: #0a8a0a;
}

.step-line {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-bottom: 18px;
}
.active-line {
  background: var(--brand-red);
}

/* Checkout Card */
.checkout-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.checkout-card-title {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-weight: 600;
}
.checkout-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.checkout-input {
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  transition: border-color var(--transition);
}
.checkout-input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
  outline: none;
}
.checkout-input.is-invalid {
  border-color: #dc3545 !important;
}

.addr-type-label {
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.addr-type-label input {
  accent-color: var(--brand-red);
}

/* Payment Options */
.payment-option {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}
.payment-option:has(input:checked) {
  border-color: var(--brand-red);
  background: #fff5f7;
}
.payment-option input[type="radio"] {
  accent-color: var(--brand-red);
}

.payment-sub-panel {
  margin: -8px 0 4px;
  border-left: 2px solid var(--brand-red);
  margin-left: 16px;
  padding-left: 0;
}

.checkout-thumb {
  width: 56px;
  height: 74px;
  object-fit: cover;
  flex-shrink: 0;
}

.cod-info-box {
  background: #e8f4fd;
  border: 1px solid #bee3f8;
}

/* Order Success Modal */
.success-circle {
  width: 80px;
  height: 80px;
  background: #0a8a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ── Global Toast ───────────────────────────────────── */
.global-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brand-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}
.global-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Utilities ──────────────────────────────────────── */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bg-success-subtle {
  background-color: #d1fae5 !important;
}

/* Stars */
.fa-star,
.fa-star-half-alt {
  color: #f59e0b;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 767.98px) {
  .hero-slide {
    height: 65vw;
    min-height: 320px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-caption {
    left: 5% !important;
  }
  .mega-menu {
    min-width: auto;
  }
  .qty-btn {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .qty-val {
    min-width: 32px;
    font-size: 14px;
  }
  .sticky-summary {
    position: relative;
    top: 0;
  }
  .cart-item-img {
    width: 72px;
    height: 96px;
  }
  .pdp-price {
    font-size: 22px;
  }
  .product-card .product-info {
    padding: 8px !important;
  }
  .step-line {
    width: 36px;
  }
  .main-product-img {
    aspect-ratio: 4/5;
  }
}

@media (max-width: 991.98px) {
  .mega-menu {
    position: static !important;
    box-shadow: none;
    border-top: none;
  }
  .navbar-nav {
    padding: 12px 0;
  }
  .nav-link {
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--border);
  }
  .hero-caption {
    text-align: center;
    left: 5% !important;
    right: 5% !important;
  }
  .hero-sub,
  .hero-desc {
    display: none;
  }
}
