/*
Theme Name: Kadence Child - Raaga Trendz
Template: kadence
Description: Raaga Trendz boutique design on Kadence + WooCommerce
Version: 1.1
*/

/* ============================================================
   KADENCE SIDEBAR / CONTENT-WIDTH OVERRIDE
   Kadence's default layout reserves space for a sidebar column on
   WooCommerce pages, which squeezes our grid layouts into a narrow
   strip. This forces full-width, no-sidebar on all WooCommerce pages
   regardless of the Customizer's global sidebar setting.
   ============================================================ */
.woocommerce-page .content-area,
.single-product .content-area,
.woocommerce-cart .content-area,
.woocommerce-checkout .content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.woocommerce-page #secondary,
.single-product #secondary,
.woocommerce-cart #secondary,
.woocommerce-checkout #secondary,
.woocommerce-page .sidebar,
.single-product .sidebar {
  display: none !important;
}
.woocommerce-page .site-main,
.single-product .site-main {
  max-width: 100% !important;
}

/* ============================================================
   TOKENS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

:root {
  /* Gold & Light Luxury Palette */
  --gold-primary: #c88a3b;      /* Rich Bronze Gold */
  --gold-dark: #9e6924;         /* Deep Gold Accent */
  --gold-light: #e5a758;        /* Bright Gold Accent */
  --gold-tint-light: #fef7ed;   /* Light Gold Wash (Replaces Blush) */
  --gold-tint-deep: #fbebd8;    /* Soft Deep Gold Wash (Replaces Blush Deep) */
  --ivory: #faf7f5;             /* Main Light Background */
  --taupe: #4a3f3f;             /* Primary Dark Text */
  --taupe-light: #7a6a6a;       /* Secondary Muted Text */
  --border: #ede8e6;            /* Light Subtle Border */
  --shadow-soft: 0 4px 24px rgba(74, 63, 63, 0.08);
  --shadow-hover: 0 12px 40px rgba(200, 138, 59, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: "Bodoni Moda", Georgia, serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --nav-h: 100px;
}
body {
  font-family: var(--font-body);
  background: var(--ivory, #faf7f5) !important;
  color: var(--taupe);
  font-size: 15px;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============================================================
   ANNOUNCEMENT BAR + HEADER
   ============================================================ */
.rt-announce-bar {
  background: var(--gold-primary);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.rt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: auto !important;
  min-height: var(--nav-h);
  background: rgba(250, 247, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
  padding-bottom: 20px !important;
  padding-top: 20px !important;	
}
.rt-header.scrolled { box-shadow: 0 2px 20px rgba(74, 63, 63, 0.1); }
.rt-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rt-logo {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
}
.rt-logo em { font-style: italic; font-weight: 400; }
.rt-nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; align-items: center; }
.rt-nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
  position: relative;
  padding-bottom: 2px;
}
.rt-nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold-primary);
  transition: width var(--transition);
}
.rt-nav-links a:hover::after,
.rt-nav-links li.current-menu-item a::after { width: 100%; }
.rt-nav-links a:hover,
.rt-nav-links li.current-menu-item a { color: var(--gold-primary); }
.rt-nav-actions { display: flex; align-items: center; gap: 20px; }
.rt-icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  position: relative;
  transition: background var(--transition);
}
.rt-icon-btn:hover { background: var(--gold-tint-light); }
.rt-cart-count {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #fff;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rt-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; background: none; border: none; }
.rt-hamburger span { width: 22px; height: 1.5px; background: var(--taupe); display: block; }
/* ============================================================
   TYPOGRAPHY HELPERS / BUTTONS
   ============================================================ */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-primary); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--taupe); line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--gold-primary); }
.section-sub { font-size: 15px; color: var(--taupe-light); max-width: 520px; line-height: 1.8; margin-top: 14px; }

.btn-primary, .btn-outline, .btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px; transition: all var(--transition);
  cursor: pointer;
}
.btn-primary { background: var(--gold-primary); color: #fff; border: 2px solid var(--gold-primary); }
.btn-primary:hover { background: var(--gold-dark); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold-primary); border: 2px solid var(--gold-primary); }
.btn-outline:hover { background: var(--gold-primary); color: #fff; box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--gold-primary); border: 2px solid #fff; padding: 13px 30px; }
.btn-white:hover { background: transparent; color: #fff; transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.rt-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1218 0%, #802b32 50%, #a0404a 100%);
}
.rt-hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    background-image: radial-gradient(circle at 20% 80%, rgba(250, 218, 221, 0.12) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(250, 218, 221, 0.08) 0%, transparent 50%);
}
.rt-hero-wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 32px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px;
  position: relative;
}
.rt-hero-label {
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-tint-light); margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.rt-hero-label::before { content: ""; width: 40px; height: 1px; background: var(--gold-tint-light); }
.rt-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700; line-height: 1.05; margin-bottom: 24px; color: #fff;
}
.rt-hero-title em { font-style: italic; color: var(--gold-tint-light); }
.rt-hero-desc { font-size: 16px; line-height: 1.8; color: rgba(250,218,221,.85); margin-bottom: 40px; max-width: 440px; }
.rt-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.rt-hero-image-area { display: flex; justify-content: center; align-items: flex-end; }
.rt-hero-img-card {
  width: 100%; max-width: 440px; border-radius: 4px; overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, rgba(250,218,221,.15) 0%, rgba(250,218,221,.05) 100%);
  border: 1px solid rgba(250,218,221,.2);
}
.rt-hero-img-card img { width: 100%; height: 100%; object-fit: cover; }


/* ============================================================
   CATEGORIES
   ============================================================ */
.rt-section { padding: 100px 32px; max-width: 1280px; margin: 0 auto; }
.rt-section-header { margin-bottom: 52px; }
.rt-section-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 20px; }

.rt-categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rt-cat-card {
  position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3/4;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.rt-cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.rt-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.rt-cat-card:hover img { transform: scale(1.06); }
.rt-cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,18,24,.75) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 24px;
}
.rt-cat-card-name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.rt-cat-card-count { font-size: 12px; color: rgba(255,255,255,.75); letter-spacing: .06em; }
.rt-cat-card-btn {
  margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-tint-light); display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(8px); transition: all var(--transition);
}
.rt-cat-card:hover .rt-cat-card-btn { opacity: 1; transform: translateY(0); }
section.rt-section,
.rt-section {
  background-color: #faf7f5 !important;
}


/* ============================================================
   PRODUCT CARDS (shared: home featured grid + WooCommerce loop)
   ============================================================ */
.rt-featured-section {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  background-color: var(--bg-light, #FAF8F5); /* Set your background color here */
  box-sizing: border-box !important;
}

/* Inner container keeps the titles & grid aligned in center */
.rt-featured-section .rt-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
}
.rt-products-grid, ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px !important;
  list-style: none !important;
  margin: 0 !important; padding: 0 !important;
}
.rt-product-card, ul.products li.product {
  position: relative;
  transition: transform var(--transition);
  list-style: none;
}
.rt-product-card:hover, ul.products li.product:hover { transform: translateY(-4px); }
.rt-product-img-wrap {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 2/3; background: var(--gold-tint-light); margin-bottom: 16px;
}
.rt-product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.rt-product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--taupe); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
}
.rt-product-badge.sale { background: #c88a3b; }
.rt-product-quick {
  position: absolute; bottom: -48px; left: 0; right: 0;
  background: rgba(42,18,24,.92); color: #fff; text-align: center; padding: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: bottom var(--transition);
}
.rt-product-card:hover .rt-product-quick { bottom: 0; }
.rt-product-wishlist {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.rt-product-card:hover .rt-product-wishlist { opacity: 1; }
.rt-product-info { padding: 0 4px; }
.rt-product-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--taupe); margin-bottom: 4px; }
.rt-product-price { font-size: 14px; font-weight: 500; color: var(--gold-primary); }
.rt-product-price .original { font-size: 12px; color: var(--taupe-light); text-decoration: line-through; margin-left: 8px; }
.rt-product-rating { font-size: 12px; color: #c0a060; margin-top: 4px; }

/* WooCommerce native element overrides, in case theme markup is used instead of the override template */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-heading); font-size: 1rem; }
.woocommerce span.onsale { background: #c0392b; border-radius: 2px; font-size: 10px; top: 12px; left: 12px; right: auto; min-height: unset; min-width: unset; padding: 4px 10px; }
.woocommerce ul.products li.product .price { color: var(--gold-primary); }

/* ============================================================
   WHY SHOP
   ============================================================ */
.rt-why-section {
  padding: 100px 32px;
  background: linear-gradient(135deg, #2a1f13 0%, #0d0d0d 100%);
  position: relative; overflow: hidden;
}
.rt-why-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.rt-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 52px; }
.rt-why-card {
  text-align: center; padding: 36px 24px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(254,247,237,.8);
  border-radius: 4px; transition: all var(--transition);
}
.rt-why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.rt-why-icon {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(254,247,237,.8);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.rt-why-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.rt-why-desc { font-size: 13px; color: rgba(254,247,237,.8); line-height: 1.7; }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.rt-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.rt-testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 36px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.rt-testimonial-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.rt-testi-stars { color: #c0a060; font-size: 14px; margin-bottom: 16px; }
.rt-testi-text { font-size: 14px; line-height: 1.9; color: var(--taupe-light); font-style: italic; margin-bottom: 24px; position: relative; }
.rt-testi-author { display: flex; align-items: center; gap: 14px; }
.rt-testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-tint-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--gold-primary);
}
.rt-testi-name { font-weight: 600; font-size: 13px; color: var(--taupe); }
.rt-testi-loc { font-size: 11px; color: var(--taupe-light); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.rt-cta-banner { background: var(--taupe); padding: 80px 32px; text-align: center; position: relative; overflow: hidden; }
.rt-cta-banner-inner { position: relative; max-width: 700px; margin: 0 auto; }
.rt-cta-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: #fff; margin-bottom: 14px; }
.rt-cta-title em { font-style: italic; color: var(--gold-tint-light); }
.rt-cta-sub { font-size: 15px; color: rgba(250,218,221,.8); margin-bottom: 36px; }
.rt-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.rt-footer { background color: black; color: #fff; padding: 80px 32px 0; }
.rt-footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.rt-footer-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.rt-footer-logo em { font-style: italic; color: var(--gold-tint-light); }
.rt-footer-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.9; max-width: 280px; }
.rt-footer-social { display: flex; gap: 10px; margin-top: 24px; }
.rt-footer-soc-link {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; transition: all var(--transition); color: rgba(255,255,255,.5);
}
.rt-footer-soc-link:hover { background: var(--gold-primary); border-color: var(--gold-primary); color: #fff; }
.rt-footer-heading { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.rt-footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.rt-footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: color var(--transition); }
.rt-footer-links a:hover { color: var(--gold-tint-light); }
.rt-footer-newsletter input {
  width: 100%; padding: 11px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px; font-family: var(--font-body); font-size: 13px; color: #fff; outline: none; margin-bottom: 10px;
}
.rt-footer-newsletter-btn {
  width: 100%; padding: 11px; background: var(--gold-primary); color: #fff; border: none; border-radius: 2px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: background var(--transition);
}
.rt-footer-newsletter-btn:hover { background: var(--gold-dark); }
.rt-footer-contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.rt-footer-contact-item { display: flex; gap: 10px; font-size: 12px; color: rgba(255,255,255,.5); }
.rt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin: 60px auto 0; padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center; max-width: 1280px;
}
.rt-footer-copy { font-size: 12px; color: rgba(255,255,255,.35); }
.rt-footer-legal { display: flex; gap: 24px; }
.rt-footer-legal a { font-size: 12px; color: rgba(255,255,255,.35); }
.rt-footer-legal a:hover { color: var(--gold-tint-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .rt-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .rt-products-grid, ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .rt-why-grid { grid-template-columns: repeat(2, 1fr); }
  .rt-footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .rt-hero-wrap { grid-template-columns: 1fr; }
  .rt-hero-image-area { display: none; }
  .rt-testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .rt-nav-links { display: none; }
  .rt-hamburger { display: flex; }
  .rt-products-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .rt-footer-inner { grid-template-columns: 1fr; }
  .rt-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.rt-product-page { max-width: 1280px; margin: 0 auto; padding: 60px 32px 100px; }

.rt-product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

/* Gallery */
.rt-product-gallery-main {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--gold-tint-light);
  margin-bottom: 16px;
}
.rt-product-gallery-main img,
#rt-gallery-main-img { width: 100%; height: 100%; object-fit: cover; }
.rt-product-gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.rt-gallery-thumb {
  width: 76px; height: 96px; border-radius: 4px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; opacity: .7; transition: all var(--transition);
}
.rt-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rt-gallery-thumb:hover { opacity: 1; }
.rt-gallery-thumb.active { border-color: var(--gold-primary); opacity: 1; }

/* Summary */
.rt-product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--taupe);
  margin: 8px 0 16px;
  line-height: 1.2;
}
.rt-product-meta-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.rt-product-sku { font-size: 12px; color: var(--taupe-light); }
.rt-product-price-block { font-size: 1.7rem; font-weight: 600; color: var(--gold-primary); margin-bottom: 24px; }
.rt-product-price-block del { font-size: 1.1rem; color: var(--taupe-light); opacity: .7; margin-right: 12px; }
.rt-product-price-block ins { text-decoration: none; }
.rt-product-desc { font-size: 14px; line-height: 1.9; color: var(--taupe-light); margin-bottom: 32px; }

/* Variation swatches (Kadence/WC default markup, restyled) */
table.variations { width: 100%; margin-bottom: 24px; border-collapse: collapse; }
table.variations tr { display: block; margin-bottom: 16px; }
table.variations label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--taupe); margin-bottom: 10px;
}
table.variations select {
  width: 100%; max-width: 320px; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 2px; font-family: var(--font-body); font-size: 14px; background: #fff;
}
.woocommerce-variation-price { font-size: 1.3rem; color: var(--gold-primary); margin: 16px 0; }
a.reset_variations { font-size: 12px; color: var(--taupe-light); text-decoration: underline; margin-top: 8px; display: inline-block; }

/* Quantity + Add to bag */
.rt-qty-addtocart-row { display: flex; align-items: stretch; gap: 14px; margin-bottom: 28px; }
.quantity { display: flex; align-items: center; }
.quantity .qty {
  width: 70px; height: 100%; text-align: center; border: 1px solid var(--border);
  border-radius: 2px; font-family: var(--font-body); font-size: 15px; padding: 0 8px;
}
.rt-qty-addtocart-row .single_add_to_cart_button {
  flex: 1; padding: 0 32px !important; font-size: 12px !important;
  display: flex; align-items: center; justify-content: center;
}

.rt-product-trust-row { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.rt-trust-item { font-size: 13px; color: var(--taupe-light); }
.rt-stock-badge {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 6px 14px;
  border-radius: 2px; letter-spacing: .04em;
}
.rt-stock-badge.in-stock { background: #e8f3ea; color: #2d6a3e; }
.rt-stock-badge.out-of-stock { background: #f8e6e6; color: #a63b3b; }

/* Tabs */
.rt-product-tabs { margin-bottom: 90px; }
.rt-tab-nav { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.rt-tab-btn {
  background: none; border: none; padding: 16px 24px; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--taupe-light); cursor: pointer; position: relative; transition: color var(--transition);
}
.rt-tab-btn::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px;
  background: var(--gold-primary); opacity: 0; transition: opacity var(--transition);
}
.rt-tab-btn.active { color: var(--gold-primary); }
.rt-tab-btn.active::after { opacity: 1; }
.rt-tab-panel { display: none; font-size: 14px; line-height: 1.9; color: var(--taupe-light); }
.rt-tab-panel.active { display: block; }
.rt-attr-table { width: 100%; border-collapse: collapse; }
.rt-attr-table tr { border-bottom: 1px solid var(--border); }
.rt-attr-table th, .rt-attr-table td { padding: 14px 0; text-align: left; font-size: 13px; }
.rt-attr-table th { width: 200px; color: var(--taupe); font-weight: 600; }

@media (max-width: 900px) {
  .rt-product-main { grid-template-columns: 1fr; gap: 36px; }
  .rt-tab-nav { overflow-x: auto; }
}

/* ============================================================
   SHOP / CATEGORY ARCHIVE PAGE
   ============================================================ */
.rt-archive-header {
  background: linear-gradient(135deg, #802b32 0%, #601f25 100%);
  padding: 56px 32px 48px;
  text-align: center;
}
.rt-archive-header-inner { max-width: 800px; margin: 0 auto; }
.rt-archive-header .section-label { color: var(--gold-tint-light); justify-content: center; display: flex; }
.rt-archive-header .section-title { color: #fff; }
.rt-archive-header .section-title em { color: var(--gold-tint-light); }
.rt-archive-desc { color: rgba(250,218,221,.8); font-size: 14px; margin-top: 14px; line-height: 1.8; }

.rt-breadcrumb {
  font-size: 12px;
  color: rgba(250,218,221,.65);
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.rt-breadcrumb a { color: rgba(250,218,221,.85); }
.rt-breadcrumb a:hover { color: #fff; }

.rt-shop-content { padding-top: 48px; }

.rt-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.rt-shop-toolbar .woocommerce-result-count {
  font-size: 13px;
  color: var(--taupe-light);
  margin: 0;
}
.rt-shop-toolbar .woocommerce-ordering { margin: 0; }
.rt-shop-toolbar .woocommerce-ordering select,
.rt-shop-toolbar select.orderby {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--taupe);
  background: #fff;
}

.rt-shop-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--taupe-light);
}
.rt-shop-empty p { margin-bottom: 24px; font-size: 15px; }

/* WooCommerce pagination, restyled */
.woocommerce-pagination { margin-top: 56px; text-align: center; }
.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-pagination .page-numbers li { display: inline-block; }
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  color: var(--taupe);
  transition: all var(--transition);
}
.woocommerce-pagination .page-numbers a:hover,
.woocommerce-pagination .page-numbers .current {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #fff;
}

/* WooCommerce default notices, restyled to match palette */
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-message {
  border-top-color: var(--gold-primary);
  font-size: 13px;
}

@media (max-width: 600px) {
  .rt-shop-toolbar { flex-direction: column; align-items: flex-start; }
}  
/* ============================================================
   GENERIC PAGE HEADER (cart, checkout, account, etc.)
   ============================================================ */
.rt-page-header {
  background: linear-gradient(135deg, #802b32 0%, #601f25 100%);
  padding: 56px 32px 48px;
  text-align: center;
}
.rt-page-header-inner { max-width: 800px; margin: 0 auto; }
.rt-page-header .section-label { color: var(--gold-tint-light); justify-content: center; display: flex; }
.rt-page-header .section-title { color: #fff; }
.rt-page-header .section-title em { color: var(--gold-tint-light); }

/* ============================================================
   CART PAGE
   ============================================================ */
.rt-cart-page { padding-top: 48px; }

.rt-cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.rt-cart-items-head {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.5fr 1fr;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--taupe-light);
}

.rt-cart-row {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.5fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.rt-cart-product { display: flex; gap: 16px; align-items: center; }
.rt-cart-product-img { width: 76px; height: 96px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: var(--gold-tint-light); }
.rt-cart-product-img img { width: 100%; height: 100%; object-fit: cover; }
.rt-cart-product-info { font-size: 14px; }
.rt-cart-product-info a { font-weight: 600; color: var(--taupe); font-family: var(--font-heading); }
.rt-cart-product-info dl { font-size: 12px; color: var(--taupe-light); margin: 6px 0 0; }
.rt-cart-remove { background: none; border: none; padding: 0; margin-top: 8px; }
.rt-cart-remove a.remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--taupe);
  color: var(--taupe); font-size: 16px; line-height: 1; transition: all var(--transition);
}
.rt-cart-remove a.remove:hover { background: #c0392b; color: #fff; }

.rt-cart-price, .rt-cart-subtotal { font-size: 14px; color: var(--gold-primary); font-weight: 500; }
.rt-cart-qty .quantity .qty { width: 60px; }

.rt-cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
}
.rt-cart-coupon { display: flex; gap: 10px; }
.rt-cart-coupon input {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 2px;
  font-family: var(--font-body); font-size: 13px; min-width: 180px;
}

.rt-cart-empty { text-align: center; padding: 60px 20px; }
.rt-cart-empty-icon { font-size: 48px; margin-bottom: 16px; }
.rt-cart-empty p { color: var(--taupe-light); margin-bottom: 24px; font-size: 15px; }

/* WooCommerce native cart totals box (renders via woocommerce_cart_collaterals hook) */
.cart_totals {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
}
.cart_totals h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--taupe);
  margin-bottom: 20px;
}
.cart_totals table.shop_table { width: 100%; border-collapse: collapse; }
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-align: left;
}
.cart_totals table.shop_table th { color: var(--taupe-light); font-weight: 500; }
.cart_totals .order-total th, .cart_totals .order-total td { border-bottom: none; font-weight: 700; font-size: 15px; color: var(--gold-primary); }
.cart_totals .wc-proceed-to-checkout { margin-top: 20px; }
.cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: block; text-align: center; width: 100%;
  background: var(--gold-primary); color: #fff; border: 2px solid var(--gold-primary);
  border-radius: 2px; padding: 14px; font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; transition: all var(--transition);
}
.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--gold-dark); box-shadow: var(--shadow-hover);
}
.cart_totals .woocommerce-shipping-calculator a { color: var(--gold-primary); font-size: 12px; }
.cart_totals .shipping-calculator-form input,
.cart_totals .shipping-calculator-form select {
  width: 100%; padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--border);
  border-radius: 2px; font-family: var(--font-body); font-size: 13px;
}

/* Cross-sells (renders via woocommerce_cart_collaterals hook, uses .products markup) */
.cross-sells { margin-top: 36px; }
.cross-sells h2 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 20px; }
.cross-sells ul.products { display: flex; flex-direction: column; gap: 16px; }
.cross-sells ul.products li.product {
  display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 12px;
}
.cross-sells ul.products li.product img { width: 56px; height: 70px; object-fit: cover; border-radius: 3px; }
.cross-sells ul.products li.product .woocommerce-loop-product__title { font-size: 13px; margin: 0 0 4px; }
.cross-sells ul.products li.product .price { font-size: 12px; }

@media (max-width: 900px) {
  .rt-cart-layout { grid-template-columns: 1fr; }
  .rt-cart-items-head { display: none; }
  .rt-cart-row { grid-template-columns: 1fr; gap: 10px; }
  .rt-cart-price::before { content: "Price: "; color: var(--taupe-light); font-size: 11px; }
  .rt-cart-subtotal::before { content: "Subtotal: "; color: var(--taupe-light); font-size: 11px; }
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.rt-checkout-page { padding-top: 48px; }

.rt-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.rt-checkout-block { margin-bottom: 40px; }
.rt-checkout-block-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--taupe);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Woo's native checkout field markup */
.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce-additional-fields .form-row {
  margin-bottom: 18px;
}
.woocommerce-billing-fields label,
.woocommerce-shipping-fields label,
.woocommerce-additional-fields label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--taupe);
  margin-bottom: 8px;
}
.woocommerce-billing-fields .required,
.woocommerce-shipping-fields .required { color: var(--gold-primary); text-decoration: none; }
.woocommerce-billing-fields input.input-text,
.woocommerce-billing-fields select,
.woocommerce-billing-fields textarea,
.woocommerce-shipping-fields input.input-text,
.woocommerce-shipping-fields select,
.woocommerce-shipping-fields textarea,
.woocommerce-additional-fields input.input-text,
.woocommerce-additional-fields textarea,
.select2-container .select2-selection--single {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--taupe);
  background: #fff;
  height: auto;
}
.woocommerce-billing-fields input.input-text:focus,
.woocommerce-shipping-fields input.input-text:focus {
  outline: none;
  border-color: var(--gold-primary);
}
.woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info {
  border-top-color: var(--gold-primary);
  background: var(--ivory);
  font-size: 13px;
  padding: 16px;
  border-radius: 2px;
}
.woocommerce-account-fields { margin-top: 20px; }
#ship-to-different-address { font-size: 13px; font-weight: 600; color: var(--taupe); }
.woocommerce-additional-fields h3 { font-family: var(--font-heading); font-size: 1.1rem; margin: 32px 0 16px; }

/* Order review table (native Woo markup inside #order_review) */
.rt-order-review-wrap {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
}
#order_review table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
#order_review table.shop_table th,
#order_review table.shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-align: left;
}
#order_review .product-name { color: var(--taupe); }
#order_review .product-total { color: var(--gold-primary); text-align: right; }
#order_review .order-total th,
#order_review .order-total td {
  font-weight: 700;
  font-size: 16px;
  color: var(--gold-primary);
  border-bottom: none;
}

/* Payment methods (rendered by woocommerce_checkout_order_review -> payment.php) */
#payment { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 20px; }
#payment ul.payment_methods { list-style: none; margin: 0; padding: 0; }
#payment ul.payment_methods li { padding: 14px 0; border-bottom: 1px solid var(--border); }
#payment ul.payment_methods li:last-child { border-bottom: none; }
#payment ul.payment_methods li input[type="radio"] { margin-right: 10px; }
#payment ul.payment_methods li label { font-size: 13px; font-weight: 600; color: var(--taupe); }
#payment .payment_box {
  background: var(--ivory);
  padding: 14px;
  margin-top: 10px;
  border-radius: 2px;
  font-size: 13px;
  color: var(--taupe-light);
}
#payment #place_order {
  width: 100%;
  margin-top: 16px;
  background: var(--gold-primary);
  color: #fff;
  border: 2px solid var(--gold-primary);
  border-radius: 2px;
  padding: 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: all var(--transition);
}
#payment #place_order:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-hover);
}
.woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--taupe-light); margin: 14px 0; }

@media (max-width: 900px) {
  .rt-checkout-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   RAAGA THEME MATCH — PRODUCT + CART OVERRIDES
   These rules intentionally sit at the end of the stylesheet so
   Kadence/WooCommerce defaults cannot squeeze or restyle the layout.
   ============================================================ */

/* Prevent Kadence's outer WooCommerce containers from narrowing the page. */
.woocommerce-page .site-container,
.woocommerce-page .content-container,
.woocommerce-page #primary,
.woocommerce-page .entry-content-wrap,
.single-product .site-container,
.single-product .content-container,
.single-product #primary,
.single-product .entry-content-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single-product article.entry,
.woocommerce-cart article.entry {
  max-width: none !important;
  width: 100% !important;
}

/* ---------- PRODUCT ---------- */
.rt-product-page {
  width: 100%;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 60px 32px 100px !important;
}

.rt-product-main {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  margin-bottom: 80px;
  align-items: start;
}

.rt-product-gallery-main {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--gold-tint-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.rt-product-gallery-main img,
.rt-product-gallery-main .woocommerce-placeholder,
#rt-gallery-main-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.rt-product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rt-gallery-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 2px;
  background: var(--gold-tint-light);
  border: 2px solid transparent;
  overflow: hidden;
  opacity: .75;
}

.rt-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-gallery-thumb.active,
.rt-gallery-thumb:hover {
  border-color: var(--gold-primary);
  opacity: 1;
}

.rt-product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--taupe-light);
  margin-bottom: 16px;
}

.rt-product-breadcrumb a:hover { color: var(--gold-primary); }
.rt-product-breadcrumb .cat-item { display: inline; }
.rt-product-breadcrumb .cat-item + .cat-item::before { content: ', '; }

.rt-product-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  line-height: 1.2 !important;
  color: var(--taupe) !important;
  margin: 0 0 12px !important;
}

.rt-product-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 0;
}

.rt-product-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #c0a060;
  font-size: 14px;
  letter-spacing: 1px;
}

.rt-product-sku {
  font-size: 12px;
  color: var(--taupe-light);
}

.rt-product-price-block {
  font-size: 1.8rem !important;
  line-height: 1.2;
  font-weight: 700 !important;
  color: var(--gold-primary) !important;
  margin-bottom: 24px !important;
}

.rt-product-price-block del {
  font-size: 1rem !important;
  margin-left: 12px;
  margin-right: 0;
  color: var(--taupe-light) !important;
}

.rt-product-desc {
  font-size: 14px;
  color: var(--taupe-light);
  line-height: 1.9;
  margin-bottom: 0;
}

.rt-product-summary form.cart {
  margin: 28px 0 0 !important;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* WooCommerce variation selectors */
.rt-product-summary table.variations {
  width: 100%;
  margin: 0 0 18px;
  border: 0;
}

.rt-product-summary table.variations tr {
  display: block;
  margin: 0 0 18px;
}

.rt-product-summary table.variations td,
.rt-product-summary table.variations th {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.rt-product-summary table.variations label,
.rt-product-summary .variations .label {
  display: block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--taupe);
}

.rt-product-summary table.variations select {
  width: 100%;
  max-width: none;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  color: var(--taupe);
  font-family: var(--font-body);
  font-size: 13px;
}

.rt-product-summary a.reset_variations {
  display: inline-block;
  margin-top: 7px;
  font-size: 11px;
  color: var(--taupe-light);
}

.rt-product-summary .woocommerce-variation-description {
  color: var(--taupe-light);
  font-size: 13px;
  line-height: 1.7;
}

.rt-product-summary .woocommerce-variation-price {
  color: var(--gold-primary);
  font-size: 1.3rem;
  margin: 12px 0 18px;
}

/* Product quantity + add-to-cart */
.rt-qty-addtocart-row,
.rt-product-summary .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 0;
}

.rt-product-summary .quantity {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.rt-product-summary .quantity .qty {
  width: 88px !important;
  height: 44px !important;
  padding: 0 34px !important;
  border: 1px solid var(--border) !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: var(--taupe) !important;
  text-align: center;
  font-size: 13px;
}

.rt-qty-addtocart-row .single_add_to_cart_button,
.rt-product-summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  min-height: 44px;
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 24px !important;
  border-radius: 2px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 11px !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rt-wishlist-btn {
  flex: 0 0 48px;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  color: var(--taupe);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.rt-wishlist-btn:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.rt-variable-wishlist-row { display: none; }

/* The variable template owns the add-to-cart row. JS inserts wishlist there. */
.rt-product-summary .woocommerce-variation-add-to-cart .rt-wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rt-product-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 28px;
}

.rt-product-feature {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--taupe-light);
  font-size: 12px;
  line-height: 1.6;
}

.rt-product-feature:first-letter { color: var(--gold-primary); }

.rt-stock-badge {
  margin-top: 18px;
}

/* Match reference: related products follows the main product area directly. */
.rt-product-page > .rt-section {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}


/* ---------- CART PAGE: FULL-WIDTH + HIDE WORDPRESS PAGE TITLE ---------- */
body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .woocommerce-products-header {
  display: none !important;
}

/* Kadence can constrain the page content container. Let the custom cart
   use the full available desktop width, while keeping the inner layout
   capped at 1280px. */
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-container,
body.woocommerce-cart .site-main {
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-cart .rt-section.rt-cart-page {
  box-sizing: border-box;
  width: min(1280px, 100%) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

@media (max-width: 700px) {
  body.woocommerce-cart .rt-section.rt-cart-page {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ---------- CART ---------- */
.rt-cart-heading {
  width: 100%;
  background: var(--ivory);
  padding: 40px 32px 20px;
}

.rt-cart-heading-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.rt-cart-heading .section-label {
  display: flex;
  justify-content: flex-start;
}

.rt-cart-heading .section-title {
  color: var(--taupe);
}

.rt-cart-heading .section-title em {
  color: var(--gold-primary);
  font-style: normal;
}

.rt-section.rt-cart-page {
  width: 100%;
  max-width: 1280px !important;
  margin: 0 auto;
  padding: 20px 32px 80px !important;
}

.rt-cart-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
  padding: 20px 0 60px;
}

.rt-cart-items-head,
.rt-cart-row {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(75px, 1fr) minmax(95px, 1fr) minmax(90px, 1fr) 28px;
  gap: 16px;
}

.rt-cart-items-head {
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--taupe-light);
}

.rt-cart-row {
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.rt-cart-product {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.rt-cart-product-img {
  width: 80px;
  height: 100px;
  border-radius: 2px;
  flex: 0 0 80px;
  background: var(--gold-tint-light);
  overflow: hidden;
}

.rt-cart-product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.rt-cart-product-info {
  min-width: 0;
  font-size: 14px;
}

.rt-cart-product-info > a,
.rt-cart-product-info .product-name a {
  color: var(--taupe);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
}

.rt-cart-product-info dl {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--taupe-light);
}

.rt-cart-price,
.rt-cart-subtotal {
  font-size: 14px;
  color: var(--taupe);
}

.rt-cart-subtotal {
  color: var(--gold-primary);
  font-weight: 600;
}

.rt-cart-qty .quantity {
  display: flex;
  align-items: center;
}

.rt-cart-qty .quantity .qty {
  width: 78px !important;
  height: 44px !important;
  padding: 0 26px !important;
  border: 1px solid var(--border) !important;
  border-radius: 2px !important;
  text-align: center;
  background: #fff;
  color: var(--taupe);
}

.rt-cart-remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--taupe-light) !important;
  font-size: 20px;
  line-height: 1;
  text-decoration: none !important;
  transition: color var(--transition);
}

.rt-cart-remove:hover { color: var(--gold-primary) !important; }

.rt-cart-actions {
  justify-content: flex-start;
  padding-top: 20px;
}

.rt-cart-sidebar {
  min-width: 0;
}

.rt-cart-summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
}

.rt-cart-summary-title {
  margin-bottom: 24px;
  color: var(--taupe);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.rt-cart-coupon {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}

.rt-cart-coupon input {
  min-width: 0;
  flex: 1;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 12px;
}

.rt-cart-coupon button {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 16px !important;
  font-size: 11px !important;
}

/* WooCommerce's cart_totals becomes the inner content of our themed card. */
.rt-cart-summary-card .cart_totals {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.rt-cart-summary-card .cart_totals h2 { display: none; }

.rt-cart-summary-card .cart_totals table.shop_table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.rt-cart-summary-card .cart_totals table.shop_table th,
.rt-cart-summary-card .cart_totals table.shop_table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: 14px;
  text-align: left;
  color: var(--taupe);
}

.rt-cart-summary-card .cart_totals table.shop_table td { text-align: right; }

.rt-cart-summary-card .cart_totals .order-total th,
.rt-cart-summary-card .cart_totals .order-total td {
  padding-top: 18px;
  border-bottom: 0;
  color: var(--taupe);
  font-size: 15px;
  font-weight: 700;
}

.rt-cart-summary-card .cart_totals .order-total td { color: var(--gold-primary); }

.rt-cart-summary-card .wc-proceed-to-checkout {
  margin-top: 20px !important;
  padding: 0 !important;
}

.rt-cart-summary-card .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  min-height: 44px;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px !important;
  border: 2px solid var(--gold-primary) !important;
  border-radius: 2px !important;
  background: var(--gold-primary) !important;
  color: #fff !important;
  font-size: 11px !important;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Quantity +/- controls inserted by the small script below. */
.rt-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
}

.rt-qty-control .rt-qty-btn {
  width: 38px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--taupe);
  font-size: 17px;
  cursor: pointer;
}

.rt-qty-control .qty {
  border: 0 !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  background: transparent !important;
}

@media (max-width: 900px) {
  .rt-product-main { grid-template-columns: 1fr; gap: 36px; }
  .rt-cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .rt-product-page { padding: 36px 20px 70px !important; }
  .rt-cart-heading { padding: 32px 20px 16px; }
  .rt-section.rt-cart-page { padding: 16px 20px 60px !important; }
  .rt-cart-items-head { display: none; }
  .rt-cart-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 20px 0;
  }
  .rt-cart-product { grid-column: 1 / -1; }
  .rt-cart-price::before { content: "Price: "; color: var(--taupe-light); font-size: 11px; }
  .rt-cart-qty::before { content: "Qty: "; color: var(--taupe-light); font-size: 11px; }
  .rt-cart-subtotal::before { content: "Total: "; color: var(--taupe-light); font-size: 11px; }
  .rt-cart-remove { grid-column: 2; grid-row: 2; }
  .rt-cart-actions { padding-top: 16px; }
  .rt-cart-summary-card { padding: 24px 20px; }
}

/* Raaga Trendz — native WooCommerce empty cart */
body.woocommerce-cart .site-main > article.entry {
    margin: 0 !important;
}

body.woocommerce-cart .entry-content-wrap,
body.woocommerce-cart .entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-cart .woocommerce {
    background: var(--ivory, #faf7f5);
}

body.woocommerce-cart .woocommerce .cart-empty {
    color: var(--taupe, #4a3f3f);
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.3;
    margin: 0 0 24px !important;
}

body.woocommerce-cart .woocommerce .return-to-shop {
    margin: 0 !important;
}

body.woocommerce-cart .woocommerce .return-to-shop .button {
    background: var(--gold-primary, #c88a3b) !important;
    border: 1px solid var(--gold-primary, #c88a3b) !important;
    border-radius: 2px !important;
    color: #fff !important;
    padding: 14px 28px !important;
    font-family: var(--font-body, sans-serif);
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.woocommerce-cart .woocommerce .return-to-shop .button:hover {
    background: var(--gold-dark, #9e6924) !important;
    border-color: var(--gold-dark, #9e6924) !important;
}



