/*
Theme Name: UruShop GreenShift
Theme URI: https://urushop.co.uk
Description: Bold & contemporary child theme for UruShop - UK's premier yerba mate retailer. Built on GreenShift FSE theme with custom design tokens from the 2025 redesign.
Author: UruShop
Author URI: https://urushop.co.uk
Template: greenshift
Version: 2.4.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urushop

UruShop Child Theme v2.0
Brand: Bold & Contemporary
Tagline: Tradition Meets Energy

CSS Architecture: See docs/css-architecture.md for guidelines
*/


/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   All design tokens from Brand Guidelines
   ========================================================================== */

:root {
  /* --------------------------------------------------------------------------
     Colors - Primary
     -------------------------------------------------------------------------- */
  --urushop-primary: #00A86B;          /* Mate Green */
  --urushop-primary-dark: #1B4332;     /* Deep Forest */
  --urushop-primary-light: #4EDBA5;    /* Aqua Splash */

  /* --------------------------------------------------------------------------
     Colors - Secondary
     -------------------------------------------------------------------------- */
  --urushop-accent: #C3F73A;           /* Electric Lime */
  --urushop-cta: #FF6B35;              /* Sunrise Orange */
  --urushop-golden: #FFB612;           /* Golden Hour */
  --urushop-terracotta: #D4632C;       /* Terracotta */

  /* --------------------------------------------------------------------------
     Colors - Neutrals
     -------------------------------------------------------------------------- */
  --urushop-white: #FFFFFF;
  --urushop-cream: #FAF9F6;            /* Soft Cream */
  --urushop-gray-light: #E8E8E8;       /* Stone Gray */
  --urushop-gray: #666666;
  --urushop-charcoal: #2D3436;
  --urushop-black: #0D0D0D;            /* Rich Black */

  /* --------------------------------------------------------------------------
     Typography - Font Families
     -------------------------------------------------------------------------- */
  --urushop-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --urushop-font-display: 'Archivo Black', Impact, sans-serif;
  --urushop-font-accent: 'Playfair Display', Georgia, serif;

  /* Override WP preset to ensure Inter is primary (prevents parent theme font merge issue in WP 6.9+) */
  --wp--preset--font-family--primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* --------------------------------------------------------------------------
     Typography - Font Sizes
     -------------------------------------------------------------------------- */
  --urushop-text-xs: 0.75rem;          /* 12px */
  --urushop-text-sm: 0.875rem;         /* 14px */
  --urushop-text-base: 1rem;           /* 16px */
  --urushop-text-lg: 1.125rem;         /* 18px */
  --urushop-text-xl: 1.25rem;          /* 20px */
  --urushop-text-2xl: 1.5rem;          /* 24px */
  --urushop-text-3xl: 1.75rem;         /* 28px */
  --urushop-text-4xl: 2.25rem;         /* 36px */
  --urushop-text-5xl: 3rem;            /* 48px */
  --urushop-text-6xl: 4rem;            /* 64px */

  /* --------------------------------------------------------------------------
     Typography - Line Heights
     -------------------------------------------------------------------------- */
  --urushop-leading-tight: 1.2;
  --urushop-leading-normal: 1.6;
  --urushop-leading-relaxed: 1.8;

  /* --------------------------------------------------------------------------
     Spacing - 8px Grid System
     -------------------------------------------------------------------------- */
  --urushop-space-xs: 0.25rem;         /* 4px */
  --urushop-space-sm: 0.5rem;          /* 8px */
  --urushop-space-md: 1rem;            /* 16px */
  --urushop-space-lg: 1.5rem;          /* 24px */
  --urushop-space-xl: 2rem;            /* 32px */
  --urushop-space-2xl: 3rem;           /* 48px */
  --urushop-space-3xl: 4rem;           /* 64px */
  --urushop-space-4xl: 6rem;           /* 96px */
  --urushop-space-5xl: 8rem;           /* 128px */

  /* --------------------------------------------------------------------------
     Effects - Border Radius
     -------------------------------------------------------------------------- */
  --urushop-radius-sm: 4px;
  --urushop-radius-md: 8px;
  --urushop-radius-lg: 12px;
  --urushop-radius-xl: 16px;
  --urushop-radius-2xl: 24px;
  --urushop-radius-full: 9999px;

  /* --------------------------------------------------------------------------
     Effects - Shadows
     -------------------------------------------------------------------------- */
  --urushop-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --urushop-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --urushop-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --urushop-shadow-cta: 0 4px 12px rgba(255, 107, 53, 0.3);

  /* --------------------------------------------------------------------------
     Effects - Transitions
     -------------------------------------------------------------------------- */
  --urushop-transition-fast: 150ms ease;
  --urushop-transition-base: 300ms ease;
  --urushop-transition-slow: 500ms ease;

  /* --------------------------------------------------------------------------
     Effects - Gradients
     -------------------------------------------------------------------------- */
  --urushop-gradient-hero: linear-gradient(135deg, #1B8B5A 0%, #145A32 100%);
  --urushop-gradient-cta: linear-gradient(135deg, #FF6B35 0%, #FFB800 100%);
  --urushop-gradient-primary: linear-gradient(135deg, #00A86B 0%, #1B4332 100%);
}


/* ==========================================================================
   2. BASE STYLES
   Typography, colors, body defaults - NO !important
   ========================================================================== */

/* Body typography - ensures Inter overrides any plugin/parent theme font stacks */
body,
body.wp-site-blocks {
  font-family: var(--urushop-font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  font-size: var(--urushop-text-sm);
  color: var(--urushop-gray);
  margin-bottom: var(--urushop-space-lg);
}

.woocommerce-breadcrumb .delimiter {
  font-size: 0;
  visibility: hidden;
}

.woocommerce-breadcrumb .delimiter::before {
  content: " / ";
  font-size: var(--urushop-text-sm);
  visibility: visible;
  opacity: 0.5;
  color: var(--urushop-gray);
}

.woocommerce-breadcrumb a {
  color: var(--urushop-primary);
  text-decoration: none;
  transition: color var(--urushop-transition-fast);
}

.woocommerce-breadcrumb a:hover {
  color: var(--urushop-primary-dark);
}


/* ==========================================================================
   3. COMPONENTS
   Buttons, forms, cards, badges - NO !important
   ========================================================================== */

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.urushop-badge,
.urushop-product-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--urushop-space-xs) var(--urushop-space-md);
  font-size: var(--urushop-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--urushop-radius-full);
  white-space: nowrap;
}

.urushop-badge--bestseller,
.urushop-product-badge--bestseller {
  background-color: var(--urushop-golden);
  color: var(--urushop-black);
}

.urushop-badge--organic,
.urushop-product-badge--organic {
  background-color: var(--urushop-primary);
  color: var(--urushop-white);
}

.urushop-badge--sale,
.urushop-product-badge--sale {
  background-color: var(--urushop-cta);
  color: var(--urushop-white);
}

.urushop-badge--new,
.urushop-product-badge--new {
  background-color: var(--urushop-accent);
  color: var(--urushop-black);
}

/* --------------------------------------------------------------------------
   Subscription Promo Box
   -------------------------------------------------------------------------- */
.urushop-subscription-promo {
  display: flex;
  align-items: flex-start;
  gap: var(--urushop-space-md);
  background: linear-gradient(135deg, rgba(0, 168, 107, 0.1) 0%, rgba(27, 67, 50, 0.05) 100%);
  padding: var(--urushop-space-md);
  border-radius: var(--urushop-radius-md);
  border: 2px solid var(--urushop-primary);
  margin-top: var(--urushop-space-md);
}

.urushop-subscription-promo__icon {
  flex-shrink: 0;
  font-size: var(--urushop-text-2xl);
  line-height: 1;
}

.urushop-subscription-promo__icon svg {
  display: none;
}

.urushop-subscription-promo__icon::before {
  content: "🔄";
  display: block;
}

.urushop-subscription-promo__content {
  flex: 1;
  min-width: 0;
}

.urushop-subscription-promo__heading {
  font-size: var(--urushop-text-base);
  font-weight: 700;
  color: var(--urushop-primary);
  line-height: 1.3;
  margin-bottom: var(--urushop-space-xs);
}

.urushop-subscription-promo__text {
  font-size: var(--urushop-text-sm);
  color: var(--urushop-charcoal);
  line-height: 1.5;
}

.urushop-subscription-promo__link {
  color: var(--urushop-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--urushop-transition-fast);
}

.urushop-subscription-promo__link:hover {
  color: var(--urushop-primary-dark);
}

/* --------------------------------------------------------------------------
   Taste Profile Widget
   -------------------------------------------------------------------------- */
.urushop-taste-profile {
  width: 100%;
  max-width: 400px;
  background-color: var(--urushop-white);
  border-radius: var(--urushop-radius-lg);
  padding: var(--urushop-space-lg);
}

.urushop-taste-profile h4 {
  font-family: var(--urushop-font-display);
  font-weight: 400;
  font-size: var(--urushop-text-xl);
  margin-bottom: var(--urushop-space-md);
  color: var(--urushop-charcoal);
}

.urushop-taste-profile .taste-label {
  font-size: var(--urushop-text-sm);
  color: var(--urushop-gray);
}

.urushop-taste-profile .progress-bar {
  height: 8px;
  background-color: var(--urushop-gray-light);
  border-radius: var(--urushop-radius-full);
  overflow: hidden;
}

.urushop-taste-profile .progress-fill {
  background-color: var(--urushop-primary);
  border-radius: var(--urushop-radius-full);
}


/* ==========================================================================
   4. WOOCOMMERCE BASE
   Product styling that applies globally - minimal !important
   ========================================================================== */

/* Product Pricing */
.woocommerce .price,
.woocommerce-Price-amount,
.woocommerce-Price-amount.amount,
.wc-block-components-product-price .woocommerce-Price-amount,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--urushop-primary);
  font-weight: 700;
}

/* Sale prices - original/strikethrough */
.woocommerce del .woocommerce-Price-amount,
.woocommerce-Price-amount del,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--urushop-gray);
  opacity: 0.6;
}

/* Product Title */
.woocommerce div.product .product_title {
  font-family: var(--urushop-font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--urushop-charcoal);
}

/* Stock Status */
.woocommerce .stock.in-stock {
  color: var(--urushop-primary);
}

/* Star Ratings */
.woocommerce .star-rating,
.star-rating {
  color: var(--urushop-golden);
}

/* Rating Count */
.woocommerce-review-link,
.rating-count {
  font-size: var(--urushop-text-sm);
  color: var(--urushop-gray);
  margin-left: var(--urushop-space-sm);
}

/* Product Tabs */
.woocommerce-tabs ul.tabs,
.wc-tabs {
  display: flex;
  gap: var(--urushop-space-xl);
  border-bottom: 1px solid var(--urushop-gray-light);
  margin-bottom: var(--urushop-space-xl);
  padding: 0;
  list-style: none;
}

.woocommerce-tabs ul.tabs li,
.wc-tabs li {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
}

.woocommerce-tabs ul.tabs li a,
.wc-tabs li a {
  display: block;
  padding: var(--urushop-space-md) 0;
  font-weight: 600;
  color: var(--urushop-charcoal);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all var(--urushop-transition-fast);
}

.woocommerce-tabs ul.tabs li.active a,
.wc-tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover,
.wc-tabs li a:hover {
  color: var(--urushop-primary);
  border-bottom-color: var(--urushop-primary);
}

/* Product Gallery — Amazon-style vertical thumbnails on the left */
.woocommerce-product-gallery {
  display: flex !important;
  flex-direction: row;
  gap: 10px;
}

/* Main image area */
.woocommerce-product-gallery .flex-viewport {
  flex: 1;
  min-width: 0;
  order: 1;
}

.woocommerce div.product div.images img {
  border-radius: var(--urushop-radius-lg);
  background-color: var(--urushop-white);
}

/* Vertical thumbnail strip — left side */
.woocommerce-product-gallery .flex-control-thumbs {
  order: 0;
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  width: 64px;
  flex-shrink: 0;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  list-style: none;
  margin: 0;
  padding: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--urushop-gray-medium, #ccc) transparent;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
  width: 4px;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
  background: var(--urushop-gray-medium, #ccc);
  border-radius: 2px;
}

/* Individual thumbnail */
.woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  width: 60px !important;
  flex-shrink: 0;
  list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover;
  border-radius: var(--urushop-radius-sm, 6px);
  border: 2px solid transparent;
  transition: border-color var(--urushop-transition-fast);
  cursor: pointer;
  display: block;
}

.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  border-color: var(--urushop-primary);
}

/* Hide magnify icon */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  display: none;
}

/* Mobile: revert to thumbnails below as horizontal scroll */
@media (max-width: 768px) {
  .woocommerce-product-gallery {
    flex-direction: column !important;
  }

  .woocommerce-product-gallery .flex-viewport {
    order: 0;
  }

  .woocommerce-product-gallery .flex-control-thumbs {
    order: 1;
    flex-direction: row;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0;
  }

  .woocommerce-product-gallery .flex-control-thumbs li {
    width: 52px !important;
  }

  .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 52px !important;
    height: 52px !important;
  }
}

/* Product Cards (Related/Upsells) */
.woocommerce ul.products li.product {
  background: var(--urushop-white);
  border: 1px solid var(--urushop-gray-light);
  border-radius: var(--urushop-radius-lg);
  overflow: hidden;
  transition: all var(--urushop-transition-base);
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--urushop-shadow-lg);
  transform: translateY(-4px);
}

.woocommerce ul.products li.product img {
  border-radius: 0;
  aspect-ratio: 1;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--urushop-font-body);
  font-size: var(--urushop-text-lg);
  font-weight: 600;
  color: var(--urushop-charcoal);
  margin: var(--urushop-space-md) var(--urushop-space-md) var(--urushop-space-sm);
  line-height: 1.4;
}

.woocommerce ul.products li.product .price {
  margin: 0 var(--urushop-space-md) var(--urushop-space-md);
  font-size: var(--urushop-text-xl);
}

.woocommerce ul.products li.product .button {
  margin: 0 var(--urushop-space-md) var(--urushop-space-md);
  background: transparent;
  color: var(--urushop-primary);
  border: 2px solid var(--urushop-primary);
  border-radius: var(--urushop-radius-md);
  padding: var(--urushop-space-sm) var(--urushop-space-md);
  font-weight: 600;
  font-size: var(--urushop-text-sm);
  transition: all var(--urushop-transition-fast);
}

.woocommerce ul.products li.product .button:hover {
  background: var(--urushop-primary);
  color: var(--urushop-white);
}

/* Related Products Grid */
.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--urushop-space-lg);
}

@media (max-width: 1023px) {
  .woocommerce .related.products ul.products,
  .woocommerce .upsells.products ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .woocommerce .related.products ul.products,
  .woocommerce .upsells.products ul.products {
    grid-template-columns: 1fr;
  }
}

/* Related Products Section */
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
  font-family: var(--urushop-font-display);
  font-weight: 400;
  font-size: var(--urushop-text-3xl);
  color: var(--urushop-charcoal);
  margin-bottom: var(--urushop-space-lg);
}


/* ==========================================================================
   5. LAYOUT
   Header, footer, navigation
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header - Top Bar
   -------------------------------------------------------------------------- */
.header-top-bar {
  background-color: var(--urushop-black);
}

.header-top-bar p {
  margin: 0;
  line-height: 1.4;
  color: var(--urushop-white);
}

.header-top-bar a {
  color: var(--urushop-primary);
  transition: color var(--urushop-transition-fast);
}

.header-top-bar a:hover {
  color: var(--urushop-accent);
}

/* --------------------------------------------------------------------------
   Header - Main
   -------------------------------------------------------------------------- */
.header-main .wp-block-site-logo img,
.header-main .custom-logo {
  max-height: 40px;
  width: auto;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Navigation */
.header-main .wp-block-navigation,
.header-main .wp-block-navigation-item__content,
.header-nav-centered .wp-block-navigation-item__content {
  font-size: var(--urushop-text-base);
}

/* Find My Mate — CTA button in nav */
.wp-block-navigation .find-my-mate-link > a {
  background-color: var(--urushop-accent);
  color: var(--urushop-primary-dark) !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.wp-block-navigation .find-my-mate-link > a:hover {
  background-color: #d4ff5e;
  color: var(--urushop-primary-dark) !important;
  transform: translateY(-1px);
}

.wp-block-navigation .find-my-mate-link > a:active {
  transform: translateY(0);
}

/* Active nav state */
.wp-block-navigation-item.current-menu-item > a,
.wp-block-navigation .current-menu-item > a {
  color: var(--urushop-primary);
  border-bottom: 2px solid var(--urushop-primary);
  padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Mobile Navigation Overlay
   -------------------------------------------------------------------------- */

/* Overlay background — Deep Forest for a premium feel */
.wp-block-navigation__responsive-container.is-menu-open {
  background: var(--urushop-primary-dark) !important;
  color: var(--urushop-white) !important;
  animation: navSlideIn 0.3s ease-out;
}

@keyframes navSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Dialog wrapper — full width */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-dialog {
  padding: 0;
  max-width: 100%;
  width: 100%;
}

/* Hide the hamburger icon inside the open overlay (prevents double X) */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-open {
  display: none !important;
}

/* Close button — positioned top-right */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close {
  color: rgba(255,255,255,0.7);
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  transition: color 0.2s ease;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close:hover {
  color: var(--urushop-white);
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close svg {
  width: 28px;
  height: 28px;
}

/*
 * LEFT ALIGNMENT — Override WP core's items-justified-center.
 * Core uses --navigation-layout-justification-setting: center which cascades
 * through align-items: var(...) on multiple levels. We must override align-items
 * directly on every element that uses the variable, matching or exceeding
 * WP core's selector specificity.
 */

/* Content area — the outermost flex container */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content {
  padding: 72px 28px 40px;
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  min-height: 100%;
}

/* The <ul> container + all child items — WP core's exact selector */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content .wp-block-page-list {
  align-items: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Menu list — full width, no gap */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__container {
  gap: 0 !important;
  width: 100% !important;
  padding: 0;
}

/* Each nav item — row layout so link + submenu arrow sit side by side */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  > .wp-block-navigation__container
  > .wp-block-navigation-item {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  width: 100% !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  > .wp-block-navigation__container
  > .wp-block-navigation-item:last-child {
  border-bottom: none;
}

/* Top-level links — large, bold, left-aligned */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content {
  color: var(--urushop-white) !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  padding: 16px 0 !important;
  text-align: left !important;
  transition: color 0.2s ease;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content:hover {
  color: var(--urushop-accent) !important;
}

/* Override active nav state inside mobile overlay */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item.current-menu-item > a,
.wp-block-navigation__responsive-container.is-menu-open
  .current-menu-item > a {
  color: var(--urushop-accent) !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* Submenu container */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container {
  background: transparent !important;
  color: var(--urushop-white) !important;
  padding: 0 0 8px 16px !important;
  border-left: 2px solid var(--urushop-primary);
  margin-left: 4px;
  gap: 0 !important;
  width: 100% !important;
}

/* Submenu items — smaller, lighter, left-aligned, no borders */
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container .wp-block-navigation-item {
  border-bottom: none !important;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.7) !important;
  padding: 10px 0 !important;
  text-align: left !important;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  color: var(--urushop-accent) !important;
}

/* Find My Mate — full-width CTA button in mobile menu */
.wp-block-navigation__responsive-container.is-menu-open
  .find-my-mate-link,
.wp-block-navigation__responsive-container.is-menu-open
  li.find-my-mate-link {
  margin-top: 12px;
  border-bottom: none !important;
  width: 100% !important;
}

.wp-block-navigation__responsive-container.is-menu-open
  .find-my-mate-link > a.wp-block-navigation-item__content {
  background: var(--urushop-accent) !important;
  color: var(--urushop-primary-dark) !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 16px 24px !important;
  border-radius: 10px;
  font-size: 1.1rem !important;
  letter-spacing: 0.02em;
  width: 100% !important;
  box-sizing: border-box;
}

.wp-block-navigation__responsive-container.is-menu-open
  .find-my-mate-link > a:hover {
  background: #d4ff5e !important;
  transform: none;
}

/* --------------------------------------------------------------------------
   Footer - Social Icons
   -------------------------------------------------------------------------- */
.wp-block-social-links .wp-social-link {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all var(--urushop-transition-fast);
}

.wp-block-social-links .wp-social-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.wp-block-social-links .wp-social-link svg {
  fill: var(--urushop-white);
  width: 20px;
  height: 20px;
}

.wp-block-social-links .wp-social-link-facebook {
  background: #1877F2;
}

.wp-block-social-links .wp-social-link-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.wp-block-social-links .wp-social-link-x {
  background: #000000;
}

.wp-block-social-links .wp-social-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Footer - Link Lists
   -------------------------------------------------------------------------- */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--urushop-transition-fast);
}

.footer-links a:hover {
  color: var(--wp--preset--color--color-1, #C3F73A);
}

/* --------------------------------------------------------------------------
   Footer - Bottom Bar
   -------------------------------------------------------------------------- */
.site-footer .wp-block-group a {
  text-decoration: none;
}

.site-footer .wp-block-group a:hover {
  color: var(--urushop-white);
}

/* --------------------------------------------------------------------------
   Footer - Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
  .site-footer .wp-block-columns {
    gap: 32px;
  }

  .site-footer .wp-block-column {
    flex-basis: 100% !important;
    text-align: center;
  }

  .site-footer .wp-block-social-links {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Blog Gallery Captions
   -------------------------------------------------------------------------- */
.wp-block-gallery .wp-block-image {
  position: relative;
  overflow: hidden;
}

.wp-block-gallery .wp-block-image figcaption,
.wp-block-gallery .wp-element-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  color: var(--urushop-white);
  font-size: var(--urushop-text-sm);
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
}


/* ==========================================================================
   6. PLUGIN OVERRIDES
   !important ALLOWED in this section only
   Each plugin has its own subsection with documentation
   ========================================================================== */

/* --------------------------------------------------------------------------
   WooCommerce - Duplicate Elements Fix
   !important: Hide duplicate blocks that WC sometimes renders
   -------------------------------------------------------------------------- */
.single-product .wp-block-woocommerce-add-to-cart-with-options {
  display: none !important;
}

.single-product .wp-block-woocommerce-add-to-cart-form ~ .wp-block-woocommerce-add-to-cart-form,
.single-product .wc-block-add-to-cart-form ~ .wc-block-add-to-cart-form {
  display: none !important;
}

.woocommerce div.product form.cart ~ form.cart {
  display: none !important;
}

/* --------------------------------------------------------------------------
   WooCommerce - Hide Duplicate Sections
   !important: Hide duplicate related/upsell sections
   -------------------------------------------------------------------------- */
.woocommerce .related.products ~ .related.products,
.woocommerce .upsells.products ~ .upsells.products {
  display: none !important;
}

/* Hide upsells (keep related products only) */
.up-sells.upsells.products {
  display: none !important;
}

/* --------------------------------------------------------------------------
   YITH Plugins - Hide Unwanted Sections
   !important: No PHP hooks available to disable these
   -------------------------------------------------------------------------- */
.yith-wfbt-section,
.yith-wfbt-section.woocommerce,
.woocommerce-frequently-bought-together,
.fbt-section,
[class*="frequently-bought"],
.wcfbt-products-section {
  display: none !important;
}

/* --------------------------------------------------------------------------
   RightPress - Hide Quantity Discount Tables
   !important: Plugin has no setting to hide this
   -------------------------------------------------------------------------- */
.rp_wcdpd_product_page,
.rp_wcdpd_pricing_table,
.woocommerce-quantity-discounts,
.tier-pricing-table,
[class*="quantity-discount"],
[class*="tier-pricing"] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   WooCommerce - Hide "Added to basket" Notices on Archive/Shop Pages
   The mini-cart badge shows cart count; these banner notices add clutter.
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper .woocommerce-message,
.wc-block-components-notice-banner.is-success {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Revuoro Reviews Widget
   !important: Plugin uses inline styles (display:inline) that break flex layout
   -------------------------------------------------------------------------- */

/* Fix: Revuoro sets display:inline on parent divs */
.wp-block-group.is-layout-flex:has(> .rvr-badge-widget),
div.is-layout-flex:has(> .rvr-badge-widget) {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

/* Override Revuoro's CSS variable for star color */
:root,
.rvr-badge-widget,
.rvr-stars,
.rvr-star {
  --rvr-star: var(--urushop-golden) !important;
}

.rvr-badge-widget {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--urushop-space-sm) !important;
  flex-shrink: 0 !important;
  font-size: 0.9rem !important;
}

.rvr-badge-widget .rvr-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.rvr-badge-widget .rvr-star {
  color: var(--urushop-golden) !important;
  font-size: var(--urushop-text-base) !important;
}

.rvr-badge-widget .rvr-star.rvr--on {
  color: var(--urushop-golden) !important;
}

.rvr-badge-widget .rvr-star.rvr--off {
  color: #E0E0E0 !important;
}

.rvr-badge-widget .rvr-rating-text {
  font-weight: 600 !important;
  color: var(--urushop-black) !important;
}

.rvr-badge-widget .rvr-review-count {
  color: var(--urushop-charcoal) !important;
}

/* Hide standalone Revuoro reviews section (we use tabs) */
.rvr-reviews-widget,
.rvr-widget.rvr-reviews-widget {
  display: none !important;
}

/* --------------------------------------------------------------------------
   GreenShift FSE Theme - Header Overrides
   !important: Parent theme has high specificity inline styles
   -------------------------------------------------------------------------- */

/* Top bar background (theme adds inline background) */
.header-top-bar,
.header-top-bar.has-background,
.wp-block-group.header-top-bar {
  background-color: var(--urushop-black) !important;
}

/* Top bar text color */
.header-top-bar *,
.header-top-bar span,
.header-top-bar p {
  color: var(--urushop-white) !important;
}

/* Top bar links */
.header-top-bar a {
  color: var(--urushop-primary) !important;
}

.header-top-bar a:hover {
  color: var(--urushop-accent) !important;
}

/* --------------------------------------------------------------------------
   GreenShift FSE Theme - Search Button
   !important: Theme applies green pill styling we need to remove
   -------------------------------------------------------------------------- */
.header-main .wp-block-search__button,
.header-actions .wp-block-search__button,
.wp-block-search .wp-block-search__button,
.wp-block-search__button {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 8px !important;
  border-radius: 0 !important;
  min-width: auto !important;
  box-shadow: none !important;
}

.wp-block-search__button:hover {
  background: transparent !important;
  background-color: transparent !important;
}

/* --------------------------------------------------------------------------
   GreenShift FSE Theme - Header Icons (Custom SVG Replacements)
   !important: Replace WC default icons with cleaner Lucide-style SVGs
   -------------------------------------------------------------------------- */

/* Search icon */
.header-actions .wp-block-search__button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.header-actions .wp-block-search__button svg {
  display: none !important;
}

.header-actions .wp-block-search__button::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Account icon */
.header-actions .wp-block-woocommerce-customer-account {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.header-actions .wp-block-woocommerce-customer-account a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
}

.header-actions .wc-block-customer-account__account-icon {
  display: none !important;
}

.header-actions .wp-block-woocommerce-customer-account a::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300A86B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Cart icon */
.header-actions .wc-block-mini-cart__button {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  background: transparent !important;
  padding: 0 !important;
}

.header-actions .wc-block-mini-cart__button svg {
  display: none !important;
}

.header-actions .wc-block-mini-cart__button::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300A86B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Cart badge */
.wc-block-mini-cart__badge,
.header-actions .wc-block-mini-cart__badge {
  position: absolute !important;
  left: auto !important;
  right: 3px !important;
  top: -18px !important;
  margin-left: 0 !important;
  transform: none !important;
  font-size: 10px !important;
  min-width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  padding: 0 4px !important;
  background-color: var(--urushop-cta) !important;
  color: var(--urushop-white) !important;
  border-radius: 50% !important;
}

/* --------------------------------------------------------------------------
   FunnelKit Automations - Newsletter Form
   !important: Plugin has high-specificity form styles
   -------------------------------------------------------------------------- */

/* Hide first name field - email only */
.section-newsletter .bwfac_form_field_first_name {
  display: none !important;
}

/* Form layout - inline */
.section-newsletter .wffn-optin-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: flex-end;
  max-width: 600px;
  margin: 0 auto;
}

.section-newsletter .wffn-optin-form .wfop_section {
  flex: 1;
  min-width: 280px;
}

.section-newsletter .bwfac_form_field_email {
  width: 100%;
}

/* Email input styling */
.section-newsletter .wffn-optin-form .wffn-optin-input {
  width: 100%;
  padding: 16px 24px !important;
  font-size: var(--urushop-text-base) !important;
  border: none !important;
  border-radius: var(--urushop-radius-md) !important;
  background: var(--urushop-white) !important;
  color: var(--urushop-charcoal) !important;
}

.section-newsletter .wffn-optin-form input::placeholder {
  color: #999999;
}

/* Submit button */
.section-newsletter .wfop_submit_btn {
  padding: 16px 32px !important;
  font-size: var(--urushop-text-base) !important;
  font-weight: 600 !important;
  color: var(--urushop-white) !important;
  background: var(--urushop-gradient-cta) !important;
  border: none !important;
  border-radius: var(--urushop-radius-md) !important;
  cursor: pointer;
  transition: transform var(--urushop-transition-fast), box-shadow var(--urushop-transition-fast);
  white-space: nowrap;
}

.section-newsletter .wfop_submit_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Hide labels */
.section-newsletter .wffn-optin-form label {
  display: none !important;
}

.section-newsletter .submit_button {
  flex-shrink: 0;
}

/* Success message */
.section-newsletter .wffn-optin-form .wfop-success-message {
  color: var(--urushop-white);
  text-align: center;
  font-size: var(--urushop-text-lg);
}


/* ==========================================================================
   7. PAGE: HOMEPAGE
   Scoped to body.home - Hero, categories, featured, story, etc.
   ========================================================================== */

/* Homepage body background (fills gaps between sections) */
body.home {
  background: var(--urushop-gradient-hero);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
body.home .gsbp-hero-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: flex-start;
  padding-top: var(--urushop-space-lg);
  padding-bottom: var(--urushop-space-xl);
  margin-top: 0;
  margin-bottom: 0;
  background: var(--urushop-gradient-hero);
}

body.home .gsbp-hero-container {
  width: 100%;
}

body.home .gsbp-hero-badge {
  font-size: var(--urushop-text-xs);
  padding: var(--urushop-space-sm) var(--urushop-space-lg);
  letter-spacing: 0.05em;
  border-radius: var(--urushop-radius-full);
  margin-bottom: var(--urushop-space-md);
}

body.home .gsbp-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: var(--urushop-leading-tight);
  margin-bottom: var(--urushop-space-md);
}

body.home .gsbp-hero-title span {
  white-space: nowrap;
  display: inline-block;
}

body.home .gsbp-hero-desc {
  font-size: var(--urushop-text-lg);
  margin-bottom: var(--urushop-space-lg);
}

body.home .gsbp-hero-cta,
body.home .gsbp-hero-secondary {
  padding: var(--urushop-space-lg) var(--urushop-space-2xl);
  font-size: var(--urushop-text-lg);
  min-width: 200px;
}

body.home .gsbp-hero-stats {
  margin-top: var(--urushop-space-lg);
  gap: var(--urushop-space-xl);
}

body.home .gsbp-stat-1-num,
body.home .gsbp-stat-2-num,
body.home .gsbp-stat-3-num {
  font-size: var(--urushop-text-4xl);
  font-weight: 900;
}

body.home .gsbp-stat-1-label,
body.home .gsbp-stat-2-label,
body.home .gsbp-stat-3-label {
  font-size: var(--urushop-text-sm);
}

body.home .gsbp-hero-img {
  border-radius: var(--urushop-radius-2xl);
}

/* --------------------------------------------------------------------------
   Categories Section
   -------------------------------------------------------------------------- */
body.home .section-categories {
  background-color: var(--urushop-cream);
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

body.home .section-categories .category-card.has-white-background-color,
body.home .section-categories .category-card.has-background {
  background-color: var(--urushop-cream) !important; /* Override WP preset !important */
}

/* --------------------------------------------------------------------------
   Featured Products Section
   -------------------------------------------------------------------------- */
body.home .section-featured {
  background-color: var(--urushop-white);
  padding-bottom: 4rem !important;
}

/* --------------------------------------------------------------------------
   Product Finder Promo
   -------------------------------------------------------------------------- */
/* Promo has internal padding - no margin needed (causes gap showing body bg) */

body.home .section-finder {
  padding-top: calc(var(--wp--preset--spacing--90) + 20px);
  padding-bottom: calc(var(--wp--preset--spacing--90) + 20px);
}

body.home .section-finder > .wp-block-group.has-white-background-color {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--wp--preset--spacing--60);
}

body.home .section-finder h2 {
  font-size: var(--urushop-text-3xl);
}

/* --------------------------------------------------------------------------
   Story Section
   -------------------------------------------------------------------------- */
body.home .section-story {
  background-color: var(--urushop-black);
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
body.home .section-testimonials {
  background-color: var(--urushop-cream);
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
body.home .section-newsletter {
  background: var(--urushop-gradient-primary);
}

/* Remove gaps between homepage sections */
body.home .entry-content > .alignfull + .alignfull {
  margin-top: 0;
}

body.home .section-story + .section-testimonials,
body.home .section-testimonials + .section-newsletter,
body.home .section-product-finder + .section-story {
  margin-top: 0;
}


/* ==========================================================================
   8. PAGE: SINGLE PRODUCT
   Scoped to body.single-product - Gallery, summary, tabs, related
   ========================================================================== */

/* Product page has white background */
body.single-product {
  background-color: var(--urushop-white);
}

body.single-product .site-content,
body.single-product .wp-site-blocks,
body.single-product .entry-content {
  background-color: var(--urushop-white);
}

/* Product title - Archivo Black */
body.single-product h1.product_title,
body.single-product .woocommerce div.product .product_title {
  font-family: var(--urushop-font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--urushop-charcoal);
}

/* Sticky gallery on desktop */
body.single-product .woocommerce div.product div.images,
body.single-product .wp-block-column:first-child {
  position: sticky;
  top: 80px;
  align-self: start;
}

@media (max-width: 1023px) {
  body.single-product .woocommerce div.product div.images,
  body.single-product .wp-block-column:first-child {
    position: static;
  }
}

/* Related products section */
body.single-product .woocommerce .related.products,
body.single-product .woocommerce .upsells.products,
body.single-product section.related {
  margin-top: var(--urushop-space-3xl);
  padding-top: var(--urushop-space-xl);
}

/* Sale badge */
body.single-product .woocommerce span.onsale,
body.single-product .badge-sale {
  background-color: var(--urushop-cta);
  color: var(--urushop-white);
  padding: var(--urushop-space-xs) var(--urushop-space-md);
  border-radius: var(--urushop-radius-sm);
  font-size: var(--urushop-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
  position: relative;
}

/* Product meta (SKU, categories, tags) — hidden; SKU shown via urushop-product-meta-box */
body.single-product .product_meta,
body.single-product .wp-block-woocommerce-product-meta {
  display: none;
}

/* Wishlist button */
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .tinvwl_add_to_wishlist_button {
  padding: var(--urushop-space-md);
  border: 1px solid var(--urushop-gray-light);
  border-radius: var(--urushop-radius-md);
  background: var(--urushop-white);
  cursor: pointer;
  transition: all var(--urushop-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
}

body.single-product .yith-wcwl-add-to-wishlist:hover,
body.single-product .tinvwl_add_to_wishlist_button:hover {
  border-color: var(--urushop-primary);
  color: var(--urushop-primary);
}


/* ==========================================================================
   9. PAGE: SHOP & ARCHIVES
   Scoped to body.archive, body.post-type-archive-product
   ========================================================================== */

body.archive,
body.post-type-archive-product {
  background-color: var(--urushop-white);
}

/* --------------------------------------------------------------------------
   Category Hero Section
   -------------------------------------------------------------------------- */
.category-hero {
  position: relative;
  margin-top: 0 !important;       /* Remove white gap between header and hero */
  padding-top: 2.5rem !important;  /* Tighter top padding */
  padding-bottom: 2.5rem !important; /* Tighter bottom padding */
}

/* Left-align breadcrumbs, white text for slashes and current page */
.category-hero .woocommerce-breadcrumb,
.category-hero .wp-block-woocommerce-breadcrumbs {
  text-align: left !important;
  color: #ffffff !important;
}

.category-hero .woocommerce-breadcrumb .delimiter,
.category-hero .woocommerce-breadcrumb .delimiter::before {
  color: #ffffff !important;
  opacity: 1 !important;
}

.category-hero .woocommerce-breadcrumb a {
  color: #ffffffcc !important;
}

.category-hero .wp-block-query-title {
  font-family: var(--urushop-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

/* Stats cards in hero */
.category-hero .hide-on-mobile {
  display: none;
}

@media (min-width: 1024px) {
  .category-hero .hide-on-mobile {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Filter Sidebar
   -------------------------------------------------------------------------- */
.filter-sidebar {
  position: sticky;
  top: calc(var(--urushop-space-xl) + 80px);
}

.filter-sidebar h3 {
  font-family: var(--urushop-font-display);
  font-weight: 700;
  margin-bottom: var(--urushop-space-lg);
}

.filter-sidebar h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--urushop-charcoal);
  margin-bottom: var(--urushop-space-sm);
}

/* Filter checkboxes styling */
.filter-sidebar .wc-block-components-checkbox {
  margin-bottom: var(--urushop-space-xs);
}

.filter-sidebar .wc-block-components-checkbox__label {
  font-size: 0.875rem;
  color: var(--urushop-gray-dark);
}

/* Price slider styling */
.filter-sidebar .wc-block-price-filter__range-input-wrapper {
  margin: var(--urushop-space-md) 0;
}

.filter-sidebar .wc-block-price-filter__range-input::-webkit-slider-thumb {
  background: var(--urushop-primary);
}

.filter-sidebar .wc-block-price-filter__range-input::-moz-range-thumb {
  background: var(--urushop-primary);
}

/* Hide sidebar on mobile */
@media (max-width: 1023px) {
  .filter-sidebar.hide-on-mobile {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Product Grid & Cards
   -------------------------------------------------------------------------- */

/* Product collection grid */
.wp-block-woocommerce-product-collection .wc-block-product-template {
  display: grid;
  gap: var(--urushop-space-lg);
}

@media (min-width: 640px) {
  .wp-block-woocommerce-product-collection .wc-block-product-template {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .wp-block-woocommerce-product-collection .wc-block-product-template {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product card — equal-height cards via flexbox */
.wc-block-product-template .wc-block-product {
  display: flex !important;
}

.wc-block-product-template .wc-block-product > .wp-block-group.is-layout-constrained,
.wc-block-product-template > .wp-block-group {
  background: var(--urushop-white);
  border: 1px solid var(--urushop-gray-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--urushop-transition-base);
  box-shadow: var(--urushop-shadow-sm);
  display: flex !important;
  flex-direction: column;
  width: 100%;
}

/* Card content area fills remaining space and pushes button to bottom */
.wc-block-product-template .wc-block-product .wp-block-group > .wp-block-group:last-child {
  display: flex !important;
  flex-direction: column;
  flex-grow: 1;
}

/* Push add-to-cart button to the bottom of the card */
.wc-block-product-template .wc-block-product .wp-block-button {
  margin-top: auto;
}

body.post-type-archive-product .wc-block-product-template .wc-block-product > .wp-block-group:hover,
body.archive .wc-block-product-template .wc-block-product > .wp-block-group:hover,
body.post-type-archive-product .wc-block-product-template > .wp-block-group:hover,
body.archive .wc-block-product-template > .wp-block-group:hover {
  transform: translateY(-4px);
  box-shadow: var(--urushop-shadow-lg);
  border-color: var(--urushop-primary-light);
}

/* Product image */
body.post-type-archive-product .wc-block-components-product-image,
body.archive .wc-block-components-product-image {
  position: relative;
  overflow: hidden;
  background: var(--urushop-cream);
}

body.post-type-archive-product .wc-block-components-product-image img,
body.archive .wc-block-components-product-image img {
  transition: transform var(--urushop-transition-base);
}

body.post-type-archive-product .wc-block-product-template .wp-block-group:hover .wc-block-components-product-image img,
body.archive .wc-block-product-template .wp-block-group:hover .wc-block-components-product-image img {
  transform: scale(1.05);
}

/* Product title */
body.post-type-archive-product .wc-block-product-template .wp-block-post-title,
body.archive .wc-block-product-template .wp-block-post-title {
  font-family: var(--urushop-font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: var(--urushop-space-xs);
}

body.post-type-archive-product .wc-block-product-template .wp-block-post-title a,
body.archive .wc-block-product-template .wp-block-post-title a {
  color: var(--urushop-charcoal);
  text-decoration: none;
  transition: color var(--urushop-transition-fast);
}

body.post-type-archive-product .wc-block-product-template .wp-block-post-title a:hover,
body.archive .wc-block-product-template .wp-block-post-title a:hover {
  color: var(--urushop-primary);
}

/* Product rating */
body.post-type-archive-product .wc-block-components-product-rating,
body.archive .wc-block-components-product-rating {
  margin-bottom: var(--urushop-space-xs);
}

body.post-type-archive-product .wc-block-components-product-rating .wc-block-components-product-rating__stars,
body.archive .wc-block-components-product-rating .wc-block-components-product-rating__stars {
  font-size: 0.875rem;
}

/* Product price */
body.post-type-archive-product .wc-block-components-product-price,
body.archive .wc-block-components-product-price {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--urushop-primary-dark);
  margin-bottom: var(--urushop-space-sm);
}

body.post-type-archive-product .wc-block-components-product-price del,
body.archive .wc-block-components-product-price del {
  color: var(--urushop-gray-dark);
  font-weight: 400;
  font-size: 0.875rem;
  margin-right: var(--urushop-space-xs);
}

body.post-type-archive-product .wc-block-components-product-price ins,
body.archive .wc-block-components-product-price ins {
  text-decoration: none;
  color: var(--urushop-cta);
}

/* Add to cart button */
body.post-type-archive-product .wp-block-button .wc-block-components-product-button__button,
body.archive .wp-block-button .wc-block-components-product-button__button {
  width: 100%;
  background: var(--urushop-primary);
  color: var(--urushop-white);
  border: none;
  border-radius: 8px;
  padding: var(--urushop-space-sm) var(--urushop-space-md);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--urushop-transition-fast);
}

body.post-type-archive-product .wp-block-button .wc-block-components-product-button__button:hover,
body.archive .wp-block-button .wc-block-components-product-button__button:hover {
  background: var(--urushop-primary-dark);
  transform: translateY(-1px);
}

/* "View cart" link after adding */
body.post-type-archive-product .wc-block-components-product-button .added_to_cart,
body.archive .wc-block-components-product-button .added_to_cart {
  display: block;
  margin-top: var(--urushop-space-xs);
  font-size: 0.8125rem;
  color: var(--urushop-primary);
  text-decoration: none;
}

body.post-type-archive-product .wc-block-components-product-button .added_to_cart:hover,
body.archive .wc-block-components-product-button .added_to_cart:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Products Header (Results count & Sorting)
   -------------------------------------------------------------------------- */
body.post-type-archive-product .wc-block-product-results-count,
body.archive .wc-block-product-results-count {
  font-size: 0.875rem;
  color: var(--urushop-gray-dark);
}

body.post-type-archive-product .wc-block-catalog-sorting select,
body.archive .wc-block-catalog-sorting select {
  padding: var(--urushop-space-xs) var(--urushop-space-md);
  border: 1px solid var(--urushop-gray-light);
  border-radius: 8px;
  font-size: 0.875rem;
  background-color: var(--urushop-white);
  cursor: pointer;
  transition: border-color var(--urushop-transition-fast);
}

body.post-type-archive-product .wc-block-catalog-sorting select:hover,
body.archive .wc-block-catalog-sorting select:hover {
  border-color: var(--urushop-primary);
}

body.post-type-archive-product .wc-block-catalog-sorting select:focus,
body.archive .wc-block-catalog-sorting select:focus {
  outline: none;
  border-color: var(--urushop-primary);
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
body.post-type-archive-product .wp-block-query-pagination,
body.archive .wp-block-query-pagination {
  margin-top: var(--urushop-space-2xl);
  gap: var(--urushop-space-xs);
}

body.post-type-archive-product .wp-block-query-pagination-numbers .page-numbers,
body.archive .wp-block-query-pagination-numbers .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--urushop-space-sm);
  border: 1px solid var(--urushop-gray-light);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--urushop-charcoal);
  text-decoration: none;
  transition: all var(--urushop-transition-fast);
}

body.post-type-archive-product .wp-block-query-pagination-numbers .page-numbers:hover,
body.archive .wp-block-query-pagination-numbers .page-numbers:hover {
  border-color: var(--urushop-primary);
  color: var(--urushop-primary);
}

body.post-type-archive-product .wp-block-query-pagination-numbers .page-numbers.current,
body.archive .wp-block-query-pagination-numbers .page-numbers.current {
  background: var(--urushop-primary);
  border-color: var(--urushop-primary);
  color: var(--urushop-white);
}

body.post-type-archive-product .wp-block-query-pagination-previous,
body.post-type-archive-product .wp-block-query-pagination-next,
body.archive .wp-block-query-pagination-previous,
body.archive .wp-block-query-pagination-next {
  padding: var(--urushop-space-xs) var(--urushop-space-md);
  border: 1px solid var(--urushop-gray-light);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--urushop-charcoal);
  text-decoration: none;
  transition: all var(--urushop-transition-fast);
}

body.post-type-archive-product .wp-block-query-pagination-previous:hover,
body.post-type-archive-product .wp-block-query-pagination-next:hover,
body.archive .wp-block-query-pagination-previous:hover,
body.archive .wp-block-query-pagination-next:hover {
  border-color: var(--urushop-primary);
  color: var(--urushop-primary);
}

/* --------------------------------------------------------------------------
   No Results Message
   -------------------------------------------------------------------------- */
body.post-type-archive-product .wp-block-query-no-results,
body.archive .wp-block-query-no-results {
  text-align: center;
  padding: var(--urushop-space-2xl);
}

body.post-type-archive-product .wp-block-query-no-results p,
body.archive .wp-block-query-no-results p {
  color: var(--urushop-gray-dark);
  margin-bottom: var(--urushop-space-lg);
}


/* ==========================================================================
   10. HOMEPAGE TEMPLATE (front-page.html)
   New homepage sections built with FSE blocks
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: calc(100vh - 180px);
}

.hero-section .hero-image img {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* Hero stats - remove default paragraph margins */
.hero-section .stat-label {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Category Cards Section
   -------------------------------------------------------------------------- */
.category-section .category-card {
  transition: all var(--urushop-transition-base);
  box-shadow: var(--urushop-shadow-sm);
  cursor: pointer;
}

.category-section .category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--urushop-shadow-lg);
}

.category-section .category-card h4 {
  margin-top: 0;
  margin-bottom: 0;
}

.category-section .category-card h4 a {
  color: var(--urushop-charcoal);
  text-decoration: none;
  transition: color var(--urushop-transition-fast);
}

.category-section .category-card:hover h4 a {
  color: var(--urushop-primary);
}

/* --------------------------------------------------------------------------
   Featured Products Section
   -------------------------------------------------------------------------- */
.featured-products-section .wp-block-woocommerce-product-collection {
  margin-top: var(--urushop-space-xl);
}

.featured-products-section .wc-block-product-template {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--urushop-space-lg);
}

@media (max-width: 1023px) {
  .featured-products-section .wc-block-product-template {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .featured-products-section .wc-block-product-template {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Product Finder Widget
   -------------------------------------------------------------------------- */
.product-finder-section .product-finder-card {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.product-finder-section .step-number {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--urushop-space-md) !important;
}

/* --------------------------------------------------------------------------
   Learn More / Story Section
   -------------------------------------------------------------------------- */
.learn-more-section {
  background-color: var(--urushop-charcoal) !important;
}

.learn-more-section img {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Customer Reviews Section
   -------------------------------------------------------------------------- */
.reviews-section .review-card {
  box-shadow: var(--urushop-shadow-sm);
  transition: all var(--urushop-transition-base);
}

.reviews-section .review-card:hover {
  box-shadow: var(--urushop-shadow-lg);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section .newsletter-card {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.newsletter-section .newsletter-form .form-input:focus {
  outline: 2px solid var(--urushop-primary);
  outline-offset: 2px;
}

.newsletter-section .newsletter-form .btn {
  transition: all var(--urushop-transition-fast);
}

.newsletter-section .newsletter-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--urushop-shadow-cta);
}

/* --------------------------------------------------------------------------
   CTA Buttons (Orange gradient)
   -------------------------------------------------------------------------- */
.btn-cta .wp-block-button__link,
.wp-block-button.btn-cta .wp-block-button__link {
  transition: all var(--urushop-transition-fast);
}

.btn-cta .wp-block-button__link:hover,
.wp-block-button.btn-cta .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--urushop-shadow-cta);
}


/* ==========================================================================
   11. UTILITIES
   Helpers, visibility, responsive
   ========================================================================== */

/* Mobile visibility */
@media (max-width: 767px) {
  .hide-mobile,
  .hide-on-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: block;
  }
}

/* Responsive columns - stack on mobile */
@media (max-width: 767px) {
  .category-section .wp-block-columns {
    flex-wrap: wrap;
  }

  .category-section .wp-block-column {
    flex-basis: calc(50% - var(--urushop-space-sm)) !important;
  }

  .reviews-section .wp-block-columns {
    flex-direction: column;
  }

  .hero-section .wp-block-columns {
    flex-direction: column;
  }

  .learn-more-section .wp-block-columns {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .category-section .wp-block-column {
    flex-basis: 100% !important;
  }
}

/* Newsletter mobile responsive */
@media (max-width: 600px) {
  .section-newsletter .wffn-optin-form .wfop_section {
    flex-direction: column;
  }

  .section-newsletter .bwfac_form_field_email {
    min-width: 100%;
  }

  .section-newsletter .wfop_submit_btn {
    width: 100%;
  }

  .newsletter-section .newsletter-form {
    flex-direction: column;
  }

  .newsletter-section .newsletter-form .form-input {
    min-width: 100% !important;
  }
}


/* ==========================================================================
   15. RELATED PRODUCTS (Product Collection Block on Single Product)
   Styles the WooCommerce Product Collection block to match the UruShop
   card design from the redesign mockups.
   ========================================================================== */

/* Section spacing */
.single-product .wp-block-woocommerce-product-collection {
  margin-top: var(--urushop-space-4xl, 4rem);
  margin-bottom: var(--urushop-space-2xl, 2rem);
}

/* Heading — the FSE template has an outer heading + one inside the Product
   Collection block. Hide the inner duplicate, style the outer one. */
.single-product .wp-block-woocommerce-product-collection > .wp-block-heading {
  display: none;
}

.single-product h2#you-may-also-like {
  font-family: var(--urushop-font-display, 'Archivo Black', sans-serif);
  font-size: var(--urushop-font-h3, 1.75rem);
  color: var(--urushop-charcoal, #2d3436);
  text-align: left !important;
  margin-bottom: var(--urushop-space-xl, 1.5rem);
}

/* Grid layout */
.single-product .wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--urushop-space-lg, 1.5rem);
}

/* Product card — flex column with absolutely-positioned bag button */
.single-product .wc-block-product-template > li {
  background: var(--urushop-white, #fff);
  border: 1px solid var(--urushop-stone-gray, #e8e8e8);
  border-radius: var(--urushop-radius-lg, 12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.single-product .wc-block-product-template > li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Card image */
.single-product .wc-block-product-template .wc-block-components-product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--urushop-soft-cream, #faf9f6);
}

.single-product .wc-block-product-template .wc-block-components-product-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.single-product .wc-block-product-template .wc-block-components-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.33, 1, 0.68, 1);
}

.single-product .wc-block-product-template > li:hover .wc-block-components-product-image img {
  transform: scale(1.05);
}

/* Card title */
.single-product .wc-block-product-template .wp-block-post-title {
  padding: 16px 16px 0;
  font-family: var(--urushop-font-primary, 'Inter', sans-serif);
  font-size: 1rem !important;
  font-weight: 600;
  line-height: 1.4;
  color: var(--urushop-charcoal, #2d3436);
  text-align: left !important;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-product .wc-block-product-template .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.single-product .wc-block-product-template .wp-block-post-title a:hover {
  color: var(--urushop-primary, #00A86B);
}

/* Price — pushed to bottom, right padding reserves space for bag button */
.single-product .wc-block-product-template .wp-block-woocommerce-product-price {
  margin-top: auto;
  padding: 12px 68px 16px 16px;
  text-align: left !important;
}

.single-product .wc-block-product-template .wc-block-components-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--urushop-primary, #00A86B);
  text-align: left;
  line-height: 1.3;
}

.single-product .wc-block-product-template .wc-block-components-product-price .woocommerce-Price-amount {
  color: var(--urushop-primary, #00A86B);
}

/* Stacked sale pricing: strikethrough on top, current price below (matches Featured Products) */
.single-product .wc-block-product-template .wc-block-components-product-price del {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.6;
  color: #666;
  line-height: 1.3;
}

.single-product .wc-block-product-template .wc-block-components-product-price ins {
  text-decoration: none;
  display: block;
}

/* Button — absolutely positioned bottom-right, bag icon (matches Featured Products) */
.single-product .wc-block-product-template .wp-block-woocommerce-product-button {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.single-product .wc-block-product-template .wp-block-woocommerce-product-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--urushop-primary, #00A86B)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  color: transparent !important;
  font-size: 0 !important;
  border: 2px solid var(--urushop-primary, #00A86B);
  border-radius: var(--urushop-radius-md, 8px);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.single-product .wc-block-product-template .wp-block-woocommerce-product-button .wp-block-button__link:hover {
  background-color: #008f5a;
  border-color: #008f5a;
}

/* Hide "View basket" link that appears after adding to cart */
.single-product .wc-block-product-template .wc-block-components-product-button__view-basket {
  display: none;
}

/* Responsive */
@media (max-width: 1023px) {
  .single-product .wc-block-product-template {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .single-product .wc-block-product-template {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--urushop-space-md, 1rem);
  }

  .single-product .wp-block-woocommerce-product-collection .wp-block-heading {
    font-size: 1.375rem;
  }
}

/* ==========================================================================
   Meet the Team
   ========================================================================== */

/* Constrain intro text */
.page-id-14942 .entry-content > .wp-block-paragraph:first-child {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.team-photo {
  background: #fff;
  border-radius: 100%;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  max-width: 180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.team-photo img {
  border-radius: 0 !important;
  transform: scale(1.25);
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   My Account: Login / Register
   ========================================================================== */

/* Center the WooCommerce wrapper on My Account page */
body.woocommerce-account .woocommerce {
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1rem;
}

/* Two-column layout */
#customer_login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0 3rem;
}

/* Kill WooCommerce clearfix pseudo-elements that break the grid */
#customer_login::before,
#customer_login::after {
  display: none !important;
  content: none !important;
}

/* Card styling for each column */
#customer_login .col-1,
#customer_login .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  background: var(--urushop-white, #fff);
  border: 1px solid var(--urushop-gray-light, #E8E8E8);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Headings */
#customer_login h2 {
  font-family: var(--urushop-font-display, 'Archivo Black', sans-serif);
  font-size: 1.5rem;
  color: var(--urushop-primary-dark, #1B4332);
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--urushop-primary, #00A86B);
}

/* Form labels */
#customer_login label {
  font-family: var(--urushop-font-body, 'Inter', sans-serif);
  font-size: var(--urushop-text-sm, 0.875rem);
  font-weight: 600;
  color: var(--urushop-charcoal, #2D3436);
  display: block;
  margin-bottom: 0.375rem;
}

/* Form inputs */
#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--urushop-gray-light, #E8E8E8);
  border-radius: 8px;
  font-family: var(--urushop-font-body, 'Inter', sans-serif);
  font-size: var(--urushop-text-base, 1rem);
  color: var(--urushop-charcoal, #2D3436);
  background: var(--urushop-cream, #FAF9F6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

#customer_login input[type="text"]:focus,
#customer_login input[type="email"]:focus,
#customer_login input[type="password"]:focus {
  border-color: var(--urushop-primary, #00A86B);
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.15);
  outline: none;
  background: var(--urushop-white, #fff);
}

/* Password field wrapper */
#customer_login .password-input {
  display: block;
  position: relative;
}

#customer_login .show-password-input {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--urushop-gray, #666);
  padding: 4px;
}

/* Form rows spacing */
#customer_login .form-row {
  margin-bottom: 1.25rem;
}

/* Remember me checkbox */
#customer_login .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--urushop-text-sm, 0.875rem);
  color: var(--urushop-gray, #666);
  cursor: pointer;
}

#customer_login .woocommerce-form-login__rememberme input[type="checkbox"] {
  accent-color: var(--urushop-primary, #00A86B);
  width: 16px;
  height: 16px;
}

/* Submit buttons */
#customer_login button[type="submit"],
#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-register__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--urushop-primary, #00A86B);
  color: var(--urushop-white, #fff) !important;
  border: none;
  border-radius: 8px;
  font-family: var(--urushop-font-body, 'Inter', sans-serif);
  font-size: var(--urushop-text-base, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  min-width: 140px;
}

#customer_login button[type="submit"]:hover {
  background: var(--urushop-primary-dark, #1B4332);
  transform: translateY(-1px);
}

#customer_login button[type="submit"]:active {
  transform: translateY(0);
}

/* Lost password link */
#customer_login .lost_password a {
  color: var(--urushop-primary, #00A86B);
  font-size: var(--urushop-text-sm, 0.875rem);
  text-decoration: none;
  font-weight: 500;
}

#customer_login .lost_password a:hover {
  color: var(--urushop-primary-dark, #1B4332);
  text-decoration: underline;
}

/* Privacy policy text in register form */
#customer_login .col-2 .woocommerce-privacy-policy-text p {
  font-size: var(--urushop-text-sm, 0.875rem);
  color: var(--urushop-gray, #666);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

#customer_login .col-2 .woocommerce-privacy-policy-text a {
  color: var(--urushop-primary, #00A86B);
  text-decoration: underline;
}

/* Required asterisk */
#customer_login .required {
  color: var(--urushop-cta, #FF6B35);
}

/* Mobile: stack columns */
@media (max-width: 768px) {
  #customer_login {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1rem auto 2rem;
  }

  #customer_login .col-1,
  #customer_login .col-2 {
    padding: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   16. FunnelKit Checkout — Brand Color Overrides
   ═══════════════════════════════════════════════════════════ */

/* Place Order button */
#wfacp-e-form .wfacp_main_form button.alt,
#wfacp-e-form .wfacp_main_form button#place_order,
#wfacp-e-form .wfacp_main_form .wfacp-order-place-btn-wrap button {
  background-color: var(--urushop-primary, #00A86B) !important;
  border-color: var(--urushop-primary, #00A86B) !important;
}

#wfacp-e-form .wfacp_main_form button.alt:hover,
#wfacp-e-form .wfacp_main_form button#place_order:hover,
#wfacp-e-form .wfacp_main_form .wfacp-order-place-btn-wrap button:hover {
  background-color: var(--urushop-primary-dark, #1B4332) !important;
  border-color: var(--urushop-primary-dark, #1B4332) !important;
}

/* Coupon Apply button (including disabled state) */
#wfacp-e-form .wfacp-coupon-btn,
#wfacp-e-form .wfacp-coupon-btn:disabled,
#wfacp-e-form .wfacp-coupon-btn.wfacp_coupon_button,
#wfacp-e-form .wfacp_main_form .wfacp-coupon-section button,
#wfacp-e-form button.wfacp-coupon-btn {
  background-color: var(--urushop-primary, #00A86B) !important;
  border-color: var(--urushop-primary, #00A86B) !important;
  color: #fff !important;
}

#wfacp-e-form .wfacp-coupon-btn:hover:not(:disabled) {
  background-color: var(--urushop-primary-dark, #1B4332) !important;
  border-color: var(--urushop-primary-dark, #1B4332) !important;
}

/* Links (including SVG icons inside collapsible links) */
#wfacp-e-form .wfacp_main_form a,
#wfacp-e-form .wfacp_main_form .wfacp_collapsible,
#wfacp-e-form .wfacp_main_form .wfacp_collapsible svg,
#wfacp-e-form .wfacp_mini_cart_remove_item_from_cart,
#wfacp-e-form .wfacp_mini_cart_remove_item_from_cart svg {
  color: var(--urushop-primary, #00A86B) !important;
}

#wfacp-e-form .wfacp_main_form a:hover,
#wfacp-e-form .wfacp_mini_cart_remove_item_from_cart:hover {
  color: var(--urushop-primary-dark, #1B4332) !important;
}

/* Radio buttons & checkboxes */
#wfacp-e-form .wfacp_main_form input[type="radio"]:checked {
  border-color: var(--urushop-primary, #00A86B) !important;
  accent-color: var(--urushop-primary, #00A86B) !important;
}

#wfacp-e-form .wfacp_main_form input[type="radio"]:checked::before,
#wfacp-e-form .wfacp_main_form input[type="radio"]:checked::after {
  background-color: var(--urushop-primary, #00A86B) !important;
}

#wfacp-e-form .wfacp_main_form input[type="checkbox"]:checked,
#wfacp-e-form .wfacp_main_form input.ship_to_different_address,
#wfacp-e-form input.ship_to_different_address {
  accent-color: var(--urushop-primary, #00A86B) !important;
  background-color: var(--urushop-primary, #00A86B) !important;
  border-color: var(--urushop-primary, #00A86B) !important;
}

/* Form input focus states */
#wfacp-e-form .wfacp_main_form input:focus,
#wfacp-e-form .wfacp_main_form select:focus,
#wfacp-e-form .wfacp_main_form textarea:focus {
  border-color: var(--urushop-primary, #00A86B) !important;
  box-shadow: 0 0 0 1px var(--urushop-primary, #00A86B) !important;
}

/* SSL Secured Checkout badge (header icon list) */
#wfacp-e-form .bwf-icon-list-item-wrap svg,
#wfacp-e-form .bwf-icon-inner-svg {
  color: var(--urushop-primary, #00A86B) !important;
  fill: currentColor !important;
}

#wfacp-e-form .bwf-icon-list-text {
  color: var(--urushop-primary, #00A86B) !important;
}

/* Trust badges — "Shop with Confidence" checkmarks */
#wfacp-e-form .wfacp_mini_cart_start_h .bwf-icon-inner-svg,
#wfacp-e-form .wfacp_mini_cart_reviews .bwf-icon-inner-svg {
  color: var(--urushop-primary, #00A86B) !important;
}

/* Order bump accent */
#wfacp-e-form .wfob_bump_wrapper .wfob_bump_checkbox_wrap input:checked {
  accent-color: var(--urushop-primary, #00A86B) !important;
}

/* Header top bar line */
#wfacp-e-form .wfacp_header_sec,
body.wfacp_gutenberg_template .wfacp_header_sec {
  border-top-color: var(--urushop-primary, #00A86B) !important;
}

/* Shipping method selection highlight */
#wfacp-e-form .wfacp_main_form .woocommerce-shipping-methods input[type="radio"]:checked + label,
#wfacp-e-form .wfacp_main_form .wfacp_shipping_options .wfacp_shipping_method_selected {
  border-color: var(--urushop-primary, #00A86B) !important;
}

/* 14-Day Money Back Guarantee icon */
#wfacp-e-form .bwf-icon-list-wrap .bwf-icon-inner-svg {
  color: var(--urushop-primary, #00A86B) !important;
}

/* Privacy policy & terms links */
#wfacp-e-form .wfacp_main_form .woocommerce-terms-and-conditions-wrapper a,
#wfacp-e-form .wfacp_main_form .woocommerce-privacy-policy-link {
  color: var(--urushop-primary, #00A86B) !important;
}

/* Google Reviews attribution — Google "G" icon via CSS */
p.bwf-adv-head-uru_gbadge::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs%3E%3CclipPath id='g'%3E%3Cpath d='M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23g)'%3E%3Cpath fill='%23FBBC05' d='M0 37V11l17 13z'/%3E%3Cpath fill='%23EA4335' d='M0 11l17 13 7-6.1L48 14V0H0z'/%3E%3Cpath fill='%2334A853' d='M0 37l30-23 7.9 1L48 0v48H0z'/%3E%3Cpath fill='%234285F4' d='M48 48L17 24l-4-3 35-10z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ═══════════════════════════════════════════════════════════
   17. FunnelKit Cart (Slide-out Drawer) — Brand Color Overrides
   ═══════════════════════════════════════════════════════════ */

/* Checkout button in drawer */
.fkcart-checkout-wrap a[href*="checkout"],
.fkcart-checkout-wrap .fkcart-checkout-button {
  background-color: var(--urushop-primary, #00A86B) !important;
  border-color: var(--urushop-primary, #00A86B) !important;
}

.fkcart-checkout-wrap a[href*="checkout"]:hover,
.fkcart-checkout-wrap .fkcart-checkout-button:hover {
  background-color: var(--urushop-primary-dark, #1B4332) !important;
  border-color: var(--urushop-primary-dark, #1B4332) !important;
}

/* Primary button (Shop Now, etc.) */
.fkcart-primary-button {
  background-color: var(--urushop-primary, #00A86B) !important;
  border-color: var(--urushop-primary, #00A86B) !important;
}

.fkcart-primary-button:hover {
  background-color: var(--urushop-primary-dark, #1B4332) !important;
  border-color: var(--urushop-primary-dark, #1B4332) !important;
}

/* Cart item count badge */
.fkcart-item-count {
  background-color: var(--urushop-primary, #00A86B) !important;
}

/* Upsell "Add" button */
.fkcart-add-product-button,
.fkcart-add-product-button.fkcart-button {
  color: var(--urushop-primary, #00A86B) !important;
  border-color: var(--urushop-primary, #00A86B) !important;
}

.fkcart-add-product-button:hover,
.fkcart-add-product-button.fkcart-button:hover {
  background-color: var(--urushop-primary, #00A86B) !important;
  color: #fff !important;
}

/* Upsell product image ring / highlight */
.fkcart-upsell-item .fkcart-image-wrapper {
  border-color: var(--urushop-primary, #00A86B) !important;
}

/* Coupon apply button in cart */
.fkcart-coupon-apply-btn,
.fkcart-coupon-wrap button {
  background-color: var(--urushop-primary, #00A86B) !important;
  border-color: var(--urushop-primary, #00A86B) !important;
  color: #fff !important;
}

.fkcart-coupon-apply-btn:hover,
.fkcart-coupon-wrap button:hover {
  background-color: var(--urushop-primary-dark, #1B4332) !important;
  border-color: var(--urushop-primary-dark, #1B4332) !important;
}

/* Free shipping notice bar in cart */
.fkcart-free-shipping-bar .fkcart-progress-fill,
.fkcart-shipping-bar-fill {
  background-color: var(--urushop-primary, #00A86B) !important;
}

/* Links inside cart drawer */
.fkcart-drawer-wrap a {
  color: var(--urushop-primary, #00A86B) !important;
}

.fkcart-drawer-wrap a:hover {
  color: var(--urushop-primary-dark, #1B4332) !important;
}

/* ==========================================================================
   SEASONAL PROMO BANNER
   ========================================================================== */


.section-summer-promo {
  overflow: hidden;
}

.section-summer-promo .wp-block-columns {
  min-height: 220px;
}

.section-summer-promo .summer-promo-img {
  margin: 0 !important;
  height: 100%;
}

.section-summer-promo .summer-promo-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 20px 0 0 20px;
}

@media (max-width: 781px) {
  .section-summer-promo .summer-promo-img img {
    height: 280px;
    border-radius: 20px 20px 0 0;
  }

  .section-summer-promo .wp-block-columns {
    min-height: auto;
    gap: 0 !important;
  }

  .section-summer-promo .wp-block-column {
    padding: 0 !important;
  }

  .section-summer-promo .wp-block-column:nth-child(2) {
    padding: 1.5rem !important;
  }

  .section-summer-promo .wp-block-column:nth-child(3) {
    padding: 0 1.5rem 1.5rem !important;
  }
}
