@charset "UTF-8";
/* ==========================================================================
   VinFur — WooCommerce screens on top of the template CSS (styles.css)
   ========================================================================== */
/* ---------- Generic ---------- */
.vf-spacing-top {
  padding-top: 120px;
}

.vf-spacing-bottom {
  padding-bottom: 120px;
}

@media (max-width: 991px) {
  .vf-spacing-top {
    padding-top: 64px;
  }
  .vf-spacing-bottom {
    padding-bottom: 64px;
  }
}
.vf-input,
.woocommerce form .input-text,
.woocommerce-page form .input-text,
.select2-container--default .select2-selection--single,
.woocommerce form select {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--Line);
  border-radius: 0;
  background: var(--White);
  font-size: 16px;
  line-height: 24px;
  color: var(--Secondary);
  box-shadow: none;
  outline: none;
  transition: border-color 0.3s ease;
}

.vf-input:focus,
.woocommerce form .input-text:focus {
  border-color: var(--Secondary);
}

.woocommerce form textarea.input-text {
  height: 120px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 24px;
  padding: 0;
  color: var(--Secondary);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
  right: 8px;
}

.select2-dropdown {
  border-color: var(--Line);
  border-radius: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: var(--Primary);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.tf-btn.loading {
  opacity: 0.6;
  pointer-events: none;
}

.tf-btn:disabled, .tf-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.tf-btn {
  border: 0;
}

.tf-btn.btn-border {
  background: var(--White);
  color: var(--Secondary);
}

.tf-btn.btn-border:hover {
  border-color: var(--Secondary);
}

/* Notices */
.woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--Primary);
  background: #f7f3ef;
  color: var(--Secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.woocommerce-error {
  border-color: var(--Red);
  background: #fbf1f1;
  display: block;
}

.woocommerce-error li + li {
  margin-top: 6px;
}

.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
  text-decoration: underline;
  font-weight: 500;
}

/* Stars */
.vf-stars {
  display: inline-flex;
  gap: 3px;
  font-size: 13px;
  color: #d9d9d9;
}

.vf-stars .is-on {
  color: var(--Yellow);
}

.vf-rating:hover .text-caption-1 {
  color: var(--Primary);
}

/* ---------- Header counters ---------- */
.nav-icon-list .shop-cart .count:empty {
  display: none;
}

/* ---------- Product card ---------- */
.card-product .badge-box > * {
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.02em;
}

.card-product .badge-box .sale {
  background-color: var(--Secondary);
}

.card-product .product-action_list .box-icon {
  background-color: var(--White);
}

.card-product .add_to_cart_button.loading .icon {
  animation: vf-spin 1s linear infinite;
}

.card-product .added_to_cart {
  display: none !important;
}

.card-product .price-wrap del {
  color: var(--Body-text-2);
  font-weight: 400;
  margin-right: 4px;
}

.card-product .price-wrap ins {
  text-decoration: none;
  color: var(--Red);
}

.card-product .product-color_list {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.card-product .vf-swatch {
  cursor: pointer;
}

.card-product .vf-swatch .swatch-value {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.card-product .vf-swatch.active {
  outline: 1px solid var(--Secondary);
  outline-offset: 2px;
  border-radius: 50%;
}

@keyframes vf-spin {
  to {
    transform: rotate(360deg);
  }
}
/* ---------- Shop archive (catalog with filter sidebar) ---------- */
.tf-btn-filter {
  background: var(--White);
  gap: 8px;
}

.vf-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--Primary);
  color: var(--White);
  font-size: 12px;
  line-height: 1;
}

.tf-dropdown-sort .dropdown-menu a.select-item {
  display: block;
}

.tf-dropdown-sort .dropdown-menu a.select-item.active,
.tf-dropdown-sort .dropdown-menu a.select-item:hover {
  color: var(--Primary);
}

.vf-filters .list-item .label {
  cursor: pointer;
}

.vf-filters .list-item.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.vf-filters .vf-filter-swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.vf-filters .meta-filter-shop {
  margin-bottom: 24px;
  gap: 10px;
}

.vf-filters #applied-filters {
  gap: 10px;
}

.vf-filters .filter-tag {
  cursor: pointer;
}

.vf-filters .filter-tag .remove-tag {
  font-size: 10px;
}

.vf-filters .canvas-bottom .tf-btn {
  justify-content: center;
}

.vf-price-range .noUi-handle {
  cursor: grab;
  touch-action: none;
}

.vf-price-range.noUi-state-drag .noUi-handle {
  cursor: grabbing;
}

.vf-price-range .noUi-handle:focus-visible {
  outline: 2px solid var(--Primary);
  outline-offset: 2px;
}

.vf-price-range .noUi-origin {
  transition: transform 0.12s ease;
}

.vf-price-range.noUi-state-drag .noUi-origin, .vf-price-range.noUi-state-drag .noUi-connect {
  transition: none;
}

.vf-price-range .noUi-connect {
  transition: transform 0.12s ease;
}

.vf-filters .widget-price .price-val {
  width: auto;
  min-width: 77px;
  gap: 6px;
}

.vf-shop-results {
  position: relative;
  transition: opacity 0.2s ease;
}

.vf-shop-results.vf-is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.vf-shop-results #gridLayout .vf-load {
  grid-column: 1/-1;
  padding-top: 16px;
}

.vf-load-more.loading .text {
  opacity: 0;
}

.vf-load-more .spinner-circle {
  display: none;
}

.vf-load-more.loading .spinner-circle {
  display: block;
}

.vf-no-results {
  padding: 60px 0;
}

@media (max-width: 575px) {
  .vinfur-shop-page .tf-dropdown-sort {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .vinfur-shop-page .tf-dropdown-sort .btn-select {
    min-width: 0;
    max-width: 100%;
  }
  .vinfur-shop-page .tf-dropdown-sort .text-sort-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.woocommerce-info.woocommerce-no-products-found {
  justify-content: center;
}

@media (min-width: 1200px) {
  .vf-filters.sidebar-filter {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
  }
}
@media (max-width: 1199px) {
  .vf-filters.sidebar-filter {
    left: 0;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }
  .vf-filters.sidebar-filter.show {
    transform: none;
    visibility: visible;
  }
  .vf-filters .canvas-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .vf-filters .canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 15px;
    border-bottom: 1px solid var(--Line);
  }
  .vf-filters .canvas-body {
    flex: 1;
    overflow-y: auto;
    padding-top: 16px;
  }
}
/* ---------- Wishlist & compare ---------- */
.product-action_list .box-icon.added {
  background-color: var(--Primary);
  color: var(--White);
}

.btn-add-wishlist.added, .tf-product-total-quantity .compare.added {
  background-color: var(--Primary);
  border-color: var(--Primary);
  color: var(--White);
}

.vf-list-loading {
  display: flex;
  justify-content: center;
  padding: 80px 0;
}

.vf-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--Line);
  border-top-color: var(--Primary);
  animation: vf-spin 0.8s linear infinite;
}

.vf-list-page {
  transition: opacity 0.2s ease;
}

.vf-list-page.vf-is-loading {
  opacity: 0.5;
}

.vf-list-empty {
  padding: 40px 0 20px;
}

.vf-wishlist-grid {
  row-gap: 40px;
}

.vf-wishlist-item .badge-box {
  top: 50px;
}

@media (min-width: 1200px) {
  .vf-wishlist-item .badge-box {
    top: 62px;
  }
  .vf-wishlist-item > .remove {
    top: 16px;
    left: 16px;
  }
}
.vf-compare-table .product-img img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.vf-wishlist-item > .remove {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 21;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--Line);
  border-radius: 50%;
  background: var(--White);
  font-size: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vf-wishlist-item > .remove:hover {
  background: var(--Primary);
  border-color: var(--Primary);
  color: var(--White);
}

.vf-compare-modal .remove {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
}

.vf-compare-modal .tf-compare-list {
  min-height: 120px;
}

.vf-compare-modal .text-empty {
  margin: auto;
  color: var(--Body-text-2);
}

.vf-compare-modal .vf-compare-items.vf-is-loading {
  opacity: 0.5;
}

.vf-compare-modal .group-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.vf-compare-modal .vf-compare-go.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.vf-compare-notice {
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--Line);
  text-align: center;
}

.vf-compare-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.vf-compare-table {
  width: 100%;
  min-width: calc(180px + var(--vf-cols, 2) * 220px);
  border-collapse: collapse;
  table-layout: fixed;
}

.vf-compare-table th, .vf-compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--Line);
  vertical-align: top;
  text-align: center;
}

.vf-compare-table th.vf-compare-label {
  width: 180px;
  text-align: left;
  font-weight: 500;
  color: var(--Secondary);
}

.vf-compare-table thead td, .vf-compare-table thead th {
  border-bottom: 0;
}

.vf-compare-table .card-product .remove {
  left: auto;
  right: 8px;
  border-radius: 50%;
}

.vf-compare-table .card-product_info {
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
}

.vf-compare-table .vf-stock-in {
  color: #2e7d32;
}

.vf-compare-table .vf-stock-out {
  color: var(--Red, #9d0101);
}

@media (max-width: 767px) {
  .vf-compare-table {
    min-width: calc(110px + var(--vf-cols, 2) * 170px);
  }
  .vf-compare-table th.vf-compare-label {
    width: 110px;
  }
  .vf-compare-table th, .vf-compare-table td {
    padding: 12px 8px;
    font-size: 14px;
  }
}
/* ---------- Page title on Woo pages ---------- */
.tf-page-title .breadcrumb-list {
  margin-top: 0;
}

.breadcrumb-list li a:hover {
  color: var(--Primary);
}

.vf-product-breadcrumb {
  padding-top: 24px;
  padding-bottom: 24px;
}

.vf-product-breadcrumb .breadcrumb-list {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* ---------- Single product ---------- */
.vf-main-product .vf-gallery {
  position: sticky;
  top: 100px;
}

.vf-gallery.thumbs-bottom .product-thumbs-slider {
  flex-direction: column;
  max-width: none;
  gap: 10px;
}

.vf-gallery .flat-wrap-media-product {
  width: 100%;
  min-width: 0;
}

.vf-gallery .tf-product-media-main {
  width: 100%;
  background: #f3f3f3;
}

.vf-gallery .tf-product-media-main .item {
  display: flex;
  aspect-ratio: 1/1;
  max-height: none !important;
}

.vf-gallery .tf-product-media-main .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vf-gallery.thumbs-bottom .tf-product-media-thumbs {
  width: 100%;
  order: 1;
}

/* Product page: vertical thumbs on the left from 1200px (template .style-row-left). */
.vf-gallery--left .product-thumbs-slider {
  gap: 12px;
}

.vf-gallery--left .flat-wrap-media-product {
  flex: 1 1 auto;
  min-width: 0;
  align-self: flex-start;
}

.vf-gallery--left .tf-product-media-main {
  height: auto;
}

@media (min-width: 1200px) {
  .vf-gallery--left .tf-product-media-thumbs {
    width: 127px;
    flex-shrink: 0;
  }
  .vf-gallery--left .tf-product-media-thumbs .swiper-slide {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1;
  }
  .vf-gallery--left .tf-product-media-thumbs .swiper-slide .item,
  .vf-gallery--left .tf-product-media-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 1199px) {
  .vf-gallery--left .tf-product-media-thumbs {
    width: 100%;
    order: 1;
  }
}
.vf-gallery .tf-product-media-thumbs .swiper-slide {
  aspect-ratio: 1/1;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.vf-gallery .tf-product-media-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.vf-gallery .sw-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  background: var(--White);
}

.vf-gallery .vf-gallery-prev {
  left: 16px;
}

.vf-gallery .vf-gallery-next {
  right: 16px;
}

.vf-gallery .sw-button.swiper-button-disabled {
  opacity: 0.35;
}

.vf-gallery .badge-box {
  top: 16px;
  left: 16px;
}

.vf-gallery .badge-box .sale {
  background-color: var(--Secondary);
}

.vf-product-summary {
  padding-left: 40px;
}

@media (max-width: 1199px) {
  .vf-product-summary {
    padding-left: 16px;
  }
}
@media (max-width: 767px) {
  .vf-product-summary {
    padding-left: 0;
    padding-top: 32px;
  }
  .vf-main-product .vf-gallery {
    position: static;
  }
}
.vf-product-eyebrow a {
  color: inherit;
}

.vf-product-eyebrow a:hover {
  color: var(--Primary);
}

.vf-single-price .price {
  margin: 0;
}

.vf-single-price del {
  font-size: 18px;
  color: var(--Body-text-2);
  margin-right: 8px;
  font-weight: 400;
}

.vf-single-price ins {
  text-decoration: none;
}

.vf-single-price .tag-discount {
  background: var(--Secondary);
  color: var(--White);
  padding: 4px 10px;
  font-size: 12px;
}

.tf-product-info-wrap .product-infor-sub p:last-child {
  margin-bottom: 0;
}

/* Variations */
.vf-variations .variant-picker-label .h6 {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.vf-variations .vf-swatch-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vf-color-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
  position: relative;
}

.vf-color-btn .check-color {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.vf-color-btn:hover {
  border-color: var(--Line);
}

.vf-color-btn.active {
  border-color: var(--Secondary);
}

.vf-color-btn.vf-unavailable {
  opacity: 0.3;
}

.vf-variations .tf-select select {
  border-radius: 0;
  height: 50px;
  padding: 0 16px;
}

.vf-variations .tf-select {
  position: relative;
}

.vf-variations .tf-select::after {
  content: "\e904";
  font-family: "icomoon";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  pointer-events: none;
}

/* select у Woo-формах має білий фон, а стрілка з шаблону стоїть на z-index:-1 → ховалась під ним */
.tf-select::after {
  z-index: 2;
  pointer-events: none;
}

.vf-variations .tf-select select {
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.vf-variations .reset_variations {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--Body-text-2);
}

.single_variation_wrap .woocommerce-variation {
  margin-bottom: 16px;
}

.single_variation_wrap .woocommerce-variation-price .price {
  font-size: 20px;
  font-weight: 500;
  color: var(--Text-heading);
}

.single_variation_wrap .woocommerce-variation-price del {
  color: var(--Body-text-2);
  font-size: 16px;
  margin-right: 6px;
}

.single_variation_wrap .woocommerce-variation-price ins {
  text-decoration: none;
}

.stock {
  font-size: 14px;
  margin: 4px 0 0;
  color: var(--Color-246B64);
}

.stock.out-of-stock {
  color: var(--Red);
}

.woocommerce-variation-availability .stock {
  margin-bottom: 0;
}

/* Quantity */
.vf-qty {
  align-items: center;
  padding: 0;
}

.vf-qty .quantity-product {
  -moz-appearance: textfield;
  appearance: textfield;
}

.vf-qty .quantity-product::-webkit-outer-spin-button,
.vf-qty .quantity-product::-webkit-inner-spin-button,
.vf-mini-qty .quantity-product::-webkit-outer-spin-button,
.vf-mini-qty .quantity-product::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.vf-qty .btn-quantity {
  border: 0;
  background: transparent;
}

.tf-product-info-wrap .vf-qty {
  max-width: 120px;
  background-color: #f1f1f1;
}

.tf-product-total-quantity .tf-btn {
  height: 52px;
}

.vf-product-features {
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.vf-product-features .icon {
  font-size: 18px;
  width: 20px;
  color: var(--Primary);
}

.vf-product-features + .tf-product-cate-sku,
.tf-product-variant + .tf-product-cate-sku {
  margin-top: 0;
}

.tf-product-cate-sku .value a:hover {
  color: var(--Primary);
}

/* Accordion */
.vf-accordion {
  border-top: 1px solid var(--Line);
}

.vf-accordion .accordion-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--Line);
}

.vf-accordion .accordion-title {
  cursor: pointer;
}

.vf-accordion .accordion-content {
  margin-top: 16px;
}

.vf-accordion .accordion-content p {
  margin-bottom: 12px;
}

.vf-accordion .accordion-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.vf-accordion .accordion-content li {
  margin-bottom: 4px;
}

.vf-accordion .shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

.vf-accordion .shop_attributes th,
.vf-accordion .shop_attributes td {
  padding: 10px 0;
  border-bottom: 1px solid var(--Line);
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}

.vf-accordion .shop_attributes th {
  width: 40%;
  color: var(--Text-heading);
  font-weight: 500;
}

.vf-accordion .shop_attributes td p {
  margin: 0;
}

/* Reviews */
#reviews .woocommerce-Reviews-title {
  font-size: 18px;
  margin-bottom: 16px;
}

#reviews .commentlist {
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  display: grid;
  gap: 20px;
}

#reviews .comment_container {
  display: flex;
  gap: 14px;
}

#reviews .comment_container img.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

#reviews .comment-text {
  flex: 1;
}

#reviews .comment-text .meta {
  font-size: 14px;
  margin: 4px 0;
  color: var(--Body-text-2);
}

#reviews .comment-text .meta strong {
  color: var(--Text-heading);
}

#reviews .comment-text .description p {
  margin: 0;
  color: var(--Text-color-1);
}

#reviews .comment-reply-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--Text-heading);
  margin-bottom: 12px;
}

#reviews .comment-form {
  display: grid;
  gap: 12px;
}

#reviews .comment-form label {
  display: block;
  margin-bottom: 4px;
}

#reviews .comment-form input[type=text],
#reviews .comment-form input[type=email],
#reviews .comment-form textarea {
  width: 100%;
  border: 1px solid var(--Line);
  padding: 10px 14px;
}

#reviews .comment-form .form-submit input {
  background: var(--Secondary);
  color: var(--White);
  border: 0;
  padding: 12px 28px;
  text-transform: uppercase;
  cursor: pointer;
}

#reviews .stars {
  margin: 0;
}

#reviews .stars span {
  display: inline-flex;
  gap: 4px;
}

#reviews .stars a {
  position: relative;
  width: 18px;
  height: 18px;
  overflow: hidden;
  text-indent: -999em;
  display: inline-block;
}

#reviews .stars a::before {
  content: "★";
  position: absolute;
  inset: 0;
  text-indent: 0;
  color: #d9d9d9;
  font-size: 18px;
  line-height: 18px;
}

#reviews .stars:hover a::before,
#reviews .stars.selected a::before {
  color: var(--Yellow);
}

#reviews .stars a:hover ~ a::before,
#reviews .stars.selected a.active ~ a::before {
  color: #d9d9d9;
}

/* Related */
.vf-related {
  border-top: 1px solid var(--Line);
}

.vf-related-grid {
  row-gap: 40px;
}

@media (max-width: 991px) {
  .vf-related-grid.tf-col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ---------- Quick view ---------- */
.modal-quick-view .modal-content {
  min-height: 300px;
}

.modal-quick-view .vf-quick-view-body > .tf-product-media-wrap {
  width: 50%;
  flex-shrink: 0;
}

.modal-quick-view .vf-quick-view-body > .tf-product-info-wrap {
  flex: 1;
  padding: 40px;
  max-height: 90vh;
  overflow: auto;
}

.modal-quick-view .vf-gallery {
  position: static;
  height: 100%;
}

.modal-quick-view .vf-gallery .product-thumbs-slider,
.modal-quick-view .vf-gallery .flat-wrap-media-product,
.modal-quick-view .vf-gallery .tf-product-media-main {
  height: 100%;
}

.modal-quick-view .vf-gallery .tf-product-media-main .item {
  aspect-ratio: auto;
  height: 100%;
  min-height: 420px;
}

@media (max-width: 767px) {
  .modal-quick-view .vf-quick-view-body > .tf-product-media-wrap {
    width: 100%;
  }
  .modal-quick-view .vf-quick-view-body > .tf-product-info-wrap {
    padding: 24px;
  }
  .modal-quick-view .vf-gallery .tf-product-media-main .item {
    min-height: 280px;
  }
}
.vf-loading {
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vf-loading::after {
  content: "";
  width: 32px;
  height: 32px;
  border: 2px solid var(--Line);
  border-top-color: var(--Primary);
  border-radius: 50%;
  animation: vf-spin 0.8s linear infinite;
}

/* ---------- Mini cart ---------- */
.modal-shopping-cart .widget_shopping_cart_content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 0;
}

.modal-shopping-cart .tf-mini-cart-threshold .tf-progress-bar .value {
  transition: width 0.4s ease;
}

.modal-shopping-cart .tf-mini-cart-item .tf-mini-cart-image img {
  width: 100px;
  height: 120px;
  object-fit: cover;
}

.modal-shopping-cart .tf-mini-cart-item .wg-quantity {
  gap: 0;
}

.modal-shopping-cart .tf-mini-cart-item .wg-quantity .btn-quantity {
  border: 0;
  background: transparent;
  font-size: 9px;
  width: 22px;
}

.modal-shopping-cart .tf-mini-cart-item .wg-quantity input {
  -moz-appearance: textfield;
  appearance: textfield;
  font-size: 14px;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 0;
}

.modal-shopping-cart .tf-btn-remove {
  cursor: pointer;
  text-decoration: underline;
  color: var(--Body-text-2);
  font-size: 13px;
}

.modal-shopping-cart .tf-btn-remove:hover {
  color: var(--Red);
}

.modal-shopping-cart .tf-mini-card-price del {
  display: block;
  font-size: 13px;
  color: var(--Body-text-2);
}

.modal-shopping-cart .tf-mini-card-price ins {
  text-decoration: none;
}

.modal-shopping-cart .blockUI.blockOverlay {
  background: rgba(255, 255, 255, 0.6) !important;
}

.vf-mini-cart-empty {
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.vf-mini-cart-empty .icon, .vf-cart-empty .icon {
  font-size: 56px;
  color: var(--Primary);
  margin-bottom: 24px;
  display: block;
}

/* ---------- Cart page ---------- */
.vf-wc-page {
  min-height: 300px;
}

.vf-cart .table-shop-cart table {
  width: 100%;
}

.vf-cart .order_product {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vf-cart .order_product .image {
  flex-shrink: 0;
  width: 100px;
}

.vf-cart .order_product .image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.vf-cart .order_quantity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vf-cart .vf-cart-remove {
  color: var(--Body-text-2);
}

.vf-cart .vf-cart-remove:hover {
  color: var(--Red);
}

.vf-cart .order_price del, .vf-cart .order_subtotal del {
  color: var(--Body-text-2);
  margin-right: 4px;
}

.vf-cart .order_price ins, .vf-cart .order_subtotal ins {
  text-decoration: none;
}

.vf-cart .prd-type dl.variation {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 4px 0 0;
}

.vf-cart .prd-type dl.variation dt {
  font-weight: 400;
}

.vf-cart .prd-type dl.variation dd {
  margin: 0;
}

.vf-cart .prd-type dl.variation dd p {
  margin: 0;
}

.vf-cart-actions {
  margin-top: 32px;
}

.vf-cart-actions .coupon .vf-input {
  max-width: 240px;
  height: 52px;
}

.vf-cart-actions .tf-btn {
  height: 52px;
  padding: 0 28px;
}

.vf-cart-actions .vf-update-cart {
  display: none;
}

.cart_totals .vf-totals-table {
  width: 100%;
  margin: 16px 0 8px;
  border-collapse: collapse;
}

.cart_totals .vf-totals-table th,
.cart_totals .vf-totals-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--Line);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.cart_totals .vf-totals-table td {
  text-align: right;
}

.cart_totals .vf-totals-table th {
  color: var(--Text-heading);
}

.cart_totals .title-total .amount {
  font-weight: 500;
}

.woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.woocommerce-shipping-methods li {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  text-align: right;
}

.woocommerce-shipping-destination,
.woocommerce-shipping-calculator {
  font-size: 13px;
  color: var(--Body-text-2);
  margin: 6px 0 0;
}

.shipping-calculator-form {
  text-align: left;
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.shipping-calculator-form .button {
  background: var(--Secondary);
  color: var(--White);
  border: 0;
  padding: 10px 16px;
}

.cart_totals .tax-text {
  margin: 12px 0 0;
  font-size: 14px;
}

.cart_totals .br-line {
  display: block;
  height: 1px;
  background: var(--Line);
  margin: 20px 0;
}

.cart_totals .wc-proceed-to-checkout .tf-btn {
  display: flex;
}

.text-we-accept {
  margin: 20px 0 10px;
}

.vf-cart-empty {
  padding: 40px 0;
}

@media (max-width: 767px) {
  .vf-cart .table-shop-cart thead {
    display: none;
  }
  .vf-cart .table-shop-cart tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid var(--Line);
  }
  .vf-cart .table-shop-cart td {
    padding: 0 !important;
    border: 0 !important;
  }
  .vf-cart .table-shop-cart td:first-child {
    grid-column: 1/-1;
  }
  .vf-cart .table-shop-cart td.order_price {
    display: none;
  }
  .vf-cart .table-shop-cart td.order_subtotal {
    text-align: right;
    align-self: center;
  }
}
/* ---------- Checkout ---------- */
.vf-checkout .woocommerce-billing-fields h3,
.vf-checkout .woocommerce-additional-fields h3,
.vf-checkout #ship-to-different-address {
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.vf-checkout #ship-to-different-address label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 18px;
}

.vf-checkout .vf-checkout-block + .vf-checkout-block {
  margin-top: 40px;
}

.vf-checkout .form-row {
  margin: 0 0 16px;
  padding: 0;
}

.vf-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--Text-heading);
}

.vf-checkout .form-row .required {
  color: var(--Red);
  text-decoration: none;
}

.vf-checkout .form-row .optional {
  color: var(--Body-text-2);
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
  grid-column: 1/-1;
}

@media (max-width: 575px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}
.vf-checkout .woocommerce-invalid input.input-text {
  border-color: var(--Red);
}

.vf-order-review .shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.vf-order-review .shop_table th,
.vf-order-review .shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--Line);
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}

.vf-order-review .shop_table td:last-child,
.vf-order-review .shop_table th:last-child {
  text-align: right;
}

.vf-order-review .shop_table thead th {
  text-transform: uppercase;
  font-size: 13px;
  color: var(--Body-text-2);
}

.vf-order-review .shop_table .order-total th,
.vf-order-review .shop_table .order-total td {
  font-size: 20px;
  color: var(--Text-heading);
  border-bottom: 0;
  padding-top: 16px;
}

.vf-order-review .product-quantity {
  color: var(--Body-text-2);
}

.vf-order-review .variation {
  font-size: 13px;
  color: var(--Body-text-2);
  margin: 4px 0 0;
  display: flex;
  gap: 4px;
}

.vf-order-review .variation dd, .vf-order-review .variation p {
  margin: 0;
}

.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.wc_payment_method > label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.wc_payment_method .payment_box {
  margin-top: 8px;
  padding: 12px 16px;
  background: #f7f3ef;
  font-size: 14px;
}

.wc_payment_method .payment_box p {
  margin: 0;
}

.woocommerce-privacy-policy-text {
  font-size: 13px;
  color: var(--Body-text-2);
  margin-bottom: 16px;
}

.woocommerce-terms-and-conditions-wrapper .form-row {
  margin-bottom: 16px;
}

#place_order {
  width: 100%;
  height: 52px;
  border: 0;
  background: var(--Secondary);
  color: var(--White);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.3s ease;
}

#place_order:hover {
  background: var(--Primary);
}

.woocommerce-form-coupon-toggle .woocommerce-info {
  justify-content: flex-start;
}

.checkout_coupon {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.checkout_coupon p {
  margin: 0;
}

.checkout_coupon .button {
  height: 50px;
  padding: 0 24px;
  background: var(--Secondary);
  color: var(--White);
  border: 0;
}

.vf-checkout .blockUI.blockOverlay {
  background: rgba(255, 255, 255, 0.6) !important;
}

/* Thank-you page */
.woocommerce-order {
  max-width: 900px;
  margin: 0 auto;
}

.woocommerce-thankyou-order-received {
  font-size: 22px;
  text-align: center;
  margin-bottom: 32px;
}

.woocommerce-order-overview {
  list-style: none;
  padding: 24px;
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border: 1px solid var(--Line);
}

.woocommerce-order-overview li {
  flex: 1 1 140px;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--Body-text-2);
}

.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  text-transform: none;
  color: var(--Text-heading);
}

.woocommerce-order-details,
.woocommerce-customer-details,
.woocommerce-bacs-bank-details {
  margin-bottom: 32px;
}

.woocommerce-order-details__title,
.woocommerce-column__title,
.wc-bacs-bank-details-heading {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.woocommerce-table--order-details,
.woocommerce-orders-table,
.woocommerce-MyAccount-content .shop_table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td,
.woocommerce-orders-table th,
.woocommerce-orders-table td,
.woocommerce-MyAccount-content .shop_table th,
.woocommerce-MyAccount-content .shop_table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--Line);
  text-align: left;
  font-weight: 400;
}

.woocommerce-customer-details address {
  font-style: normal;
  padding: 20px;
  border: 1px solid var(--Line);
  line-height: 1.7;
}

/* ---------- My account ---------- */
.vf-account .sidebar-account-wrap {
  margin-bottom: 32px;
}

.vf-account .my-account-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.vf-account .my-account-nav .link-account {
  display: block;
}

.vf-account .my-account-nav .link-account.active,
.vf-account .my-account-nav .link-account:hover {
  background: var(--Secondary);
  color: var(--White);
}

.vf-account .box-check-list {
  padding: 0;
  list-style: none;
}

.vf-account .box-check-list li {
  flex: 1 1 240px;
}

.vf-account .box-check .number .icon {
  font-size: 20px;
}

.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button.button,
.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-ResetPassword .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 0;
  background: var(--Secondary);
  color: var(--White);
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s ease;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-form-login .button:hover {
  background: var(--Primary);
  color: var(--White);
}

.woocommerce-MyAccount-content .woocommerce-orders-table .button {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  margin: 2px;
}

.woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.woocommerce-Address {
  padding: 24px;
  border: 1px solid var(--Line);
}

.woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.woocommerce-Address-title h2 {
  font-size: 18px;
  text-transform: uppercase;
}

.woocommerce-Address-title .edit {
  text-decoration: underline;
}

.woocommerce-Address address {
  font-style: normal;
  line-height: 1.7;
}

.woocommerce-MyAccount-content .form-row {
  margin-bottom: 16px;
}

.woocommerce-MyAccount-content .form-row label {
  display: block;
  margin-bottom: 6px;
}

.woocommerce-MyAccount-content fieldset {
  margin: 24px 0;
  padding: 0;
  border: 0;
}

.woocommerce-MyAccount-content fieldset legend {
  font-size: 18px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 520px;
}

.woocommerce .u-columns.col2-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}

.woocommerce .u-columns h2 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
  margin-bottom: 16px;
}

.woocommerce-form-login .form-row label,
.woocommerce-form-register .form-row label {
  display: block;
  margin-bottom: 6px;
}

.woocommerce-form-login__rememberme {
  display: flex !important;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px !important;
}

.woocommerce-LostPassword a {
  text-decoration: underline;
}

.woocommerce-password-strength {
  font-size: 13px;
  margin-top: 6px;
}

.show-password-input {
  display: none;
}

/* tweaks */
.tf-product-info-wrap .vf-qty {
  max-width: 136px;
}

.tf-product-info-wrap .vf-qty .btn-quantity {
  width: 40px;
  flex-shrink: 0;
}

.tf-product-info-wrap .vf-qty .quantity-product {
  width: 52px;
}

.vf-product-features {
  margin-bottom: 32px;
}

.tf-product-variant {
  margin-bottom: 32px;
}

.vf-qty .quantity-product {
  padding: 0 !important;
  border: 0 !important;
  background: transparent;
  text-align: center;
  color: var(--Secondary);
  min-width: 0;
}

.vf-cart .wg-quantity.style-2 {
  width: 96px;
  flex-shrink: 0;
}

.vf-cart .wg-quantity.style-2 .quantity-product {
  width: 36px;
  font-size: 15px;
}

.vf-cart .table-shop-cart {
  overflow-x: auto;
}

.vf-cart .table-shop-cart table {
  table-layout: auto;
  min-width: 640px;
}

.vf-cart .table-shop-cart th.order_product {
  width: 46%;
}

.vf-cart .table-shop-cart th.order_subtotal,
.vf-cart .table-shop-cart td.order_subtotal {
  text-align: right;
  padding-right: 0;
}

.vf-cart .table-shop-cart td {
  vertical-align: middle;
}

@media (max-width: 767px) {
  .vf-cart .table-shop-cart table {
    min-width: 0;
  }
}
.woocommerce-customer-details .woocommerce-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.woocommerce-customer-details .woocommerce-column {
  width: auto;
  max-width: none;
  padding: 0;
}

.woocommerce-customer-details address {
  height: calc(100% - 44px);
}

.woocommerce-customer-details .woocommerce-column__title {
  font-size: 18px;
}

/* Responsive product grids (the template switched columns with JS) */
@media (max-width: 1199px) {
  .tf-grid-layout.tf-col-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .tf-grid-layout.tf-col-4,
  .tf-grid-layout.tf-col-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card-product .badge-box {
  flex-wrap: wrap;
  right: 56px;
  gap: 6px;
}

@media (max-width: 767px) {
  .card-product .badge-box {
    top: 6px;
    left: 6px;
    right: 46px;
  }
  .card-product .badge-box > * {
    font-size: 10px;
    line-height: 16px;
    padding: 1px 6px;
  }
}
/* ---------- Blog ---------- */
.blog-item .img-style {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 486/395;
  background: #f3f3f3;
}

.blog-item .img-style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-item .user-box img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.wrap-blog-grid .tf-grid-layout {
  row-gap: 48px;
}

.tf-sidebar .wg-recent {
  display: flex;
  gap: 16px;
  align-items: center;
}

.tf-sidebar .wg-recent .img-style {
  flex-shrink: 0;
  width: 98px;
  height: 98px;
  overflow: hidden;
}

.tf-sidebar .wg-recent .img-style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tf-sidebar .sb-author .avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .tf-sidebar {
    margin-top: 48px;
  }
}
.vf-post-content > *:first-child {
  margin-top: 0;
}

.vf-post-content h2, .vf-post-content h3, .vf-post-content h4, .vf-post-content h5 {
  margin: 32px 0 16px;
  text-transform: none;
}

.vf-post-content p {
  margin-bottom: 16px;
  color: var(--Body-text-2);
  line-height: 1.75;
}

.vf-post-content ul, .vf-post-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
  display: grid;
  gap: 10px;
  color: var(--Text-heading);
}

.vf-post-content ul {
  list-style: disc;
}

.vf-post-content ol {
  list-style: decimal;
}

.vf-post-content img {
  max-width: 100%;
  height: auto;
}

.vf-post-content .tf-grid-layout {
  margin: 24px 0;
}

.vf-post-content .tf-grid-layout img {
  width: 100%;
  aspect-ratio: 534/358;
  object-fit: cover;
}

.vf-post-content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--Primary);
  background: #f7f3ef;
  font-size: 18px;
}

.vf-post-content a:not(.btn_link) {
  text-decoration: underline;
}

.post-detail .thumb img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.post-detail .list-info-post p {
  margin: 0;
}

.tf-article-navigation .vf-nav-title {
  margin-top: 8px;
}

.tf-article-navigation .item.next {
  text-align: right;
}

.vf-comments {
  margin-top: 56px;
}

.vf-comment-list, .vf-comment-list .children {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vf-comment-list .children {
  padding-left: 72px;
}

.vf-comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--Line);
}

.vf-comment .vf-comment {
  border-bottom: 0;
  padding-bottom: 0;
}

.vf-comment-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.vf-comment-body {
  flex: 1;
}

.vf-comment-body p {
  margin: 0 0 8px;
}

.vf-reply a {
  text-decoration: underline;
  color: var(--Body-text-2);
}

.blog-detail_add_review {
  margin-top: 48px;
}

.blog-detail_add_review .sub-title {
  margin: 8px 0 24px;
  color: var(--Body-text-2);
}

.blog-detail_add_review textarea {
  width: 100%;
  min-height: 160px;
  border: 1px solid var(--Line);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.blog-detail_add_review input[type=text],
.blog-detail_add_review input[type=email] {
  width: 100%;
  height: 50px;
  border: 1px solid var(--Line);
  padding: 0 16px;
}

.blog-detail_add_review .comment-form-cookies-consent {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--Body-text-2);
}

.blog-detail_add_review .form-action .tf-btn {
  height: 50px;
  padding: 0 32px;
  text-transform: uppercase;
}

.blog-detail_add_review .logged-in-as {
  font-size: 14px;
  color: var(--Body-text-2);
  margin-bottom: 16px;
}

.vf-services-grid {
  row-gap: 32px;
}

@media (max-width: 1199px) {
  .vf-services-grid.tf-col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .vf-services-grid.tf-col-4 {
    grid-template-columns: 1fr;
  }
}
/* ---------- Popups ---------- */
.modal-before-leave .image-coupon {
  position: relative;
}

.modal-before-leave .image-coupon .image {
  position: relative;
}

.modal-before-leave .image-coupon .image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.modal-before-leave .image-coupon .wrap {
  z-index: 2;
}

.vf-copy-coupon {
  border: 0;
  cursor: pointer;
}

.modal-before-leave .tf-product-mini-view .price-wrap del {
  color: var(--Body-text-2);
  margin-right: 4px;
}

.modal-before-leave .tf-product-mini-view .price-wrap ins {
  text-decoration: none;
}

.vf-newsletter-message:empty {
  display: none;
}

.vf-newsletter-message.is-error {
  color: var(--Red);
}

.footer-newsletter .vf-newsletter-message.is-error {
  color: #ffd9d9;
}

.modal-auto-newletter .vf-input {
  height: 52px;
}

/* ---------- Languages ---------- */
.vf-mobile-langs {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.vf-mobile-langs .tf-btn {
  min-width: 56px;
  height: 40px;
  padding: 0 14px;
}

.vf-mobile-langs .tf-btn.active {
  background: var(--Secondary);
  color: var(--White);
  border-color: var(--Secondary);
}

/* ---------- Header extras ---------- */
.vf-currency {
  font-size: 14px;
  color: var(--Text-heading);
  white-space: nowrap;
}

.vf-top-bar a {
  color: var(--White);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vf-top-bar .js-countdown {
  color: var(--White);
}

/* ---------- Coming soon ---------- */
.vf-coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.vf-coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.vf-coming-soon__inner {
  position: relative;
  max-width: 640px;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  padding: 56px 40px;
}

.vf-coming-soon__logo {
  display: inline-block;
  margin-bottom: 32px;
}

.vf-coming-soon__logo img {
  max-width: 180px;
  height: auto;
}

.vf-coming-soon__title {
  margin-bottom: 16px;
}

.vf-coming-soon__text {
  color: var(--Body-text-2);
  margin-bottom: 32px;
}

.vf-coming-soon__countdown {
  margin-bottom: 32px;
}

.vf-coming-soon__countdown .countdown__timer {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.vf-coming-soon__countdown .countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 76px;
  padding: 14px 8px;
  border: 1px solid var(--Line);
  background: var(--White);
}

.vf-coming-soon__countdown .countdown__value {
  font-size: 32px;
  line-height: 1.1;
  color: var(--Text-heading);
}

.vf-coming-soon__countdown .countdown__label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--Body-text-2);
  margin-top: 4px;
}

.vf-coming-soon__form {
  margin-bottom: 28px;
}

.vf-coming-soon__form .vf-input {
  flex: 1;
  height: 52px;
}

.vf-coming-soon__form .tf-btn {
  height: 52px;
  padding: 0 24px;
  white-space: nowrap;
}

.vf-coming-soon__social {
  margin: 0;
  padding: 0;
}

@media (max-width: 575px) {
  .vf-coming-soon__inner {
    padding: 40px 20px;
  }
  .vf-coming-soon__form .d-flex {
    flex-direction: column;
  }
  .vf-coming-soon__countdown .countdown__item {
    min-width: 64px;
  }
}
/* Attribute values like "83 × 201.5 cm" keep their own case. */
.variant-picker-item .vf-current-value {
  text-transform: none;
}

/* Small phones: no room for the currency label next to the logo. */
@media (max-width: 575px) {
  .wrap-currencies .vf-currency {
    display: none;
  }
}
/* DreamDeuren logo */
.site-logo {
  max-width: 160px;
  margin-right: 40px;
}

.site-logo img,
.site-logo .logo_header {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .site-logo {
    max-width: 120px;
    margin-right: 16px;
  }
}
/* Header: logo left, menu in the middle of the page, icons right (template home). */
@media (min-width: 1200px) {
  .header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
  }
  .header .header-inner > .site-logo {
    justify-self: start;
    margin-right: 0;
  }
  .header .header-inner > .main-menu {
    justify-self: center;
    margin: 0;
    flex: none;
  }
  .header .header-inner > .header-right {
    justify-self: end;
    flex: none;
  }
}
/* ---------------------------------------------------------------
 * Product image zoom (hover) + full-screen viewer
 * ------------------------------------------------------------ */
.vf-gallery .vf-zoomable {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.vf-zoom-lens {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-repeat: no-repeat;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vf-zoomable.is-zooming .vf-zoom-lens {
  opacity: 1;
}

.vf-gallery-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--Heading, #1f1f1f);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.vf-gallery-expand:hover {
  transform: scale(1.06);
}

html.vf-lightbox-open {
  overflow: hidden;
}

.vf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  background: #fff;
  outline: none;
}

.vf-lightbox.is-open {
  display: block;
}

.vf-lightbox__stage {
  position: absolute;
  inset: 64px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
}

.vf-lightbox.is-zoomed .vf-lightbox__stage {
  touch-action: none;
}

.vf-lightbox__img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.vf-lightbox.is-zoomed .vf-lightbox__img {
  cursor: zoom-out;
  transition: transform 0.25s ease, transform-origin 0s;
}

.vf-lightbox__counter {
  position: absolute;
  top: 22px;
  left: 24px;
  font-size: 14px;
  color: var(--Body, #6b6b6b);
}

.vf-lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--Line, #e5e5e5);
  background: #fff;
  color: var(--Heading, #1f1f1f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease;
}

.vf-lightbox__btn:hover {
  background: var(--Heading, #1f1f1f);
  color: #fff;
}

.vf-lightbox__close {
  top: 12px;
  right: 16px;
}

.vf-lightbox__prev {
  left: 12px;
  top: 50%;
  margin-top: -24px;
}

.vf-lightbox__next {
  right: 12px;
  top: 50%;
  margin-top: -24px;
}

.vf-lightbox.is-single .vf-lightbox__prev,
.vf-lightbox.is-single .vf-lightbox__next {
  display: none;
}

@media (max-width: 767px) {
  .vf-lightbox__stage {
    inset: 60px 0 60px;
  }
  .vf-lightbox__prev, .vf-lightbox__next {
    top: auto;
    bottom: 8px;
    margin-top: 0;
  }
  .vf-lightbox__prev {
    left: calc(50% - 60px);
  }
  .vf-lightbox__next {
    right: calc(50% - 60px);
  }
  .vf-gallery-expand {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }
}
/* ---------------------------------------------------------------
 * Product page (ptoduct-zoom.html): side zoom pane like Drift
 * ------------------------------------------------------------ */
.drift-bounding-box, .drift-zoom-pane {
  position: absolute;
  pointer-events: none;
}

.drift-bounding-box {
  display: none;
  z-index: 5;
}

.drift-bounding-box.drift-open {
  display: block;
}

.tf-zoom-main .drift-zoom-pane {
  display: none;
  overflow: hidden;
}

.tf-zoom-main .drift-zoom-pane.drift-open {
  display: block;
}

.tf-zoom-main .drift-zoom-pane img {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
  object-fit: fill;
}

.vf-gallery--left .vf-zoomable {
  cursor: crosshair;
}

@media (max-width: 1199px) {
  .tf-zoom-main {
    display: none;
  }
}
.flat-single-product .vf-rating {
  text-decoration: none;
}

.flat-single-product .vf-rating .vf-stars {
  display: inline-flex;
  gap: 5px;
}

.flat-single-product .price-wrap .price-new del,
.flat-single-product .price-wrap .price-new ins {
  text-decoration: none;
}

.flat-single-product .price-wrap .price-new del {
  display: none;
}

.flat-single-product .vf-price-old:empty {
  display: none;
}

.wd-customer-review .vf-star-off {
  opacity: 0.25;
}

.wd-customer-review .review-avt img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.vf-specs table.woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
}

.vf-specs .woocommerce-product-attributes th,
.vf-specs .woocommerce-product-attributes td {
  padding: 10px 0;
  border-bottom: 1px solid var(--Line);
  text-align: left;
  vertical-align: top;
}

.vf-specs .woocommerce-product-attributes th {
  width: 35%;
  font-weight: 500;
  color: var(--Heading);
}

.vf-specs .woocommerce-product-attributes td p {
  margin: 0;
}

.modal-ask-question .modal-content,
.modal-share-social .modal-content {
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}

.modal-ask-question input, .modal-ask-question textarea {
  width: 100%;
}

.modal-share-social .form-share input {
  flex: 1;
}

.tf-prduct-piw .vf-piw-price del {
  color: var(--Body);
  font-size: 14px;
}

.tf-prduct-piw .vf-piw-price ins {
  text-decoration: none;
}

/* ---------- Home ---------- */
.vf-slider-more {
  margin-top: 40px;
}

@media (min-width: 1200px) {
  .vf-slider-more {
    margin-top: 56px;
  }
}
/* Review photos: all slides the same shape (template 870 × 665). */
.s-testimonials .tf-thumb-tes .img-style {
  aspect-ratio: 870/665;
  overflow: hidden;
}

.s-testimonials .tf-thumb-tes .img-style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Contact form ---------- */
.vf-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.vf-contact-form {
  position: relative;
}

.vf-contact-form .is-invalid {
  border-color: var(--Red, #9d0101) !important;
}

.vf-form-message:empty {
  display: none;
}

.vf-form-message.is-success {
  color: #2e7d32;
}

.vf-form-message.is-error {
  color: var(--Red, #9d0101);
}

.vf-contact-form [type=submit].loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Door photos are tall: show them whole (no cropping) in cards and in the product gallery. */
.card-product .card-product_wrapper .product-img {
  display: block;
  aspect-ratio: 3/4;
  height: auto;
  background: var(--White);
}

.card-product .card-product_wrapper .product-img img {
  object-fit: contain;
}

.vf-gallery .tf-product-media-main {
  background: var(--White);
}

.vf-gallery .tf-product-media-main .item {
  aspect-ratio: 3/4;
}

.vf-gallery .tf-product-media-main .item img {
  object-fit: contain;
}

.vf-gallery .tf-product-media-thumbs .swiper-slide .item,
.vf-gallery .tf-product-media-thumbs .swiper-slide img {
  background: var(--White);
  object-fit: contain !important;
}

/* Gallery arrows: always visible (dark icon on the white button). */
.vf-gallery .sw-button {
  color: var(--Secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.vf-gallery .sw-button:hover {
  background: var(--Secondary);
  color: var(--White);
}

.vf-gallery .sw-button.swiper-button-disabled {
  background: var(--White);
  color: var(--Secondary);
}
