/* Bigstore V9: Enhanced spacing, auto-rotate products, carousel auto-move. */

/* ──────────────────────────────────────────────
   1. INCREASED SPACING BETWEEN PRODUCT CARDS
   ────────────────────────────────────────────── */

/* Showcase pane grids (inside category sections) */
body.bigstore-luxe-ui .bigstore-homepage .bigstore-showcase-pane ul.products {
  gap: clamp(16px, 2vw, 24px) clamp(12px, 1.5vw, 18px) !important;
}

/* Bestsellers + New Arrivals grids */
body.bigstore-luxe-ui .bigstore-homepage .bigstore-home-products ul.products {
  gap: clamp(16px, 2vw, 24px) clamp(12px, 1.5vw, 18px) !important;
}

/* Archive / Shop pages */
body.bigstore-luxe-ui.woocommerce-shop ul.products,
body.bigstore-luxe-ui.post-type-archive-product ul.products,
body.bigstore-luxe-ui.tax-product_cat ul.products {
  gap: clamp(16px, 2vw, 24px) clamp(12px, 1.5vw, 18px) !important;
}

/* ──────────────────────────────────────────────
   2. BANNER & SECTION SEPARATION
   ────────────────────────────────────────────── */

/* More breathing room between showcase sections */
body.bigstore-luxe-ui .bigstore-home-showcase+.bigstore-home-showcase {
  margin-top: clamp(16px, 2vw, 28px) !important;
}

/* Panorama banner spacing */
body.bigstore-luxe-ui .bigstore-home-panorama {
  margin-top: clamp(18px, 2.4vw, 32px) !important;
  margin-bottom: clamp(18px, 2.4vw, 32px) !important;
}

/* Bestsellers section top spacing */
body.bigstore-luxe-ui #bigstore-bestsellers {
  margin-top: clamp(14px, 1.8vw, 24px) !important;
}

/* ──────────────────────────────────────────────
   3. PRODUCT CARD AUTO-ROTATE TRANSITION
   ────────────────────────────────────────────── */

/* Fade-in animation for product rotation */
@keyframes bigstoreProductFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bigstoreProductPulse {

  0%,
  100% {
    box-shadow: 0 14px 34px rgba(42, 29, 21, 0.06);
  }

  50% {
    box-shadow: 0 18px 42px rgba(185, 132, 64, 0.14);
  }
}

/* Class applied dynamically by JS when a product card rotates */
body.bigstore-luxe-ui .products .product.is-rotating-in .product-wrapper {
  animation: bigstoreProductFadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

body.bigstore-luxe-ui .products .product.is-rotating-out .product-wrapper {
  opacity: 0 !important;
  transform: translateY(-10px) scale(0.97) !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
}

/* Subtle shimmer on the new card */
body.bigstore-luxe-ui .products .product.is-new-arrival .product-wrapper {
  animation: bigstoreProductPulse 2.2s ease-in-out 1 !important;
}

/* ──────────────────────────────────────────────
   4. CAROUSEL AUTO-MOVE PRODUCT SECTIONS
   ────────────────────────────────────────────── */

/* Carousel wrapper for product sections */
body.bigstore-luxe-ui .bigstore-product-carousel-wrap {
  position: relative;
  overflow: hidden;
}

body.bigstore-luxe-ui .bigstore-product-carousel-wrap .slick-track {
  display: flex !important;
  align-items: stretch;
}

body.bigstore-luxe-ui .bigstore-product-carousel-wrap .slick-slide {
  padding: 0 clamp(10px, 1.2vw, 16px);
  height: auto !important;
}

body.bigstore-luxe-ui .bigstore-product-carousel-wrap .slick-slide>div {
  height: 100%;
}

body.bigstore-luxe-ui .bigstore-product-carousel-wrap .slick-slide li.product {
  height: 100%;
}

body.bigstore-luxe-ui .bigstore-product-carousel-wrap .slick-slide li.product .product-wrapper {
  height: 100% !important;
}

/* Carousel navigation arrows for product sections */
body.bigstore-luxe-ui .bigstore-product-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(18px, 2.4vw, 28px);
}

body.bigstore-luxe-ui .bigstore-product-carousel-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(42, 29, 21, 0.12);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.94);
  color: var(--bigstore-v8-ink);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 6px 16px rgba(42, 29, 21, 0.08);
}

body.bigstore-luxe-ui .bigstore-product-carousel-nav button:hover {
  background: var(--bigstore-v8-ink);
  color: #fffdf9;
  border-color: var(--bigstore-v8-ink);
  box-shadow: 0 8px 24px rgba(42, 29, 21, 0.16);
  transform: scale(1.08);
}

/* Progress indicator dots for carousel sections */
body.bigstore-luxe-ui .bigstore-product-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: clamp(12px, 1.6vw, 20px);
}

body.bigstore-luxe-ui .bigstore-product-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 29, 21, 0.14);
  transition: all 0.3s ease;
}

body.bigstore-luxe-ui .bigstore-product-carousel-dots span.is-active {
  width: 24px;
  background: var(--bigstore-v8-ink);
}

/* ──────────────────────────────────────────────
   5. AUTO-ROTATE TIMER INDICATOR
   ────────────────────────────────────────────── */

body.bigstore-luxe-ui .bigstore-rotate-indicator {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  z-index: 10;
  pointer-events: none;
}

body.bigstore-luxe-ui .bigstore-rotate-indicator svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

body.bigstore-luxe-ui .bigstore-rotate-indicator circle {
  fill: none;
  stroke-width: 2.5;
}

body.bigstore-luxe-ui .bigstore-rotate-indicator .bigstore-rotate-bg {
  stroke: rgba(42, 29, 21, 0.08);
}

body.bigstore-luxe-ui .bigstore-rotate-indicator .bigstore-rotate-progress {
  stroke: rgba(185, 132, 64, 0.65);
  stroke-dasharray: 75.4;
  stroke-dashoffset: 75.4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s linear;
}

@keyframes bigstoreRotateCountdown {
  from {
    stroke-dashoffset: 75.4;
  }

  to {
    stroke-dashoffset: 0;
  }
}

body.bigstore-luxe-ui .bigstore-rotate-indicator.is-counting .bigstore-rotate-progress {
  animation: bigstoreRotateCountdown 10s linear forwards;
}

/* ──────────────────────────────────────────────
   6. RESPONSIVE ADJUSTMENTS
   ────────────────────────────────────────────── */

@media (max-width: 991px) {
  body.bigstore-luxe-ui .bigstore-homepage .bigstore-showcase-pane ul.products {
    gap: clamp(14px, 1.8vw, 20px) clamp(10px, 1.2vw, 16px) !important;
  }

  body.bigstore-luxe-ui .bigstore-homepage .bigstore-home-products ul.products {
    gap: clamp(14px, 1.8vw, 20px) clamp(10px, 1.2vw, 16px) !important;
  }

  body.bigstore-luxe-ui .bigstore-product-carousel-wrap .slick-slide {
    padding: 0 8px;
  }
}

@media (max-width: 767px) {

  body.bigstore-luxe-ui .bigstore-homepage .bigstore-showcase-pane ul.products,
  body.bigstore-luxe-ui .bigstore-homepage .bigstore-home-products ul.products {
    gap: 12px 10px !important;
  }

  body.bigstore-luxe-ui .bigstore-product-carousel-nav button {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  body.bigstore-luxe-ui .bigstore-product-carousel-wrap .slick-slide {
    padding: 0 6px;
  }
}

@media (max-width: 420px) {

  body.bigstore-luxe-ui .bigstore-homepage .bigstore-showcase-pane ul.products,
  body.bigstore-luxe-ui .bigstore-homepage .bigstore-home-products ul.products {
    gap: 12px 8px !important;
  }
}

/* ──────────────────────────────────────────────
   7. LUXURY PRODUCT CARD OVERHAUL
   ────────────────────────────────────────────── */

body.bigstore-luxe-ui .products .product .product-wrapper {
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  padding-bottom: 15px !important;
}

body.bigstore-luxe-ui .products .product .product-wrapper:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-4px) !important;
}

body.bigstore-luxe-ui .products .product .product-image {
  border-radius: 12px 12px 0 0 !important;
  overflow: hidden !important;
  margin-bottom: 12px !important;
}

body.bigstore-luxe-ui .products .product .product-image img {
  transition: transform 0.6s ease !important;
}

body.bigstore-luxe-ui .products .product:hover .product-image img {
  transform: scale(1.05) !important;
}

body.bigstore-luxe-ui .products .product .woocommerce-loop-product__title {
  font-size: clamp(14px, 1.2vw, 16px) !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  text-align: center !important;
  margin: 0 12px 6px !important;
  line-height: 1.4 !important;
}

body.bigstore-luxe-ui .products .product .price {
  font-size: clamp(15px, 1.3vw, 17px) !important;
  font-weight: 700 !important;
  color: #b98440 !important;
  text-align: center !important;
  display: block !important;
  margin: 0 12px 12px !important;
}

body.bigstore-luxe-ui .products .product .button.add_to_cart_button {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  display: table !important;
  margin: 0 auto !important;
  border: none !important;
}

body.bigstore-luxe-ui .products .product .button.add_to_cart_button:hover {
  background: #b98440 !important;
  color: #ffffff !important;
  transform: scale(1.02) !important;
}

/* ──────────────────────────────────────────────
   8. LUXURY BANNER ENHANCEMENTS
   ────────────────────────────────────────────── */

body.bigstore-luxe-ui .bigstore-home-panorama,
body.bigstore-luxe-ui .bigstore-banner-wrapper {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
}

body.bigstore-luxe-ui .bigstore-home-panorama img,
body.bigstore-luxe-ui .bigstore-banner-wrapper img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 767px) {

  body.bigstore-luxe-ui .bigstore-home-panorama img,
  body.bigstore-luxe-ui .bigstore-banner-wrapper img {
    min-height: 200px !important;
  }
}

/* ──────────────────────────────────────────────
   9. BANNER LAYOUT FIX (Desktop & Mobile)
   ────────────────────────────────────────────── */

/* Desktop: Make the vertical banner slimmer so products have more room */
@media (min-width: 992px) {
  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-vertical .bigstore-home-showcase__grid {
    display: grid !important;
    grid-template-columns: 240px 1fr !important;
    align-items: stretch !important;
    gap: 24px !important;
  }

  /* When the layout is reversed, the banner moves to the 2nd column, so the columns must be swapped */
  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-vertical.is-reverse .bigstore-home-showcase__grid {
    grid-template-columns: 1fr 240px !important;
  }

  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-vertical .bigstore-home-showcase__story {
    width: 100% !important;
    aspect-ratio: auto !important;
    min-height: 100% !important;
    border-radius: 14px 0 0 14px !important;
  }
}

/* Mobile & Tablet: Stack banner on top, products full width below */
@media (max-width: 991px) {

  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-vertical .bigstore-home-showcase__grid,
  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-horizontal .bigstore-home-showcase__grid {
    display: flex !important;
    flex-direction: column !important;
  }

  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-vertical .bigstore-home-showcase__story,
  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-horizontal .bigstore-home-showcase__story {
    width: 100% !important;
    aspect-ratio: 21 / 9 !important;
    min-height: 180px !important;
    max-height: 250px !important;
    margin-bottom: 20px !important;
    border-radius: 14px !important;
  }

  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-vertical .bigstore-home-showcase__products,
  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-horizontal .bigstore-home-showcase__products {
    width: 100% !important;
  }
}

@media (max-width: 767px) {

  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-vertical .bigstore-home-showcase__story,
  body.bigstore-luxe-ui .bigstore-home-showcase.is-banner-horizontal .bigstore-home-showcase__story {
    aspect-ratio: 16 / 9 !important;
    min-height: 140px !important;
    max-height: 200px !important;
    margin-bottom: 16px !important;
  }
}

/* ──────────────────────────────────────────────
   11. DEPARTMENTS / SPOTLIGHT DESIGN FIX
   ────────────────────────────────────────────── */

body.bigstore-luxe-ui .bigstore-home-spotlight .bigstore-spotlight-card {
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  transform: translateY(0) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

body.bigstore-luxe-ui .bigstore-home-spotlight .bigstore-spotlight-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

body.bigstore-luxe-ui .bigstore-home-spotlight .bigstore-spotlight-card__media {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  background: #fcfcfc !important;
  padding: 0 !important;
  height: auto !important;
}

body.bigstore-luxe-ui .bigstore-home-spotlight .bigstore-spotlight-card__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.bigstore-luxe-ui .bigstore-home-spotlight .bigstore-spotlight-card__veil {
  display: none !important;
}

body.bigstore-luxe-ui .bigstore-home-spotlight .bigstore-spotlight-card__panel {
  position: relative !important;
  inset: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 18px 12px !important;
  text-align: center !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.bigstore-luxe-ui .bigstore-home-spotlight .bigstore-spotlight-card__panel h3 {
  margin: 0 !important;
}

body.bigstore-luxe-ui .bigstore-home-spotlight .bigstore-spotlight-card__panel h3 a {
  color: #1a1a1a !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.3px !important;
}

/* ──────────────────────────────────────────────
   12. MINI CART SIDEBAR (LUXE DESIGN)
   ────────────────────────────────────────────── */
body.bigstore-luxe-ui .kapee-minicart-slide {
  border-radius: 24px 0 0 24px !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08) !important;
}

body.bigstore-luxe-ui .kapee-minicart-slide .cart-popup-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 24px !important;
}

body.bigstore-luxe-ui .kapee-minicart-slide .cart-popup-header h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

body.bigstore-luxe-ui .widget_shopping_cart_content {
  background: #fdfdfc !important;
}

body.bigstore-luxe-ui .woocommerce-mini-cart-item {
  background: #ffffff !important;
  border-radius: 12px !important;
  margin: 16px !important;
  padding: 16px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.2s ease !important;
}

body.bigstore-luxe-ui .woocommerce-mini-cart-item:hover {
  transform: translateX(-4px) !important;
}

body.bigstore-luxe-ui .woocommerce-mini-cart-item img {
  border-radius: 8px !important;
}

body.bigstore-luxe-ui .woocommerce-mini-cart__total {
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 24px !important;
}

body.bigstore-luxe-ui .woocommerce-mini-cart__buttons a {
  border-radius: 50px !important;
  padding: 14px 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

/* ──────────────────────────────────────────────
   16. ACCOUNT / LOGIN PAGE REDESIGN (FULL POPUP & 3D FLIP)
   ────────────────────────────────────────────── */
body.woocommerce-account .kapee-page-title {
  display: none !important;
}
/* Restored header/footer in v10 as well */

body.woocommerce-account #main {
  background: #fdfdfd !important;
  min-height: 500px !important;
  padding: 50px 0 !important;
}

body.woocommerce-account .kapee-login-signup {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  position: relative !important;
  perspective: 2000px !important;
  min-height: 700px !important;
}

body.woocommerce-account .customer-login,
body.woocommerce-account .customer-signup {
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  overflow: hidden !important;

  /* 3D Flip Properties */
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  backface-visibility: hidden !important;
  transform-style: preserve-3d !important;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.8s ease !important;
  opacity: 1 !important;
}

/* Default state: Login is front, Signup is back */
body.woocommerce-account .customer-login {
  transform: rotateY(0deg) !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

body.woocommerce-account .customer-signup {
  transform: rotateY(-180deg) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Flipped state */
body.woocommerce-account .kapee-login-signup.show-signup .customer-login {
  transform: rotateY(180deg) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

body.woocommerce-account .kapee-login-signup.show-signup .customer-signup {
  transform: rotateY(0deg) !important;
  z-index: 2 !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

body.woocommerce-account .customer-login-left,
body.woocommerce-account .customer-signup-left {
  flex: 1 1 45% !important;
  padding: 80px 60px !important;
  background: linear-gradient(135deg, #111111 0%, #2a2a2a 100%) !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

body.woocommerce-account .customer-signup-left {
  background: linear-gradient(135deg, #2a2a2a 0%, #111111 100%) !important;
  /* Slightly different for flavor */
}

body.woocommerce-account .customer-login-left h2,
body.woocommerce-account .customer-signup-left h2 {
  color: #ffffff !important;
  font-size: 40px !important;
  margin-bottom: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
}

body.woocommerce-account .customer-login-left p,
body.woocommerce-account .customer-signup-left p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

body.woocommerce-account .customer-login-right,
body.woocommerce-account .customer-signup-right {
  flex: 1 1 55% !important;
  padding: 80px 80px !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

body.woocommerce-account .woocommerce-form label {
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
  display: block !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body.woocommerce-account .woocommerce-form input.input-text {
  border: 2px solid #f0f0f0 !important;
  background: #fcfcfc !important;
  border-radius: 12px !important;
  padding: 18px 24px !important;
  width: 100% !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  color: #1a1a1a !important;
}

body.woocommerce-account .woocommerce-form input.input-text:focus {
  background: #ffffff !important;
  border-color: #1a1a1a !important;
  box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.06) !important;
}

body.woocommerce-account .woocommerce-form button[type="submit"] {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 20px 40px !important;
  width: 100% !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin-top: 16px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

body.woocommerce-account .woocommerce-form button[type="submit"]:hover {
  background: #000000 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 35px rgba(26, 26, 26, 0.25) !important;
}

body.woocommerce-account .woocommerce-new-signup {
  margin-top: 40px !important;
  text-align: center !important;
  border-top: 2px solid #f5f5f5 !important;
  padding-top: 40px !important;
}

body.woocommerce-account .woocommerce-new-signup a.button,
body.woocommerce-account .woocommerce-new-signup a.new-signup,
body.woocommerce-account .woocommerce-new-signup a.user-signin {
  background: transparent !important;
  color: #1a1a1a !important;
  border: 2px solid #1a1a1a !important;
  border-radius: 50px !important;
  padding: 18px 40px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  text-decoration: none !important;
  width: 100% !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body.woocommerce-account .woocommerce-new-signup a.button:hover,
body.woocommerce-account .woocommerce-new-signup a.new-signup:hover,
body.woocommerce-account .woocommerce-new-signup a.user-signin:hover {
  background: #1a1a1a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(26, 26, 26, 0.15) !important;
}

body.woocommerce-account .woocommerce-LostPassword {
  display: block !important;
  text-align: right !important;
  margin-top: 12px !important;
  font-size: 14px !important;
  color: #666666 !important;
  text-decoration: underline !important;
}

body.woocommerce-account .woocommerce-LostPassword:hover {
  color: #1a1a1a !important;
}

@media (max-width: 768px) {
  body.woocommerce-account .kapee-login-signup {
    min-height: 850px !important;
  }

  body.woocommerce-account .customer-login,
  body.woocommerce-account .customer-signup {
    flex-direction: column !important;
  }

  body.woocommerce-account .customer-login-left,
  body.woocommerce-account .customer-signup-left {
    flex: 1 1 auto !important;
    padding: 60px 40px !important;
    text-align: center !important;
  }

  body.woocommerce-account .customer-login-right,
  body.woocommerce-account .customer-signup-right {
    flex: 1 1 auto !important;
    padding: 60px 40px !important;
  }
}

/* ──────────────────────────────────────────────
   17. CART PAGE REDESIGN
   ────────────────────────────────────────────── */
body.woocommerce-cart .kapee-page-title {
  background: #fdfdfc !important;
  padding: 80px 0 40px !important;
  border: none !important;
}

body.woocommerce-cart .kapee-page-title h1 {
  font-size: 48px !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
  color: #1a1a1a !important;
}

body.woocommerce-cart #main {
  background: #fdfdfc !important;
  padding-bottom: 120px !important;
}

body.woocommerce-cart table.shop_table.cart {
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-bottom: 40px !important;
}

body.woocommerce-cart table.shop_table.cart th {
  background: #fafafa !important;
  color: #666666 !important;
  font-weight: 700 !important;
  padding: 24px 40px !important;
  border-bottom: 2px solid #f0f0f0 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 13px !important;
}

body.woocommerce-cart table.shop_table.cart td {
  padding: 40px !important;
  border-bottom: 1px solid #f5f5f5 !important;
  vertical-align: middle !important;
}

body.woocommerce-cart table.shop_table.cart tr:last-child td {
  border-bottom: none !important;
}

body.woocommerce-cart table.shop_table.cart img {
  border-radius: 16px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  width: 120px !important;
  height: auto !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  padding: 60px !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-size: 28px !important;
  font-weight: 800 !important;
  margin-bottom: 30px !important;
  border-bottom: 2px solid #f0f0f0 !important;
  padding-bottom: 24px !important;
  color: #1a1a1a !important;
  letter-spacing: -0.5px !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 24px 40px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  width: 100% !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 35px rgba(26, 26, 26, 0.25) !important;
  background: #000000 !important;
}

/* ──────────────────────────────────────────────
   18. WISHLIST PAGE REDESIGN
   ────────────────────────────────────────────── */
body.woocommerce-wishlist .kapee-page-title {
  background: #fdfdfc !important;
  padding: 80px 0 40px !important;
  border: none !important;
}

body.woocommerce-wishlist .kapee-page-title h1 {
  font-size: 48px !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
  color: #1a1a1a !important;
}

body.woocommerce-wishlist #main {
  background: #fdfdfc !important;
  padding-bottom: 120px !important;
}

body.woocommerce-wishlist .yith-wcwl-form {
  background: #ffffff !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  padding: 60px !important;
  overflow: hidden !important;
}

body.woocommerce-wishlist table.wishlist_table {
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.woocommerce-wishlist table.wishlist_table thead th {
  background: #fafafa !important;
  color: #666666 !important;
  font-weight: 700 !important;
  padding: 24px 40px !important;
  border-bottom: 2px solid #f0f0f0 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 13px !important;
}

body.woocommerce-wishlist table.wishlist_table tbody td {
  padding: 40px !important;
  border-bottom: 1px solid #f5f5f5 !important;
  vertical-align: middle !important;
}

body.woocommerce-wishlist table.wishlist_table tbody tr:last-child td {
  border-bottom: none !important;
}

body.woocommerce-wishlist table.wishlist_table .product-thumbnail img {
  border-radius: 16px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  width: 120px !important;
  height: auto !important;
}

body.woocommerce-wishlist table.wishlist_table .product-name a {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
}

body.woocommerce-wishlist table.wishlist_table .product-price {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

body.woocommerce-wishlist .add_to_cart_button,
body.woocommerce-wishlist .product-add-to-cart a.button {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 18px 40px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  border: none !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

body.woocommerce-wishlist .add_to_cart_button:hover,
body.woocommerce-wishlist .product-add-to-cart a.button:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 35px rgba(26, 26, 26, 0.25) !important;
  background: #000000 !important;
}

/* ──────────────────────────────────────────────
   19. LUXE FLOATING DOCK (FAB) & HEADER MODS
   ────────────────────────────────────────────── */
/* Hide old header icons to force usage of the new Dock */
.site-header .header-cart,
.site-header .header-wishlist {
  display: none !important;
}

.luxe-floating-menu {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
}

.luxe-fm-trigger {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid rgba(255, 255, 255, 0.4);
  background-clip: padding-box;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  transition: all 0.3s ease;
}

.luxe-fm-trigger:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.luxe-fm-trigger img.icon-open {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: contain;
  padding: 4px;
  /* Space inside the white background */
}

/* Hide the close icon since we use hover now, but keep it in DOM just in case */
.luxe-fm-trigger .icon-close,
.luxe-fm-trigger svg.icon-close {
  display: none !important;
}

.luxe-fm-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.luxe-fm-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  margin-left: -24px;
  border-radius: 50%;
  background: #ffffff;
  color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(0, 0) scale(0.3);
  text-decoration: none !important;
}

/* Specific positions for Arc Menu */
.luxe-fm-item.fm-whatsapp {
  --x: -80px;
  --y: 5px;
  color: #25D366;
}

.luxe-fm-item.fm-wishlist {
  --x: -65px;
  --y: -65px;
}

.luxe-fm-item.fm-cart {
  --x: 5px;
  --y: -80px;
}

/* Show on Hover or is-open */
.luxe-floating-menu:hover .luxe-fm-item,
.luxe-floating-menu.is-open .luxe-fm-item {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(var(--x), var(--y)) scale(1);
}

.luxe-floating-menu:hover .luxe-fm-item:nth-child(1),
.luxe-floating-menu.is-open .luxe-fm-item:nth-child(1) {
  transition-delay: 0.05s;
}

.luxe-floating-menu:hover .luxe-fm-item:nth-child(2),
.luxe-floating-menu.is-open .luxe-fm-item:nth-child(2) {
  transition-delay: 0.1s;
}

.luxe-floating-menu:hover .luxe-fm-item:nth-child(3),
.luxe-floating-menu.is-open .luxe-fm-item:nth-child(3) {
  transition-delay: 0.15s;
}

.luxe-fm-item:hover {
  transform: translate(var(--x), var(--y)) scale(1.15) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  background: #1a1a1a;
  color: #ffffff;
}

.luxe-fm-item.fm-whatsapp:hover {
  background: #25D366;
  color: #ffffff;
}

/* Trigger button inside the dock */
.luxe-fm-trigger {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.luxe-fm-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.luxe-fm-trigger svg {
  position: absolute;
  transition: all 0.3s ease;
}

.luxe-fm-trigger .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.luxe-floating-menu.is-open .luxe-fm-trigger .icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.luxe-floating-menu.is-open .luxe-fm-trigger .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Tooltips */
.luxe-fm-item::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  background: #1a1a1a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.luxe-fm-item:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .luxe-floating-menu {
    bottom: 20px;
    right: 20px;
  }
}