/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
 */

/*
 # Section Feddbacks slider
 # Section Feddbacks video slider
 # Catalog filters
 */

.shop-loop-head>.wd-shop-tools:nth-child(2) {
  margin-left: auto;
}

.sr-only:has(h1),
h1.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mform {
  padding: 50px;
  display: flex;
  position: relative;
  background: #f8f8f8;

  gap: 60px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mform-title {
  font-size: 26px;
  font-weight: 600;
  color: #242424;

  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;

  margin-bottom: 25px;
}

.mform-text {
  color: #767676;
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 400;

  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.mform-text2 {
  margin-bottom: 20px;
}

.mform-mes {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.mform-mes a {
  display: flex;
  padding: 13px;
  width: 100%;
  font-size: 14px;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.mform-mes-vb {
  background: #665cac;
}

.mform-mes-tg {
  background: #0088cc;
}

.mform-l {
  padding-left: 10px;
  max-width: 50%;
}

.mform-r img {
  position: relative;
  z-index: 2;
}

.mform-r:after {
  content: '';
  position: absolute;
  height: 100%;
  width: 290px;
  top: 0;
  right: 0;
  background: #00b6f7;
}

.fm-gr>p {
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 14px;
  grid-row-gap: 18px;
  display: grid;
}

body .mform input[type='submit'] {
  background: #00b6f7;
  color: #fff;
}

@media screen and (max-width: 992px) {
  .mform {
    padding: 20px;

    gap: 20px;

    flex-direction: column;
  }

  .mform-l {
    padding-left: 0px;
    max-width: 100%;
  }

  .mform-r:after {
    display: none;
  }
}

@media screen and (max-width: 565px) {
  .mform-title {
    margin-bottom: 8px;
  }

  .fm-gr>p {
    grid-template-columns: repeat(1, 1fr);

    grid-row-gap: 8px;
  }

  .mform-mes {
    flex-direction: column;
  }

  .page-id-27990 .container>.row {
    margin-inline: 0;
  }

  /* Mobile Overflow Fixes */
  .website-wrapper,
  body,
  html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .container,
  .elementor-section,
  .elementor-container {
    max-width: 100% !important;
    overflow: visible !important;
  }

  /* Header & Logo */
  .wd-logo img {
    max-width: 200px !important;
    height: auto !important;
  }

  /* Search */
  .wd-search-form,
  .wd-search-form input.s {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Titles */
  .woodmart-title-container {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Sliders & Carousels */
  .wd-carousel-item,
  .wd-slide,
  .feedbacks-slider__slide,
  .feedbacks-video-slider__slide {
    max-width: 100% !important;
  }

  /* Grid Items */
  .category-grid-item,
  .footer-column {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Images */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}

h3.tab-label.nav-link-text {
  margin: 0;
  color: rgba(51, 51, 51, 0.7);
  font-size: 16px;
}

.wd-nav[class*='wd-style-']>li:is(.current-menu-item, .wd-active, .active)>a>h3.tab-label.nav-link-text {
  color: #333333;
}

.wd-nav[class*='wd-style-']>li:hover>a>h3.tab-label.nav-link-text {
  color: #333333;
}

/* ! Section Feddbacks slider start */
.feedbacks-slider__title .elementor-heading-title {
  color: #242424;
  text-align: center;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  /* 42px */
}

.feedbacks-slider__slide {
  max-width: 384px;
  padding: 20px 20px 30px 20px;
  position: relative;
  background-color: #fafafa;
}

.feedbacks-slider__slide-image {
  width: 100%;
  height: 229px;
}

.feedbacks-slider__slide-image img {
  width: 100%;
  height: 229px;
  object-fit: cover;
}

.feedbacks-slider__slide-title .elementor-heading-title {
  color: #333;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%;
  /* 27.9px */
}

.feedbacks-slider__slide-date {
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedbacks-slider__slide-date svg {
  min-width: 24px;
  height: 24px;
}

.feedbacks-slider__slide-date span {
  color: #767676;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%;
  /* 24.8px */
}

.feedbacks-slider__slide-text p {
  color: #333;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%;
  /* 24.8px */
}

.feedbacks-slider__slide-bg-icon-container {
  position: absolute;
  right: 20px;
  bottom: -10px;
}

.feedbacks-slider__slide-bg-icon {
  width: max-content;
  height: max-content;
}

.feedbacks-slider.elementor-widget-n-carousel .elementor-swiper-button.elementor-swiper-button-next svg,
.feedbacks-slider.elementor-widget-n-carousel .elementor-swiper-button.elementor-swiper-button-prev svg {
  fill: none;
}

@media screen and (width <=768px) {
  .feedbacks-slider__title .elementor-heading-title {
    font-size: 22px;
  }
}

/* ! Section Feddbacks slider end */

/* ! Section Feddbacks video slider start */
.feedbacks-video-slider__title .elementor-heading-title {
  color: #242424;
  text-align: center;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  /* 42px */
}

.feedbacks-video-slider__slide {
  background-color: #fafafa;
}

.feedbacks-video-slider__slide-video .wd-el-video-play-btn {
  width: 70px;
  height: 70px;
  border-radius: 70px;
  background-image: url('/wp-content/themes/woodmart-child/image/play-btn.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.feedbacks-video-slider__slide-video .wd-el-video-play-btn::before,
.feedbacks-video-slider__slide-video .wd-el-video-play-btn::after {
  content: none !important;
}

.feedbacks-video-slider__slide-info {
  flex-direction: row !important;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px 25px 20px;
}

.feedbacks-video-slider__slide-title .elementor-heading-title {
  color: #333;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%;
  /* 27.9px */
}

.feedbacks-video-slider__slide-date {
  width: 116px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedbacks-video-slider__slide-date svg {
  min-width: 24px;
  height: 24px;
}

.feedbacks-video-slider__slide-date span {
  color: #767676;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%;
  /* 24.8px */
}

.feedbacks-video-slider.elementor-widget-n-carousel .elementor-swiper-button.elementor-swiper-button-next svg,
.feedbacks-video-slider.elementor-widget-n-carousel .elementor-swiper-button.elementor-swiper-button-prev svg {
  fill: none;
}

@media screen and (width <=768px) {
  .feedbacks-video-slider__title .elementor-heading-title {
    font-size: 22px;
  }
}

/* ! Section Feddbacks video slider end */

/* ! Catalog filters start */
#woodmart-woocommerce-layered-nav-35.widget {
  display: none;
}

/* ! Catalog filters end */

/* Global Button Radius */
button,
input[type='button'],
input[type='reset'],
input[type='submit'],
.button,
.btn,
.wd-button-wrapper a,
.ft-soc-i,
.header-btn {
  border-radius: 5px !important;
}

.ft-soc-i {
  overflow: hidden !important;
}

/* Characteristics Table Mobile Overflow Fix */
@media screen and (max-width: 768px) {

  table.shop_attributes,
  table.woocommerce-product-attributes,
  .woocommerce-tabs .shop_attributes,
  .wd-accordion-content .shop_attributes {
    display: block !important;
    width: 100% !important;
    border: none !important;
  }

  table.shop_attributes tbody,
  table.woocommerce-product-attributes tbody {
    display: block !important;
    width: 100% !important;
  }

  table.shop_attributes tr,
  table.woocommerce-product-attributes tr,
  .woocommerce-product-attributes-item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 12px 0 !important;
    margin: 0 !important;
  }

  table.shop_attributes tr:last-child,
  table.woocommerce-product-attributes tr:last-child,
  .woocommerce-product-attributes-item:last-child {
    border-bottom: none !important;
  }

  table.shop_attributes th,
  table.shop_attributes td,
  table.woocommerce-product-attributes th,
  table.woocommerce-product-attributes td,
  .woocommerce-product-attributes-item__label,
  .woocommerce-product-attributes-item__value {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    background: none !important;
    text-align: left !important;
    border: none !important;
    line-height: 1.4 !important;
  }

  table.shop_attributes th,
  table.woocommerce-product-attributes th,
  .woocommerce-product-attributes-item__label {
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    color: #333 !important;
  }

  table.shop_attributes td,
  table.woocommerce-product-attributes td,
  .woocommerce-product-attributes-item__value {
    font-style: normal !important;
    color: #666 !important;
  }

  table.shop_attributes td p,
  table.woocommerce-product-attributes td p,
  .woocommerce-product-attributes-item__value p {
    margin: 0 !important;
  }
}

.widget_shopping_cart_content {
  padding: 10px;
}

.elementor-menu-cart__subtotal {
  margin-top: 20px;
}

.elementor-menu-cart__footer-buttons {
  margin-top: 20px;
}

.elementor-button--view-cart {
  margin-right: 10px;
}

/* Hide empty container in consultation popup */
#pum-28460 .hidden-fields-container {
  display: none !important;
}

.wpcf7-form-control-wrap input::placeholder {
  font-style: italic;
  color: gray;
  font-size: 14px;
}

.wd-widget-collapse .widget-title {
  font-size: 14px;
  text-transform: lowercase;
}

.wd-widget-collapse .widget-title::first-letter {
  text-transform: uppercase;
}

/* Custom Product Badges */
.product-label.custom-badge-hit,
.product-label.custom-badge-promo,
.product-label.custom-badge-new,
.product-label.custom-badge-recommended {
  font-size: 10px !important;
}

.product-label.custom-badge-hit {
  background-color: #ef4444 !important;
  /* Red */
  color: white !important;
}

.product-label.custom-badge-promo {
  background-color: #f59e0b !important;
  /* Amber */
  color: white !important;
}

.product-label.custom-badge-new {
  background-color: #3b82f6 !important;
  /* Blue */
  color: white !important;
}

.product-label.custom-badge-recommended {
  background-color: #8b5cf6 !important;
  /* Violet */
  color: white !important;
}

/* LCP Optimization: Force main banner visibility */
.elementor-element-120f101 {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

.posted_in {
  padding-bottom: 5px;
}

.woocommerce-product-attributes-item__value {
  padding: 20px !important;
}

@media screen and (max-width: 768px) {
  .shop_attributes tr {
    max-height: none;
  }
}

@media screen and (max-width: 768px) {

  table.shop_attributes th,
  table.shop_attributes td,
  table.woocommerce-product-attributes th,
  table.woocommerce-product-attributes td,
  .woocommerce-product-attributes-item__label,
  .woocommerce-product-attributes-item__value {
    padding: 0px !important;
    margin: 16px !important;
  }
}

@media screen and (max-width: 768px) {

  table.shop_attributes tr,
  table.woocommerce-product-attributes tr,
  .woocommerce-product-attributes-item {
    padding: 0px !important;
    margin: 15px 0px !important;
  }
}

/* ========================================
   Custom Side Cart Design
   ======================================== */

/* Cart Widget Container */
.cart-widget-side {
  background: #ffffff;
  padding: 0;
}

/* Cart Header */
.cart-widget-side .wd-heading {
  padding: 20px 20px 15px 20px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.cart-widget-side .wd-heading .title {
  font-size: 18px;
  font-weight: 600;
  color: #242424;
  margin: 0;
}

.cart-widget-side .wd-heading .close-side-widget a {
  font-size: 14px;
  color: #767676;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-widget-side .wd-heading .close-side-widget a:before {
  content: '×';
  font-size: 24px;
  line-height: 1;
  margin-right: 3px;
}

/* Cart Subtitle */
.cart-widget-side .widget_shopping_cart_content:before {
  content: 'КОРЗИНА';
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #999999;
  letter-spacing: 0.5px;
  padding: 20px 20px 15px 20px;
  margin: 0;
}

/* Cart Content Area */
.cart-widget-side .widget_shopping_cart_content {
  padding: 0 !important;
}

/* Product List Container */
.cart-widget-side .elementor-menu-cart__products {
  padding: 0 20px;
  margin: 0;
}

/* Individual Product Item */
.cart-widget-side .elementor-menu-cart__product {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  display: grid !important;
  grid-template-columns: 60px 1fr auto;
  grid-template-rows: auto auto;
  gap: 10px 15px;
  position: relative;
  align-items: start;
}

.cart-widget-side .elementor-menu-cart__product:last-child {
  border-bottom: none;
}

/* Product Image - Grid position: row 1-2, column 1 */
.cart-widget-side .elementor-menu-cart__product-image {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 60px !important;
  height: 60px !important;
  margin: 0 !important;
}

.cart-widget-side .elementor-menu-cart__product-image img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover;
  background: #f5f5f5;
  display: block;
}

/* Product Name - Grid position: row 1, column 2 */
.cart-widget-side .elementor-menu-cart__product-name {
  grid-row: 1;
  grid-column: 2;
  margin: 0 !important;
  padding-right: 30px;
}

.cart-widget-side .elementor-menu-cart__product-name a {
  font-size: 14px;
  font-weight: 400;
  color: #767676;
  text-decoration: none;
  line-height: 1.4;
  display: block;
}

.cart-widget-side .elementor-menu-cart__product-name a:hover {
  color: #242424;
}

/* Product Price - Grid position: row 2, column 2 */
.cart-widget-side .elementor-menu-cart__product-price {
  grid-row: 2;
  grid-column: 2;
  margin: 0 !important;
}

.cart-widget-side .elementor-menu-cart__product-price .quantity {
  font-size: 14px;
  color: #767676;
  font-weight: 400;
}

.cart-widget-side .elementor-menu-cart__product-price .woocommerce-Price-amount {
  font-size: 14px;
  color: #00b6f7;
  font-weight: 400;
}

/* Remove Button - Grid position: row 1, column 3 */
.cart-widget-side .elementor-menu-cart__product-remove {
  grid-row: 1;
  grid-column: 3;
  margin: 0 !important;
  position: absolute;
  top: 15px;
  right: 0;
}

.cart-widget-side .elementor-menu-cart__product-remove a {
  font-size: 20px;
  line-height: 1;
  color: #999999;
  text-decoration: none;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-widget-side .elementor-menu-cart__product-remove a::before {
  content: '×';
  font-size: 24px;
  line-height: 1;
}

.cart-widget-side .elementor-menu-cart__product-remove a:hover {
  color: #242424;
}

/* Subtotal */
.cart-widget-side .elementor-menu-cart__subtotal {
  padding: 20px 20px 15px 20px;
  margin: 0;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-widget-side .elementor-menu-cart__subtotal strong {
  font-size: 16px;
  font-weight: 600;
  color: #242424;
}

.cart-widget-side .elementor-menu-cart__subtotal .woocommerce-Price-amount {
  font-size: 18px;
  font-weight: 600;
  color: #00b6f7 !important;
}

/* Buttons Container */
.cart-widget-side .elementor-menu-cart__footer-buttons {
  padding: 0 20px 20px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-widget-side .elementor-menu-cart__footer-buttons a {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  display: block;
  transition: all 0.3s ease;
}

/* View Cart Button */
.cart-widget-side .elementor-button--view-cart {
  background: #ffffff !important;
  color: #767676 !important;
  border: 1px solid #e5e5e5 !important;
}

.cart-widget-side .elementor-button--view-cart:hover {
  background: #f8f8f8 !important;
  color: #242424 !important;
  border-color: #d0d0d0 !important;
}

/* Checkout Button */
.cart-widget-side .elementor-button--checkout {
  background: #00b6f7 !important;
  color: #ffffff !important;
  border: 1px solid #00b6f7 !important;
}

.cart-widget-side .elementor-button--checkout:hover {
  background: #0099d6 !important;
  border-color: #0099d6 !important;
}

/* Empty Cart Message */
.cart-widget-side .woocommerce-mini-cart__empty-message {
  padding: 40px 20px;
  text-align: center;
  color: #767676;
  font-size: 14px;
}

/* Hide redundant elements to match mockup exactly */
/* Hide the widget title (we have our own "КОРЗИНА" subtitle) */
.cart-widget-side .widget_shopping_cart .widgettitle,
.cart-widget-side .widget_shopping_cart h2 {
  display: none !important;
}

/* Hide the second/duplicate remove button if present */
.cart-widget-side .woocommerce_remove_from_cart_button {
  display: none !important;
}

/* Ensure only our custom × button shows */
.cart-widget-side .elementor-menu-cart__product-remove .remove_from_cart_button:not(:first-child) {
  display: none !important;
}

/* Hero Section Wave Image - Full Height */
.elementor-element-120f101 {
  background-size: auto 100% !important;
}

/* Center brand logos vertically in carousel */
.wd-carousel-inner .wd-carousel-wrap {
  align-items: center !important;
}

.wd-carousel-inner .wd-carousel-item {
  display: flex !important;
  align-items: center !important;
}

@media (max-width: 768px) {
  .woocommerce-breadcrumb {
    padding-top: 20px !important;
  }

  /* Mobile Page Title Height */
  .page-title {
    min-height: 150px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Mobile: Category section "Наши категории" */
  /* Force ALL columns and inner wraps to 100% width and remove padding */
  .elementor-element-e0c6bfa .wd-col,
  .elementor-element-e0c6bfa .elementor-widget-wrap,
  .elementor-element-e0c6bfa .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    /* Remove column gaps/padding */
    margin: 0 !important;
  }

  .elementor-element-e0c6bfa .wd-cat .wrapp-category {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    /* Add spacing between items */
  }

  /* Image container full width */
  .elementor-element-e0c6bfa .wd-cat .hover-mask,
  .elementor-element-e0c6bfa .wd-cat .category-link {
    margin-bottom: 0 !important;
    z-index: 1;
    width: 100% !important;
    display: block !important;
  }

  /* Force ALL columns to break to new line and take full width */
  .elementor-element-e0c6bfa .elementor-element {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }

  /* Image styling specific override */
  .elementor-element-e0c6bfa .wd-cat .hover-mask img {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    /* Ensure image covers the area */
    display: block !important;
  }

  /* Reset any specific column widths from Elementor */
  .elementor-element-e0c6bfa .elementor-column {
    width: 100% !important;
  }

  /* Title - overlap upwards more, remove background */
  .elementor-element-e0c6bfa .wd-cat .wd-entities-title {
    margin-top: -40px !important;
    /* 30px + 10px higher */
    position: relative !important;
    z-index: 5 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    text-align: center !important;
  }

  .elementor-element-e0c6bfa .wd-cat .wd-entities-title a {
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Mobile cart menu item styles */
  .menu-item-cart-custom .woodmart-nav-link {
    display: flex !important;
    align-items: center !important;
  }

  .custom-cart-icon-wrapper {
    position: relative !important;
    display: inline-block !important;
    margin-right: 15px !important;
    width: 24px !important;
    height: 24px !important;
  }

  .custom-cart-icon-wrapper:before {
    content: '\f126' !important;
    font-family: 'woodmart-font' !important;
    font-size: 20px !important;
    color: #333 !important;
    line-height: 1 !important;
  }

  .custom-mobile-cart-badge {
    position: absolute !important;
    top: -6px !important;
    right: -8px !important;
    background-color: #00b6f7 !important;
    color: white !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    text-align: center !important;
    border-radius: 50% !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    display: block !important;
    box-shadow: 0 0 0 2px #fff !important;
  }

  /* WooCommerce Cart Page Mobile Improvements */
  .woocommerce-cart .woocommerce>form {
    padding: 0 10px !important;
  }

  /* Force table to behave like blocks */
  .woocommerce-cart table.cart,
  .woocommerce-cart table.cart thead,
  .woocommerce-cart table.cart tbody,
  .woocommerce-cart table.cart tr,
  .woocommerce-cart table.cart td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  .woocommerce-cart table.cart thead {
    display: none !important;
  }

  /* Individual Cart Item Card - GRID approach for better control */
  .woocommerce-cart table.cart .cart_item {
    background: #fff !important;
    border: 1px solid #eef0f2 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04) !important;
    display: grid !important;
    grid-template-columns: 1fr 30px !important;
    grid-template-areas:
      'name remove'
      'price price'
      'qty qty'
      'total total' !important;
    gap: 12px 15px !important;
    align-items: start !important;
  }

  /* Assign Grid Areas */
  .woocommerce-cart table.cart td.product-thumbnail,
  .shop_table.cart td.product-thumbnail img,
  .woocommerce-cart .shop_table.cart tr.cart_item td.product-thumbnail {
    display: none !important;
  }

  .woocommerce-cart table.cart td.product-name {
    grid-area: name !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .woocommerce-cart table.cart td.product-remove {
    grid-area: remove !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  .woocommerce-cart table.cart td.product-price {
    grid-area: price !important;
  }

  .woocommerce-cart table.cart td.product-quantity {
    grid-area: qty !important;
  }

  .woocommerce-cart table.cart td.product-subtotal {
    grid-area: total !important;
  }

  /* Reset Cell Styles for Grid */
  .woocommerce-cart table.cart td {
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  /* Hide labels for top row */
  .woocommerce-cart table.cart td.product-thumbnail:before,
  .woocommerce-cart table.cart td.product-name:before,
  .woocommerce-cart table.cart td.product-remove:before {
    display: none !important;
  }

  /* Adjust name link */
  .woocommerce-cart table.cart td.product-name a {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #242424 !important;
    line-height: 1.4 !important;
    display: block !important;
  }

  /* Remove Button Adjustment */
  .woocommerce-cart table.cart td.product-remove a.remove {
    font-size: 24px !important;
    color: #cbd5e0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    overflow: hidden !important;
  }

  /* Hide the second remove button if theme duplicates it */
  .woocommerce-cart table.cart td.product-remove a.remove:nth-child(2) {
    display: none !important;
  }

  .woocommerce-cart table.cart td.product-remove a.remove::before {
    content: none !important;
  }

  /* Detail Rows (Price, Qty, Total) */
  .woocommerce-cart table.cart td.product-price,
  .woocommerce-cart table.cart td.product-quantity,
  .woocommerce-cart table.cart td.product-subtotal {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-top: 1px solid #f7f9fc !important;
  }

  .woocommerce-cart table.cart td.product-price:before {
    content: 'Цена';
    font-size: 13px;
    color: #718096;
    font-weight: 500;
  }

  .woocommerce-cart table.cart td.product-quantity:before {
    content: 'Кол-во';
    font-size: 13px;
    color: #718096;
    font-weight: 500;
  }

  .woocommerce-cart table.cart td.product-subtotal:before {
    content: 'Сумма';
    font-size: 14px;
    color: #2d3748;
    font-weight: 600;
  }

  .woocommerce-cart table.cart td.product-subtotal .amount {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #00b6f7 !important;
  }

  /* Quantity buttons styling */
  .woocommerce-cart .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .woocommerce-cart .quantity input.qty {
    width: 50px !important;
    text-align: center !important;
    border: 1px solid #e2e8f0 !important;
    height: 36px !important;
    margin: 0 5px !important;
    border-radius: 4px !important;
  }

  /* Actions (Coupon & Update) */
  .woodmart-cart-form .actions {
    padding: 20px 0 !important;
    border: none !important;
  }

  .woodmart-cart-form .coupon {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: #f8fafc !important;
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
  }

  .woodmart-cart-form .coupon input {
    height: 48px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 15px !important;
  }

  .woodmart-cart-form .coupon button {
    height: 48px !important;
    width: 100% !important;
    margin: 0 !important;
    background: #00b6f7 !important;
    color: #fff !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .woodmart-cart-form button[name='update_cart'] {
    width: 100% !important;
    height: 48px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #4a5568 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
  }

  /* Cart Totals */
  .cart-collaterals {
    margin-top: 30px !important;
    padding: 0 !important;
  }

  .cart_totals {
    background: #fff !important;
    border: 1px solid #eef0f2 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04) !important;
  }

  .cart_totals h2 {
    font-size: 20px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .cart_totals table {
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .cart_totals table th {
    font-weight: 600 !important;
    color: #4a5568 !important;
  }

  .cart_totals .checkout-button {
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    background: #00b6f7 !important;
  }

  p.return-to-shop {
    content: 'ВЕРНУТЬСЯ НАЗАД' !important;
  }

  .woocommerce-cart table.cart td.product-thumbnail,
  .shop_table.cart td.product-thumbnail img,
  .woocommerce-cart .shop_table.cart tr.cart_item td.product-thumbnail {
    display: block !important;
    margin-top: 70px !important;
    box-shadow: none !important;
    margin-left: auto !important;
  }

  .shop_table.cart .quantity {
    display: flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
    z-index: 1000 !important;
  }

  .elementor-element.elementor-element-62c3ed9.e-con-full.e-flex.e-con.e-child {
    padding-top: 100px;
  }
}

@media (max-width: 1024px) {
  .elementor-element.elementor-element-62c3ed9.e-con-full.e-flex.e-con.e-child {
    padding-top: 100px;
  }
}