/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================
   HEADER
   ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #b8960c;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: #999;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav a, .nav .dropdown-toggle {
  font-size: 0.875rem;
  font-weight: 400;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover, .nav .dropdown-toggle:hover {
  color: #b8960c;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 160px;
  border-radius: 4px;
  overflow: hidden;
  z-index: 200;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: #444;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: #fdf8ec;
  color: #b8960c;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Header icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #444;
}

.header-icons .fa, .header-icons .fab {
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.header-icons .fa:hover {
  color: #b8960c;
}

.lang {
  font-size: 0.8rem;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
}

.hamburger {
  display: none !important;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 8px 24px 16px;
}

.mobile-nav a {
  padding: 10px 0;
  font-size: 0.9rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav.open {
  display: flex;
}

/* =====================
   HERO SLIDER
   ===================== */
.hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #fff;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.35);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  color: #fff;
  font-size: 0.85rem;
}

.slide-arrow:hover {
  background: rgba(255,255,255,0.65);
  color: #333;
}

.slide-arrow.left { left: 16px; }
.slide-arrow.right { right: 16px; }

/* =====================
   FEATURED PRODUCTS
   ===================== */
.featured {
  max-width: 1200px;
  margin: 56px auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.section-title p {
  font-size: 0.85rem;
  color: #999;
  letter-spacing: 0.05em;
}

/* Products grid: 4 columns */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Product card */
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.product-card a {
  display: block;
  height: 240px;
  overflow: hidden;
}

.product-card a img {
  transition: transform 0.4s ease;
}

.product-card:hover a img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #b8960c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 5;
  letter-spacing: 0.03em;
}

.product-info {
  padding: 12px 14px 14px;
}

.product-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sku {
  font-size: 0.72rem;
  color: #aaa;
  margin-bottom: 6px;
}

.price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b8960c;
  margin-bottom: 5px;
}

.in-stock {
  font-size: 0.72rem;
  color: #5a9e5a;
  font-weight: 600;
}

.out-of-stock {
  font-size: 0.80rem;
  color: #b10c0c;
  font-weight: 600;
}

.product-card.is-out-of-stock {
  position: relative;
}

.product-card.is-out-of-stock img {
  filter: grayscale(0.35);
  opacity: 0.75;
}

.sold-out-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  background: rgba(177, 12, 12, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}
/* View all button */
.view-all-wrap {
  text-align: center;
  margin-top: 40px;
}

.view-all-btn {
  display: inline-block;
  padding: 11px 44px;
  border: 1.5px solid #444;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #444;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.view-all-btn:hover {
  background: #b8960c;
  border-color: #b8960c;
  color: #fff;
}

/* =====================
   NEWSLETTER / SHOP BY CATEGORY
   ===================== */
.newsletter {
  background: #c9a227;
  padding: 56px 24px;
  text-align: center;
  color: #fff;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter .fa-envelope {
  font-size: 2.4rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.newsletter h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.newsletter p {
  font-size: 0.9rem;
  opacity: 0.88;
  margin-bottom: 24px;
}

.subscribe-form {
  display: flex;
  gap: 0;
  justify-content: center;
}

.subscribe-form input {
  flex: 1;
  max-width: 300px;
  padding: 11px 16px;
  border: none;
  font-size: 0.88rem;
  outline: none;
  border-radius: 2px 0 0 2px;
  font-family: 'Lato', sans-serif;
  color: #333;
}

.subscribe-form button {
  padding: 11px 24px;
  background: #333;
  color: #fff;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
}

.subscribe-form button:hover {
  background: #111;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: #1a1a1a;
  color: #ccc;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #c9a227;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: #888;
}

.footer-connect h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ddd;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #333;
  color: #ccc;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.footer-socials a:hover {
  background: #c9a227;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2e2e2e;
  text-align: center;
  padding: 16px 24px;
  font-size: 0.75rem;
  color: #666;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: 260px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card a {
    height: 180px;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .subscribe-form input {
    max-width: 100%;
    border-radius: 2px;
  }

  .subscribe-form button {
    width: 100%;
    border-radius: 2px;
  }

  .header-icons .lang {
    display: none;
  }

  .logo-main {
    font-size: 1rem;
  }
}

/* =====================
   PRODUCTS PAGE
   ===================== */

/* Active nav link */
.nav-active {
  color: #b8960c !important;
  font-weight: 700 !important;
}

/* Page hero / breadcrumb */
.page-hero {
  background: #fafafa;
  border-bottom: 1px solid #ececec;
  padding: 24px 24px 20px;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
}

.page-hero p {
  font-size: 0.8rem;
  color: #999;
}

/* Search bar */
.search-bar-wrap {
  background: #fff;
  border-bottom: 1px solid #ececec;
  padding: 14px 24px;
}

.search-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 9px 14px;
  gap: 10px;
  background: #fff;
  transition: border-color 0.2s;
}

.search-bar:focus-within {
  border-color: #b8960c;
}

.search-icon {
  color: #aaa;
  font-size: 0.85rem;
}

.search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.88rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  background: transparent;
}

.search-bar input::placeholder {
  color: #bbb;
}

/* Layout: sidebar + main */
.products-page-wrap {
  max-width: 1200px;
  margin: 28px auto 48px;
  padding: 0 24px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* ---- SIDEBAR ---- */
.filters-sidebar {
  width: 210px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

.filters-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.filter-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.filter-section:last-of-type {
  border-bottom: none;
}

.filter-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Category filter search */
.filter-search {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 6px 10px;
  gap: 7px;
  margin-bottom: 10px;
  background: #fafafa;
}

.filter-search input {
  border: none;
  outline: none;
  font-size: 0.78rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  background: transparent;
  width: 100%;
}

.filter-search .fa {
  color: #bbb;
  font-size: 0.72rem;
}

/* Category list */
.cat-list {
  list-style: none;
}

.cat-item {
  font-size: 0.83rem;
  color: #555;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 2px;
}

.cat-item:hover {
  color: #b8960c;
}

.cat-item.active {
  color: #b8960c;
  font-weight: 700;
}

/* Price inputs */
.price-inputs {
  display: flex;
  gap: 10px;
}

.price-inputs input {
  width: 50%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.82rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
}

.price-inputs input:focus {
  border-color: #b8960c;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: #555;
  cursor: pointer;
}

.checkbox-label + .checkbox-label {
  margin-top: 8px;
}

.checkbox-label input[type="checkbox"] {
  accent-color: #b8960c;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* Apply filters button */
.apply-filters-btn {
  width: 100%;
  padding: 9px;
  background: #b8960c;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
  margin-top: 4px;
}

.apply-filters-btn:hover {
  background: #9a7d09;
}

/* ---- MAIN PRODUCTS AREA ---- */
.products-main {
  flex: 1;
  min-width: 0;
}

.results-count {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 18px;
}

/* Override grid to 4 cols inside products-main */
.products-main .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Hidden cards (filtered out) */
.product-card.hidden {
  display: none;
}

/* ---- PAGINATION ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pg-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  background: #fff;
  color: #444;
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pg-btn:hover:not(:disabled) {
  border-color: #b8960c;
  color: #b8960c;
}

.pg-btn.active {
  background: #b8960c;
  border-color: #b8960c;
  color: #fff;
  font-weight: 700;
}

.pg-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.pg-ellipsis {
  color: #aaa;
  font-size: 0.85rem;
  padding: 0 4px;
}

/* =====================
   RESPONSIVE – PRODUCTS PAGE
   ===================== */
@media (max-width: 1024px) {
  .products-main .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .products-page-wrap {
    flex-direction: column;
  }

  .filters-sidebar {
    width: 100%;
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 16px;
  }

  .filters-title {
    width: 100%;
    margin-bottom: 4px;
  }

  .filter-section {
    flex: 1 1 160px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .apply-filters-btn {
    width: auto;
    padding: 9px 28px;
    align-self: flex-end;
  }

  .products-main .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .products-main .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================
   WISHLIST PAGE
   ===================== */

/* Top bar */
.wishlist-bar {
  border-bottom: 1px solid #ececec;
  background: #fff;
  padding: 16px 24px;
}

.wishlist-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #555;
  transition: color 0.2s;
  white-space: nowrap;
}

.back-link:hover {
  color: #b8960c;
}

.wishlist-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wl-heart {
  color: #e05252;
  font-size: 1.1rem;
}

.wishlist-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
}

.wl-count {
  display: inline-block;
  background: #f3f3f3;
  color: #666;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* Body */
.wishlist-body {
  min-height: 55vh;
  background: #f7f7f7;
}

/* ---- Empty state ---- */
.wl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  text-align: center;
}

.wl-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ebebeb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.wl-empty-icon .fa-heart {
  font-size: 1.6rem;
  color: #bbb;
}

.wl-empty h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 12px;
}

.wl-empty p {
  font-size: 0.88rem;
  color: #888;
  max-width: 360px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.wl-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #b8960c;
  color: #fff;
  padding: 12px 32px;
  border-radius: 3px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}

.wl-shop-btn:hover {
  background: #9a7d09;
}

/* ---- Items view ---- */
.wl-items-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

/* Remove button on each card */
.wl-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #888;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.wl-remove-btn:hover {
  background: #e05252;
  color: #fff;
}

/* Heart icon on product cards (for adding to wishlist from products page) */
.wl-add-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #bbb;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.wl-add-btn:hover,
.wl-add-btn.wishlisted {
  color: #e05252;
}

/* Bottom actions row */
.wl-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.wl-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #444;
  color: #444;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  transition: border-color 0.2s, color 0.2s;
}

.wl-continue-btn:hover {
  border-color: #b8960c;
  color: #b8960c;
}

.wl-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid #e05252;
  color: #e05252;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s, color 0.2s;
}

.wl-clear-btn:hover {
  background: #e05252;
  color: #fff;
}

/* Heart icon badge on nav/header */
.wl-badge {
  position: relative;
  display: inline-flex;
}

.wl-badge-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e05252;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .wishlist-title h1 {
    font-size: 1.05rem;
  }

  .wl-empty {
    padding: 60px 24px 80px;
  }
}

/* =====================
   HEART WISHLIST BUTTON (on cards)
   ===================== */

/* Ensure card is positioned so the button can sit on top-right */
.product-card {
  position: relative;
}

.wl-add-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #ccc;
  z-index: 10;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
  transition: color 0.2s, transform 0.15s, background 0.2s;
  /* keep it above the badge which is also top-left */
}

.wl-add-btn:hover {
  transform: scale(1.15);
  background: #fff;
  color: #999;
}

/* Filled/pink state when wishlisted — set by JS only */
.wl-add-btn.wishlisted {
  color: #e05252;
}

.wl-add-btn.wishlisted .fa-heart {
  /* pop animation on toggle */
  animation: heartPop 0.25s ease;
}

@keyframes heartPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* =====================
   TOAST NOTIFICATION
   ===================== */
#wl-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #222;
  color: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-family: 'Lato', sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 9999;
}

#wl-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================
   CONTACT PAGE
   ===================== */

.contact-hero {
  background: #fafafa;
  border-bottom: 1px solid #ececec;
  text-align: center;
  padding: 40px 24px 32px;
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.contact-hero p {
  font-size: 0.9rem;
  color: #888;
}

/* Layout */
.contact-wrap {
  max-width: 1100px;
  margin: 36px auto 56px;
  padding: 0 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.contact-left {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-right {
  flex: 1;
  min-width: 0;
}

/* Cards */
.contact-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

/* Contact items */
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.phone-icon {
  background: #e8f5e9;
  color: #4caf50;
}

.location-icon {
  background: #f3e5f5;
  color: #9c27b0;
}

.contact-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}

.contact-sub {
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.82rem;
  color: #b8960c;
  font-weight: 700;
  transition: color 0.2s;
}

.contact-value:hover {
  color: #9a7d09;
}

.contact-locations-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 2px;
}

.contact-locations-list {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.7;
}

.contact-follow {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* Business hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.hours-table tr {
  border-bottom: 1px solid #f5f5f5;
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 7px 0;
  color: #555;
}

.hours-table td:first-child {
  color: #333;
  font-weight: 400;
}

.hours-table td:last-child {
  text-align: right;
  color: #777;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #444;
}

.required {
  color: #e05252;
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.88rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #b8960c;
}

.send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: #b8960c;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
  margin-top: 4px;
}

.send-btn:hover {
  background: #9a7d09;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-success .fa-circle-check {
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrap {
    flex-direction: column;
  }

  .contact-left {
    width: 100%;
  }

  .contact-hero h1 {
    font-size: 1.5rem;
  }
}

/* =====================
   PRODUCT DETAIL PAGE
   ===================== */

/* Breadcrumb */
.breadcrumb-bar {
  background: #fafafa;
  border-bottom: 1px solid #ececec;
  padding: 12px 24px;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #aaa;
}

.breadcrumb-inner a {
  color: #888;
  transition: color 0.2s;
}

.breadcrumb-inner a:hover {
  color: #b8960c;
}

.bc-sep {
  font-size: 0.65rem;
  color: #ccc;
}

/* Main product layout */
.pd-wrap {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* Image column */
.pd-image-col {
  flex: 0 0 420px;
  max-width: 420px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  background: #f9f9f9;
}

.pd-image-col img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Info column */
.pd-info-col {
  flex: 1;
  min-width: 0;
}

.pd-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
  line-height: 1.3;
}

.pd-sku {
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 12px;
}

.pd-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #b8960c;
  margin-bottom: 10px;
}

.pd-instock {
  font-size: 0.82rem;
  color: #5a9e5a;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pd-instock.pd-outofstock {
  color: #b10c0c;
}

/* Option groups (size/color/qty) */
.pd-option-group {
  margin-bottom: 20px;
}

.pd-option-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pd-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt-btn {
  padding: 7px 18px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 0.83rem;
  font-family: 'Lato', sans-serif;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.opt-btn:hover {
  border-color: #b8960c;
  color: #b8960c;
}

.opt-btn.active {
  border-color: #b8960c;
  background: #b8960c;
  color: #fff;
  font-weight: 700;
}

/* Quantity stepper */
.pd-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  width: fit-content;
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: #f5f5f5;
  border: none;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #e8e8e8;
}

.qty-val {
  width: 44px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  border-left: 1.5px solid #ddd;
  border-right: 1.5px solid #ddd;
  line-height: 36px;
  user-select: none;
}

/* Add to cart button */
.pd-add-to-cart {
  width: 100%;
  padding: 14px;
  background: #b8960c;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  transition: background 0.2s;
}

.pd-add-to-cart:hover {
  background: #9a7d09;
}

/* Wishlist + Share row */
.pd-actions-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.pd-wishlist-btn,
.pd-share-btn {
  flex: 1;
  padding: 11px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: border-color 0.2s, color 0.2s;
}

.pd-wishlist-btn:hover {
  border-color: #e05252;
  color: #e05252;
}

.pd-wishlist-btn.wishlisted {
  border-color: #e05252;
  color: #e05252;
  background: #fff5f5;
}

.pd-share-btn:hover {
  border-color: #b8960c;
  color: #b8960c;
}

.pd-category {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 4px;
}

.pd-category span {
  color: #b8960c;
}

/* Tabs */
.pd-tabs-wrap {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.pd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #ececec;
  margin-bottom: 24px;
}

.pd-tab {
  padding: 11px 22px;
  background: none;
  border: none;
  font-size: 0.88rem;
  font-family: 'Lato', sans-serif;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  font-weight: 400;
}

.pd-tab:hover {
  color: #b8960c;
}

.pd-tab.active {
  color: #b8960c;
  border-bottom-color: #b8960c;
  font-weight: 700;
}

.pd-tab-panel {
  display: none;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
}

.pd-tab-panel.active {
  display: block;
}

.pd-info-table {
  border-collapse: collapse;
  font-size: 0.85rem;
  width: 100%;
  max-width: 400px;
}

.pd-info-table td {
  padding: 9px 16px 9px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.pd-info-table td:first-child {
  font-weight: 700;
  color: #333;
  width: 140px;
}

/* Related products section */
.pd-related {
  max-width: 1100px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.pd-related-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #b8960c;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
}

.pd-related-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
  text-align: center;
  margin-bottom: 28px;
}

/* Cart badge on nav icon */
.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e05252;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 860px) {
  .pd-wrap {
    flex-direction: column;
    gap: 28px;
  }

  .pd-image-col {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .pd-image-col img {
    height: 340px;
  }
}

@media (max-width: 480px) {
  .pd-name {
    font-size: 1.3rem;
  }

  .pd-price {
    font-size: 1.2rem;
  }
}

/* =====================
   CART PAGE
   ===================== */

.cart-title-bar {
  border-bottom: 1px solid #ececec;
  background: #fff;
  padding: 16px 24px;
}

.cart-title-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-body {
  min-height: 55vh;
  background: #f7f7f7;
  padding: 32px 24px 56px;
}

/* Empty */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.cart-empty h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 12px;
}

.cart-empty p {
  font-size: 0.88rem;
  color: #888;
  max-width: 360px;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Layout */
.cart-items-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.cart-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.cart-items-col {
  flex: 1;
  min-width: 0;
}

/* Individual cart item row */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.cart-item-img {
  width: 90px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
  display: block;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-info h4 a {
  color: inherit;
  transition: color 0.2s;
}

.cart-item-info h4 a:hover {
  color: #b8960c;
}

.cart-item-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 8px;
}

.cart-item-meta strong {
  color: #666;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #b8960c;
}

/* Qty inside cart item */
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-qty .qty-btn {
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  font-size: 0.7rem;
  color: #555;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty .qty-btn:hover {
  background: #e8e8e8;
}

.cart-item-qty .qty-val {
  width: 38px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  border-left: 1.5px solid #ddd;
  border-right: 1.5px solid #ddd;
  line-height: 32px;
  user-select: none;
}

/* Line total */
.cart-item-subtotal {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  min-width: 100px;
  text-align: right;
  flex-shrink: 0;
}

/* Remove button */
.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #aaa;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.cart-item-remove:hover {
  background: #e05252;
  color: #fff;
}

/* Summary card */
.cart-summary-col {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

.cart-summary-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.cart-summary-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 12px;
}

.summary-free {
  color: #5a9e5a;
  font-weight: 700;
  font-size: 0.82rem;
}

.summary-divider {
  border: none;
  border-top: 1px solid #ececec;
  margin: 16px 0;
}

.summary-total {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}

.summary-total span:last-child {
  color: #b8960c;
  font-size: 1.1rem;
}

.checkout-btn {
  width: 100%;
  padding: 13px;
  background: #b8960c;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  margin-bottom: 12px;
}

.checkout-btn:hover {
  background: #9a7d09;
}

.cart-continue-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.cart-continue-link:hover {
  color: #b8960c;
}

.cart-clear-btn {
  width: 100%;
  padding: 9px;
  background: transparent;
  border: 1.5px solid #e0e0e0;
  color: #aaa;
  font-size: 0.78rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: border-color 0.2s, color 0.2s;
}

.cart-clear-btn:hover {
  border-color: #e05252;
  color: #e05252;
}

/* Responsive */
@media (max-width: 860px) {
  .cart-layout {
    flex-direction: column;
  }

  .cart-summary-col {
    width: 100%;
    position: static;
  }

  .cart-item-subtotal {
    display: none;
  }
}

@media (max-width: 520px) {
  .cart-item {
    flex-wrap: wrap;
  }

  .cart-item-img {
    width: 70px;
    height: 86px;
  }
}

/* Cart icon link — inherits icon colour from parent */
.cart-icon-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
}

.cart-icon-link:hover .fa-shopping-cart {
  color: #b8960c;
}

/* =====================
   CHECKOUT PAGE (legacy – kept for reference)
   ===================== */

.checkout-body {
  background: #f7f7f7;
  min-height: 70vh;
  padding: 36px 24px 64px;
}

.checkout-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* Step indicator */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  color: #bbb;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkout-step.active .step-num {
  border-color: #b8960c;
  background: #b8960c;
  color: #fff;
}

.checkout-step.done .step-num {
  border-color: #5a9e5a;
  background: #5a9e5a;
  color: #fff;
}

.step-label {
  font-size: 0.72rem;
  color: #aaa;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-step.active .step-label,
.checkout-step.done .step-label {
  color: #555;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #ddd;
  margin: 0 8px;
  margin-bottom: 20px;
  min-width: 40px;
}

/* Checkout cards */
.checkout-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.04);
}

.checkout-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-card h3 .fa {
  color: #b8960c;
}

/* Form grid */
.co-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.co-full {
  grid-column: 1 / -1;
}

.co-form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.co-form-grid label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
}

.co-form-grid input,
.co-form-grid select,
.co-form-grid textarea {
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  font-size: 0.86rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.co-form-grid input:focus,
.co-form-grid select:focus,
.co-form-grid textarea:focus {
  border-color: #b8960c;
}

.co-field-error {
  border-color: #e05252 !important;
  background: #fff8f8 !important;
}

/* Proceed button */
.co-proceed-btn {
  width: 100%;
  padding: 14px;
  background: #b8960c;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}

.co-proceed-btn:hover {
  background: #9a7d09;
}

/* Left column */
.checkout-left {
  flex: 1;
  min-width: 0;
}

/* Right column – summary */
.checkout-right {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

.co-summary-card {
  margin-bottom: 0;
}

.co-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 4px;
}

.co-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.co-item img {
  width: 58px;
  height: 72px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  background: #f5f5f5;
}

.co-item-info {
  flex: 1;
  min-width: 0;
}

.co-item-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-item-meta {
  font-size: 0.72rem;
  color: #aaa;
  margin-bottom: 2px;
}

.co-item-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b8960c;
  flex-shrink: 0;
  white-space: nowrap;
}

.co-summary-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 14px 0;
}

.co-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 10px;
}

.co-total-row {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0;
}

.co-total-row span:last-child {
  color: #b8960c;
  font-size: 1.05rem;
}

/* ── PAYMENT PANEL ── */
.payment-panel {
  max-width: 580px;
  margin: 0 auto;
  padding-top: 8px;
}

.payment-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Order received banner */
.order-received-banner {
  background: #fffbea;
  border: 1.5px solid #f0d060;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.order-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.order-received-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.order-received-banner p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

/* Order number card */
.order-number-card {
  background: #fff;
  border: 1.5px solid #ececec;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.on-label {
  font-size: 0.82rem;
  color: #888;
  font-weight: 600;
}

.on-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.08em;
  flex: 1;
}

/* InstaPay card */
.instapay-card {
  background: #fff;
  border: 1.5px solid #ececec;
  border-radius: 10px;
  padding: 28px 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.ip-instruction {
  font-size: 0.88rem;
  color: #777;
  margin-bottom: 14px;
}

.ip-how-it-works {
  text-align: left;
  margin: 4px 0 24px;
}

.ip-how-title {
  margin: 0 0 18px;
  color: #9aa6ba;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ip-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: instapay-steps;
}

.ip-steps li {
  counter-increment: instapay-steps;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 18px;
  color: #44536b;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
}

.ip-steps li + li {
  margin-top: 16px;
}

.ip-steps li::before {
  content: counter(instapay-steps);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff2c8;
  border-radius: 50%;
  color: #d98200;
  font-size: 1.12rem;
  font-weight: 800;
}

.ip-steps-vodafone li::before {
  background: #ffe3e3;
  color: #e60000;
}

.ip-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #b8960c;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.ip-to {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

/* Phone number row */
.ip-number-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f8f8f8;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 20px;
}

.ip-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.08em;
  font-family: 'Lato', sans-serif;
}

/* Copy button */
.copy-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #888;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.copy-btn:hover {
  border-color: #b8960c;
  color: #b8960c;
}

/* InstaPay button */
.instapay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #b8960c;
  color: #fff;
  padding: 13px 36px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  margin-top: 20px;
  width: 100%;
}

.instapay-btn:hover {
  background: #9a7d09;
}

.ip-note {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.6;
  text-align: center;
}

/* Back to shopping link */
.co-back-shopping {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.83rem;
  color: #888;
  transition: color 0.2s;
  text-align: center;
}

.co-back-shopping:hover {
  color: #b8960c;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .checkout-wrap {
    flex-direction: column-reverse;
  }

  .checkout-right {
    width: 100%;
    position: static;
  }

  .co-form-grid {
    grid-template-columns: 1fr;
  }

  .co-full {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .ip-amount {
    font-size: 1.7rem;
  }

  .ip-number {
    font-size: 1.2rem;
  }

  .order-received-banner {
    flex-direction: column;
    gap: 12px;
  }
}

/* Products page – whole card is clickable */
.products-main .product-card {
  cursor: pointer;
}

/* =====================
   TRACK ORDER BUTTON & MODAL
   ===================== */

/* Nav button */
.track-order-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #444;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.track-order-btn:hover {
  color: #b8960c;
}

/* Modal overlay */
.track-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.track-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal box */
.track-modal {
  background: #fff;
  border-radius: 14px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
  text-align: center;
}

.track-modal-overlay.open .track-modal {
  transform: translateY(0) scale(1);
}

/* Close button */
.track-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f5f5f5;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.78rem;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.track-modal-close:hover {
  background: #e0e0e0;
  color: #333;
}

/* Icon */
.track-modal-icon {
  width: 60px;
  height: 60px;
  background: #fdf8ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: #b8960c;
}

/* Title */
.track-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.track-modal-sub {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Input */
.track-input-wrap {
  text-align: left;
  margin-bottom: 16px;
}

.track-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 8px;
}

.track-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
}

.track-input:focus {
  border-color: #b8960c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 150, 12, 0.12);
}

.track-input-error {
  border-color: #e05252 !important;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.12) !important;
  animation: inputShake 0.3s ease;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-6px); }
  75%       { transform: translateX(6px); }
}

/* Submit button */
.track-submit-btn {
  width: 100%;
  padding: 13px;
  background: #b8960c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.track-submit-btn:hover {
  background: #9a7d09;
}

/* Result */
.track-result {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.6;
  text-align: left;
}

.track-result-info {
  background: #fdf8ec;
  border: 1.5px solid #f0d060;
  color: #7a6200;
}

.track-result a {
  color: #b8960c;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 520px) {
  .track-modal {
    padding: 32px 20px 28px;
  }
}

/* =====================
   SEARCH TOGGLE BUTTON
   ===================== */

.search-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #444;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.search-toggle-btn:hover {
  color: #b8960c;
}

/* =====================
   SEARCH OVERLAY
   ===================== */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 0 20px 40px;
  overflow-y: auto;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

body.search-open {
  overflow: hidden;
}

/* Search form bar */
.search-overlay-inner {
  width: 100%;
  max-width: 720px;
  margin-top: 80px;
}

.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid #b8960c;
  border-radius: 50px;
  padding: 10px 20px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(184,150,12,0.12);
  margin-bottom: 28px;
  transition: box-shadow 0.2s;
}

.search-overlay-form:focus-within {
  box-shadow: 0 6px 32px rgba(184,150,12,0.2);
}

.search-overlay-icon {
  color: #b8960c;
  font-size: 1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-overlay-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: 'Lato', sans-serif;
  color: #222;
  background: transparent;
  min-width: 0;
}

.search-overlay-input::placeholder {
  color: #bbb;
  font-size: 0.95rem;
}

.search-overlay-clear {
  background: #f0f0f0;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #888;
  flex-shrink: 0;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
}

.search-overlay-clear:hover {
  background: #e05252;
  color: #fff;
}

/* Results label */
.search-results-label {
  font-size: 0.82rem;
  color: #aaa;
  margin-bottom: 16px;
  padding-left: 4px;
}

.search-results-label strong {
  color: #333;
}

/* Results grid */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* Individual result card */
.search-result-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.search-result-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.search-result-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.search-result-info {
  padding: 10px 12px 12px;
}

.search-result-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-name mark {
  background: #fdf1c0;
  color: #222;
  border-radius: 2px;
  padding: 0 1px;
}

.search-result-sku {
  font-size: 0.7rem;
  color: #bbb;
  margin-bottom: 4px;
}

.search-result-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b8960c;
}

/* No results */
.search-no-results {
  text-align: center;
  padding: 48px 24px;
  color: #aaa;
}

.search-no-results .fa {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
  color: #ddd;
}

.search-no-results p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 6px;
}

.search-no-results p strong {
  color: #222;
}

.search-no-results span {
  font-size: 0.82rem;
  color: #aaa;
}

/* Close button */
.search-overlay-close {
  position: fixed;
  top: 18px;
  right: 24px;
  background: #f5f5f5;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s, color 0.2s;
  z-index: 8001;
}

.search-overlay-close:hover {
  background: #222;
  color: #fff;
}

@media (max-width: 600px) {
  .search-overlay-inner {
    margin-top: 60px;
  }

  .search-overlay-input {
    font-size: 0.95rem;
  }

  .search-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================
   CHECKOUT — PAYMENT METHOD SELECTOR
   ===================== */

/* Total amount row */
.pay-amount-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fffbea;
  border: 1.5px solid #f0d060;
  border-radius: 10px;
  padding: 16px 24px;
}

.pay-amount-label {
  font-size: 0.9rem;
  color: #888;
  font-weight: 600;
}

.pay-amount-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #b8960c;
  letter-spacing: 0.02em;
}

/* Method picker */
.pay-methods {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.pay-methods-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.pay-method-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pay-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
}

.pay-method-card:hover {
  border-color: #b8960c;
  color: #b8960c;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(184,150,12,0.12);
}

.pay-method-card.selected {
  border-color: #b8960c;
  background: #fffbea;
  color: #b8960c;
  box-shadow: 0 4px 14px rgba(184,150,12,0.15);
}

.pay-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.pay-icon-credit   { background: #e8f0fe; color: #4285f4; }
.pay-icon-instapay { background: #e8f5e9; color: #2e7d32; }
.pay-icon-vodafone { background: #fde8e8; color: #e60000; }

/* Payment detail panels */
.pay-detail-panel {
  animation: fadeSlideIn 0.25s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* Credit card unavailable overlay */
.credit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.credit-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.credit-modal {
  background: #fff;
  border-radius: 14px;
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: scale(0.95);
  transition: transform 0.2s;
}

.credit-overlay.open .credit-modal {
  transform: scale(1);
}

.credit-modal-icon {
  width: 64px;
  height: 64px;
  background: #fff3f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: #e05252;
}

.credit-modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.credit-modal p {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.65;
  margin-bottom: 24px;
}

.credit-modal-close {
  padding: 11px 36px;
  background: #b8960c;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

.credit-modal-close:hover {
  background: #9a7d09;
}

@media (max-width: 520px) {
  .pay-method-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .pay-method-card {
    padding: 14px 8px;
    font-size: 0.72rem;
  }

  .pay-method-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .pay-amount-value {
    font-size: 1.3rem;
  }
}


/* =====================
   CHECKOUT v2 — single scrollable page
   ===================== */

/* Page wrapper */
.co2-body {
  background: #fff;
  min-height: 100vh;
}

.co2-wrap {
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
}

/* ── LEFT column ── */
.co2-left {
  flex: 1;
  min-width: 0;
  padding: 40px 48px 80px 48px;
  max-width: 620px;
  margin: 0 auto;
}

/* Breadcrumb */
.co2-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.co2-breadcrumb a {
  color: #3a84cd;
  transition: color 0.2s;
}

.co2-breadcrumb a:hover {
  color: #b8960c;
}

.co2-breadcrumb .fa {
  font-size: 0.6rem;
  color: #ccc;
}

.co2-breadcrumb span {
  color: #555;
}

/* Section block */
.co2-section {
  margin-bottom: 32px;
}

.co2-section--slim {
  margin-bottom: 20px;
}

.co2-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.co2-section-title {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px;
}

.co2-section-header .co2-section-title {
  margin-bottom: 0;
}

.co2-sign-in-link {
  font-size: 0.82rem;
  color: #3a84cd;
  transition: color 0.2s;
}

.co2-sign-in-link:hover {
  color: #b8960c;
}

/* Field wrap */
.co2-field-wrap {
  position: relative;
  margin-bottom: 10px;
}

.co2-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.co2-field-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Input base */
.co2-input {
  width: 100%;
  padding: 14px 14px 14px 14px;
  border: 1.5px solid #d9d9d9;
  border-radius: 5px;
  font-size: 0.875rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.co2-input:focus {
  border-color: #999;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
}

.co2-field-error {
  border-color: #e05252 !important;
  background: #fff8f8 !important;
}

.co2-err-msg {
  display: block;
  font-size: 0.72rem;
  color: #e05252;
  margin-top: 4px;
}

/* Floating label */
.co2-float-label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.875rem;
  color: #aaa;
  pointer-events: none;
  transition: all 0.15s ease;
  background: #fff;
  padding: 0 3px;
}

.co2-input:focus ~ .co2-float-label,
.co2-input:not(:placeholder-shown) ~ .co2-float-label,
.co2-input[value]:not([value=""]) ~ .co2-float-label {
  top: -8px;
  left: 10px;
  font-size: 0.68rem;
  color: #777;
}

/* Select arrow */
.co2-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Textarea */
.co2-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Phone info button */
.co2-phone-wrap {
  display: flex;
  align-items: center;
}

.co2-phone-wrap .co2-input {
  padding-right: 44px;
}

.co2-phone-info {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  font-size: 0.9rem;
  padding: 0;
  transition: color 0.2s;
}

.co2-phone-info:hover {
  color: #555;
}

/* Checkbox */
.co2-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #555;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 4px;
  user-select: none;
}

.co2-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #b8960c;
  cursor: pointer;
  flex-shrink: 0;
}

/* Shipping option */
.co2-shipping-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid #d9d9d9;
  border-radius: 5px;
  padding: 14px 16px;
  background: #f9f9f9;
  font-size: 0.875rem;
}

.co2-shipping-option.selected {
  border-color: #b8960c;
  background: #fffdf0;
}

.co2-shipping-name {
  color: #333;
  font-weight: 500;
}

.co2-shipping-price {
  color: #333;
  font-weight: 700;
}

/* Payment secure note */
.co2-payment-secure {
  font-size: 0.78rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

/* Payment options */
.co2-pay-options {
  border: 1.5px solid #d9d9d9;
  border-radius: 5px;
  overflow: hidden;
}

.co2-pay-option {
  display: block;
  cursor: pointer;
  border-bottom: 1px solid #e8e8e8;
}

.co2-pay-option:last-child {
  border-bottom: none;
}

.co2-pay-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f9f9f9;
  transition: background 0.15s;
}

.co2-pay-option--selected .co2-pay-option-header {
  background: #fffdf0;
}

.co2-pay-option input[type="radio"] {
  display: none;
}

/* Custom radio */
.co2-pay-radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
  position: relative;
}

.co2-pay-option--selected .co2-pay-radio-custom {
  border-color: #b8960c;
}

.co2-pay-option--selected .co2-pay-radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b8960c;
  position: absolute;
}

.co2-pay-option-name {
  font-size: 0.875rem;
  color: #333;
  font-weight: 500;
}

/* InstaPay detail panel */
.co2-pay-detail {
  padding: 20px 20px 24px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  animation: co2FadeIn 0.2s ease;
}

@keyframes co2FadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.co2-instapay-inner p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 12px;
}

.co2-instapay-ar {
  background: #fafafa;
  border-radius: 5px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.co2-instapay-ar p {
  direction: rtl;
  text-align: right;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0;
}

.co2-ip-number-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  border: 1.5px solid #e8e8e8;
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 16px;
}

.co2-ip-number {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.08em;
  font-family: 'Lato', sans-serif;
}

.co2-instapay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #b8960c;
  color: #fff;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  text-decoration: none;
}

.co2-instapay-btn:hover {
  background: #9a7d09;
  color: #fff;
}

/* Submit button */
.co2-submit-wrap {
  margin-bottom: 24px;
}

.co2-complete-btn {
  width: 100%;
  padding: 16px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}

.co2-complete-btn:hover {
  background: #333;
}

.co2-complete-btn:disabled {
  background: #888;
  cursor: not-allowed;
}

/* Footer links */
.co2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-top: 8px;
}

.co2-footer-links a {
  font-size: 0.78rem;
  color: #3a84cd;
  transition: color 0.2s;
}

.co2-footer-links a:hover {
  color: #b8960c;
}

/* ── RIGHT column (order summary) ── */
.co2-right {
  width: 380px;
  flex-shrink: 0;
  background: #f5f5f5;
  border-left: 1px solid #e8e8e8;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
}

.co2-summary-inner {
  padding: 40px 32px;
}

/* Items */
.co2-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.co2-item-img-wrap {
  position: relative;
  flex-shrink: 0;
}

.co2-item-img-wrap img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  background: #e8e8e8;
  display: block;
}

.co2-item-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: #888;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
}

.co2-item-info {
  flex: 1;
  min-width: 0;
}

.co2-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.3;
}

.co2-item-meta {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 2px;
}

.co2-item-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Discount */
.co2-discount-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.co2-discount-input-wrap {
  flex: 1;
}

.co2-discount-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d9d9d9;
  border-radius: 5px;
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.co2-discount-input:focus {
  border-color: #999;
}

.co2-discount-btn {
  padding: 11px 18px;
  background: #fff;
  border: 1.5px solid #d9d9d9;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  color: #444;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.co2-discount-btn:hover {
  border-color: #b8960c;
  color: #b8960c;
}

/* Totals */
.co2-totals {
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
}

.co2-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 12px;
}

.co2-grand-total {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  margin-bottom: 0;
}

.co2-grand-total span:last-child {
  font-size: 1.15rem;
  color: #1a1a1a;
}

.co2-grand-total small {
  font-size: 0.72rem;
  color: #888;
  margin-right: 4px;
  font-weight: 400;
}

/* ── SUCCESS OVERLAY ── */
.co2-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.co2-success-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.co2-success-modal {
  background: #fff;
  border-radius: 14px;
  padding: 40px 36px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.co2-success-overlay.open .co2-success-modal {
  transform: scale(1);
}

.co2-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.co2-success-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.co2-success-modal p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 20px;
}

.co2-order-num-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 8px;
}

.co2-on-label {
  font-size: 0.82rem;
  color: #888;
  font-weight: 600;
}

.co2-on-value {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.06em;
  flex: 1;
  text-align: left;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .co2-wrap {
    flex-direction: column-reverse;
    min-height: unset;
  }

  .co2-left {
    max-width: 100%;
    padding: 32px 24px 60px;
  }

  .co2-right {
    width: 100%;
    min-height: unset;
    height: auto;
    position: static;
    border-left: none;
    border-bottom: 1px solid #e8e8e8;
  }

  .co2-summary-inner {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .co2-field-row {
    grid-template-columns: 1fr;
  }

  .co2-field-row--3 {
    grid-template-columns: 1fr 1fr;
  }

  .co2-field-row--3 .co2-field-wrap:last-child {
    grid-column: 1 / -1;
  }

  .co2-left {
    padding: 24px 16px 60px;
  }

  .co2-summary-inner {
    padding: 24px 16px;
  }
}

@media (max-width: 420px) {
  .co2-instapay-btn {
    font-size: 0.82rem;
  }
}


/* =====================
   REFUND POLICY PAGE
   ===================== */

/* Policy statement banner — matches image: white bg, centered uppercase olive text */
.rp-policy-banner {
  background: #fff;
  padding: 80px 24px 72px;
  text-align: center;
}

.rp-policy-text {
  max-width: 980px;
  margin: 0 auto;
  margin-bottom: 0px;
  font-family: 'Lato', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #5c5c2e;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rp-policy-text em {
  font-style: italic;
  font-weight: 900;
  color: #4a4a1e;
}

/* Form section */
.rp-form-section {
  background: #fff;
  padding: 64px 24px 80px;
}

.rp-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.rp-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.rp-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.rp-form-sub {
  font-size: 0.875rem;
  color: #888;
  line-height: 1.65;
}

/* Form fields */
.rp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rp-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rp-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rp-required {
  color: #b8960c;
}

.rp-input {
  padding: 13px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: 'Lato', sans-serif;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.rp-input:focus {
  border-color: #b8960c;
  box-shadow: 0 0 0 3px rgba(184, 150, 12, 0.1);
}

.rp-input-error {
  border-color: #e05252 !important;
  background: #fff8f8 !important;
}

.rp-err {
  font-size: 0.72rem;
  color: #e05252;
}

.rp-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.rp-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Upload / dropzone */
.rp-upload-note {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 10px;
  line-height: 1.5;
}

.rp-dropzone {
  border: 2px dashed #d9d9d9;
  border-radius: 8px;
  background: #fafafa;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
}

.rp-dropzone--over {
  border-color: #b8960c;
  background: #fffdf0;
}

.rp-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 0;
}

.rp-dropzone-content {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.rp-upload-icon {
  font-size: 2rem;
  color: #ccc;
  display: block;
  margin-bottom: 10px;
}

.rp-dz-primary {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 4px;
  font-weight: 600;
}

.rp-dz-secondary {
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 14px;
}

.rp-browse-btn {
  position: relative;
  z-index: 2;
  pointer-events: all;
  padding: 9px 24px;
  border: 1.5px solid #b8960c;
  background: #fff;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  color: #b8960c;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.rp-browse-btn:hover {
  background: #b8960c;
  color: #fff;
}

/* File previews */
.rp-file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.rp-preview-item {
  position: relative;
  width: 80px;
  text-align: center;
}

.rp-preview-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid #e0e0e0;
  display: block;
}

.rp-preview-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: #e05252;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.rp-preview-remove:hover {
  background: #c03030;
}

.rp-preview-name {
  display: block;
  font-size: 0.62rem;
  color: #aaa;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Submit button */
.rp-submit-btn {
  width: 100%;
  padding: 16px;
  background: #b8960c;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
  margin-top: 8px;
}

.rp-submit-btn:hover {
  background: #9a7d09;
}

.rp-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Success */
.rp-success {
  background: #f0faf0;
  border: 1.5px solid #7dc97d;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  animation: co2FadeIn 0.3s ease;
}

.rp-success .fa-circle-check {
  font-size: 1.4rem;
  color: #5a9e5a;
  flex-shrink: 0;
  margin-top: 2px;
}

.rp-success-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2d6e2d;
  margin-bottom: 4px;
}

.rp-success-sub {
  font-size: 0.8rem;
  color: #5a9e5a;
}

/* Responsive */
@media (max-width: 640px) {
  .rp-policy-text {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
  }

  .rp-field-row {
    grid-template-columns: 1fr;
  }

  .rp-form-section {
    padding: 40px 16px 60px;
  }
}
