/* ============================================================================
 * FASHION VERSE — WOOCOMMERCE, SINGLE PRODUCT GALLERY, BUY NOW, CHECKOUT & BDT (৳)
 * ============================================================================ */

/* Crisp, Legible Bangladesh Taka (৳) & Price Formatting Across All Templates */
.woocommerce-Price-amount,
.fv-price,
.price {
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.woocommerce-Price-currencySymbol,
.fv-taka-symbol {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.96em !important;
  line-height: 1;
  margin-right: 2px;
  display: inline-block;
}

@keyframes fvCartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

.fv-cart-pulse {
  animation: fvCartPulse 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Sale Price Strike-through & Highlight (Single Product, Cards, Mobile Bar) */
.fv-product-card del,
.fv-sp-price del,
.fv-mobile-sticky-amount del,
.summary del,
.price del {
  text-decoration: line-through !important;
  text-decoration-thickness: 1.5px !important;
  color: rgba(32, 23, 26, 0.42) !important;
  font-size: 0.74em !important;
  margin-right: 0.45rem;
  font-weight: 500 !important;
}

.fv-product-card del .woocommerce-Price-amount,
.fv-sp-price del .woocommerce-Price-amount,
.fv-mobile-sticky-amount del .woocommerce-Price-amount,
.summary del .woocommerce-Price-amount,
.price del .woocommerce-Price-amount {
  font-weight: 500 !important;
  color: rgba(32, 23, 26, 0.42) !important;
  text-decoration: line-through !important;
}

.fv-product-card ins,
.fv-sp-price ins,
.fv-mobile-sticky-amount ins,
.summary ins,
.price ins {
  text-decoration: none !important;
  color: #64152F !important;
  font-weight: 700 !important;
}

.fv-sp-save-pill {
  display: inline-flex;
  align-items: center;
  background-color: rgba(169, 35, 80, 0.12);
  color: #A92350;
  border: 1px solid rgba(169, 35, 80, 0.28);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.65rem;
}

/* ============================================================================
 * SINGLE PRODUCT PAGE — COMPACT INTERACTIVE GALLERY & BALANCED SPLIT LAYOUT
 * ============================================================================ */
.fv-sp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .fv-sp-layout {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .fv-sp-layout {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.fv-sp-gallery-col {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.fv-sp-main-stage {
  position: relative;
  width: 100%;
  height: min(var(--fv-sp-stage-max-h, 500px), 68vh);
  background-color: #FAF4EC;
  border: 1px solid rgba(201, 154, 69, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 639px) {
  .fv-sp-main-stage {
    height: min(380px, 56vh);
  }
}

.fv-sp-main-img {
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
  cursor: zoom-in;
}

.fv-sp-main-img.fv-fit-contain {
  object-fit: contain;
  padding: 6px;
}

.fv-sp-main-img.fv-fit-cover {
  object-fit: cover;
  object-position: top center;
}

.fv-sp-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  background-color: #64152F;
  color: #FFF8F3;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.3rem 0.7rem;
}

.fv-sp-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 248, 243, 0.92);
  border: 1px solid rgba(201, 154, 69, 0.45);
  color: #20171A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fv-sp-zoom-btn:hover {
  background-color: #64152F;
  color: #FFF8F3;
  border-color: #64152F;
}

.fv-sp-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 248, 243, 0.9);
  border: 1px solid rgba(201, 154, 69, 0.45);
  color: #20171A;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fv-sp-nav-arrow:hover {
  background-color: #64152F;
  color: #FFF8F3;
}

.fv-sp-prev { left: 10px; }
.fv-sp-next { right: 10px; }

.fv-sp-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  background-color: rgba(32, 23, 26, 0.78);
  color: #FFF8F3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
}

/* Clickable Horizontal Thumbnail Gallery Strip */
.fv-sp-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #C99A45 transparent;
}

.fv-thumb-btn {
  flex: 0 0 auto;
  width: 68px;
  height: 80px;
  padding: 2px;
  border: 2px solid rgba(201, 154, 69, 0.3);
  background-color: #FAF4EC;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.72;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .fv-thumb-btn {
    width: 76px;
    height: 90px;
  }
}

.fv-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.fv-thumb-btn:hover {
  opacity: 1;
  border-color: #C99A45;
}

.fv-thumb-btn.is-active {
  opacity: 1;
  border-color: #64152F;
  box-shadow: 0 4px 12px rgba(100, 21, 47, 0.16);
}

/* Balanced Short Description */
.fv-sp-short-desc {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  background-color: #FAF4EC;
  border-left: 3px solid #C99A45;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(32, 23, 26, 0.84);
}

.fv-sp-short-desc p:last-child {
  margin-bottom: 0;
}

/* Direct Buy Now Button */
.fv-buy-now-btn {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  background-color: #20171A;
  color: #FFF8F3 !important;
  border: 1px solid #C99A45;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fv-buy-now-btn:hover {
  opacity: 0.92;
  box-shadow: 0 10px 24px rgba(32, 23, 26, 0.2);
}

.fv-buy-now-btn.is-loading {
  opacity: 0.75;
  cursor: wait;
}

/* Trust Micro-Highlights */
.fv-sp-trust-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background-color: #FAF4EC;
  border: 1px solid rgba(201, 154, 69, 0.3);
}

@media (min-width: 640px) {
  .fv-sp-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fv-sp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(32, 23, 26, 0.8);
}

.fv-sp-trust-dot {
  color: #64152F;
  font-weight: 800;
}

/* Full-Width Balanced Description & Info Tabs */
.fv-sp-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(201, 154, 69, 0.3);
  margin-bottom: 1.5rem;
}

.fv-tab-trigger {
  padding: 0.75rem 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(32, 23, 26, 0.55);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fv-tab-trigger:hover {
  color: #64152F;
}

.fv-tab-trigger.is-active {
  color: #64152F;
  border-bottom-color: #64152F;
}

.fv-sp-tab-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(32, 23, 26, 0.82);
  max-width: 860px;
}

.fv-product-description p {
  margin-bottom: 0.9rem;
}

.fv-product-description ul,
.fv-product-description ol {
  margin: 0.75rem 0 1rem 1.25rem;
  list-style: disc;
}

.fv-product-description ol {
  list-style: decimal;
}

.fv-product-description li {
  margin-bottom: 0.35rem;
}

.fv-product-description h2,
.fv-product-description h3,
.fv-product-description h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #20171A;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 1.15rem 0 0.5rem;
}

/* ============================================================================
 * SIZE GUIDE & LIGHTBOX MODALS (Portal-Grade Z-Index & Pinned Close Button)
 * ============================================================================ */
.fv-modal-overlay,
.fv-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background-color: rgba(18, 12, 14, 0.82);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fv-modal-card {
  position: relative;
  width: 100%;
  max-height: 90dvh;
  overflow-y: auto;
  background-color: #FFF8F3;
  border: 1px solid #C99A45;
  padding: 1.5rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.fv-modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(100, 21, 47, 0.28);
  background-color: #FAF4EC;
  color: #20171A;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fv-modal-close-btn:hover {
  background-color: #64152F;
  color: #FFF8F3;
}

.fv-lightbox-stage {
  max-width: 92vw;
  max-height: 88dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv-lightbox-stage img {
  max-width: 90vw;
  max-height: 85dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(201, 154, 69, 0.45);
  background-color: #FFF8F3;
}

.fv-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background-color: rgba(32, 23, 26, 0.85);
  color: #FFF8F3;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fv-lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(32, 23, 26, 0.82);
  color: #FFF8F3;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fv-lightbox-prev { left: 16px; }
.fv-lightbox-next { right: 16px; }

/* ============================================================================
 * STICKY MOBILE BOTTOM ORDER BAR (Single Product < 768px)
 * ============================================================================ */
.fv-mobile-sticky-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  background-color: #FFF8F3;
  border-top: 1.5px solid #C99A45;
  box-shadow: 0 -8px 26px rgba(32, 23, 26, 0.14);
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.fv-mobile-sticky-price {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fv-mobile-sticky-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(32, 23, 26, 0.55);
  font-weight: 700;
}

.fv-mobile-sticky-amount {
  font-size: 0.95rem;
  color: #64152F;
  font-weight: 700;
  white-space: nowrap;
}

.fv-mobile-sticky-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.fv-mobile-btn-cart,
.fv-mobile-btn-buy {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.fv-mobile-btn-cart {
  background-color: #64152F;
  color: #FFF8F3;
}

.fv-mobile-btn-buy {
  background-color: #20171A;
  color: #FFF8F3;
  border: 1px solid #C99A45;
}

@media (max-width: 767px) {
  body.single-product {
    padding-bottom: 76px;
  }
}

@media (min-width: 768px) {
  .fv-mobile-sticky-bar {
    display: none !important;
  }
}

/* Native Variable Product Form (variations_form) */
form.cart table.variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.15rem;
}

form.cart table.variations tr {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
}

form.cart table.variations td.label label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #20171A;
  display: block;
  margin-bottom: 0.4rem;
}

form.cart table.variations select {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.95rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 154, 69, 0.5);
  color: #20171A;
  font-size: 0.9rem;
}

/* Quantity + Add to Cart Button Row */
form.cart .woocommerce-variation-add-to-cart,
form.cart:not(.variations_form) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

form.cart .quantity input.qty {
  width: 4.5rem;
  height: 100%;
  min-height: 50px;
  text-align: center;
  border: 1px solid rgba(201, 154, 69, 0.5);
  background: #FFFFFF;
  font-weight: 600;
}

form.cart .single_add_to_cart_button {
  flex: 1;
  min-height: 50px;
  background-color: #64152F !important;
  color: #FFF8F3 !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.95rem 1.5rem !important;
  border: none;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

form.cart .single_add_to_cart_button:hover {
  background-color: #A92350 !important;
}

/* ============================================================================
 * HEADER DROPDOWN MINI-CART & FLOATING STICKY CART PILL (v1.4.0)
 * ============================================================================ */
.fv-header-cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.fv-header-cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 356px;
  max-width: calc(100vw - 24px);
  background-color: #FFF8F3;
  border: 1px solid rgba(201, 154, 69, 0.55);
  border-top: 3px solid #64152F;
  box-shadow: 0 24px 60px rgba(32, 23, 26, 0.2);
  z-index: 9995;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.fv-header-cart-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

@media (hover: hover) and (min-width: 1024px) {
  .fv-header-cart-wrap:hover .fv-header-cart-dropdown,
  .fv-header-cart-wrap:focus-within .fv-header-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.fv-header-cart-wrap.is-dropdown-open .fv-header-cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.fv-dd-cart-inner {
  display: flex;
  flex-direction: column;
}

.fv-dd-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem;
  background-color: #F7EFE6;
  border-bottom: 1px solid rgba(201, 154, 69, 0.32);
}

.fv-dd-cart-head > div {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.fv-dd-cart-title {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #20171A;
  letter-spacing: 0.02em;
}

.fv-dd-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: #64152F;
  color: #FFF8F3;
  font-size: 10px;
  font-weight: 700;
}

.fv-dd-cart-expand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64152F;
  background: transparent;
  border: none;
  cursor: pointer;
}

.fv-dd-cart-expand:hover {
  color: #A92350;
  text-decoration: underline;
}

.fv-dd-cart-empty {
  padding: 1.75rem 1.15rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.fv-dd-cart-empty p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(32, 23, 26, 0.68);
}

.fv-dd-cart-list {
  max-height: 265px;
  overflow-y: auto;
  padding: 0.35rem 1.05rem;
}

.fv-dd-cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(201, 154, 69, 0.22);
}

.fv-dd-cart-item:last-child {
  border-bottom: none;
}

.fv-dd-cart-thumb {
  width: 48px;
  height: 60px;
  object-fit: cover;
  background-color: #F7EFE6;
  border: 1px solid rgba(201, 154, 69, 0.32);
  flex-shrink: 0;
}

.fv-dd-cart-meta {
  flex: 1;
  min-width: 0;
}

.fv-dd-cart-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #20171A;
  margin: 0 0 0.35rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fv-dd-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.fv-dd-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 154, 69, 0.45);
  background-color: #FFFFFF;
}

.fv-dd-qty button {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: #20171A;
  cursor: pointer;
}

.fv-dd-qty button:hover {
  background-color: #64152F;
  color: #FFF8F3;
}

.fv-dd-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #20171A;
}

.fv-dd-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64152F;
  white-space: nowrap;
}

.fv-dd-remove {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: rgba(32, 23, 26, 0.45);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.fv-dd-remove:hover {
  color: #A92350;
}

.fv-dd-cart-foot {
  padding: 0.9rem 1.05rem 1.05rem;
  background-color: #F7EFE6;
  border-top: 1px solid rgba(201, 154, 69, 0.32);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fv-dd-cart-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.fv-dd-cart-subtotal span {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(32, 23, 26, 0.7);
}

.fv-dd-cart-subtotal strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #64152F;
}

.fv-dd-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 1rem;
  background-color: #64152F;
  color: #FFF8F3 !important;
  border: 1px solid #C99A45;
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.fv-dd-btn-checkout:hover {
  background-color: #A92350;
}

.fv-dd-btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 0.5rem 0.85rem;
  background-color: #FFFFFF;
  color: #20171A !important;
  border: 1px solid rgba(32, 23, 26, 0.25);
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.fv-dd-btn-cart:hover {
  background-color: #20171A;
  color: #FFF8F3 !important;
  border-color: #20171A;
}

/* Floating Sticky Mini-Cart Pill (Visible on Storefront, Hidden on Checkout/Cart) */
.fv-floating-cart-pill {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 9980;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem 0.6rem 0.75rem;
  background: linear-gradient(135deg, #20171A 0%, #64152F 100%);
  color: #FFF8F3;
  border: 1.5px solid #C99A45;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(32, 23, 26, 0.34);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fv-floating-cart-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(100, 21, 47, 0.42);
}

.fv-fc-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: rgba(255, 248, 243, 0.14);
  color: #E6C687;
}

.fv-fc-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background-color: #C99A45;
  color: #20171A;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fv-fc-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.fv-fc-label {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #E6C687;
  letter-spacing: 0.04em;
}

.fv-fc-total,
.fv-fc-total .woocommerce-Price-amount {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFF8F3 !important;
}

@media (max-width: 767px) {
  .fv-floating-cart-pill {
    right: 12px;
    bottom: 18px;
    padding: 0.5rem 0.85rem 0.5rem 0.65rem;
  }

  body.single-product .fv-floating-cart-pill {
    bottom: 84px;
  }
}

/* ============================================================================
 * LUXURY 1-PAGE CHECKOUT (SYNCHRONIZED DESKTOP / TABLET / MOBILE — v1.4.0)
 * ============================================================================ */

/* Styled Luxury WooCommerce Coupon Toggle & Form (Replaces Default Blue Box) */
.woocommerce-form-coupon-toggle {
  max-width: 1220px;
  margin: 1.25rem auto 0;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .woocommerce-form-coupon-toggle {
    padding: 0 1.5rem;
  }
}

.woocommerce-form-coupon-toggle .woocommerce-info {
  background-color: #FAF4EC !important;
  border: 1px solid rgba(201, 154, 69, 0.45) !important;
  border-top: 2px solid #64152F !important;
  color: #20171A !important;
  font-size: 0.85rem !important;
  padding: 0.8rem 1.1rem 0.8rem 2.75rem !important;
  margin: 0 !important;
  border-radius: 2px !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
  color: #64152F !important;
  top: 0.82rem !important;
  left: 1rem !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
  color: #64152F !important;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.25rem;
}

form.checkout_coupon.woocommerce-form-coupon {
  max-width: 1188px;
  margin: 0.75rem auto 0 !important;
  background-color: #FFFFFF !important;
  border: 1px solid rgba(201, 154, 69, 0.42) !important;
  border-radius: 2px !important;
  padding: 1.1rem 1.25rem !important;
}

form.checkout_coupon button[name="apply_coupon"] {
  background-color: #64152F !important;
  color: #FFF8F3 !important;
  border: 1px solid #C99A45 !important;
  padding: 0.65rem 1.25rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px !important;
  cursor: pointer;
}

.fv-checkout-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
}

@media (min-width: 640px) {
  .fv-checkout-container {
    padding: 2rem 1.5rem 4rem;
  }
}

.fv-checkout-header {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.65rem;
  border-bottom: 1px solid rgba(201, 154, 69, 0.35);
}

@media (min-width: 768px) {
  .fv-checkout-header {
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
  }
}

.fv-checkout-header-left {
  flex: 1 1 auto;
  min-width: 0;
}

.fv-checkout-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #A92350;
}

.fv-checkout-title {
  font-family: 'Cormorant Garamond', 'Hind Siliguri', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 600;
  color: #20171A;
  margin: 0.25rem 0 0;
  line-height: 1.18;
}

.fv-checkout-title-script {
  font-size: clamp(2.05rem, 3.4vw, 2.85rem);
  color: #64152F;
  margin-left: 0.35rem;
  font-weight: 400;
}

.fv-checkout-subtitle {
  margin: 0.4rem 0 0;
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
  font-size: 0.84rem;
  color: rgba(32, 23, 26, 0.68);
  line-height: 1.5;
}

.fv-lang-switch {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start;
  flex-shrink: 0;
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 154, 69, 0.5);
  padding: 3px;
  box-shadow: 0 4px 12px rgba(32, 23, 26, 0.04);
}

@media (min-width: 768px) {
  .fv-lang-switch {
    align-self: flex-end;
  }
}

.fv-lang-btn {
  padding: 0.45rem 0.95rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #20171A;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1.25;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.fv-lang-btn.is-active {
  background-color: #64152F;
  color: #FFF8F3;
}

/* Mobile & Tablet Collapsible Order Summary Bar (< 1024px) */
.fv-mobile-summary-bar {
  margin-bottom: 1.25rem;
  background-color: #F7EFE6;
  border: 1px solid rgba(201, 154, 69, 0.45);
  border-top: 2px solid #64152F;
}

@media (min-width: 1024px) {
  .fv-mobile-summary-bar {
    display: none !important;
  }
}

.fv-mobile-summary-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.fv-mobile-summary-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64152F;
}

.fv-mobile-summary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: #64152F;
  color: #FFF8F3;
  font-size: 10px;
  font-weight: 700;
}

.fv-mobile-summary-price {
  font-size: 1rem;
  font-weight: 700;
  color: #64152F;
}

.fv-mobile-summary-body {
  padding: 0.25rem 1rem 0.9rem;
  border-top: 1px solid rgba(201, 154, 69, 0.28);
}

.fv-mobile-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(201, 154, 69, 0.18);
  font-size: 12.5px;
}

.fv-mobile-summary-name {
  color: #20171A;
  font-weight: 500;
}

.fv-mobile-summary-sub {
  color: #64152F;
  font-weight: 700;
  white-space: nowrap;
}

.fv-mobile-summary-jump {
  padding-top: 0.65rem;
  text-align: right;
}

.fv-mobile-summary-jump a {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A92350;
  text-decoration: underline;
}

/* CRITICAL GRID ARMOR: Kill ALL WooCommerce ::before/::after clearfixes & any stray wpautop <p> tags */
form.woocommerce-checkout::before,
form.woocommerce-checkout::after,
.woocommerce form.checkout::before,
.woocommerce form.checkout::after,
.fv-checkout-grid::before,
.fv-checkout-grid::after,
.fv-checkout-header::before,
.fv-checkout-header::after,
.fv-lang-switch::before,
.fv-lang-switch::after,
.woocommerce-billing-fields__field-wrapper::before,
.woocommerce-billing-fields__field-wrapper::after,
.woocommerce-additional-fields__field-wrapper::before,
.woocommerce-additional-fields__field-wrapper::after,
.woocommerce-checkout .form-row::before,
.woocommerce-checkout .form-row::after,
.fv-checkout-grid > p,
.fv-checkout-header > p,
.fv-lang-switch > p {
  display: none !important;
  content: none !important;
}

/* Dedicated Synchronized 2-Column Desktop Checkout Grid (Mobile & Tablet stack cleanly) */
.fv-checkout-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1.5rem !important;
  align-items: start !important;
  width: 100% !important;
}

@media (min-width: 1024px) {
  .fv-checkout-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr) !important;
    gap: 2.25rem !important;
    align-items: start !important;
  }
}

.fv-checkout-main,
.fv-checkout-sidebar {
  min-width: 0 !important;
  width: 100% !important;
  float: none !important;
}

.fv-checkout-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 154, 69, 0.38);
  border-top: 3px solid #64152F;
  padding: 1.35rem;
  box-shadow: 0 12px 32px rgba(32, 23, 26, 0.04);
}

@media (min-width: 640px) {
  .fv-checkout-card {
    padding: 1.85rem 2rem;
  }
}

.fv-checkout-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(201, 154, 69, 0.25);
}

.fv-checkout-card-head-text {
  flex: 1;
  min-width: 0;
}

.fv-checkout-step-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: #64152F;
  border: 1.5px solid #C99A45;
  color: #FFF8F3;
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.fv-checkout-step-badge--sm {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
  margin-top: 0;
}

.fv-checkout-card-title {
  font-family: 'Cormorant Garamond', 'Hind Siliguri', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #20171A;
  margin: 0;
  line-height: 1.25;
}

.fv-checkout-card-sub {
  font-size: 0.8rem;
  color: rgba(32, 23, 26, 0.65);
  margin: 0.3rem 0 0;
  line-height: 1.5;
}

/* Auto District Delivery Notice Strip */
.fv-auto-delivery-banner {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background-color: #FAF4EC;
  border: 1px solid rgba(201, 154, 69, 0.38);
  border-left: 3px solid #64152F;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #64152F;
}

.fv-auto-delivery-text {
  display: block;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #20171A;
}

.fv-auto-delivery-free {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64152F;
}

/* 3-Point Checkout Trust Bar */
.fv-checkout-trust-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(201, 154, 69, 0.35);
}

@media (min-width: 640px) {
  .fv-checkout-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fv-checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(32, 23, 26, 0.82);
}

.fv-checkout-trust-item svg {
  color: #64152F;
  flex-shrink: 0;
}

/* Right Sticky Order Summary Card */
.fv-checkout-summary-card {
  background-color: #F7EFE6;
  border: 1px solid rgba(201, 154, 69, 0.48);
  border-top: 3px solid #C99A45;
  padding: 1.35rem;
  box-shadow: 0 12px 32px rgba(32, 23, 26, 0.05);
}

@media (min-width: 640px) {
  .fv-checkout-summary-card {
    padding: 1.65rem 1.75rem;
  }
}

@media (min-width: 1024px) {
  .fv-checkout-summary-card {
    position: sticky;
    top: 6.5rem;
  }
}

.fv-checkout-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 154, 69, 0.32);
}

.fv-checkout-summary-head-left {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.fv-checkout-summary-title {
  font-family: 'Cormorant Garamond', 'Hind Siliguri', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #20171A;
  margin: 0;
}

.fv-checkout-summary-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64152F;
  background-color: rgba(100, 21, 47, 0.09);
  padding: 0.25rem 0.55rem;
  white-space: nowrap;
}

.fv-checkout-items-list {
  max-height: 290px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 0.2rem;
}

.fv-checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 154, 69, 0.22);
}

.fv-checkout-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.fv-checkout-item-thumb {
  width: 52px;
  height: 64px;
  object-fit: cover;
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 154, 69, 0.3);
  flex-shrink: 0;
}

.fv-checkout-item-info {
  min-width: 0;
  flex: 1;
}

.fv-checkout-item-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #20171A;
  margin: 0;
  line-height: 1.25;
}

.fv-checkout-item-meta {
  font-size: 11px;
  color: rgba(32, 23, 26, 0.6);
  margin-top: 2px;
}

.fv-checkout-item-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.45rem;
}

.fv-checkout-qty-box {
  display: inline-flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 154, 69, 0.45);
}

.fv-checkout-qty-box button {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #20171A;
  cursor: pointer;
}

.fv-checkout-qty-box button:hover {
  background-color: #64152F;
  color: #FFF8F3;
}

.fv-checkout-qty-box span {
  min-width: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #20171A;
}

.fv-checkout-remove-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A92350;
  cursor: pointer;
}

.fv-checkout-remove-btn:hover {
  text-decoration: underline;
}

.fv-checkout-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #64152F;
  white-space: nowrap;
}

.fv-checkout-upsells {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(201, 154, 69, 0.3);
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.fv-checkout-upsells-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64152F;
  margin: 0 0 0.6rem;
}

.fv-checkout-trust-note {
  font-size: 11px;
  text-align: center;
  color: rgba(32, 23, 26, 0.62);
  margin: 0.9rem 0 0;
}

/* Mobile & Tablet Sticky Bottom Checkout Confirm Bar (< 1024px) */
.fv-checkout-mobile-sticky {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  background-color: #FFF8F3;
  border-top: 2px solid #C99A45;
  box-shadow: 0 -10px 30px rgba(32, 23, 26, 0.16);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.fv-cms-total-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fv-cms-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(32, 23, 26, 0.58);
}

.fv-cms-amount,
.fv-cms-amount .woocommerce-Price-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: #64152F !important;
  white-space: nowrap;
}

.fv-cms-btn {
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  background-color: #64152F;
  color: #FFF8F3;
  border: 1px solid #C99A45;
  border-radius: 2px;
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
}

.fv-cms-btn:hover {
  background-color: #A92350;
}

@media (max-width: 1023px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) {
    padding-bottom: 84px;
  }
}

@media (min-width: 1024px) {
  .fv-checkout-mobile-sticky {
    display: none !important;
  }
}

/* Hide Locked Bangladesh Country Row Cleanly */
.fv-hidden-country-row,
#billing_country_field.fv-hidden-country-row,
.woocommerce-checkout #billing_country_field {
  display: none !important;
}

/* Clean Billing & Additional Fields Form Layout (Immune to WooCommerce JS Class Overrides) */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  max-width: 100% !important;
}

.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
  display: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0.95rem 1.15rem !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row {
  grid-column: 1 / -1 !important;
}

@media (min-width: 640px) {
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Explicit 2-Column Field Pairs: (Full Name + Mobile), (District + Thana/City) */
  .woocommerce-checkout #billing_first_name_field,
  .woocommerce-checkout #billing_phone_field,
  .woocommerce-checkout #billing_state_field,
  .woocommerce-checkout #billing_city_field {
    grid-column: span 1 / span 1 !important;
  }

  /* Full-Width Fields: Email (optional), Full Delivery Address, Delivery Note */
  .woocommerce-checkout #billing_email_field,
  .woocommerce-checkout #billing_address_1_field,
  .woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1 !important;
  }
}

.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 1rem;
}

.woocommerce-checkout .form-row {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: none !important;
}

.woocommerce-checkout .form-row label,
.wcf-embed-checkout-form .form-row label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #20171A;
  margin-bottom: 0.4rem;
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
}

.woocommerce-checkout .form-row .required,
.wcf-embed-checkout-form .form-row .required {
  color: #A92350 !important;
  text-decoration: none !important;
  font-weight: 700;
  border-bottom: none !important;
}

.woocommerce-checkout .form-row .optional,
.wcf-embed-checkout-form .form-row .optional {
  color: rgba(32, 23, 26, 0.5);
  font-weight: 400;
  font-size: 0.74rem;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.wcf-embed-checkout-form input.input-text,
.wcf-embed-checkout-form select,
.wcf-embed-checkout-form textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid rgba(201, 154, 69, 0.52) !important;
  background-color: #FFFDFB !important;
  padding: 0.68rem 0.9rem !important;
  font-size: 0.92rem !important;
  color: #20171A !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.woocommerce-checkout textarea {
  min-height: 78px;
  resize: vertical;
}

.woocommerce-checkout .select2-container {
  width: 100% !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 45px !important;
  border: 1px solid rgba(201, 154, 69, 0.52) !important;
  border-radius: 2px !important;
  background-color: #FFFDFB !important;
  display: flex;
  align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 43px !important;
  padding-left: 0.9rem !important;
  color: #20171A !important;
  font-size: 0.92rem !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 43px !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: #64152F !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(100, 21, 47, 0.08) !important;
  outline: none !important;
}

/* Order Review Table Clean Fit */
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid rgba(201, 154, 69, 0.3) !important;
  background: #FFFFFF !important;
  margin-bottom: 1.1rem !important;
  font-size: 0.86rem;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  padding: 0.68rem 0.85rem !important;
  border-bottom: 1px solid rgba(201, 154, 69, 0.18) !important;
  text-align: left;
  vertical-align: middle;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td:last-child,
.woocommerce-checkout table.woocommerce-checkout-review-order-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.fee th {
  color: #20171A;
  font-weight: 600;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  background: #FAF3EB;
  color: #64152F;
  font-size: 1rem;
  font-weight: 700;
}

/* WooCommerce Checkout Payment Gateways Box */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: #FFFFFF !important;
  border: 1px solid rgba(201, 154, 69, 0.35) !important;
  border-radius: 2px !important;
  padding: 1rem 1.1rem !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid rgba(201, 154, 69, 0.25) !important;
  padding: 0 0 0.75rem 0 !important;
  margin: 0 0 0.85rem 0 !important;
  list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(201, 154, 69, 0.14);
  font-weight: 600;
  color: #20171A;
  font-size: 0.88rem;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
  border-bottom: none;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  accent-color: #64152F;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

.woocommerce-checkout #payment div.payment_box {
  background-color: #F7EFE6 !important;
  color: #20171A !important;
  font-size: 0.8rem !important;
  line-height: 1.55 !important;
  padding: 0.7rem 0.9rem !important;
  margin-top: 0.5rem !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

.woocommerce-checkout #place_order,
.wcf-embed-checkout-form #place_order {
  width: 100%;
  min-height: 52px;
  background-color: #64152F !important;
  color: #FFF8F3 !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.95rem 1.4rem !important;
  border: 1px solid #C99A45 !important;
  border-radius: 2px !important;
  cursor: pointer;
  margin-top: 0.7rem;
  transition: background-color 0.22s ease, transform 0.2s ease;
}

.woocommerce-checkout #place_order:hover,
.wcf-embed-checkout-form #place_order:hover {
  background-color: #A92350 !important;
}

@media (max-width: 639px) {
  .woocommerce-checkout input.input-text,
  .woocommerce-checkout select,
  .woocommerce-checkout textarea,
  .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 16px !important;
  }

  .woocommerce-checkout table.woocommerce-checkout-review-order-table th,
  .woocommerce-checkout table.woocommerce-checkout-review-order-table td {
    padding: 0.58rem 0.65rem !important;
    font-size: 0.82rem;
  }

  .woocommerce-checkout #payment {
    padding: 0.85rem !important;
  }

  .woocommerce-checkout #place_order {
    letter-spacing: 0.08em;
    font-size: 0.92rem;
  }
}

/* ============================================================================
 * LUXURY BENGALI + ENGLISH THANK YOU / ORDER RECEIVED PAGE
 * ============================================================================ */
@keyframes fvDrawCircle {
  from { stroke-dashoffset: 150; }
  to { stroke-dashoffset: 0; }
}

@keyframes fvDrawCheck {
  from { stroke-dashoffset: 48; }
  to { stroke-dashoffset: 0; }
}

@keyframes fvPopSeal {
  0% { transform: scale(0.75); opacity: 0; }
  65% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.fv-thankyou-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

@media (min-width: 640px) {
  .fv-thankyou-wrap {
    padding: 2.75rem 1.5rem 4.5rem;
  }
}

.fv-thankyou-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 154, 69, 0.42);
  box-shadow: 0 20px 50px rgba(32, 23, 26, 0.06);
  padding: 2rem 1.25rem;
}

@media (min-width: 640px) {
  .fv-thankyou-card {
    padding: 2.75rem 2.5rem;
  }
}

.fv-ty-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.fv-ty-icon-ring {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #64152F 0%, #8E1B43 100%);
  border: 3px solid #E6C687;
  box-shadow: 0 12px 28px rgba(100, 21, 47, 0.22);
  color: #FFF8F3;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fvPopSeal 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fv-ty-icon-ring--error {
  background: linear-gradient(135deg, #991B1B 0%, #DC2626 100%);
  border-color: #FCA5A5;
}

.fv-ty-check-svg {
  width: 44px;
  height: 44px;
}

.fv-ty-check-circle {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  opacity: 0.45;
  animation: fvDrawCircle 0.65s ease-out 0.15s forwards;
}

.fv-ty-check-mark {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: fvDrawCheck 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.fv-ty-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #A92350;
  margin-bottom: 0.55rem;
}

.fv-ty-heading-bn {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 700;
  color: #20171A;
  line-height: 1.35;
  margin: 0;
}

.fv-ty-subtitle-en {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-style: italic;
  color: #64152F;
  margin: 0.45rem 0 0;
}

.fv-ty-message-bn {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(32, 23, 26, 0.76);
  margin: 0.85rem auto 0;
  max-width: 600px;
}

.fv-ty-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.fv-ty-ornament span {
  display: block;
  width: 54px;
  height: 1px;
  background-color: rgba(201, 154, 69, 0.55);
}

.fv-ty-ornament i {
  display: block;
  width: 7px;
  height: 7px;
  background-color: #64152F;
  transform: rotate(45deg);
}

/* 4-Tile Order Meta Overview Bar */
.fv-ty-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .fv-ty-meta-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.fv-ty-meta-box {
  background-color: #FAF4EC;
  border: 1px solid rgba(201, 154, 69, 0.32);
  padding: 0.9rem 1rem;
  text-align: center;
}

.fv-ty-meta-box--total {
  background-color: #64152F;
  border-color: #64152F;
}

.fv-ty-meta-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(32, 23, 26, 0.62);
  margin-bottom: 0.35rem;
}

.fv-ty-meta-box--total .fv-ty-meta-label {
  color: rgba(255, 248, 243, 0.78);
}

.fv-ty-meta-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #20171A;
  word-break: break-word;
}

.fv-ty-meta-val--accent {
  color: #64152F;
  font-size: 1.05rem;
}

.fv-ty-meta-val--price,
.fv-ty-meta-val--price .woocommerce-Price-amount {
  color: #FFF8F3 !important;
  font-size: 1.08rem;
}

.fv-ty-gateway-note {
  background-color: #FFF9F0;
  border: 1px solid rgba(201, 154, 69, 0.45);
  border-left: 3px solid #C99A45;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.75rem;
  font-size: 0.88rem;
  color: #20171A;
  line-height: 1.6;
}

.fv-ty-gateway-note p:last-child {
  margin-bottom: 0;
}

/* 2-Column Thank You Details Layout */
.fv-ty-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .fv-ty-details-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
  }
}

.fv-ty-side-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fv-ty-panel {
  border: 1px solid rgba(201, 154, 69, 0.32);
  background-color: #FFFDFB;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .fv-ty-panel {
    padding: 1.5rem;
  }
}

.fv-ty-panel-head {
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 154, 69, 0.25);
}

.fv-ty-panel-title {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #20171A;
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.fv-ty-panel-title span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #A92350;
  font-style: italic;
}

/* Ordered Items List */
.fv-ty-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 154, 69, 0.18);
}

.fv-ty-item-row:first-child {
  padding-top: 0;
}

.fv-ty-item-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  flex: 1;
}

.fv-ty-item-thumb {
  width: 54px;
  height: 66px;
  object-fit: cover;
  border: 1px solid rgba(201, 154, 69, 0.32);
  background-color: #FAF4EC;
  flex-shrink: 0;
}

.fv-ty-item-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  color: #64152F;
}

.fv-ty-item-info {
  min-width: 0;
}

.fv-ty-item-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: #20171A;
  margin: 0;
  line-height: 1.25;
}

.fv-ty-item-name a {
  color: inherit;
  text-decoration: none;
}

.fv-ty-item-name a:hover {
  color: #64152F;
}

.fv-ty-item-qty {
  font-size: 0.78rem;
  color: rgba(32, 23, 26, 0.65);
  margin-top: 0.2rem;
}

.fv-ty-item-meta {
  font-size: 0.75rem;
  color: rgba(32, 23, 26, 0.62);
  margin-top: 0.2rem;
}

.fv-ty-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64152F;
  white-space: nowrap;
}

/* Totals Summary */
.fv-ty-totals {
  margin-top: 0.9rem;
  padding-top: 0.65rem;
}

.fv-ty-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: #20171A;
}

.fv-ty-total-label {
  color: rgba(32, 23, 26, 0.75);
  font-weight: 500;
}

.fv-ty-total-value {
  font-weight: 600;
  text-align: right;
}

.fv-ty-total-row--grand {
  margin-top: 0.5rem;
  padding: 0.8rem 0.9rem;
  background-color: #FAF4EC;
  border: 1px solid rgba(201, 154, 69, 0.36);
  font-size: 1.05rem;
  color: #64152F;
}

.fv-ty-total-row--grand .fv-ty-total-label,
.fv-ty-total-row--grand .fv-ty-total-value {
  color: #64152F;
  font-weight: 700;
}

/* Delivery Address Key-Value List */
.fv-ty-address-list {
  margin: 0;
  padding: 0;
}

.fv-ty-address-row {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(201, 154, 69, 0.26);
}

.fv-ty-address-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fv-ty-address-row dt {
  font-size: 11px;
  font-weight: 600;
  color: rgba(32, 23, 26, 0.58);
  margin-bottom: 0.15rem;
}

.fv-ty-address-row dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #20171A;
  line-height: 1.45;
  word-break: break-word;
}

.fv-ty-address-row dd a {
  color: #64152F;
  text-decoration: none;
}

/* Concierge Support Box */
.fv-ty-support-box {
  background-color: #20171A;
  color: #FFF8F3;
  border: 1px solid #C99A45;
  padding: 1.25rem 1.35rem;
}

.fv-ty-support-title {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #E6C687;
  margin: 0 0 0.35rem;
}

.fv-ty-support-title span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 248, 243, 0.78);
  margin-left: 0.35rem;
}

.fv-ty-support-text {
  font-size: 0.82rem;
  color: rgba(255, 248, 243, 0.8);
  margin: 0 0 0.85rem;
  line-height: 1.55;
}

.fv-ty-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fv-ty-support-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  background-color: rgba(255, 248, 243, 0.1);
  border: 1px solid rgba(201, 154, 69, 0.45);
  color: #FFF8F3 !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.fv-ty-support-chip:hover {
  background-color: #C99A45;
  color: #20171A !important;
}

/* Thank You Action Buttons */
.fv-ty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(201, 154, 69, 0.28);
}

.fv-ty-btn-primary,
.fv-ty-btn-outline,
.fv-ty-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.75rem 1.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fv-ty-btn-primary {
  background-color: #64152F;
  color: #FFF8F3 !important;
  border: 1px solid #C99A45;
}

.fv-ty-btn-primary:hover {
  background-color: #A92350;
}

.fv-ty-btn-outline {
  background-color: #FAF4EC;
  color: #20171A !important;
  border: 1px solid #C99A45;
}

.fv-ty-btn-outline:hover {
  background-color: #20171A;
  color: #FFF8F3 !important;
}

.fv-ty-btn-ghost {
  background-color: #FFFFFF;
  color: #64152F !important;
  border: 1px solid rgba(100, 21, 47, 0.35);
}

.fv-ty-btn-ghost:hover {
  background-color: #64152F;
  color: #FFF8F3 !important;
}

/* Clean Print Receipt Mode */
@media print {
  header,
  footer,
  .fv-announcement-bar,
  .fv-ty-actions,
  .fv-ty-support-box {
    display: none !important;
  }

  .fv-thankyou-wrap {
    max-width: 100%;
    padding: 0;
  }

  .fv-thankyou-card {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}


/* My Account Navigation */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #20171A;
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background-color: #64152F;
  color: #FFF8F3;
}
