/**
 * Blossom Plus Theme - Custom Styles
 * Main stylesheet for the B2B wholesale flower platform.
 */

/* ==========================================================================
   KADENCE PALETTE OVERRIDES
   ========================================================================== */
:root {
  --global-palette1: #1b3a2d !important;
  --global-palette2: #2d5a3f !important;
  --global-palette3: #1a1a1a !important;
  --global-palette4: #333333 !important;
  --global-palette5: #4a4a4a !important;
  --global-palette6: #6b6b6b !important;
  --global-palette7: #f7f7f7 !important;
  --global-palette8: #faf8f5 !important;
  --global-palette9: #ffffff !important;
  --global-palette-highlight: var(--global-palette1) !important;
  --global-palette-highlight-alt: var(--global-palette2) !important;
  --global-palette-btn-bg: var(--global-palette1) !important;
  --global-palette-btn-bg-hover: var(--global-palette2) !important;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

/* Hide site title when logo is present */
.site-branding.branding-layout-standard .has-logo-image .site-title-wrap {
  display: none !important;
}

/* Constrain logo size */
.site-branding .custom-logo {
  max-height: 55px;
  width: auto;
}

/* Header styling */
#masthead .site-header-wrap {
  background: var(--bp-white);
  border-bottom: 1px solid var(--bp-gray-200);
}

/* Nav link styling */
#masthead .main-navigation .menu > li > a {
  font-family: var(--bp-font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bp-gray-700);
  letter-spacing: 0.01em;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

#masthead .main-navigation .menu > li > a:hover {
  color: var(--bp-green-dark);
}

/* Cart icon in header */
.header-cart-wrap .header-cart-button {
  color: var(--bp-gray-700);
}

/* ==========================================================================
   MINI-CART / Review Cart Popup (Kadence #cart-drawer)
   ========================================================================== */

#cart-drawer {
  font-family: var(--bp-font-primary);
}

#cart-drawer .drawer-header {
  border-bottom: 1px solid var(--bp-gray-200);
  padding-bottom: 0.75rem;
}

#cart-drawer .side-cart-header {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bp-gray-800);
}

/* Mini-cart product list */
#cart-drawer .woocommerce-mini-cart li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bp-gray-200);
}

#cart-drawer .woocommerce-mini-cart li a:not(.remove) {
  color: var(--bp-gray-800);
  font-weight: 500;
  font-size: 0.9rem;
}

#cart-drawer .woocommerce-mini-cart li .quantity {
  color: var(--bp-gray-500);
  font-size: 0.85rem;
}

/* Mini-cart remove button */
#cart-drawer .woocommerce-mini-cart li .remove {
  color: var(--bp-gray-400) !important;
}

#cart-drawer .woocommerce-mini-cart li .remove:hover {
  color: #c0392b !important;
  background: transparent !important;
}

/* Mini-cart subtotal */
#cart-drawer .total {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bp-gray-800);
}

/* Mini-cart buttons — View Cart & Checkout */
#cart-drawer .woocommerce-mini-cart__buttons a,
#cart-drawer .buttons a,
.widget_shopping_cart .woocommerce-mini-cart__buttons a,
.woocommerce .widget_shopping_cart .buttons a.button {
  display: block !important;
  text-align: center;
  padding: 0.65rem 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  border-radius: var(--bp-radius-md) !important;
  font-family: var(--bp-font-primary);
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}

/* View cart — outlined green */
#cart-drawer .woocommerce-mini-cart__buttons a:first-child,
#cart-drawer .buttons a:first-child,
.widget_shopping_cart
  .woocommerce-mini-cart__buttons
  a.wc-forward:not(.checkout) {
  background: transparent !important;
  color: var(--bp-green-dark) !important;
  border: 1.5px solid var(--bp-green-dark) !important;
  margin-bottom: 0.5rem;
}

#cart-drawer .woocommerce-mini-cart__buttons a:first-child:hover,
#cart-drawer .buttons a:first-child:hover {
  background: rgba(27, 58, 45, 0.05) !important;
}

/* Checkout — solid green */
#cart-drawer .woocommerce-mini-cart__buttons a.checkout,
#cart-drawer .woocommerce-mini-cart__buttons a:last-child,
#cart-drawer .buttons a.checkout,
.widget_shopping_cart .woocommerce-mini-cart__buttons a.checkout {
  background: var(--bp-green-dark) !important;
  color: #fff !important;
  border: 1.5px solid var(--bp-green-dark) !important;
}

#cart-drawer .woocommerce-mini-cart__buttons a.checkout:hover,
#cart-drawer .woocommerce-mini-cart__buttons a:last-child:hover,
#cart-drawer .buttons a.checkout:hover {
  background: var(--bp-green-medium) !important;
  border-color: var(--bp-green-medium) !important;
}

/* ==========================================================================
   GLOBAL WOOCOMMERCE BUTTON OVERRIDES
   ========================================================================== */

/* All WooCommerce buttons to green */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(--bp-green-dark) !important;
  color: #fff !important;
  border-color: var(--bp-green-dark) !important;
  font-family: var(--bp-font-primary);
  border-radius: var(--bp-radius-md);
  font-weight: 500;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--bp-green-medium) !important;
  color: #fff !important;
  border-color: var(--bp-green-medium) !important;
}

/* Also override via Kadence's CSS variable approach */
button,
.button,
.wp-block-button__link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: var(--bp-green-dark);
  color: #fff;
}

/* Remove Kadence page hero banners — our pages have their own layouts */
.entry-hero.page-hero-section {
  display: none !important;
}

/* Make content fill the space without the hero */
.woocommerce-page #primary,
.woocommerce-account #primary,
.woocommerce-cart #primary,
.woocommerce-checkout #primary {
  padding-top: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bp-green-dark) !important;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer .site-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer a:hover {
  color: white !important;
}

/* ==========================================================================
   Base / Reset
   ========================================================================== */

body.blossom-plus {
  font-family: var(--bp-font-primary);
  color: var(--bp-gray-700);
  background: var(--bp-white);
  -webkit-font-smoothing: antialiased;
}

.bp-container {
  max-width: var(--bp-container-max);
  margin: 0 auto;
  padding: 0 var(--bp-container-padding);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-family: var(--bp-font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--bp-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.bp-btn--primary {
  background: var(--bp-green-dark);
  color: white;
  border-color: var(--bp-green-dark);
}

.bp-btn--primary:hover {
  background: var(--bp-green-medium);
  border-color: var(--bp-green-medium);
  color: white;
}

.bp-btn--outline {
  background: transparent;
  color: var(--bp-gray-800);
  border-color: var(--bp-gray-300);
}

.bp-btn--outline:hover {
  border-color: var(--bp-green-dark);
  color: var(--bp-green-dark);
}

.bp-btn--outline-white {
  background: transparent;
  color: white;
  border-color: white;
}

.bp-btn--outline-white:hover {
  background: white;
  color: var(--bp-green-dark);
}

.bp-btn--primary-light {
  background: var(--bp-green-accent);
  color: white;
  border-color: var(--bp-green-accent);
}

.bp-btn--primary-light:hover {
  background: var(--bp-green-light);
  border-color: var(--bp-green-light);
}

.bp-btn--lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}
.bp-btn--sm {
  padding: 0.375rem 1rem;
  font-size: 0.85rem;
}
.bp-btn--full {
  width: 100%;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.bp-top-bar {
  background: var(--bp-green-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}

.bp-top-bar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.bp-top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.bp-top-bar__item svg {
  flex-shrink: 0;
}

.bp-top-bar__item--right {
  margin-left: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.bp-hero {
  padding: 3rem 0;
  background: var(--bp-cream);
}

.bp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bp-hero__sub-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--bp-gray-600);
}

.bp-hero__sub-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.bp-hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--bp-gray-800);
  margin: 0 0 1rem;
}

.bp-hero__subtitle {
  font-size: 1.1rem;
  color: var(--bp-gray-500);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.bp-hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.bp-hero__trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bp-hero__avatars {
  display: flex;
}

.bp-hero__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bp-gray-300);
  border: 2px solid var(--bp-cream);
  margin-left: -8px;
}

.bp-hero__avatar:first-child {
  margin-left: 0;
}

.bp-hero__trust-text {
  font-size: 0.85rem;
  color: var(--bp-gray-600);
}

.bp-hero__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}

.bp-hero__stars span {
  margin-left: 4px;
  font-weight: 600;
  color: var(--bp-gray-800);
}

.bp-hero__image {
  position: relative;
}

.bp-hero__image-placeholder {
  border-radius: var(--bp-radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bp-cream-dark);
}

.bp-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-hero__img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--bp-gray-400);
}

.bp-hero__badge {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--bp-white);
  padding: 1rem 1.25rem;
  border-radius: var(--bp-radius-lg);
  box-shadow: var(--bp-shadow-lg);
  max-width: 280px;
}

.bp-hero__badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--bp-gray-800);
  margin-bottom: 2px;
}

.bp-hero__badge span {
  font-size: 0.75rem;
  color: var(--bp-gray-500);
  line-height: 1.4;
}

/* ==========================================================================
   Value Props
   ========================================================================== */

.bp-value-props {
  padding: 2rem 0;
  border-bottom: 1px solid var(--bp-gray-200);
}

.bp-value-props__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.bp-value-prop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bp-value-prop__icon {
  flex-shrink: 0;
  color: var(--bp-green-dark);
}

.bp-value-prop__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bp-gray-800);
  margin: 0;
}

.bp-value-prop__desc {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
  margin: 0;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.bp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bp-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0;
}

.bp-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bp-green-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bp-section-link:hover {
  color: var(--bp-green-accent);
}

/* ==========================================================================
   Categories
   ========================================================================== */

.bp-categories {
  padding: 3rem 0;
}

.bp-categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.bp-category-card {
  text-align: center;
  text-decoration: none;
  color: var(--bp-gray-800);
  transition: transform 0.2s;
}

.bp-category-card:hover {
  transform: translateY(-4px);
}

.bp-category-card__image {
  aspect-ratio: 1;
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--bp-cream-dark);
}

.bp-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-category-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.bp-category-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.bp-category-card__link {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
}

/* ==========================================================================
   Products Grid
   ========================================================================== */

.bp-products {
  padding: 3rem 0;
  background: var(--bp-gray-100);
}

.bp-products__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

/* Info card */
.bp-products__info-card {
  background: var(--bp-cream);
  border-radius: var(--bp-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bp-products__info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0.75rem 0 0.5rem;
}

.bp-products__info-card p {
  font-size: 0.85rem;
  color: var(--bp-gray-500);
  margin: 0 0 1rem;
}

/* Product card */
.bp-product-card {
  background: var(--bp-white);
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
  box-shadow: var(--bp-shadow-sm);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.bp-product-card:hover {
  box-shadow: var(--bp-shadow-md);
}

.bp-product-card__image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bp-cream-dark);
}

.bp-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.bp-product-card:hover .bp-product-card__img {
  transform: scale(1.05);
}

.bp-product-card__favorite {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bp-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--bp-shadow-sm);
  color: var(--bp-gray-400);
  transition: color 0.2s;
  z-index: 2;
}

.bp-product-card__favorite:hover,
.bp-product-card__favorite--active {
  color: var(--bp-red);
}

/* Badges */
.bp-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--bp-radius-sm);
  z-index: 2;
}

.bp-badge--best-seller {
  background: var(--bp-badge-best);
  color: white;
}

.bp-badge--new {
  background: var(--bp-badge-new);
  color: white;
}

.bp-product-card__info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bp-product-card__title-link {
  text-decoration: none;
  color: inherit;
}

.bp-product-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bp-gray-800);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.bp-product-card__meta {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
  margin: 0 0 0.5rem;
}

.bp-sep {
  margin: 0 0.25rem;
}

.bp-product-card__price {
  font-size: 0.85rem;
  color: var(--bp-gray-600);
  margin-bottom: 0.5rem;
}

.bp-product-card__price strong {
  color: var(--bp-gray-800);
}

/* Volume tiers in card */
.bp-product-card__tiers {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: var(--bp-gray-100);
  border-radius: var(--bp-radius-sm);
  flex-grow: 1;
}

.bp-product-card .bp-btn {
  margin-top: auto;
}

.bp-tier-row {
  display: flex;
  justify-content: space-between;
  padding: 0.125rem 0;
  font-size: 0.75rem;
}

.bp-tier-qty {
  color: var(--bp-gray-500);
}

.bp-tier-price {
  font-weight: 600;
  color: var(--bp-gray-700);
}

.bp-tier-row--active {
  background: rgba(45, 107, 74, 0.08);
  border-radius: var(--bp-radius-sm);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

/* ==========================================================================
   Pricing Modal
   ========================================================================== */

.bp-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.bp-modal.bp-modal--active {
  display: flex;
}

.bp-modal__content {
  background: white;
  border-radius: var(--bp-radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bp-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--bp-gray-200);
  padding-bottom: 1rem;
}

.bp-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0;
}

.bp-modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--bp-gray-500);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.bp-modal__close:hover {
  color: var(--bp-gray-800);
}

.bp-modal__body {
  font-size: 1rem;
  color: var(--bp-gray-700);
  line-height: 1.6;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

.bp-modal__body p {
  margin: 0 0 1rem;
}

.bp-modal__body ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.bp-modal__body li {
  margin-bottom: 0.5rem;
}

.bp-pricing-example {
  background: var(--bp-gray-100);
  border-left: 4px solid var(--bp-green-dark);
  padding: 1rem;
  border-radius: var(--bp-radius-sm);
  margin: 1rem 0;
  font-size: 0.95rem;
}

.bp-pricing-example strong {
  color: var(--bp-green-dark);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Trust Section
   ========================================================================== */

.bp-trust {
  padding: 4rem 0;
}

.bp-trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bp-trust__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0 0 0.75rem;
}

.bp-trust__subtitle {
  font-size: 1rem;
  color: var(--bp-gray-500);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.bp-trust__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.bp-stat {
  text-align: center;
}

.bp-stat__icon {
  color: var(--bp-green-dark);
  margin-bottom: 0.5rem;
}

.bp-stat__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bp-gray-800);
}

.bp-stat__label {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
}

.bp-trust__image {
  border-radius: var(--bp-radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bp-cream-dark);
}

.bp-trust__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-trust__img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.bp-cta-banner {
  background: var(--bp-green-dark);
  padding: 3rem 0;
}

.bp-cta-banner__inner {
  text-align: center;
}

.bp-cta-banner__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem;
}

.bp-cta-banner__text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

.bp-cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   Features Row
   ========================================================================== */

.bp-features {
  padding: 3rem 0;
  border-top: 1px solid var(--bp-gray-200);
}

.bp-features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.bp-feature {
  text-align: center;
}

.bp-feature__icon {
  color: var(--bp-green-dark);
  margin-bottom: 0.75rem;
}

.bp-feature__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bp-gray-800);
  margin: 0 0 0.25rem;
}

.bp-feature__desc {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */

.bp-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bp-gray-800);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--bp-radius-full);
  font-size: 0.85rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.bp-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   WooCommerce Overrides
   ========================================================================== */

.woocommerce .products .product {
  text-align: left;
}

.woocommerce ul.products li.product .price {
  color: var(--bp-gray-800);
  font-size: 0.9rem;
}

.woocommerce ul.products li.product .button {
  background: var(--bp-green-dark);
  color: white;
  border-radius: var(--bp-radius-md);
  font-weight: 500;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--bp-green-medium);
}

.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count {
  font-size: 0.85rem;
}

.bp-price-from {
  font-size: 0.85rem;
  color: var(--bp-gray-600);
}

.bp-price-from strong {
  font-size: 1rem;
  color: var(--bp-gray-800);
}

/* ==========================================================================
   Shop / Catalog Page
   ========================================================================== */

.bp-catalog-page .bp-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
}

.bp-shop-sidebar {
  padding-right: 1rem;
}

.bp-filter-widget {
  margin-bottom: 1.5rem;
}

.bp-filter-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bp-gray-800);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bp-gray-200);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .bp-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bp-hero__title {
    font-size: 2rem;
  }

  .bp-value-props__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bp-products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bp-trust__grid {
    grid-template-columns: 1fr;
  }

  .bp-trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .bp-hero__title {
    font-size: 1.75rem;
  }

  .bp-hero__actions {
    flex-direction: column;
  }

  .bp-hero__actions .bp-btn {
    width: 100%;
  }

  .bp-top-bar__items {
    gap: 0.75rem;
    font-size: 0.7rem;
  }

  .bp-top-bar__item--right {
    display: none;
  }

  .bp-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .bp-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .bp-products__info-card {
    grid-column: span 2;
  }

  .bp-value-props__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bp-trust__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bp-cta-banner__actions {
    flex-direction: column;
  }

  .bp-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .bp-catalog-page .bp-shop-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */

/* Make the login page break out of Kadence's content wrapper */
.woocommerce-account:not(.logged-in) .entry-content-wrap,
.woocommerce-account:not(.logged-in) .entry-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-account:not(.logged-in) .content-container,
.woocommerce-account:not(.logged-in) #primary {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-account:not(.logged-in) .content-wrap,
.woocommerce-account:not(.logged-in) article.entry {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.woocommerce-account:not(.logged-in) .site-main {
  padding: 0 !important;
}

/* Remove margins/padding from content area */
.woocommerce-account:not(.logged-in) .content-area {
  margin: 0 !important;
  padding: 0 !important;
}

.bp-login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px); /* account for header */
}

.bp-login-page__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem 3rem 5rem;
  max-width: 560px;
  width: 100%;
}

.bp-login-page__brand {
  margin-bottom: 2rem;
}

/* Constrain logo size in login form */
.bp-login-page__brand .custom-logo-link img,
.bp-login-page__brand .custom-logo {
  max-height: 50px !important;
  width: auto !important;
  max-width: 180px;
}

.bp-login-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--bp-green-dark);
}

.bp-login-logo__icon {
  font-size: 1.5rem;
}
.bp-login-logo__text {
  line-height: 1.2;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.bp-login-logo__text strong {
  font-size: 1.1rem;
  display: block;
}

.bp-login-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a !important;
  margin: 0 0 0.25rem;
}

.bp-login-subtitle {
  color: #4a4a4a !important;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.bp-login-form .bp-form-field {
  margin-bottom: 1rem;
}

.bp-login-form .bp-form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bp-gray-700);
  margin-bottom: 0.35rem;
}

.bp-login-form .bp-form-field__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.bp-forgot-password {
  font-size: 0.8rem;
  color: var(--bp-green-accent);
  text-decoration: none;
}

.bp-forgot-password:hover {
  text-decoration: underline;
}

.bp-login-form input[type="text"],
.bp-login-form input[type="password"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  font-size: 0.9rem;
  font-family: var(--bp-font-primary);
  transition: border-color 0.2s;
}

.bp-login-form input:focus {
  outline: none;
  border-color: var(--bp-green-accent);
  box-shadow: 0 0 0 3px rgba(45, 107, 74, 0.1);
}

.bp-btn--full {
  width: 100%;
}

.bp-login-actions {
  margin-top: 0.5rem;
}

.bp-login-actions .bp-btn {
  margin-bottom: 0.75rem;
}

.bp-remember-me {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--bp-gray-600);
  cursor: pointer;
}

.bp-login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--bp-gray-400);
  font-size: 0.8rem;
}

.bp-login-divider::before,
.bp-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bp-gray-200);
}

.bp-social-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.bp-btn--social {
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  gap: 0.5rem;
}

.bp-btn--social:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.bp-login-footer-text {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--bp-gray-500);
}

.bp-login-footer-text a {
  color: var(--bp-green-dark);
  text-decoration: none;
}

.bp-login-footer-text a:hover {
  text-decoration: underline;
}

/* Right panel - benefits */
.bp-login-page__right {
  background: var(--bp-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.bp-login-benefits {
  max-width: 380px;
  color: #ffffff !important;
}

.bp-login-benefits h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 2rem;
  color: #ffffff !important;
}

.bp-login-benefits__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bp-login-benefits__list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: #ffffff !important;
}

.bp-login-benefits__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff !important;
}

.bp-login-benefits__icon svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.bp-login-benefits__list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: #ffffff !important;
}

.bp-login-benefits__list p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8) !important;
}

@media (max-width: 768px) {
  .bp-login-page {
    grid-template-columns: 1fr;
  }
  .bp-login-page__right {
    display: none;
  }
  .bp-login-page__left {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   CATALOG / SHOP PAGE
   ========================================================================== */

.bp-catalog {
  padding: 1.5rem 0 3rem;
}

.bp-catalog__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--bp-gray-200);
}

.bp-catalog__toolbar-left,
.bp-catalog__toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bp-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  font-size: 0.85rem;
  font-family: var(--bp-font-primary);
  background: white;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  cursor: pointer;
}

.bp-filter-toggle {
  display: none;
}

/* Shop layout */
.bp-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar */
.bp-shop-sidebar {
  position: sticky;
  top: 1rem;
}

.bp-filter-group {
  margin-bottom: 1.25rem;
}

.bp-filter-group__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bp-gray-800);
  margin: 0 0 0.75rem;
}

.bp-filter-group__subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bp-gray-600);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bp-filter-divider {
  border: none;
  border-top: 1px solid var(--bp-gray-200);
  margin: 1.25rem 0;
}

/* Category list */
.bp-filter-cats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bp-filter-cat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--bp-gray-700);
  transition: color 0.15s;
}

.bp-filter-cat input {
  display: none;
}

.bp-filter-cat:hover,
.bp-filter-cat--active {
  color: var(--bp-green-dark);
  font-weight: 600;
}

.bp-filter-cat__count {
  color: var(--bp-gray-400);
  font-size: 0.8rem;
  margin-left: auto;
}

/* Color swatches */
.bp-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bp-color-swatch {
  cursor: pointer;
  position: relative;
}

.bp-color-swatch input {
  display: none;
}

.bp-color-swatch__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.bp-color-swatch__dot--bordered {
  box-shadow: inset 0 0 0 1px var(--bp-gray-300);
}

.bp-color-swatch input:checked + .bp-color-swatch__dot {
  transform: scale(1.15);
  box-shadow:
    0 0 0 2px white,
    0 0 0 3.5px var(--bp-green-dark);
}

/* Length checkboxes */
.bp-filter-checks {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bp-filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--bp-gray-700);
}

.bp-filter-check input {
  display: none;
}

.bp-filter-check__box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--bp-gray-300);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.bp-filter-check input:checked + .bp-filter-check__box {
  background: var(--bp-green-dark);
  border-color: var(--bp-green-dark);
}

.bp-filter-check input:checked + .bp-filter-check__box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
}

/* Price range */
.bp-price-range__inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-price-range__field {
  display: flex;
  align-items: center;
  border: 1px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  padding: 0.4rem 0.6rem;
  flex: 1;
}

.bp-price-range__symbol {
  color: var(--bp-gray-400);
  font-size: 0.85rem;
  margin-right: 0.25rem;
}

.bp-price-range__field input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.85rem;
  font-family: var(--bp-font-primary);
  padding: 0;
}

.bp-price-range__sep {
  color: var(--bp-gray-400);
}

/* Products grid */
.bp-products-grid .products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bp-shop-content__header {
  margin-bottom: 1rem;
}

.bp-results-count {
  font-size: 0.85rem;
  color: var(--bp-gray-500);
}

/* Bottom feature bar */
.bp-catalog__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--bp-gray-200);
}

.bp-catalog__feature {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.bp-catalog__feature svg {
  color: var(--bp-green-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.bp-catalog__feature strong {
  display: block;
  font-size: 0.85rem;
  color: var(--bp-gray-800);
}

.bp-catalog__feature span {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
}

/* Catalog responsive */
@media (max-width: 1024px) {
  .bp-shop-layout {
    grid-template-columns: 1fr;
  }
  .bp-shop-sidebar {
    display: none;
  }
  .bp-filter-toggle {
    display: inline-flex;
  }
  .bp-shop-sidebar.bp-shop-sidebar--open {
    display: block;
  }
  .bp-products-grid .products {
    grid-template-columns: repeat(3, 1fr);
  }
  .bp-catalog__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bp-products-grid .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .bp-catalog__toolbar {
    flex-wrap: wrap;
  }
  .bp-catalog__features {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SINGLE PRODUCT DETAIL
   ========================================================================== */

/* Container override for single product */
.bp-single-product.bp-container {
  max-width: var(--bp-container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hide Kadence page title on product pages */
.single-product .entry-hero,
.single-product .wp-block-kadence-breadcrumbs,
.single-product .kadence-breadcrumbs {
  display: none !important;
}

/* Breadcrumbs */
.bp-breadcrumbs {
  padding: 1.25rem 0;
  font-size: 0.82rem;
  color: var(--bp-gray-500);
}

.bp-breadcrumbs a {
  color: var(--bp-gray-500);
  text-decoration: none;
  transition: color 0.2s;
}

.bp-breadcrumbs a:hover {
  color: var(--bp-green-dark);
}

.bp-breadcrumbs__sep {
  margin: 0 0.4rem;
  color: var(--bp-gray-400);
}

.bp-breadcrumbs__current {
  color: var(--bp-gray-700);
  font-weight: 500;
}

/* Product detail two-column layout */
.bp-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 0 0 3rem;
  align-items: start;
}

/* ── Gallery ── */
.bp-product-detail__gallery {
  position: relative;
  background: var(--bp-cream);
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
}

.bp-product-detail__gallery .bp-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.bp-badge--best-seller {
  background: var(--bp-green-dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.bp-product-detail__gallery .woocommerce-product-gallery {
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

.bp-product-detail__gallery .woocommerce-product-gallery__image img {
  border-radius: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Gallery thumbnails */
.bp-product-detail__gallery .flex-control-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  margin: 0;
  list-style: none;
}

.bp-product-detail__gallery .flex-control-thumbs li {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.bp-product-detail__gallery .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-product-detail__gallery .flex-control-thumbs li:hover,
.bp-product-detail__gallery .flex-control-thumbs li .flex-active {
  border-color: var(--bp-green-dark);
}

/* Hide WC zoom trigger icon */
.bp-product-detail__gallery .woocommerce-product-gallery__trigger {
  display: none;
}

/* ── Product Info ── */
.bp-product-detail__info {
  padding-top: 0;
}

.bp-product-detail__title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--bp-gray-800) !important;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bp-product-detail__length-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f0f0f0;
  color: var(--bp-gray-600);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* Star rating */
.bp-product-detail__rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.bp-product-detail__stars {
  color: #f5a623;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.bp-product-detail__rating-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bp-gray-800);
}

.bp-product-detail__review-count {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
}

/* Short description */
.bp-product-detail__desc {
  font-size: 0.9rem;
  color: var(--bp-gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.bp-product-detail__desc p:last-child {
  margin-bottom: 0;
}

/* ── Price display ── */
.bp-product-detail__info .price {
  font-size: 1.6rem !important;
  font-weight: 700;
  color: var(--bp-gray-800) !important;
  margin-bottom: 0.25rem;
}

.bp-product-detail__info .price del {
  font-size: 1rem;
  color: var(--bp-gray-400);
}

.bp-product-detail__info .price ins {
  text-decoration: none;
}

/* ── Volume pricing table ── */
.bp-volume-pricing {
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--bp-gray-200);
  border-radius: var(--bp-radius-md);
  overflow: hidden;
}

.bp-volume-pricing__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bp-gray-700);
  padding: 0.75rem 1rem;
  margin: 0;
  background: #fafafa;
  border-bottom: 1px solid var(--bp-gray-200);
}

.bp-volume-pricing__table {
  width: 100%;
  border-collapse: collapse;
}

.bp-volume-pricing__table th {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bp-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--bp-gray-200);
  background: #fafafa;
}

.bp-volume-pricing__table td {
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  color: var(--bp-gray-700);
  border-bottom: 1px solid var(--bp-gray-100);
}

.bp-volume-pricing__table tr:last-child td {
  border-bottom: none;
}

.bp-volume-pricing__table tbody tr:hover {
  background: #f8faf9;
}

/* ── Stock status ── */
.bp-product-detail__info .stock {
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bp-product-detail__info .stock.in-stock {
  color: var(--bp-green-dark);
}

.bp-product-detail__info .stock.in-stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bp-green-dark);
}

.bp-product-detail__info .stock.out-of-stock {
  color: #c00;
}

.bp-product-detail__info .stock.out-of-stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c00;
}

/* ── Add to cart area ── */
.bp-product-detail__info .cart {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.bp-product-detail__info .cart .quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-product-detail__info .cart .quantity input[type="number"] {
  width: 80px;
  padding: 0.6rem 0.5rem;
  border: 1px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  font-size: 1rem;
  text-align: center;
  font-family: var(--bp-font-primary);
  background: #fff;
}

.bp-product-detail__info .cart .quantity input[type="number"]:focus {
  outline: none;
  border-color: var(--bp-green-dark);
  box-shadow: 0 0 0 2px rgba(27, 58, 45, 0.1);
}

.bp-product-detail__info .cart .single_add_to_cart_button,
.bp-product-detail__info .cart button.single_add_to_cart_button,
.bp-product-detail__info form.cart button[type="submit"] {
  background: var(--bp-green-dark) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.85rem 2rem;
  border-radius: var(--bp-radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--bp-font-primary);
  width: 100%;
  transition:
    background 0.2s,
    transform 0.1s;
  text-transform: none;
  letter-spacing: 0;
}

.bp-product-detail__info .cart .single_add_to_cart_button:hover,
.bp-product-detail__info .cart button.single_add_to_cart_button:hover,
.bp-product-detail__info form.cart button[type="submit"]:hover {
  background: var(--bp-green-medium) !important;
  transform: translateY(-1px);
}

/* ── SKU & Meta ── */
.bp-product-detail__info .product_meta {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bp-gray-200);
}

.bp-product-detail__info .product_meta > span {
  display: block;
  margin-bottom: 0.25rem;
}

.bp-product-detail__info .product_meta a {
  color: var(--bp-green-dark);
  text-decoration: none;
}

.bp-product-detail__info .product_meta a:hover {
  text-decoration: underline;
}

/* ── Favorites button ── */
.bp-add-favorite {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  background: #fff;
  color: var(--bp-gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
  width: 100%;
}

.bp-add-favorite:hover {
  border-color: var(--bp-green-dark);
  color: var(--bp-green-dark);
}

/* ── Trust badges row ── */
.bp-product-detail__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--bp-gray-200);
}

.bp-product-detail__trust-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.bp-product-detail__trust-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #eef5f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bp-green-dark);
}

.bp-product-detail__trust-icon svg {
  flex-shrink: 0;
}

.bp-product-detail__trust-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--bp-gray-800);
  margin-bottom: 0.15rem;
}

.bp-product-detail__trust-item small {
  font-size: 0.72rem;
  color: var(--bp-gray-500);
  line-height: 1.3;
}

/* ── Product Tabs (Description, Reviews) ── */
.bp-single-product ~ .woocommerce-tabs,
.woocommerce-tabs {
  max-width: var(--bp-container-max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0 !important;
  margin: 0 0 1.5rem !important;
  border-bottom: 2px solid var(--bp-gray-200);
  overflow: visible !important;
}

.woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none !important;
}

.woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  border-radius: 0 !important;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bp-gray-500);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
  font-family: var(--bp-font-primary);
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bp-green-dark);
  border-bottom-color: var(--bp-green-dark);
  font-weight: 600;
}

.woocommerce-tabs ul.tabs li a:hover {
  color: var(--bp-gray-800);
}

.woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .panel {
  padding: 0;
  margin: 0;
}

.woocommerce-tabs .panel h2,
.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bp-gray-800);
  margin: 0 0 0.75rem;
}

/* ── Related products ── */
.related.products,
.up-sells.upsells {
  max-width: var(--bp-container-max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.related.products > h2,
.up-sells.upsells > h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0 0 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .bp-product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bp-product-detail__trust {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .bp-product-detail__title {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */

/* Break cart page out of Kadence narrow content wrapper */
.woocommerce-cart .content-container.site-container {
  max-width: 100%;
}

.woocommerce-cart .content-wrap {
  max-width: 100%;
}

.woocommerce-cart .entry.single-entry {
  box-shadow: none;
}

.woocommerce-cart .entry-content-wrap {
  padding: 0 1.5rem;
  max-width: var(--bp-container-max);
  margin: 0 auto;
}

/* Hide Kadence page title on cart page */
.woocommerce-cart .entry-hero,
.woocommerce-cart .entry-title {
  display: none !important;
}

.woocommerce-cart .content-area {
  margin-top: 2rem;
}

.bp-cart {
  padding: 1rem 0 3rem;
}

.bp-cart__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.bp-cart__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.bp-cart__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0;
}

.bp-cart__continue {
  font-size: 0.85rem;
  color: var(--bp-green-dark);
  text-decoration: none;
  font-weight: 500;
}

.bp-cart__continue:hover {
  text-decoration: underline;
}

/* Cart items */
.bp-cart-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--bp-gray-200);
}

.bp-cart-item__image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--bp-radius-md);
}

.bp-cart-item__details {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
  gap: 1rem;
}

.bp-cart-item__name a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bp-gray-800);
  text-decoration: none;
}

.bp-cart-item__name a:hover {
  color: var(--bp-green-dark);
}

.bp-cart-item__meta {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
  margin: 0.15rem 0 0;
}

.bp-cart-item__price {
  font-size: 0.9rem;
  color: var(--bp-gray-600);
}

.bp-cart-item__quantity .quantity input {
  width: 60px;
  padding: 0.4rem;
  border: 1px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  text-align: center;
  font-size: 0.9rem;
  font-family: var(--bp-font-primary);
}

.bp-cart-item__subtotal {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bp-gray-800);
  min-width: 80px;
  text-align: right;
}

.bp-remove-item {
  font-size: 1.3rem;
  color: var(--bp-gray-400);
  text-decoration: none;
  line-height: 1;
  transition: color 0.15s;
}

.bp-remove-item:hover {
  color: var(--bp-red, #c0392b);
}

/* Order note */
.bp-cart__note {
  margin-top: 1.25rem;
}

.bp-cart__note-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bp-gray-700);
  display: block;
  margin-bottom: 0.35rem;
}

.bp-cart__note-field {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  font-size: 0.85rem;
  font-family: var(--bp-font-primary);
  resize: vertical;
}

.bp-cart__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: center;
}

/* Order summary sidebar */
.bp-order-summary {
  background: var(--bp-cream);
  border-radius: var(--bp-radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 1rem;
}

/* Override WooCommerce default cart-collaterals styling */
.bp-cart__sidebar.cart-collaterals {
  width: 100% !important;
  float: none !important;
  clear: none !important;
}

.bp-cart__sidebar .cart_totals {
  width: 100% !important;
  float: none !important;
}

.bp-order-summary__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0 0 1.25rem;
}

.bp-order-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--bp-gray-700);
  padding: 0.4rem 0;
}

.bp-order-summary__row--light span:last-child {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
}

.bp-order-summary__row--total {
  border-top: 1px solid var(--bp-gray-300);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
}

.bp-cart__checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.bp-cart__trust-props {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bp-gray-200);
}

.bp-cart__trust-prop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--bp-gray-600);
}

.bp-cart__trust-prop svg {
  color: var(--bp-green-dark);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .bp-cart__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bp-cart-item {
    grid-template-columns: 80px 1fr;
  }
  .bp-cart-item__details {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
  }
  .bp-cart-item__price,
  .bp-cart-item__quantity {
    grid-column: 1;
  }
  .bp-cart-item__subtotal {
    grid-column: 2;
    grid-row: 1;
  }
}

/* ==========================================================================
   CHECKOUT PAGE - MULTI-STEP
   ========================================================================== */

/* Break checkout page out of Kadence narrow content wrapper */
.woocommerce-checkout .content-container.site-container {
  max-width: 100%;
}

.woocommerce-checkout .content-wrap {
  max-width: 100%;
}

.woocommerce-checkout .entry.single-entry {
  box-shadow: none;
}

.woocommerce-checkout .entry-content-wrap {
  padding: 0 1.5rem;
  max-width: var(--bp-container-max);
  margin: 0 auto;
}

.woocommerce-checkout .entry-hero,
.woocommerce-checkout .entry-title {
  display: none !important;
}

.woocommerce-checkout .content-area {
  margin-top: 2rem;
}

.bp-checkout {
  padding: 1rem 0 3rem;
}

/* Step indicator */
.bp-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.bp-checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--bp-gray-400);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0 0.75rem;
}

.bp-checkout-step__number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: 2px solid var(--bp-gray-300);
  color: var(--bp-gray-400);
  flex-shrink: 0;
}

.bp-checkout-step--done {
  color: var(--bp-green-dark);
}

.bp-checkout-step--done .bp-checkout-step__number {
  background: var(--bp-green-dark);
  border-color: var(--bp-green-dark);
  color: white;
}

.bp-checkout-step--active {
  color: var(--bp-gray-800);
}

.bp-checkout-step--active .bp-checkout-step__number {
  background: var(--bp-green-dark);
  border-color: var(--bp-green-dark);
  color: white;
}

.bp-checkout-steps__line {
  width: 60px;
  height: 2px;
  background: var(--bp-gray-300);
}

.bp-checkout-steps__line--active {
  background: var(--bp-green-dark);
}

/* Layout */
.bp-checkout__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

.bp-checkout__section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0 0 1.5rem;
}

/* Billing/shipping field overrides */
.bp-checkout__billing-fields .woocommerce-billing-fields__field-wrapper,
.bp-checkout__shipping-fields .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.bp-checkout__billing-fields .form-row-wide,
.bp-checkout__shipping-fields .form-row-wide {
  grid-column: span 2;
}

.bp-checkout__billing-fields .form-row label,
.bp-checkout__shipping-fields .form-row label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bp-gray-700);
  margin-bottom: 0.25rem;
  display: block;
}

.bp-checkout__billing-fields .form-row input,
.bp-checkout__billing-fields .form-row select,
.bp-checkout__shipping-fields .form-row input,
.bp-checkout__shipping-fields .form-row select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  font-size: 0.9rem;
  font-family: var(--bp-font-primary);
}

.bp-checkout__billing-fields .form-row input:focus,
.bp-checkout__shipping-fields .form-row input:focus {
  outline: none;
  border-color: var(--bp-green-accent);
  box-shadow: 0 0 0 3px rgba(45, 107, 74, 0.1);
}

/* Checkout navigation */
.bp-checkout__nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bp-gray-200);
}

.bp-checkout__nav--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sidebar */
.bp-checkout__sidebar {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bp-checkout__address-card,
.bp-checkout__order-summary {
  background: var(--bp-cream);
  border-radius: var(--bp-radius-lg);
  padding: 1.5rem;
}

.bp-checkout__address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.bp-checkout__address-card-header h3,
.bp-checkout__order-summary h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0;
}

.bp-checkout__edit-link {
  background: none;
  border: none;
  color: var(--bp-green-dark);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--bp-font-primary);
  text-decoration: underline;
}

.bp-checkout__address-card-body {
  font-size: 0.85rem;
  color: var(--bp-gray-600);
  line-height: 1.5;
}

.bp-checkout__summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--bp-gray-700);
  padding: 0.35rem 0;
}

.bp-checkout__summary-row--total {
  border-top: 1px solid var(--bp-gray-300);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
}

.bp-text-muted {
  color: var(--bp-gray-400);
}

/* Payment methods */
.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wc_payment_methods .wc_payment_method {
  border: 1px solid var(--bp-gray-300);
  border-radius: var(--bp-radius-md);
  padding: 1rem;
  transition: border-color 0.15s;
}

.wc_payment_methods .wc_payment_method label {
  font-weight: 500;
  cursor: pointer;
}

.wc_payment_methods .payment_box {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bp-gray-200);
  font-size: 0.85rem;
  color: var(--bp-gray-600);
}

/* Place order button */
#place_order {
  background: var(--bp-green-dark);
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--bp-radius-md);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--bp-font-primary);
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

#place_order:hover {
  background: var(--bp-green-accent);
}

@media (max-width: 1024px) {
  .bp-checkout__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bp-checkout-steps {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .bp-checkout-steps__line {
    width: 30px;
  }
  .bp-checkout-step__label {
    font-size: 0.75rem;
  }

  .bp-checkout__billing-fields .woocommerce-billing-fields__field-wrapper,
  .bp-checkout__shipping-fields .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .bp-checkout__billing-fields .form-row-wide,
  .bp-checkout__shipping-fields .form-row-wide {
    grid-column: span 1;
  }
}

/* ==========================================================================
   MY ACCOUNT
   ========================================================================== */

/* Account page layout */
.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1;
}

.woocommerce-account .woocommerce {
  display: flex;
  gap: 2.5rem;
  max-width: var(--bp-container-max, 1280px);
  margin: 0 auto;
  padding: 2rem var(--bp-container-padding, 1.5rem);
}

/* Navigation */
.bp-account-nav {
  width: 260px;
  flex-shrink: 0;
}

.bp-account-nav__welcome {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0 0 0.15rem;
}

.bp-account-nav__subtitle {
  font-size: 0.8rem;
  color: var(--bp-gray-500);
  margin: 0 0 1.5rem;
}

.bp-account-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bp-account-nav__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--bp-radius-md);
  font-size: 0.9rem;
  color: var(--bp-gray-600);
  text-decoration: none;
  transition: all 0.15s;
}

.bp-account-nav__link:hover {
  background: var(--bp-gray-100, #f5f5f5);
  color: var(--bp-gray-800);
}

.bp-account-nav__item.is-active .bp-account-nav__link {
  background: var(--bp-green-dark);
  color: white;
  font-weight: 500;
}

.bp-account-nav__icon {
  display: flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bp-account-nav__item.is-active .bp-account-nav__icon svg {
  stroke: white;
}

/* Dashboard content */
.bp-dashboard {
  width: 100%;
}

.bp-dashboard__section {
  margin-bottom: 2.5rem;
}

.bp-dashboard__section-header {
  margin-bottom: 1rem;
}

.bp-dashboard__section-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bp-gray-800);
  margin: 0 0 0.15rem;
}

/* Reorder table */
.bp-dashboard__table-wrap {
  overflow-x: auto;
}

.bp-dashboard__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.bp-dashboard__table th {
  text-align: left;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--bp-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--bp-gray-200);
}

.bp-dashboard__table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--bp-gray-200);
  color: var(--bp-gray-700);
}

.bp-dashboard__order-id a {
  font-weight: 600;
  color: var(--bp-green-dark);
  text-decoration: none;
}

/* ==========================================================================
   Shop / Catalog Page Header
   ========================================================================== */

.post-type-archive-product .entry-header,
.tax-product_cat .entry-header,
.tax-product_tag .entry-header {
  background: linear-gradient(
    135deg,
    var(--bp-green-dark) 0%,
    var(--bp-green-medium) 100%
  );
  color: white;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  border-radius: var(--bp-radius-lg);
  text-align: center;
}

.post-type-archive-product .page-title,
.tax-product_cat .page-title,
.tax-product_tag .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: white;
  letter-spacing: -0.5px;
}

.post-type-archive-product .page-header,
.tax-product_cat .page-header,
.tax-product_tag .page-header {
  margin-bottom: 0;
}

/* ==========================================================================
   My Account / Login Form - Error Message Spacing Fix
   ========================================================================== */

.woocommerce-error,
.woocommerce-notice {
  margin: 0 !important;
  padding: 1rem;
  border-left: 4px solid var(--bp-red);
  background: #fff5f5;
  border-radius: var(--bp-radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 1rem;
  line-height: 1.4;
}

.woocommerce-notices-wrapper {
  position: fixed !important;
  top: 60px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 90% !important;
  max-width: 1200px !important;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.woocommerce-notices-wrapper:empty {
  display: none !important;
}

.woocommerce-form-login {
  margin-top: 0;
}

.bp-login-form-wrap {
  position: relative;
}

.bp-dashboard__order-id a:hover {
  text-decoration: underline;
}

/* Favorites grid */
.bp-dashboard__favorites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.bp-dashboard__fav-card {
  border: 1px solid var(--bp-gray-200);
  border-radius: var(--bp-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.bp-dashboard__fav-card:hover {
  box-shadow: var(--bp-shadow-md);
}

.bp-dashboard__fav-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.bp-dashboard__fav-info {
  padding: 0.75rem;
}

.bp-dashboard__fav-info h4 {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.bp-dashboard__fav-info a {
  color: var(--bp-gray-800);
  text-decoration: none;
}

.bp-dashboard__fav-info a:hover {
  color: var(--bp-green-dark);
}

.bp-dashboard__fav-price {
  font-size: 0.8rem;
  color: var(--bp-gray-600);
}

.bp-dashboard__view-all {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.bp-dashboard__view-all a {
  color: var(--bp-green-dark);
  text-decoration: none;
  font-weight: 500;
}

/* Empty state */
.bp-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--bp-gray-500);
  font-size: 0.9rem;
  background: var(--bp-cream);
  border-radius: var(--bp-radius-lg);
}

.bp-empty-state svg {
  margin-bottom: 0.75rem;
}
.bp-empty-state p {
  margin: 0 0 1rem;
}

@media (max-width: 1024px) {
  .woocommerce-account .woocommerce {
    flex-direction: column;
  }
  .bp-account-nav {
    width: 100%;
  }
  .bp-account-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .bp-dashboard__favorites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bp-dashboard__favorites-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bp-account-nav__link {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}
