/* ══════════════════════════════════════
   RAMA FASHIONS & DESIGNS — style.css
══════════════════════════════════════ */

/* ── Variables ── */
:root {
  --charcoal: #1c1c1c;
  --charcoal-soft: #2e2e2e;
  --ivory: #f8f5f0;
  --ivory-dark: #ede9e2;
  --gold: #b8960c;
  --gold-light: #d4af37;
  --gold-pale: #f0e4b0;
  --white: #ffffff;
  --muted: #8a8478;
  --font-body: "Jost", sans-serif;
  --font-heading: "Cormorant Garamond", serif;
  --border-gold: 1px solid rgba(184, 150, 12, 0.35);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p {
  font-size: 18px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 1px;
}

h1 {
  font-size: 52px;
}
h2 {
  font-size: 44px;
}
h3 {
  font-size: 32px;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ivory);
  border-bottom: 2px solid var(--charcoal);
  box-shadow: 0 4px 24px rgba(28, 28, 28, 0.08);
  animation: slideDown 0.5s ease both;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Identity Strip */
.identity-strip {
  border-bottom: var(--border-gold);
  padding: 14px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.identity-strip::before,
.identity-strip::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-light),
    transparent
  );
}

.logo-block {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  padding: 0 40px;
}

.logo-eyebrow {
  font-family: var(--font-family);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.logo-name {
  font-family: var(--font-family);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--charcoal);
  text-transform: uppercase;
  line-height: 1;
}

.logo-name em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.logo-subtitle {
  font-family: var(--font-family);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

/* Nav Bar */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 52px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.primary-nav a {
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.primary-nav a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--gold);
}

.primary-nav a:hover::before,
.primary-nav a.active::before {
  width: 100%;
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(184, 150, 12, 0.4),
    transparent
  );
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Search */
.search-wrap {
  display: flex;
  align-items: center;
  border: var(--border-gold);
  overflow: hidden;
  height: 34px;
  width: 34px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-wrap.open {
  width: 200px;
  border-color: var(--gold);
}

.search-wrap input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--charcoal);
  padding: 0 12px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.search-wrap.open input {
  opacity: 1;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 13px;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--gold);
}

/* Nav Icons */
.nav-icon {
  position: relative;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: var(--border-gold);
  transition: var(--transition);
}

.nav-icon:hover {
  color: var(--ivory);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--charcoal);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}

/* Auth Buttons */
.btn-login {
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--charcoal);
  height: 34px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border: var(--border-gold);
  transition: var(--transition);
}

.btn-login:hover {
  background: var(--ivory-dark);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-register {
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gold) !important;
  color: var(--white) !important;
  height: 34px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  border: 1px solid var(--gold) !important;
  transition: var(--transition);
}

.btn-register:hover {
  background: var(--charcoal) !important;
  border-color: var(--charcoal) !important;
  color: var(--ivory) !important;
}

/* User Dropdown */
.user-menu {
  position: relative;
}

.user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  height: 34px;
  padding: 0 14px;
  border: var(--border-gold);
  transition: var(--transition);
  user-select: none;
}

.user-trigger:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--ivory);
  min-width: 200px;
  border: 1px solid var(--charcoal);
  border-top: 3px solid var(--gold);
  box-shadow: 6px 6px 0 rgba(28, 28, 28, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 999;
}

.user-menu:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  border-bottom: 1px solid var(--ivory-dark);
  transition: var(--transition);
}

.dropdown a:last-child {
  border-bottom: none;
}
.dropdown a i {
  width: 14px;
  color: var(--gold);
  font-size: 12px;
}

.dropdown a:hover {
  background: var(--charcoal);
  color: var(--ivory);
  padding-left: 26px;
}

.dropdown a:hover i {
  color: var(--gold-light);
}
.dropdown a.logout {
  color: #9b2335;
}
.dropdown a.logout i {
  color: #9b2335;
}
.dropdown a.logout:hover {
  background: #9b2335;
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: var(--border-gold);
  padding: 8px 10px;
  width: 40px;
  height: 34px;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--charcoal);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-nav.open {
  display: flex;
  max-height: 600px;
}

.mobile-nav a {
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.7);
  padding: 16px 40px;
  border-bottom: 1px solid rgba(184, 150, 12, 0.15);
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold-light);
  padding-left: 52px;
  background: rgba(184, 150, 12, 0.05);
}

/* ══════════════════════════════════════
   GENERAL SECTION LAYOUT
══════════════════════════════════════ */
.section {
  padding: 90px 0;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 150, 12, 0.4),
    transparent
  );
}

.section-title-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.section-eyebrow {
  font-family: var(--font-family);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-family);
  font-size: 56px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 1px;
  line-height: 1;
}

.section-cta {
  text-align: center;
  margin-top: 52px;
}

/* Buttons */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  padding: 14px 36px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn-outline i {
  font-size: 10px;
  transition: var(--transition);
}
.btn-outline:hover i {
  transform: translateX(4px);
}

/* ══════════════════════════════════════
   HERO CAROUSEL
══════════════════════════════════════ */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: contain; background-repeat: no-repeat; background-color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.hero-slide:nth-child(1) {
  background-color: #1c1c1c;
}
.hero-slide:nth-child(2) {
  background-color: #0d1117;
}
.hero-slide:nth-child(3) {
  background-color: #1a0a00;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease 0.3s,
    transform 0.7s ease 0.3s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-family);
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-sub {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(248, 245, 240, 0.65);
  margin-bottom: 40px;
  max-width: 400px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--gold);
  color: var(--white);
  padding: 16px 40px;
  border: 1px solid var(--gold);
  transition: var(--transition);
}

.btn-hero:hover {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-hero i {
  font-size: 10px;
  transition: var(--transition);
}
.btn-hero:hover i {
  transform: translateX(5px);
}

/* Hero Controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(248, 245, 240, 0.1);
  border: 1px solid rgba(248, 245, 240, 0.3);
  color: var(--ivory);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-prev {
  left: 32px;
}
.hero-next {
  right: 32px;
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 28px;
  height: 2px;
  background: rgba(248, 245, 240, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.hero-dot.active {
  background: var(--gold);
  width: 48px;
}

.hero-counter {
  position: absolute;
  bottom: 36px;
  right: 60px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-size: 13px;
  color: rgba(248, 245, 240, 0.5);
}

.hero-counter-line {
  width: 30px;
  height: 1px;
  background: rgba(248, 245, 240, 0.3);
}

#currentSlide {
  color: var(--gold-light);
  font-size: 16px;
  font-weight: 600;
}

/* ══════════════════════════════════════
   MARQUEE
══════════════════════════════════════ */
.marquee-strip {
  background: var(--charcoal);
  border-top: 1px solid rgba(184, 150, 12, 0.2);
  border-bottom: 1px solid rgba(184, 150, 12, 0.2);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.55);
  margin: 0 20px;
}

.marquee-track .dot {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0;
  margin: 0 4px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════════════
   CATEGORIES
══════════════════════════════════════ */
.categories-section {
  background: var(--ivory);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat-card {
  text-decoration: none;
  display: block;
}

.cat-img {
  aspect-ratio: 3/4;
  background-size: contain; background-repeat: no-repeat; background-color: #fff;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px 16px;
  transition: var(--transition);
}

.placeholder-bg {
  background: linear-gradient(135deg, var(--ivory-dark) 0%, #d4cfc8 100%);
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(28, 28, 28, 0.75) 100%
  );
  transition: var(--transition);
}

.cat-card:hover .cat-overlay {
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(28, 28, 28, 0.85) 100%
  );
}

.cat-card:hover .cat-img {
  transform: scale(1.03);
}

.cat-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ivory);
}

/* ══════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card:hover {
  border-color: rgba(184, 150, 12, 0.3);
  box-shadow: 0 12px 40px rgba(28, 28, 28, 0.08);
  transform: translateY(-4px);
}

.product-img {
  aspect-ratio: 3/4;
  background-size: contain; background-repeat: no-repeat; background-color: #fff;
  background-position: center;
  position: relative;
  overflow: hidden;
  background-color: var(--ivory-dark);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--ivory-dark);
  flex-shrink: 0;
}

.product-img-tag {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition:
    transform 0.5s ease,
    opacity 0.2s ease;
}

.product-card:hover .product-img-tag {
  transform: scale(1.05);
}

.product-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 36px;
  height: 36px;
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-family);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 5px 10px;
  z-index: 2;
}

.featured-badge {
  background: var(--gold);
}

.product-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-category {
  font-family: var(--font-family);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.3;
  display: none;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.product-price {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.5px;
}

.btn-cart {
  font-family: var(--font-family);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--ivory);
  border: 1px solid var(--charcoal);
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cart:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ── Product Card Swatches & Sizes ── */
.pc-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 5px;
  flex-wrap: wrap;
}
.pc-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s,
    outline-color 0.2s;
  outline: 2px solid transparent;
  outline-offset: 2px;
  flex-shrink: 0;
}
.pc-swatch:hover {
  transform: scale(1.2);
}
.pc-swatch.active {
  outline-color: #b8960c;
  transform: scale(1.1);
}
.pc-color-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #888;
  text-transform: capitalize;
  margin-left: 2px;
}
.pc-sizes {
  display: flex;
  gap: 4px;
  margin: 4px 0 8px;
  flex-wrap: wrap;
}
.pc-size-btn {
  padding: 3px 8px;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid #e0dbd4;
  background: none;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Jost", sans-serif;
}
.pc-size-btn:hover {
  border-color: #1c1c1c;
  color: #1c1c1c;
}
.pc-size-btn.active {
  background: #1c1c1c;
  color: #fff;
  border-color: #1c1c1c;
}

/* ── Remove hover image swap on shop page ── */
.product-card .img-hover {
  display: none !important;
}

.product-card:hover .product-img > img {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Shop page only — Add to Bag at bottom of image ── */
.shop-main .product-card .product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  flex-direction: row;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  background: rgba(28, 28, 28, 0.85);
  padding: 0;
  gap: 1px;
}

.shop-main .product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.shop-main .product-card .product-img {
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════════════
   BRAND BANNER
══════════════════════════════════════ */
.brand-banner {
  background: var(--charcoal);
  border-top: 1px solid rgba(184, 150, 12, 0.2);
  border-bottom: 1px solid rgba(184, 150, 12, 0.2);
  padding: 90px 0;
}

.brand-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.brand-banner-eyebrow {
  display: block;
  font-family: var(--font-family);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.brand-banner-title {
  font-family: var(--font-family);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.brand-banner-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.btn-hero-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  border: 1px solid rgba(248, 245, 240, 0.3);
  padding: 14px 32px;
  transition: var(--transition);
}

.btn-hero-light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.btn-hero-light i {
  font-size: 10px;
  transition: var(--transition);
}
.btn-hero-light:hover i {
  transform: translateX(5px);
}

.brand-banner-stats {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-shrink: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-family);
  font-size: 52px;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
}

.stat-num em {
  font-style: italic;
  color: var(--gold);
  font-size: 32px;
}

.stat-label {
  font-family: var(--font-family);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.4);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(184, 150, 12, 0.25);
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-section {
  background: var(--ivory-dark);
  border-top: 1px solid rgba(184, 150, 12, 0.15);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-top: 3px solid var(--gold);
  padding: 36px 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(28, 28, 28, 0.08);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.testimonial-stars i {
  font-size: 12px;
  color: var(--ivory-dark);
}
.testimonial-stars i.filled {
  color: var(--gold);
}

.testimonial-text {
  font-family: var(--font-family);
  font-style: italic;
  font-size: 16px;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 28px;
  opacity: 0.85;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--charcoal);
  color: var(--gold-light);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--charcoal);
  display: block;
  text-transform: uppercase;
}

.author-product {
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.5px;
  display: block;
  margin-top: 2px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#site-footer {
  background: var(--charcoal);
  color: var(--ivory);
  margin-top: 0;
  border-top: 3px solid var(--gold);
}

.footer-main {
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(184, 150, 12, 0.18);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
  gap: 56px;
}

.footer-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 20px;
}

.footer-logo-eyebrow {
  font-family: var(--font-family);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer-logo-name {
  font-family: var(--font-family);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ivory);
  text-transform: uppercase;
  line-height: 1;
}

.footer-logo-name em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.footer-logo-sub {
  font-family: var(--font-family);
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.35);
  margin-top: 4px;
}

.footer-tagline {
  font-family: var(--font-family);
  font-style: italic;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(248, 245, 240, 0.45);
  margin-bottom: 26px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184, 150, 12, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 245, 240, 0.5);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-family);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(184, 150, 12, 0.2);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(248, 245, 240, 0.5);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-col ul li a::before,
.footer-col ul li a:hover::before,
#site-footer .footer-col ul li a::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  margin-right: 0 !important;
}

.footer-contact {
  gap: 14px !important;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(248, 245, 240, 0.5);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 300;
}

.footer-contact li i {
  color: var(--gold);
  font-size: 12px;
  margin-top: 2px;
  min-width: 14px;
}

.footer-bottom {
  padding: 22px 0;
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(248, 245, 240, 0.28);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.3);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--gold);
}
.footer-legal .sep {
  color: rgba(184, 150, 12, 0.25);
  font-size: 10px;
}

.footer-credit a,
.footer-credit a:visited {
  font-family: var(--font-family);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold) !important;
  text-decoration: none;
  transition: var(--transition);
}

.footer-credit a:hover {
  color: var(--gold-light) !important;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-payments span:first-child {
  font-family: var(--font-family);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.3);
}

.footer-payments i {
  font-size: 22px;
  color: rgba(248, 245, 240, 0.35);
  transition: var(--transition);
}

.footer-payments i:hover {
  color: var(--gold);
}

.mpesa-text {
  font-family: var(--font-family) !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(248, 245, 240, 0.35) !important;
  border: 1px solid rgba(184, 150, 12, 0.25);
  padding: 2px 6px;
  transition: var(--transition);
}

.mpesa-text:hover {
  color: var(--gold) !important;
  border-color: var(--gold);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 42px;
  height: 42px;
  background: var(--charcoal);
  color: var(--gold);
  border: 1px solid var(--gold);
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ── Footer Logo (matches header) ── */
#site-footer .logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 20px;
}

#site-footer .logo-main {
  font-family: var(--font-family);
  font-size: 28px;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 1px;
}

#site-footer .logo-main span {
  color: var(--gold-light);
}

#site-footer .logo-sub {
  font-family: var(--font-family);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(248, 245, 240, 0.35);
  font-weight: 300;
  margin-top: 2px;
}

.sidebar-body {
  max-height: 500px;
}

.sidebar-title.collapsed ~ .sidebar-body {
  max-height: 0 !important;
}

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════ */

/* 1200px — large tablets / small laptops */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 0 40px;
  }
  .footer-brand {
    grid-column: span 3;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .identity-strip {
    padding: 12px 30px;
  }
  .nav-bar {
    padding: 0 30px;
  }
  .primary-nav {
    gap: 28px;
  }
}

/* 900px */
@media (max-width: 900px) {
  .section {
    padding: 60px 0;
  }
  .section-inner {
    padding: 0 30px;
  }
  .section-title {
    font-size: 28px;
  }
  .hero {
    height: 75vh;
  }
  .hero-content {
    padding: 0 30px;
  }
  .brand-banner-inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 30px;
  }
  .brand-banner {
    padding: 60px 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .product-img-wrap {
    height: 280px;
  }
  .hero-counter {
    right: 30px;
  }
}

/* 820px — hide desktop nav, show hamburger */
@media (max-width: 820px) {
  .primary-nav,
  .nav-divider {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .identity-strip {
    padding: 10px 20px;
  }
  .nav-bar {
    padding: 0 20px;
  }
  .logo-name {
    font-size: 28px;
  }
  .btn-login {
    display: none;
  }
}

/* 768px — tablets (iPad etc.) */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .product-img-wrap {
    height: 240px !important;
  }
  .section-inner {
    padding: 0 24px;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 32px;
  }
  .product-info {
    padding: 14px 14px 16px;
  }
  .btn-cart {
    font-size: 9px;
    padding: 7px 12px;
  }
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 700px */
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom-inner {
    padding: 0 24px;
    flex-direction: column;
    text-align: center;
  }
  .footer-main {
    padding: 48px 0 36px;
  }
}

/* 600px */
@media (max-width: 600px) {
  .section-inner {
    padding: 0 20px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .brand-banner-stats {
    gap: 28px;
  }
  .stat-num {
    font-size: 38px;
  }
  .hero-arrow {
    display: none;
  }
  .hero-content {
    padding: 0 20px;
  }
}

/* 480px — large phones */
@media (max-width: 480px) {
  .logo-name {
    font-size: 22px;
    letter-spacing: 2px;
  }
  .logo-eyebrow {
    display: none;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-img-wrap {
    height: 190px !important;
  }
  .section-inner {
    padding: 0 14px;
  }
  .section {
    padding: 44px 0;
  }
  .section-title {
    font-size: 26px;
  }
  .product-info {
    padding: 10px 10px 12px;
  }
  .btn-cart {
    font-size: 8px;
    letter-spacing: 1px;
    padding: 6px 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
}

/* 360px — small phones (Samsung Galaxy S etc.) */
@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-img-wrap {
    height: 160px !important;
  }
  .section-inner {
    padding: 0 10px;
  }
  .btn-cart {
    font-size: 7px;
    letter-spacing: 0.5px;
    padding: 5px 6px;
  }
}

/* ══════════════════════════════════════
   FIX: ADD TO CART BUTTON CUT OFF ON MOBILE
══════════════════════════════════════ */

@media (max-width: 768px) {
  .product-footer {
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-cart {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 9px 10px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .product-price {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .product-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .btn-cart {
    width: 100%;
    text-align: center;
    font-size: 8px;
    letter-spacing: 1px;
    padding: 8px 6px;
  }

  .product-price {
    font-size: 12px;
  }

  .product-info {
    padding: 10px 10px 12px;
  }
}
