/* ============================================================
   ChikanCraft — Main Stylesheet
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary: #8b1a4c;
  --primary-light: #b5426e;
  --primary-dark: #5e1133;
  --accent: #c9a96e;
  --accent-light: #e8d5a3;
  --bg: #fdfaf6;
  --bg-section: #f8f0e8;
  --text: #2d2424;
  --text-muted: #8b7355;
  --border: #e8ddd0;
  --white: #ffffff;
  --footer-bg: #1a0a12;
  --footer-text: #c9b8c0;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: 0.25s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Lato", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  color: var(--text);
  line-height: 1.3;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--primary-dark);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Announcement Bar ──────────────────────────────────────── */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 12.5px;
  letter-spacing: 0.5px;
}
.announcement-bar a {
  color: var(--accent-light);
  font-weight: 700;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1300px;
  margin: 0 auto;
  height: 72px;
}

/* Logo */
.site-logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.site-logo .logo-tagline {
  font-family: "Lato", sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}
.site-logo span {
  color: var(--accent);
}

/* Main nav */
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Header icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-icons a {
  color: var(--text);
  font-size: 17px;
  position: relative;
  display: flex;
  align-items: center;
}
.header-icons a:hover {
  color: var(--primary);
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -9px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lato", sans-serif;
  line-height: 1;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
  font-size: 22px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
}
.mobile-nav.open {
  display: flex;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary-cc {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary-cc:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139, 26, 76, 0.35);
}
.btn-outline-cc {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline-cc:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-accent:hover {
  background: #b8943b;
  border-color: #b8943b;
  color: var(--white);
}

/* ── Section Utilities ─────────────────────────────────────── */
.section {
  padding: 70px 0;
}
.section-alt {
  background: var(--bg-section);
}
.container-cc {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  text-align: center;
  margin-bottom: 10px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 48px;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  width: 60px;
  background: var(--accent);
}
.section-divider span {
  color: var(--accent);
  font-size: 18px;
}

/* ── Hero Banner ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding-right: clamp(170px, 24vw, 320px);
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    #c46b85 100%
  );
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(201, 169, 110, 0.15) 0,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.08) 0,
      transparent 40%
    );
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a96e' fill-opacity='0.06'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20v20h20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  flex: 1 1 auto;
  padding: 60px 40px;
  color: var(--white);
}
.hero-media {
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(170px, 22vw, 260px);
  margin-right: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.15);
}
.hero-media img {
  width: 100%;
  height: clamp(170px, 24vw, 240px);
  max-height: none;
  object-fit: cover;
}
.hero-media-fallback {
  min-height: clamp(170px, 24vw, 240px);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 30px;
  letter-spacing: 1px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(
    145deg,
    rgba(201, 169, 110, 0.35),
    rgba(255, 255, 255, 0.08)
  );
}
.hero-badge {
  display: inline-block;
  background: rgba(201, 169, 110, 0.25);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  color: var(--white);
  margin-bottom: 18px;
  leading-trim: both;
}
.hero-title span {
  color: var(--accent);
}
.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .btn-accent {
  font-size: 14px;
  padding: 14px 34px;
}
.hero .btn-outline-hero {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.hero .btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}
@media (max-width: 980px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-right: 0;
    padding: 20px 0 48px;
  }
  .hero-content {
    max-width: 720px;
    flex: 1 1 auto;
  }
  .hero-media {
    display: none;
  }
}

/* ── Category Cards ──────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover img {
  transform: scale(1.07);
}
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 10, 18, 0.75) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.category-card-name {
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

/* ── Product Grid ────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-section);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.badge-sale,
.badge-new {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  color: var(--white);
}
.badge-sale {
  background: #dc3545;
}
.badge-new {
  background: var(--primary);
}

.product-card-quick {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: rgba(139, 26, 76, 0.9);
  color: var(--white);
  text-align: center;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: bottom var(--transition);
}
.product-card:hover .product-card-quick {
  bottom: 0;
}

.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-category {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.product-card-name {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
  flex: 1;
  line-height: 1.4;
}
.product-card-name a {
  color: var(--text);
}
.product-card-name a:hover {
  color: var(--primary);
}
.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-current {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.price-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-saving {
  font-size: 11px;
  color: #28a745;
  font-weight: 700;
}

/* ── Features Strip ──────────────────────────────────────────── */
.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .features-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .features-strip {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid var(--border);
}
.feature-item:last-child {
  border-right: none;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}
.feature-text h6 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 2px;
  font-family: "Lato", sans-serif;
}
.feature-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ── About Strip ─────────────────────────────────────────────── */
.about-strip {
  background: var(--primary);
  color: var(--white);
  padding: 70px 0;
}
.about-strip h2 {
  color: var(--white);
}
.about-strip .accent {
  color: var(--accent);
}

/* ── Page Header (inner pages) ────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 52px 20px;
}
.page-header h1 {
  color: var(--white);
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 42px);
}
.page-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 15px;
}
.breadcrumb-cc {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-cc a {
  color: var(--accent-light);
}
.breadcrumb-cc span {
  opacity: 0.6;
}

/* ── Shop Page ───────────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  font-family: "Playfair Display", serif;
}
.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.filter-list a:last-child {
  border-bottom: none;
}
.filter-list a:hover,
.filter-list a.active {
  color: var(--primary);
  font-weight: 700;
}
.filter-count {
  background: var(--bg-section);
  color: var(--text-muted);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
}
.filter-list a.active .filter-count {
  background: var(--primary);
  color: var(--white);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count {
  font-size: 14px;
  color: var(--text-muted);
}
.sort-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  outline: none;
}
.sort-select:focus {
  border-color: var(--primary);
}

/* ── Pagination ──────────────────────────────────────────────── */
.pagination-cc {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination-cc a,
.pagination-cc span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
}
.pagination-cc a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination-cc span.current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ── Product Detail ──────────────────────────────────────────── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

.product-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  background: var(--bg-section);
}
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info .product-cat-tag {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.product-detail-info h1 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 16px;
}
.product-detail-price {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.detail-price-current {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.detail-price-original {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.detail-price-save {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.size-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.size-btn {
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: "Lato", sans-serif;
}
.size-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.size-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 20px;
}
.qty-btn {
  background: var(--bg-section);
  border: none;
  width: 38px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition);
}
.qty-btn:hover {
  background: var(--border);
}
.qty-input {
  border: none;
  width: 52px;
  text-align: center;
  font-size: 15px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  outline: none;
  background: var(--white);
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-add-cart {
  flex: 1;
  min-width: 160px;
}
.btn-buy-now {
  flex: 1;
  min-width: 160px;
}

.product-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.product-meta span {
  color: var(--text);
  font-weight: 600;
}

.product-tabs {
  margin-top: 40px;
}
.tab-btns {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
}
.tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn:hover {
  color: var(--primary);
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-content {
  display: none;
  padding: 24px 0;
  font-size: 14.5px;
  line-height: 1.8;
}
.tab-content.active {
  display: block;
}

/* ── Cart ────────────────────────────────────────────────────── */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.cart-table td {
  padding: 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
}
.cart-item-name {
  font-family: "Playfair Display", serif;
  font-size: 15px;
}
.cart-item-size {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
}
.cart-remove:hover {
  color: #dc3545;
}

.cart-summary-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.summary-row:last-of-type {
  border-bottom: none;
}
.summary-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* ── Checkout ────────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.form-section-title {
  font-size: 18px;
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.form-control-cc {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control-cc:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 26, 76, 0.1);
}

.payment-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}
.payment-option:hover {
  border-color: var(--primary);
  background: rgba(139, 26, 76, 0.02);
}
.payment-option.selected {
  border-color: var(--primary);
  background: rgba(139, 26, 76, 0.04);
}
.payment-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--bg-section);
}
.payment-option input[type="radio"] {
  accent-color: var(--primary);
}
.payment-icon {
  font-size: 22px;
  color: var(--primary);
  width: 30px;
  text-align: center;
}
.payment-info h6 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
}
.payment-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}
.payment-badge {
  margin-left: auto;
  background: var(--bg-section);
  color: var(--text-muted);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 700;
}

.order-summary-sticky {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.order-item-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.order-item-img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.order-item-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.order-item-size {
  font-size: 11px;
  color: var(--text-muted);
}
.order-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

/* ── Auth Forms ──────────────────────────────────────────────── */
.auth-container {
  max-width: 480px;
  margin: 60px auto;
  padding: 0 20px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.auth-card h2 {
  text-align: center;
  margin-bottom: 6px;
}
.auth-card .auth-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 30px;
}
.auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
  color: var(--text-muted);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}

/* ── Order Success ───────────────────────────────────────────── */
.success-box {
  max-width: 560px;
  margin: 60px auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  box-shadow: var(--shadow);
}
.success-icon {
  width: 80px;
  height: 80px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  color: #2e7d32;
}
.order-number-display {
  font-size: 22px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: var(--primary);
  background: var(--bg-section);
  padding: 12px 28px;
  border-radius: var(--radius);
  display: inline-block;
  margin: 16px 0;
  letter-spacing: 2px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand .logo-text {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .logo-text span {
  color: var(--accent);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-col h6 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: "Lato", sans-serif;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul a {
  color: var(--footer-text);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul a:hover {
  color: var(--accent);
}
.footer-col address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
}
.footer-col address a {
  color: var(--footer-text);
}
.footer-col address a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a {
  color: var(--footer-text);
}
.footer-bottom a:hover {
  color: var(--accent);
}

/* ── Alert / Flash ───────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.alert-success {
  background: #d1e7dd;
  color: #0f5132;
  border-color: #badbcc;
}
.alert-danger {
  background: #f8d7da;
  color: #842029;
  border-color: #f5c2c7;
}
.alert-info {
  background: #d0ebf5;
  color: #0c5460;
  border-color: #b6d4fe;
}
.alert-warning {
  background: #fff3cd;
  color: #664d03;
  border-color: #ffecb5;
}
.btn-close {
  float: right;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
}

/* ── Policy / Info Pages ──────────────────────────────────────── */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 20px;
}
.policy-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--primary);
}
.policy-content h3 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 8px;
}
.policy-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 14px;
}
.policy-content ul {
  margin: 0 0 14px 20px;
  list-style: disc;
}
.policy-content ul li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 5px;
  color: var(--text);
}

/* ── Contact Page ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}
.contact-info-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 28px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.contact-detail-text h6 {
  color: var(--white);
  font-size: 13px;
  margin: 0 0 3px;
  font-family: "Lato";
  font-weight: 700;
}
.contact-detail-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin: 0;
}

/* ── Misc ────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state i {
  font-size: 56px;
  color: var(--border);
  margin-bottom: 16px;
}
.empty-state h3 {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.text-primary-cc {
  color: var(--primary) !important;
}
.text-accent {
  color: var(--accent) !important;
}
.text-muted-cc {
  color: var(--text-muted) !important;
}
.bg-section {
  background: var(--bg-section) !important;
}
.fw-700 {
  font-weight: 700;
}

/* ── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .main-nav a {
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .section {
    padding: 50px 0;
  }
  .hero {
    min-height: 420px;
  }
  .hero-content {
    padding: 40px 24px;
  }
  .features-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 28px;
  }
  .auth-card {
    padding: 28px 20px;
  }
}
