/* =============================================
   BONELESS COUCH USA — MASTER CSS v4
   Clean rewrite — no conflicts
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --white: #FFFFFF;
  --cream: #F8F7F5;
  --off-black: #1A1A1A;
  --green: #1C3A2A;
  --border: #E8E8E8;
  --text-light: #767676;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--off-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
}

/* =============================================
   HIDE DEFAULT THEME ELEMENTS
   ============================================= */
.site-header,
#site-header,
.main-navigation,
.header-widget-area,
.generate-back-to-top,
.wp-site-blocks > header {
  display: none !important;
}

/* Remove content constraints from Hostinger FSE theme */
.wp-site-blocks,
.entry-content,
.wp-block-post-content {
  padding: 0 !important;
  margin: 0 !important;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
}

/* =============================================
   CUSTOM HEADER
   ============================================= */
#bcusa-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  font-family: var(--font-body);
}

#bcusa-announcement {
  background: var(--off-black);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

#bcusa-header-main {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Hamburger */
#bcusa-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

#bcusa-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--off-black);
}

/* Logo */
#bcusa-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--off-black);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

#bcusa-logo:hover {
  text-decoration: none;
  color: var(--off-black);
}

/* Desktop nav */
#bcusa-nav-desktop {
  display: none;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

#bcusa-nav-desktop a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--off-black);
  text-decoration: none;
  padding: 8px 12px;
  white-space: nowrap;
  transition: color 0.2s;
}

#bcusa-nav-desktop a:hover {
  color: var(--green);
  text-decoration: none;
}

/* Cart */
#bcusa-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

#bcusa-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--off-black);
  text-decoration: none;
  display: flex;
  align-items: center;
}

#bcusa-cart-btn:hover { color: var(--green); text-decoration: none; }

#bcusa-cart-count {
  background: var(--off-black);
  color: white;
  font-size: 9px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -4px;
  right: -8px;
}

/* Mobile drawer */
#bcusa-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99998;
}
#bcusa-overlay.open { display: block; }

#bcusa-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 99999;
  transition: left 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
#bcusa-drawer.open { left: 0; }

#bcusa-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#bcusa-drawer-header span {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
  color: var(--off-black);
  text-transform: uppercase;
  letter-spacing: 2px;
}

#bcusa-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}

#bcusa-drawer nav a {
  display: block;
  padding: 13px 24px;
  font-size: 14px;
  color: var(--off-black);
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: color 0.2s, padding-left 0.2s;
}

#bcusa-drawer nav a:hover {
  color: var(--green);
  padding-left: 32px;
  text-decoration: none;
}

#bcusa-drawer .drawer-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  padding: 20px 24px 6px;
  display: block;
}

#bcusa-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #888;
  line-height: 2;
  margin-top: auto;
}

/* Desktop: show nav, hide hamburger */
@media (min-width: 769px) {
  #bcusa-hamburger { display: none; }
  #bcusa-nav-desktop { display: flex; }
}

/* Mobile: show hamburger, hide desktop nav */
@media (max-width: 768px) {
  #bcusa-hamburger { display: flex; }
  #bcusa-nav-desktop { display: none; }
  #bcusa-header-main { padding: 0 16px; }
}

/* =============================================
   HERO SLIDER
   ============================================= */
#bcusa-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 480px;
  overflow: hidden;
  background: #1a1a1a;
}

.bcusa-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.bcusa-slide.active {
  opacity: 1;
  z-index: 2;
}

.bcusa-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.bcusa-slide-content {
  position: absolute;
  bottom: 15%;
  left: 6%;
  max-width: 520px;
  color: #fff;
  z-index: 3;
}

.bcusa-slide-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 16px;
}

.bcusa-slide-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
  font-weight: 300;
  max-width: 380px;
}

.bcusa-slide-cta {
  display: inline-block;
  background: #fff;
  color: var(--off-black);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.bcusa-slide-cta:hover {
  background: var(--off-black);
  color: #fff;
  text-decoration: none;
}

/* Slider controls */
#bcusa-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.bcusa-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.bcusa-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 3px;
}

/* Hide arrows on desktop, show on mobile */
.bcusa-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

#bcusa-prev { left: 16px; }
#bcusa-next { right: 16px; }

@media (max-width: 768px) {
  #bcusa-slider { height: 60vh; }
  .bcusa-slide-content { left: 5%; right: 5%; bottom: 12%; }
  .bcusa-slide-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
  }
}

/* =============================================
   TRUST BAR
   ============================================= */
#bcusa-trust {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.bcusa-trust-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--off-black);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.bcusa-trust-item svg { color: var(--green); flex-shrink: 0; }

@media (max-width: 768px) {
  #bcusa-trust {
    gap: 16px;
    padding: 12px 16px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

/* =============================================
   HOMEPAGE SECTIONS
   ============================================= */
.bcusa-section {
  padding: 72px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.bcusa-section-cream {
  background: var(--cream);
  padding: 72px 40px;
}

.bcusa-section-full {
  background: #fff;
  padding: 72px 40px;
}

.bcusa-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.bcusa-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}

.bcusa-section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--off-black);
  margin-bottom: 8px;
  text-align: center;
}

.bcusa-section-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 48px;
  font-weight: 300;
  text-align: center;
}

/* Hide page title */
.home .entry-header,
.home .page-title,
.home h1.entry-title,
.home .entry-meta {
  display: none !important;
}

.home .entry-content,
.home .page-content {
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .bcusa-section,
  .bcusa-section-cream,
  .bcusa-section-full { padding: 48px 16px; }
}

/* =============================================
   CATEGORY GRID
   ============================================= */
.bcusa-category-strip {
  padding: 48px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.bcusa-category-strip h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  margin-bottom: 32px;
}

.bcusa-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.bcusa-category-card {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 20px 12px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  background: #fff;
}

.bcusa-category-card:hover {
  border-color: var(--off-black);
  transform: translateY(-2px);
  text-decoration: none;
}

.bcusa-category-card .cat-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.bcusa-category-card .cat-name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--off-black);
  display: block;
}

@media (max-width: 768px) {
  .bcusa-category-grid { grid-template-columns: repeat(3, 1fr); }
  .bcusa-category-strip { padding: 32px 16px; }
}

/* =============================================
   PRODUCT GRID
   ============================================= */
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

.woocommerce ul.products li.product,
ul.products li.product {
  background: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: none !important;
  overflow: hidden !important;
}

ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 4/3 !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s !important;
}

ul.products li.product:hover img {
  transform: scale(1.03) !important;
}

ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--off-black) !important;
  padding: 12px 0 4px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

ul.products li.product .price {
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--text-light) !important;
  padding: 0 0 12px !important;
  margin: 0 !important;
}

ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--off-black) !important;
}

ul.products li.product .button.add_to_cart_button {
  display: none !important;
}

ul.products li.product .onsale {
  background: var(--off-black) !important;
  color: white !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .woocommerce ul.products, ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products, ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* =============================================
   WHY SECTION
   ============================================= */
.bcusa-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.bcusa-why-item { text-align: center; }

.bcusa-why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid var(--border);
}

.bcusa-why-icon svg { color: var(--green); }

.bcusa-why-item h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-family: var(--font-body);
  text-transform: uppercase;
}

.bcusa-why-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}

@media (max-width: 768px) {
  .bcusa-why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* =============================================
   VIDEO SECTION
   ============================================= */
.bcusa-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 40px;
}

.bcusa-video-slot {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--off-black);
  overflow: hidden;
  cursor: pointer;
}

.bcusa-video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 36px;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.video-overlay p {
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 768px) {
  .bcusa-video-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.bcusa-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bcusa-testimonial {
  padding: 28px;
  border: 1px solid var(--border);
}

.bcusa-testimonial .stars {
  color: var(--green);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: block;
}

.bcusa-testimonial p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--off-black);
  margin-bottom: 16px;
  font-style: italic;
  font-family: var(--font-heading);
  font-weight: 300;
}

.bcusa-testimonial .author {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .bcusa-testimonial-grid { grid-template-columns: 1fr; }
}

/* =============================================
   BRAND STATEMENT
   ============================================= */
.bcusa-brand-statement {
  background: var(--green);
  padding: 96px 40px;
  text-align: center;
}

.bcusa-brand-statement h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 20px;
}

.bcusa-brand-statement p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 32px;
  font-weight: 300;
  line-height: 1.7;
}

.bcusa-brand-statement a {
  display: inline-block;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.bcusa-brand-statement a:hover {
  background: var(--off-black);
  color: #fff;
}

/* =============================================
   FAQ
   ============================================= */
.bcusa-faq {
  max-width: 720px;
  margin: 48px auto 0;
}

.bcusa-faq-item { border-bottom: 1px solid var(--border); }

.bcusa-faq-question {
  padding: 20px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--off-black);
}

.bcusa-faq-question span {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 16px;
}

.bcusa-faq-answer {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
}

/* =============================================
   BUTTONS
   ============================================= */
.button,
.wp-block-button__link,
.single_add_to_cart_button,
.checkout-button,
#place_order {
  background: var(--off-black) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.button:hover,
.single_add_to_cart_button:hover {
  background: var(--green) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* =============================================
   WOOCOMMERCE
   ============================================= */
.woocommerce-coming-soon-page { display: none !important; }
.woocommerce-store-notice { display: none !important; }

/* Force 4 column product grid */
.woocommerce ul.products.columns-4,
ul.products.columns-4 {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* Fix Hostinger FSE theme content width constraint */
.bcusa-section-cream .bcusa-inner,
.bcusa-section-cream .woocommerce,
.bcusa-section-cream ul.products {
  max-width: 100% !important;
  width: 100% !important;
}

/* Override FSE constrained layout */
.is-layout-constrained > .woocommerce,
.is-layout-flow > .woocommerce {
  max-width: 100% !important;
}

/* Fix WooCommerce wrapper and grid */
.woocommerce.columns-4 {
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce ul.products li.product,
ul.products.columns-4 li.product {
  clear: none !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Logo showing on desktop - confirmed working from inspector */
#bcusa-logo {
  display: block !important;
}

/* Target woocommerce wrapper directly */
div.woocommerce.columns-4 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

div.woocommerce.columns-4 ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
}

div.woocommerce.columns-4 ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
  float: none !important;
}

/* Fix bcusa-inner width constraint from FSE theme */
.bcusa-section-cream .bcusa-inner,
.bcusa-inner {
  max-width: 1300px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* The FSE theme adds a max-width via --wp--style--global--content-size */
.bcusa-section-cream {
  --wp--style--global--content-size: 100% !important;
  --wp--style--global--wide-size: 100% !important;
}

/* Fix FSE constrained layout */
.entry-content.is-layout-constrained,
.wp-block-post-content.is-layout-constrained,
.has-global-padding {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
}

/* Override FSE global content size */
:root {
  --wp--style--global--content-size: 1300px !important;
  --wp--style--global--wide-size: 1400px !important;
}

body {
  --wp--style--global--content-size: 1300px !important;
  --wp--style--global--wide-size: 1400px !important;
}
