/* —— Shop archive (Figma 02_Shop) —— */
.dv-shop-page {
  padding: 24px 0 0;
}

.dv-shop-page__head {
  margin-bottom: 24px;
}

.dv-shop-page__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}

.dv-shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.dv-shop-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
}

.dv-shop-tab {
  position: relative;
  padding: 0 0 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.dv-shop-tab:hover {
  color: var(--orange);
}

.dv-shop-tab.is-on {
  font-weight: 600;
  color: var(--orange);
}

.dv-shop-tab.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
}

.dv-shop-ordering {
  width: 100%;
}

.dv-shop-ordering .woocommerce-ordering {
  margin: 0;
  float: none;
}

.dv-shop-ordering select.orderby {
  width: 100%;
  max-width: 100%;
  height: 48px;
  padding: 0 40px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white) right 12px center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231e1e1e' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  appearance: none;
}

.dv-shop-grid {
  margin-bottom: 0;
}

.dv-shop-grid__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.dv-shop-grid__item {
  min-width: 0;
}

.dv-shop-grid .dv-product {
  min-height: 400px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dv-shop-load {
  display: flex;
  justify-content: center;
  padding: 40px 0 56px;
}

.dv-shop-load__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.dv-shop-load__btn:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.dv-shop-load__btn:disabled,
.dv-shop-load__btn.is-loading {
  opacity: 0.65;
  cursor: wait;
}

.dv-shop-load__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%231e1e1e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 9a6 6 0 11-2.2-4.6M15 3v4h-4'/%3E%3C/svg%3E");
}

.dv-shop-load__btn:hover .dv-shop-load__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 9a6 6 0 11-2.2-4.6M15 3v4h-4'/%3E%3C/svg%3E");
}

.dv-shop-page .dv-popular {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}

/* Hide default WC loop chrome on shop */
.dv-shop-page .woocommerce-result-count,
.dv-shop-page .woocommerce-pagination {
  display: none !important;
}

@media (min-width: 640px) {
  .dv-shop-grid__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .dv-shop-page {
    padding-top: 32px;
  }

  .dv-shop-page__title {
    font-size: 40px;
  }

  .dv-shop-toolbar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 32px;
    margin-bottom: 36px;
  }

  .dv-shop-tabs {
    flex: 1;
    min-width: 0;
    gap: 8px 40px;
  }

  .dv-shop-ordering {
    flex-shrink: 0;
    width: auto;
  }

  .dv-shop-ordering select.orderby {
    width: min(320px, 40vw);
    min-width: 260px;
  }

  .dv-shop-grid__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
  }

  .dv-shop-load {
    padding: 48px 0 72px;
  }

  .dv-shop-page .dv-popular {
    padding: 64px 0 96px;
  }
}

/* —— Single product (03_Product card) —— */
.dv-product-page {
  padding: 24px 0 0;
}

.dv-product-page .dv-popular {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}

.dv-product .dv-breadcrumbs {
  margin-bottom: 24px;
}

.dv-product__hero {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}

/* Gallery */
.dv-product-gallery {
  position: relative;
  min-width: 0;
}

.dv-product-gallery__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dv-product-gallery__layout {
  display: grid;
  gap: 12px;
}

.dv-product-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.dv-product-gallery__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--hero-bg);
  cursor: pointer;
}

.dv-product-gallery__thumb.is-on {
  border-color: var(--orange);
}

.dv-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dv-product-gallery__main {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--hero-bg);
}

.dv-product-gallery__slide {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dv-product-gallery__slide.is-on {
  display: block;
}

.dv-product-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dv-product-gallery__placeholder {
  display: block;
  width: 100%;
  min-height: 280px;
  background: var(--header-soft);
}

.dv-product-gallery__arrow {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white) center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%231e1e1e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 4l-5 5 5 5M6 9h8'/%3E%3C/svg%3E");
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.dv-product-gallery__arrow--next {
  right: 16px;
  transform: rotate(180deg);
}

.dv-product-gallery__arrow--prev {
  right: 64px;
}

.dv-product-gallery__layout:has(.dv-product-gallery__thumbs) .dv-product-gallery__dots {
  display: none;
}

.dv-product-gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.dv-product-gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.dv-product-gallery__dot.is-on {
  background: var(--orange);
}

/* Summary */
.dv-product-summary__cat {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dv-product-summary__cat:hover {
  color: var(--orange);
}

.dv-product-summary__title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.dv-product-summary__rating {
  margin-bottom: 16px;
}

.dv-product-summary__rating .star-rating {
  margin: 0;
}

.dv-product-summary__price,
.dv-product-summary__buy .woocommerce-variation-price {
  margin-bottom: 20px;
}

.dv-product-summary__price .price,
.dv-product-summary__buy .woocommerce-variation-price .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  width: 100%;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.dv-product-summary__price .price ins,
.dv-product-summary__buy .woocommerce-variation-price .price ins,
.dv-product-summary__price .price > .woocommerce-Price-amount,
.dv-product-summary__buy .woocommerce-variation-price .price > .woocommerce-Price-amount {
  order: 1;
  margin: 0;
  text-decoration: none;
  color: var(--dark);
}

.dv-product-summary__price .price del,
.dv-product-summary__buy .woocommerce-variation-price .price del {
  order: 2;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
}

.dv-product-summary__buy {
  margin-bottom: 12px;
}

.dv-product-summary__buy .cart {
  margin: 0;
}

.dv-product-summary__buy .variations {
  width: 100%;
  margin-bottom: 16px;
}

.dv-product-summary__buy .variations td {
  display: block;
  padding: 0 0 8px;
}

.dv-product-summary__buy .variations label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.dv-product-summary__buy .variations select {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--header-soft);
}

.dv-product-summary__buy .reset_variations {
  display: none !important;
}

.dv-product-summary__buy .single_variation_wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.dv-product-summary__buy .woocommerce-variation-add-to-cart,
.dv-product-summary__buy form.cart:not(.variations_form) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.dv-product-summary__buy .dv-product-summary__oneclick {
  order: 1;
}

.dv-product-summary__buy .single_add_to_cart_button {
  order: 2;
}

.dv-product-summary__buy .woocommerce-variation {
  margin-bottom: 4px;
}

.dv-product-summary__buy .woocommerce-variation-price {
  margin: 0 0 16px;
}

.dv-product-summary__buy .quantity {
  display: none !important;
}

.dv-product-summary__buy .single_add_to_cart_button,
.dv-product-summary__buy .dv-product-summary__oneclick {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.dv-product-summary__buy .single_add_to_cart_button {
  margin: 0;
  border: 0;
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
}

.dv-product-summary__buy .single_add_to_cart_button:hover {
  opacity: 0.9;
}

.dv-product-summary__buy .dv-product-summary__oneclick {
  border: 1px solid var(--dark);
  background: var(--white);
  color: var(--dark);
  transition: background 0.2s, color 0.2s;
}

.dv-product-summary__buy .dv-product-summary__oneclick:hover {
  background: var(--dark);
  color: var(--white);
}

.dv-product-summary__share {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.dv-product-summary .dv-post-share--product .dv-post-share__btn {
  background: #b0b0b0;
  color: var(--white);
}

.dv-product-summary .dv-post-share--product .dv-post-share__btn:hover {
  background: var(--orange);
  color: var(--white);
}

.dv-product__desc--hero,
.dv-product__specs--hero {
  display: none;
}

.dv-product__desc--hero {
  margin-top: 32px;
}

.dv-product__specs--hero {
  margin-top: 28px;
}

.dv-product__specs--hero .dv-product__section-title {
  margin-bottom: 12px;
}

/* Specs: назва ········· значення */
.dv-specs {
  width: 100%;
}

.dv-specs__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 0 8px;
  padding: 9px 0;
}

.dv-specs__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted);
  white-space: nowrap;
}

.dv-specs__dots {
  min-width: 16px;
  margin-bottom: 5px;
  border-bottom: 1px dotted #c8c8c8;
}

.dv-specs__val {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
  white-space: nowrap;
  text-align: right;
}

/* Panels (mobile tabs) */
.dv-product__panels {
  margin-bottom: 32px;
}

.dv-product__desktop-extra {
  display: none;
}

.dv-product__panels-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.dv-product__tab {
  padding: 0 0 12px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  cursor: pointer;
}

.dv-product__tab.is-on {
  font-weight: 600;
  color: var(--orange);
  box-shadow: inset 0 -2px 0 var(--orange);
}

.dv-product__panel {
  display: none;
}

.dv-product__panel.is-on {
  display: block;
}

.dv-product__section-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.dv-product__desc-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
}

.dv-product__desc-body p {
  margin: 0 0 1em;
}

/* Reviews (Figma) */
.dv-product-reviews {
  display: grid;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.dv-product__section-title--reviews {
  display: inline-block;
  margin-bottom: 24px;
}


.dv-product-reviews__form-wrap .dv-product__section-title {
  margin-bottom: 20px;
}

.dv-review-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dv-review-list .children {
  margin: 16px 0 0;
  padding: 0 0 0 24px;
  list-style: none;
}

.dv-review-item {
  margin: 0 0 28px;
  padding: 0;
}

.dv-review-item:last-child {
  margin-bottom: 0;
}

.dv-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dv-review__head-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dv-review__author {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
}

.dv-review__stars {
  display: inline-flex;
  gap: 2px;
}

.dv-review__star {
  width: 16px;
  height: 16px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23e0e0e0' d='M10 1.5l2.47 5.01 5.53.8-4 3.9.94 5.5L10 14.2l-4.94 2.6.94-5.5-4-3.9 5.53-.8L10 1.5z'/%3E%3C/svg%3E");
}

.dv-review__star.is-on {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23f16a2d' d='M10 1.5l2.47 5.01 5.53.8-4 3.9.94 5.5L10 14.2l-4.94 2.6.94-5.5-4-3.9 5.53-.8L10 1.5z'/%3E%3C/svg%3E");
}

.dv-review__date {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--muted);
}

.dv-review__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
}

.dv-review__text p {
  margin: 0;
}

.dv-review__reply {
  margin-top: 12px;
}

.dv-review__reply a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dv-review__reply-icon {
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Cpath d='M4 10.5c4-6 10-6 10-6-1.5 2.5-1.5 5.5 0 8.5' stroke='%23f16a2d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.dv-review--reply {
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--header-soft);
}

.dv-review-form {
  margin: 0;
}

.dv-review-form .comment-reply-title,
.dv-review-form .logged-in-as,
.dv-review-form .comment-form-url,
.dv-review-form .comment-form-cookies-consent,
.dv-review-form .comment-form-rating label[for="rating"],
.dv-review-form select#rating {
  display: none !important;
}

.dv-review-form .comment-form-rating {
  margin: 0;
}

.dv-review-form__rating {
  margin-bottom: 20px;
}

.dv-review-form__rating-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--dark);
}

.dv-review-stars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 420px;
}

.dv-review-stars__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: center;
}

.dv-review-stars__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dv-review-stars__icon {
  width: 28px;
  height: 28px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath fill='%23d8d8d8' d='M14 2.5l3.4 6.9 7.6 1.1-5.5 5.4 1.3 7.6L14 20.3l-6.8 3.6 1.3-7.6-5.5-5.4 7.6-1.1L14 2.5z'/%3E%3C/svg%3E");
}

.dv-review-stars__item.is-lit .dv-review-stars__icon,
.dv-review-stars__item.is-on .dv-review-stars__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath fill='%23f16a2d' d='M14 2.5l3.4 6.9 7.6 1.1-5.5 5.4 1.3 7.6L14 20.3l-6.8 3.6 1.3-7.6-5.5-5.4 7.6-1.1L14 2.5z'/%3E%3C/svg%3E");
}

.dv-review-stars__label {
  font-size: 11px;
  line-height: 1.2;
  color: var(--muted);
}

.dv-review-form .comment-form-author,
.dv-review-form .comment-form-email,
.dv-review-form .comment-form-pros,
.dv-review-form .comment-form-cons,
.dv-review-form .comment-form-comment {
  margin: 0 0 12px;
}

.dv-review-form input[type="text"],
.dv-review-form input[type="email"],
.dv-review-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--header-soft);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
}

.dv-review-form textarea {
  min-height: 52px;
}

.dv-review-form .comment-form-comment textarea {
  min-height: 120px;
}

.dv-review-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.dv-review-form__notify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
}

.dv-review-form__notify input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange);
}

.dv-review-form .form-submit {
  margin: 0;
}

.dv-review-form .form-submit input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 40px;
  border: 0;
  border-radius: var(--pill);
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.dv-review-form .form-submit input:hover {
  opacity: 0.9;
}

.dv-product-reviews__empty {
  font-size: 15px;
  color: var(--muted);
}

/* Related */
.dv-related {
  margin: 40px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.dv-related__heading {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

.dv-related__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.dv-related__slide {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
}

.dv-related__slide .dv-product {
  min-height: 380px;
}

@media (min-width: 1024px) {
  .dv-product-page {
    padding-top: 32px;
  }

  .dv-product-page .dv-popular {
    padding: 64px 0 96px;
  }

  .dv-product__hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--gap);
    align-items: start;
    margin-bottom: 48px;
  }

  .dv-product__col--media,
  .dv-product__col--buy {
    min-width: 0;
  }

  .dv-product-page .dv-product__panels--mobile {
    display: none !important;
  }

  .dv-product__desc--hero,
  .dv-product__specs--hero {
    display: block;
  }

  .dv-product-gallery__layout {
    gap: 16px;
  }

  .dv-product-gallery__thumb {
    width: 88px;
    height: 88px;
  }

  .dv-product-gallery__main {
    height: 500px;
  }

  .dv-product-summary__title {
    font-size: 32px;
  }

  .dv-product__panels {
    display: none;
  }

  .dv-product__desktop-extra {
    display: block;
  }

  .dv-product-reviews {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--gap);
    align-items: start;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .dv-product__desktop-extra {
    margin-top: 32px;
  }

  .dv-related__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    overflow: visible;
  }

  .dv-related__slide {
    flex: none;
  }
}

/* —— Cart (Figma 04_Cart) —— */
/* =============================================
   Cart — Figma 04_Cart (pixel-perfect)
   ============================================= */

.dv-cart-page {
  padding: 24px 0 0;
}

.dv-cart-page__title {
  margin: 8px 0 24px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}

.dv-cart-empty {
  padding: 48px 0 80px;
  text-align: center;
}

.dv-cart-empty p {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--muted);
}

/* Grid: items (left) + summary (right) */
.dv-cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
  align-items: start;
}

/* Items list box */
.dv-cart-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

/* Single cart row */
.dv-cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.dv-cart-item:last-child {
  border-bottom: 0;
}

/* Thumbnail */
.dv-cart-item__media {
  flex-shrink: 0;
  width: 80px;
}

.dv-cart-item__media a {
  display: block;
}

.dv-cart-item__media img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Info section (name + specs) */
.dv-cart-item__info {
  flex: 1;
  min-width: 0;
  padding-right: 16px;
}

.dv-cart-item__name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

.dv-cart-item__name a {
  color: inherit;
  text-decoration: none;
}

.dv-cart-item__name a:hover {
  color: var(--orange);
}

.dv-cart-item__specs {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Right block: qty + price + × */
.dv-cart-item__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Qty: − [box] + — only the number has a border */
.dv-cart-item__qty {
  flex-shrink: 0;
}

.dv-cart-qty {
  display: inline-flex;
  align-items: center;
}

.dv-cart-qty .quantity {
  margin: 0;
  float: none;
}

.dv-cart-qty__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dark);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.dv-cart-qty__btn:hover {
  color: var(--orange);
}

.dv-cart-qty__input,
.dv-cart-qty input.qty {
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 8px !important;
  background: var(--white) !important;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--dark);
  -moz-appearance: textfield;
  outline: none;
  box-shadow: none;
}

.dv-cart-qty input.qty::-webkit-outer-spin-button,
.dv-cart-qty input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Price: old above, current below, right-aligned */
.dv-cart-item__price {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  min-width: 100px;
  text-align: right;
}

.dv-cart-item__price-old {
  font-size: 13px;
  font-weight: 400;
  color: #b0b0b0;
  text-decoration: line-through;
  line-height: 1.2;
}

.dv-cart-item__price-old .woocommerce-Price-amount {
  color: inherit;
  font-weight: inherit;
}

.dv-cart-item__price-current {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.dv-cart-item__price-current .woocommerce-Price-amount {
  font-weight: 700;
}

/* Remove × — thin icon, far right */
.dv-cart-item__remove {
  flex-shrink: 0;
  align-self: center;
}

.dv-cart-item__remove-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #c8c8c8 !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.dv-cart-item__remove-link span {
  display: block;
  width: 14px;
  height: 14px;
  position: relative;
}

.dv-cart-item__remove-link span::before,
.dv-cart-item__remove-link span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.dv-cart-item__remove-link span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.dv-cart-item__remove-link span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.dv-cart-item__remove-link:hover {
  color: var(--dark) !important;
}

/* Override WooCommerce default remove link styles */
.dv-cart-list a.remove {
  background: none !important;
  color: #c8c8c8 !important;
  border-radius: 0 !important;
  font-size: 0 !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  width: 20px !important;
  height: 20px !important;
  text-align: center !important;
}

.dv-cart-list a.remove:hover {
  background: none !important;
  color: var(--dark) !important;
}

/* ---- Summary card ---- */
.dv-cart-summary {
  padding: 24px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.dv-cart-summary__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.dv-cart-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

/* Row: label ····· value (flex leader) */
.dv-cart-summary__row {
  display: flex;
  align-items: baseline;
  width: 100%;
  font-size: 14px;
  line-height: 1.4;
  color: var(--dark);
}

.dv-cart-summary__label {
  flex: 0 0 auto;
  font-weight: 400;
  white-space: nowrap;
}

.dv-cart-summary__dots {
  flex: 1 1 auto;
  min-width: 12px;
  margin: 0 8px;
  border: 0;
  border-bottom: 1px dotted #c8c8c8;
  height: 0;
  align-self: flex-end;
  margin-bottom: 0.35em;
}

.dv-cart-summary__value {
  flex: 0 0 auto;
  font-weight: 400;
  white-space: nowrap;
  text-align: right;
}

.dv-cart-summary__value .woocommerce-Price-amount {
  font-weight: inherit;
}

/* Total row */
.dv-cart-summary__row--total {
  margin-top: 8px;
  align-items: flex-end;
}

.dv-cart-summary__row--total .dv-cart-summary__dots {
  margin-bottom: 0.55em;
}

.dv-cart-summary__row--total .dv-cart-summary__label {
  font-size: 15px;
  font-weight: 700;
}

.dv-cart-summary__row--total .dv-cart-summary__value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.dv-cart-summary__row--total .dv-cart-summary__value .woocommerce-Price-amount {
  font-weight: 700;
}

/* Checkout button — pill */
.dv-cart-summary__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: var(--pill);
  background: var(--dark);
  color: var(--white) !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

.dv-cart-summary__checkout:hover {
  opacity: 0.88;
  color: var(--white) !important;
}

/* Popular section below cart */
.dv-cart-page .dv-popular {
  margin-bottom: 48px;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .dv-cart-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .dv-cart-item__media {
    width: 64px;
  }

  .dv-cart-item__media img {
    width: 64px;
    height: 64px;
  }

  .dv-cart-item__info {
    flex: 1;
    min-width: calc(100% - 80px);
    padding-right: 0;
  }

  .dv-cart-item__actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    gap: 20px;
    padding-left: 76px;
  }

  .dv-cart-item__price {
    min-width: 80px;
  }
}

@media (min-width: 1024px) {
  .dv-cart-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
  }
}

/* —— Checkout (Figma 05–09) —— */
body.dv-checkout-layout {
  background: #f8f8f8;
}

body.dv-checkout-layout .dv-header__bar--top,
body.dv-checkout-layout .dv-header__burger,
body.dv-checkout-layout .dv-header__nav,
body.dv-checkout-layout .dv-header__search,
body.dv-checkout-layout .dv-header__actions,
body.dv-checkout-layout .dv-mobile {
  display: none !important;
}

body.dv-checkout-layout .dv-header__bar--main .dv-header__bar-inner {
  justify-content: space-between;
}

.dv-header__checkout-phones {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.dv-checkout-layout .dv-header__checkout-phones {
  display: flex;
}

.dv-header__checkout-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.dv-header__checkout-phone a:hover {
  color: var(--orange);
}

.dv-checkout-page {
  padding: 32px 0 64px;
}

.dv-checkout-page__title {
  margin: 0 0 28px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}

.dv-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.dv-checkout-main {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.dv-checkout-step {
  border-bottom: 1px solid var(--line);
}

.dv-checkout-step:last-child {
  border-bottom: 0;
}

.dv-checkout-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
}

.dv-checkout-step.is-locked .dv-checkout-step__head {
  opacity: 0.45;
}

.dv-checkout-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.dv-checkout-step__title {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.dv-checkout-step__edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--orange);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.dv-checkout-step__edit-icon {
  width: 16px;
  height: 16px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M11.3 2.7l2 2-8 8H3.3v-2l8-8z' stroke='%23f16a2d' stroke-width='1.5'/%3E%3C/svg%3E");
}

.dv-checkout-step__summary {
  padding: 0 24px 20px 68px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.dv-checkout-step__summary p {
  margin: 0;
}

.dv-checkout-step__body {
  padding: 0 24px 24px;
}

.dv-checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
}

.dv-checkout-fields .form-row {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dv-checkout-fields .form-row-first,
.dv-checkout-fields .form-row-last,
.dv-checkout-fields .form-row-wide {
  width: 100% !important;
  float: none !important;
  clear: none !important;
}

.dv-checkout-fields .woocommerce-input-wrapper {
  width: 100%;
}

.dv-checkout-fields[data-checkout-fields="1"] #billing_first_name_field {
  grid-column: 1;
  grid-row: 1;
}

.dv-checkout-fields[data-checkout-fields="1"] #billing_last_name_field {
  grid-column: 2;
  grid-row: 1;
}

.dv-checkout-fields[data-checkout-fields="1"] #billing_phone_field {
  grid-column: 1;
  grid-row: 2;
}

.dv-checkout-fields[data-checkout-fields="1"] #billing_email_field {
  grid-column: 2;
  grid-row: 2;
}

.dv-checkout-fields[data-checkout-fields="3"] #billing_state_field {
  grid-column: 1;
  grid-row: 1;
}

.dv-checkout-fields[data-checkout-fields="3"] #billing_city_field {
  grid-column: 2;
  grid-row: 1;
}

.dv-checkout-fields > p:empty,
.dv-checkout-step__body > p:empty {
  display: none;
  margin: 0;
}

.dv-checkout-fields .form-row-wide {
  grid-column: 1 / -1;
}

.dv-checkout-fields label {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dv-checkout-fields input.input-text,
.dv-checkout-fields select,
.dv-checkout-fields textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #f0f0f0;
  font-family: inherit;
  font-size: 14px;
  line-height: 48px;
  color: var(--dark);
  box-sizing: border-box;
}

.dv-checkout-fields textarea {
  min-height: 120px;
  padding: 16px;
  resize: vertical;
}

.dv-checkout-fields .dv-hidden-field,
#billing_country_field {
  display: none !important;
}

.dv-checkout-fields .woocommerce-invalid input.input-text,
.dv-checkout-fields .woocommerce-invalid select,
.dv-checkout-fields .woocommerce-invalid textarea,
.dv-checkout-fields .dv-field-invalid input.input-text,
.dv-checkout-fields .dv-field-invalid select,
.dv-checkout-fields .dv-field-invalid textarea {
  background: #fff5f5;
  box-shadow: inset 0 0 0 1px #e53935;
}

.dv-field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #e53935;
}

.dv-checkout-fields--shipping {
  margin-bottom: 20px;
}

.dv-checkout-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.dv-checkout-step__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.dv-checkout-continue {
  min-width: 160px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--pill);
  background: var(--dark);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dv-checkout-continue:hover {
  opacity: 0.9;
}

.dv-checkout-continue.is-disabled,
.dv-checkout-continue.is-loading {
  background: #b0b0b0;
  cursor: not-allowed;
  opacity: 1;
}

.dv-checkout-continue.is-disabled:hover,
.dv-checkout-continue.is-loading:hover {
  opacity: 1;
}

.dv-checkout-radios,
.dv-checkout-payment .wc_payment_methods,
.dv-checkout-payment__methods {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dv-checkout-payment__methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dv-checkout-radios li,
.dv-checkout-payment .wc_payment_method {
  margin: 0;
}

.dv-checkout-radios label,
.dv-checkout-payment .wc_payment_method > label,
.dv-checkout-payment .dv-payment-method__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}

.dv-payment-method__title {
  flex: 1 1 auto;
}

.dv-checkout-radios input[type="radio"],
.dv-checkout-payment input[type="radio"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--dark);
}

.dv-checkout-radios li:has(input:checked) label,
.dv-checkout-payment .wc_payment_method:has(input:checked) > label,
.dv-checkout-payment .wc_payment_method:has(input:checked) .dv-payment-method__label {
  border-color: var(--dark);
}

.dv-checkout-payment .payment_box,
.dv-checkout-payment .place-order,
.dv-checkout-payment .woocommerce-privacy-policy-text,
.dv-checkout-payment .woocommerce-terms-and-conditions-wrapper {
  display: none !important;
}

.dv-checkout-shipping {
  margin-bottom: 16px;
}

.dv-checkout-shipping-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dv-checkout-shipping-methods li {
  margin: 0;
}

.dv-checkout-shipping-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}

.dv-checkout-shipping-method__label {
  flex: 1 1 auto;
}

.dv-checkout-shipping-method input[type="radio"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--dark);
}

.dv-checkout-shipping-methods li:has(input:checked) .dv-checkout-shipping-method {
  border-color: var(--dark);
}

.dv-checkout-shipping-notice {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.dv-checkout-mrkv-fields {
  margin-bottom: 8px;
}

.dv-checkout-mrkv-fields .mrkv_ua_shipping_checkout_fields {
  display: none;
  margin-top: 16px;
}

.dv-checkout-mrkv-fields .mrkv_ua_shipping_checkout_fields .form-row {
  margin: 0 0 12px;
  padding: 0;
  float: none;
  width: 100%;
}

.dv-checkout-mrkv-fields .mrkv_ua_shipping_checkout_fields label {
  clip: auto;
  position: static !important;
  width: auto;
  height: auto;
  margin: 0 0 8px;
  overflow: visible;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.dv-checkout-mrkv-fields .mrkv_ua_shipping_checkout_fields select,
.dv-checkout-mrkv-fields .mrkv_ua_shipping_checkout_fields input.input-text {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #f0f0f0;
  font-family: inherit;
  font-size: 14px;
  color: var(--dark);
  box-sizing: border-box;
}

.dv-checkout-mrkv-fields .select2-container {
  width: 100% !important;
}

.dv-checkout-mrkv-fields .select2-container .select2-selection--single {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #f0f0f0;
}

.dv-checkout-mrkv-fields .select2-container .select2-selection__rendered {
  line-height: 48px;
  padding-left: 16px;
  padding-right: 32px;
}

.dv-checkout-mrkv-fields .select2-container .select2-selection__arrow {
  height: 48px;
}

.dv-checkout-shipping .woocommerce-shipping-totals {
  display: none;
}

.dv-checkout-shipping-package {
  width: 100%;
}

.dv-checkout-shipping .woocommerce-shipping-methods {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dv-checkout-shipping .woocommerce-shipping-methods li {
  margin: 0 0 12px;
}

.dv-checkout-shipping .woocommerce-shipping-methods label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.dv-checkout-hidden-payment {
  display: none !important;
}

body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .woocommerce-thankyou-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  display: none !important;
}

.dv-checkout-summary {
  padding: 24px 20px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.dv-checkout-summary__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.dv-checkout-summary__count {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--muted);
}

.dv-checkout-order-table {
  display: block;
  margin-bottom: 24px;
}

.dv-checkout-order-row {
  display: flex;
  align-items: baseline;
  width: 100%;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--dark);
}

.dv-checkout-order-row__name {
  flex: 0 1 auto;
  max-width: 58%;
  font-weight: 400;
}

.dv-checkout-order-row__qty {
  color: var(--muted);
  font-weight: 400;
}

.dv-checkout-order-row__dots {
  flex: 1 1 auto;
  min-width: 12px;
  margin: 0 8px;
  border: 0;
  border-bottom: 1px dotted #c8c8c8;
  height: 0;
  align-self: flex-end;
  margin-bottom: 0.35em;
}

.dv-checkout-order-row__total {
  flex: 0 0 auto;
  font-weight: 400;
  white-space: nowrap;
  text-align: right;
}

.dv-checkout-order-row__total .woocommerce-Price-amount {
  font-weight: inherit;
}

.dv-checkout-order-total {
  display: flex;
  align-items: flex-end;
  width: 100%;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.dv-checkout-order-total__label {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 700;
}

.dv-checkout-order-total__dots {
  flex: 1 1 auto;
  min-width: 12px;
  margin: 0 8px;
  border: 0;
  border-bottom: 1px dotted #c8c8c8;
  height: 0;
  align-self: flex-end;
  margin-bottom: 0.35em;
}

.dv-checkout-order-total__price {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

.dv-checkout-order-total__price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
}

.dv-checkout-place-order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: var(--pill);
  background: var(--dark);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s;
}

.dv-checkout-place-order:hover:not(:disabled) {
  opacity: 0.9;
}

.dv-checkout-place-order.is-disabled,
.dv-checkout-place-order:disabled {
  background: #b0b0b0;
  cursor: not-allowed;
  opacity: 1;
}

.dv-checkout-summary .cart-subtotal,
.dv-checkout-summary .order-total,
.dv-checkout-summary #payment,
.dv-checkout-summary .woocommerce-checkout-payment {
  display: none !important;
}

.dv-footer--checkout {
  margin-top: auto;
  padding: 20px 0;
  background: var(--dark);
}

.dv-footer--checkout__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Success popup */
.dv-order-success {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dv-order-success.is-open {
  display: flex;
}

.dv-order-success__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.dv-order-success__modal {
  position: relative;
  width: min(480px, 100%);
  padding: 40px 32px 32px;
  border-radius: 12px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.dv-order-success__icon {
  margin-bottom: 20px;
}

.dv-order-success__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

.dv-order-success__text {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.dv-order-success__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border-radius: var(--pill);
  background: var(--dark);
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dv-order-success__btn:hover {
  opacity: 0.9;
  color: var(--white);
}

.dv-thankyou-placeholder {
  display: none;
}

@media (max-width: 479px) {
  .dv-checkout-fields {
    grid-template-columns: 1fr;
  }

  .dv-checkout-payment__methods {
    grid-template-columns: 1fr;
  }

  .dv-checkout-fields[data-checkout-fields="1"] #billing_first_name_field,
  .dv-checkout-fields[data-checkout-fields="1"] #billing_last_name_field,
  .dv-checkout-fields[data-checkout-fields="1"] #billing_phone_field,
  .dv-checkout-fields[data-checkout-fields="1"] #billing_email_field,
  .dv-checkout-fields[data-checkout-fields="3"] #billing_state_field,
  .dv-checkout-fields[data-checkout-fields="3"] #billing_city_field {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (min-width: 1024px) {
  .dv-checkout-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--gap);
  }

  .dv-checkout-summary {
    position: sticky;
    top: 100px;
  }
}
