/* =========================================
   GLOBAL / EXISTING SITE FIXES
========================================= */

.th-departments__button-title {
    text-shadow: none !important;
}

.elementor-kit-17 button,
.elementor-kit-17 input[type=button],
.elementor-kit-17 input[type=submit],
.elementor-kit-17 .elementor-button {
    text-shadow: none !important;
}

.th-product-card--layout--grid .th-product-card__rating,
.th-products-list[data-layout=grid] .th-product-card .th-product-card__rating {
    display: none;
}

.th-categories-list {
    --th-categories-list--columns: 6;
}

.th-mobile-header,
.th-mobile-header__menu-button {
    background: white;
}

.th-mobile-indicator__icon,
.th-mobile-header__menu-button {
    fill: black;
}

.th-footer-links__list li {
    padding-left: 15px;
}

a {
    color: red;
    text-decoration: none;
}

button.th-layout-switcher__button:nth-child(2),
.th-product-card .th-product-card__actions-list .th-quickview-open,
.woocommerce-tabs .wc-tabs,
.woocommerce-tabs .wc-tab,
.pwb-brands-in-loop,
.grecaptcha-badge,
.sagepaydirect-card-icons,
.th-status-badge,
.th-tag-badge--sale,
.th-product__badge .th-tag-badge {
    display: none !important;
}

.th-alert--style--primary,
.woocommerce-message,
.th-alert--style--info,
.woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.wpr-checkout-notice .woocommerce-error,
.wpr-checkout-notice .woocommerce-message {
    background: #EA2124;
    color: white;
    display: inherit !important;
}

.th-alert a,
.woocommerce-error a,
.woocommerce-info a,
.woocommerce-message a {
    background: white;
    color: #EA2124;
}

.th-departments__button-icon {
    top: 5px !important;
    display: inline !important;
}

.wc_payment_methods .payment_box {
    font-size: 10px !important;
}

.cart_totals td {
    flex-wrap: nowrap !important;
}

.cart_totals .woocommerce-shipping-calculator {
    margin-top: 0 !important;
}

.woocommerce-orders-table .button {
    margin: 2px;
}

.woocommerce-account a.track-button {
    margin-right: 0;
    padding: 4px 9px;
}

.ywot-icon-delivery:before {
    content: none;
}

.yith-ywot-tracking-info-container .ywot_order_details {
    background-color: white;
    padding-top: 0;
}

.woocommerce-account div.yith-ywot-tracking-info-container p.yith-ywot-tracking-info-header {
    font-size: 22px;
    margin-bottom: 0;
    font-weight: 450;
    padding: .875rem 1.25rem .5rem;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    padding-right: 0;
}

.woocommerce-address-title.title {
    margin-left: 20px;
    margin-top: 10px;
}

.thmaf-adr-box.address-box {
    margin: 0;
    padding: .25rem 1.25rem 1rem;
    font-size: 14px;
    background: white;
    color: #6c757d;
}

.complete-aaddress {
    min-height: 180px !important;
}

.tile-adrr-text.thwma-adr-text {
    text-align: center;
}

.thmaf-thslider-box {
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation {
    height: 250px;
}

th-block-products-carousel th-product-view__products-list {
    display: none;
}

.th-status-badge--style--success .th-status-badge__body {
    background-color: white;
}

.th-block-brands__item-name {
    display: none;
}

.th-block-brands__item-link img {
    filter: none;
}

.wbm_banner_image img {
    padding-bottom: 25px;
}

/* =========================================
   SINGLE PRODUCT LAYOUT FIXES
========================================= */

.th-product--layout--full .th-product__card {
    height: auto !important;
    min-height: 628px !important;
    flex-wrap: wrap !important;
}

.single-product .th-product__intro,
.single-product .th-product__info,
.single-product .woocommerce-product-details__short-description {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.single-product .th-product__sidebar {
    align-self: flex-start;
}

.th-product--layout--full .th-product__gallery .flex-viewport,
.th-product--layout--full .th-product__gallery .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
    height: 371px !important;
}

/* =========================================
   PRODUCT IMAGE MODERN FRAME
========================================= */

.single-product .woocommerce-product-gallery {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.04);
}

.single-product .woocommerce-product-gallery__wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.single-product .woocommerce-product-gallery__image img {
    border-radius: 10px;
}

/* =========================================
   HIDE DEFAULT WOOCOMMERCE PRICE + META
========================================= */

.single-product .summary > p.price,
.single-product .summary > .price,
.single-product .summary > .product_meta {
    display: none !important;
}

/* =========================================
   PRICE CARD
========================================= */

.partserv-price-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 24px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 26px 0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
}

.partserv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.partserv-row span {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .02em;
    min-width: 42px;
}

.partserv-row strong {
    font-size: 18px;
    color: #111;
    white-space: nowrap;
    font-weight: 800;
}

.partserv-price-card hr {
    border: 0;
    border-top: 1px solid #e6e6e6;
    margin: 16px 0 18px;
}

.partserv-your-price {
    background: #fff0f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.partserv-your-price span {
    display: block;
    color: #e30613;
    font-weight: 800;
    margin-bottom: 0;
    font-size: 16px;
}

.partserv-your-price strong,
.partserv-your-price strong .woocommerce-Price-amount,
.partserv-your-price strong bdi {
    display: inline !important;
    font-size: 34px !important;
    line-height: 1 !important;
    color: #e30613 !important;
    font-weight: 900 !important;
    white-space: nowrap;
}

.partserv-your-price .woocommerce-Price-currencySymbol {
    display: inline !important;
    font-size: inherit !important;
}

/* =========================================
   STOCK / BRAND
========================================= */

.partserv-stock-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    margin-top: 0 !important;
}

.partserv-stock {
    color: #008a16;
    font-weight: 800;
    font-size: 18px;
    white-space: nowrap;
}

.partserv-brand,
.partserv-brand img,
.partserv-brand .sku_wrapper,
.partserv-brand .posted_in,
.partserv-brand .tagged_as,
.partserv-brand .product_meta,
.partserv-brand span:not(.brand) {
    display: none !important;
}

/* =========================================
   BULK DISCOUNT
========================================= */

.single-product .th-product__sidebar table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 26px 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;
    border: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #eefaf1 !important;
    box-shadow: none !important;
    table-layout: fixed;
}

.single-product .th-product__sidebar table thead {
    display: none;
}

.single-product .th-product__sidebar table tbody,
.single-product .th-product__sidebar table tr {
    width: 100%;
}

.single-product .th-product__sidebar table tr {
    display: flex;
    align-items: center;
}

.single-product .th-product__sidebar table th,
.single-product .th-product__sidebar table td {
    width: 50% !important;
    padding: 20px 18px !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left;
}

.single-product .th-product__sidebar table td {
    font-size: 16px;
    font-weight: 800;
    color: #111;
}

.single-product .th-product__sidebar table td:first-child {
    border-right: 1px solid rgba(0,0,0,0.08) !important;
}

.single-product .th-product__sidebar table td:last-child {
    color: #008a16 !important;
    font-size: 20px;
    font-weight: 900;
}

.single-product .th-product__sidebar table td:last-child::after {
    content: "Bulk Discount";
    display: block;
    color: #222;
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}

/* =========================================
   ADD TO BASKET
========================================= */

.single-product form.cart {
    margin: 0 0 26px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: nowrap;
    position: relative;
}

.single-product form.cart::before {
    content: "Quantity";
    position: absolute;
    top: -22px;
    left: 0;
    color: #555;
    font-size: 13px;
    line-height: 1;
}

.single-product form.cart .quantity {
    margin: 0 !important;
    min-width: 134px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 9px;
    overflow: hidden;
}

.single-product form.cart .quantity .qty {
    height: 48px;
    border: 0 !important;
    background: #ffffff !important;
    font-weight: 800;
    font-size: 16px;
}

.single-product form.cart .single_add_to_cart_button {
    flex: 1;
    border-radius: 10px !important;
    min-height: 50px;
    padding: 0 24px !important;
    font-weight: 900;
    font-size: 17px;
    background: #e30613 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(227,6,19,0.22);
    transition: all .2s ease;
}

.single-product form.cart .single_add_to_cart_button:hover {
    background: #c9000b !important;
    transform: translateY(-1px);
}

/* =========================================
   TAGS / POPULAR SEARCHES
========================================= */

.single-product .product_meta,
.single-product .tagged_as {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 20px !important;
    margin-top: 22px !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}

.single-product .tagged_as::before {
    content: "Popular Searches";
    display: block;
    color: #111;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 14px;
}

.single-product .tagged_as a {
    display: inline-block;
    background: #f1f2f4;
    color: #222 !important;
    border-radius: 999px;
    padding: 7px 12px;
    margin: 4px 4px 4px 0;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================
   REMOVE PRODUCT FEATURE WIDGET BOX
========================================= */

.single-product .th-block-features,
.single-product .th-block-features-wrapper,
.single-product .th-block-features__list,
.single-product .th-block-features__item,
.single-product .th-block-features__item-icon,
.single-product .th-block-features__item-info,
#redparts_sputnik_block_features-1 {
    display: none !important;
}

/* =========================================
   PRODUCT INFO / DESCRIPTION
========================================= */

.single-product .th-product__info {
    padding: 20px 10px;
    min-width: 0;
}

.single-product .product_title {
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    color: #111 !important;
}

.single-product .th-product__info,
.single-product .woocommerce-product-details__short-description {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #333 !important;
}

.single-product .woocommerce-product-details__short-description {
    max-width: 540px;
}

.single-product .woocommerce-product-details__short-description p {
    margin-bottom: 22px;
}

.single-product .woocommerce-product-details__short-description strong {
    font-size: 16px;
    color: #111;
    font-weight: 700;
}

.single-product .woocommerce-product-details__short-description ul {
    list-style: none;
    padding-left: 0;
    margin: 14px 0 28px 0;
}

.single-product .woocommerce-product-details__short-description li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: #333;
}

.single-product .woocommerce-product-details__short-description li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border: 1px solid #EA2124;
    border-radius: 50%;
    color: #EA2124;
    font-size: 11px;
    line-height: 17px;
    text-align: center;
    font-weight: 700;
}

/* =========================================
   TRUST STRIP - FIXED FULL-WIDTH ROW
========================================= */

.single-product .partserv-trust-panel-horizontal {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    clear: both !important;
    order: 99 !important;
    margin: 6px 0 0 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
    overflow: hidden;
}

.single-product .partserv-trust-item-horizontal {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 22px 18px;
    border-right: 1px solid #eeeeee;
}

.single-product .partserv-trust-item-horizontal:last-child {
    border-right: 0;
}

.single-product .partserv-trust-icon-horizontal {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #fff0f0;
    color: #e30613;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
}

.single-product .partserv-trust-content-horizontal strong {
    display: block;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 4px;
}

.single-product .partserv-trust-content-horizontal span {
    display: block;
    color: #555;
    font-size: 11px;
    line-height: 1.35;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    .th-product--layout--full .th-product__card {
        min-height: 0 !important;
    }

    .single-product .product_title {
        font-size: 24px !important;
    }

    .partserv-price-card {
        max-width: 100%;
        padding: 20px;
    }

    .partserv-your-price strong,
    .partserv-your-price strong .woocommerce-Price-amount,
    .partserv-your-price strong bdi {
        font-size: 30px !important;
    }

    .single-product form.cart {
        flex-wrap: wrap;
    }

    .single-product form.cart .quantity,
    .single-product form.cart .single_add_to_cart_button {
        width: 100%;
    }

    .single-product .partserv-trust-panel-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }

    .single-product .partserv-trust-item-horizontal:nth-child(2) {
        border-right: 0;
    }

    .single-product .partserv-trust-item-horizontal:nth-child(1),
    .single-product .partserv-trust-item-horizontal:nth-child(2) {
        border-bottom: 1px solid #eeeeee;
    }
}

@media (max-width: 767px) {

    .single-product .partserv-trust-panel-horizontal {
        grid-template-columns: 1fr;
    }

    .single-product .partserv-trust-item-horizontal {
        border-right: 0;
        border-bottom: 1px solid #eeeeee;
    }

    .single-product .partserv-trust-item-horizontal:last-child {
        border-bottom: 0;
    }
}

/* ========================================
   PART-SERV PHASE 1
   CLEAN MODERN COLLECTION PAGE
======================================== */

/* Background */
body {
  background: #f5f6f8;
}

/* =========================
   PAGE TITLE
========================= */

.page-title,
.woocommerce-products-header h1 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1f1f1f;
  margin-bottom: 28px;
}

/* Description only when present */
.term-description {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 34px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.term-description p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  max-width: 1000px;
  margin-bottom: 0;
}

/* =========================
   TOOLBAR
========================= */

.th-products-list__head {
  background: #ffffff;
  border-radius: 0;
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

/* =========================
   PRODUCT GRID
========================= */

.th-products-list__item {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: none;
}

.th-products-list__item:hover {
  transform: translateY(-4px);
  border-color: #ff3030;
  box-shadow: 0 12px 28px rgba(0,0,0,0.09);
}

.th-product-card {
  padding: 18px;
}

/* =========================
   PRODUCT IMAGE
========================= */

.th-product-card__image {
  background: #ffffff;
  border-radius: 10px;
  padding: 6px;
  margin-bottom: 14px;
}

.th-product-card__image img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

/* =========================
   PRODUCT META / SKU
========================= */

.th-product-card small,
.th-product-card__meta {
  color: #999999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* =========================
   PRODUCT TITLE
========================= */

.th-product-card__title,
.th-product-card__title a,
.th-product-card h2,
.th-product-card h3 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 650;
  color: #222222;
  margin: 10px 0 12px;
}

/* =========================
   PRICE
========================= */

.th-product-card .price,
.th-product-card__price {
  font-size: 21px;
  font-weight: 800;
  color: #111111;
}

/* =========================
   SIDEBAR
========================= */

.widget-area,
.sidebar,
#secondary {
  background: transparent;
}

.widget,
.sidebar .widget,
#secondary .widget {
  background: #ffffff;
  border-radius: 0;
  padding: 24px;
  border: 1px solid #eeeeee;
  box-shadow: none;
}

.widget-title,
.sidebar h3,
#secondary h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1f1f1f;
}

.widget ul li,
.sidebar ul li,
#secondary ul li {
  padding: 7px 0;
  border-bottom: 1px solid #f1f1f1;
}

.widget ul li:last-child,
.sidebar ul li:last-child,
#secondary ul li:last-child {
  border-bottom: 0;
}

.widget ul li a,
.sidebar ul li a,
#secondary ul li a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
}

.widget ul li a:hover,
.widget ul li.current-cat > a {
  color: #ff3030;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .page-title,
  .woocommerce-products-header h1 {
    font-size: 30px;
  }

  .term-description {
    padding: 22px;
    border-radius: 14px;
  }

  .th-product-card {
    padding: 16px;
  }

  .th-product-card__image img {
    height: 160px;
  }
}

/* =========================
   ADD TO BASKET BUTTON
========================= */

.th-product-card__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.th-product-card__prices {
  margin-bottom: 14px;
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.th-product-card__addtocart {
  width: 100%;
  display: block;
}

.th-product-card__addtocart a.add_to_cart_button {
  position: relative;
  overflow: hidden;

  width: 100% !important;
  min-width: 100% !important;
  height: 40px !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  padding: 0 16px !important;
  margin: 0 !important;

  background: #ed1c24 !important;
  color: #ffffff !important;

  border-radius: 6px !important;
  border: 0 !important;

  text-decoration: none !important;

  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  box-shadow: none !important;
  transform: none !important;

  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease !important;
}

/* Remove theme hover effects */
.th-product-card__addtocart a.add_to_cart_button::before,
.th-product-card__addtocart a.add_to_cart_button::after {
  display: none !important;
  content: none !important;
}

/* Subtle hover animation */
.th-product-card__addtocart a.add_to_cart_button:hover {
  background: #d91920 !important;
  color: #ffffff !important;

  border-radius: 6px !important;
  border: 0 !important;

  transform: translateY(-1px) !important;

  box-shadow:
    0 4px 10px rgba(237, 28, 36, 0.18) !important;
}

/* Button text */
.th-product-card__addtocart a.add_to_cart_button span {
  display: inline !important;
  white-space: nowrap;
}

/* Hide broken theme icon */
.th-product-card__addtocart a.add_to_cart_button svg {
  display: none !important;
}

/* =========================
   PRODUCT CARD TYPOGRAPHY
========================= */

.th-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px !important;
}

.th-product-card__image {
  margin-bottom: 14px;
}

.th-product-card__info {
  flex: 1;
}

/* SKU */
.th-product-card__meta {
  margin-bottom: 8px;
  font-size: 10px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.th-product-card__meta-title,
.th-product-card__meta-value {
  color: #9a9a9a !important;
  font-weight: 600;
}

/* Product title */
.th-product-card__name {
  margin-bottom: 10px;
}

.th-product-card__name h2,
.th-product-card__name .woocommerce-loop-product__title {
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: #222222 !important;
  margin: 0 !important;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: 40px;
}

/* Footer */
.th-product-card__footer {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Stock badge */
.th-status-badge {
  margin-bottom: 12px;
}

.th-status-badge__body {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 0 !important;
  background: transparent !important;
}

.th-status-badge__body::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #1db954;
  border-radius: 999px;
}

.th-status-badge__text {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #4b4b4b !important;
}

/* Price */
.th-product-card__prices,
.th-product-card__prices .price,
.th-product-card__prices .th-price {
  display: block !important;
  width: 100%;
  text-align: left !important;
}

.th-product-card__prices {
  margin-bottom: 14px !important;
}

.th-product-card__prices .amount,
.th-product-card__prices bdi {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #191919 !important;
  line-height: 1;
}

/* =========================
   IN STOCK BADGE
========================= */

.th-status-badge {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  margin-top: 10px;
  margin-bottom: 14px;
}

.th-status-badge__body {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;

  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}

.th-status-badge__body::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #1db954;
  border-radius: 999px;
  display: inline-block;
}

.th-status-badge__text {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #4b4b4b !important;
}

.th-status-badge {
  margin-top: 8px !important;
  margin-bottom: 18px !important;
}

.th-product-card__footer {
  margin-top: 0 !important;
}

.th-product-card__prices {
  margin-bottom: 12px !important;
}

.th-product-card__addtocart a.add_to_cart_button {
  height: 38px !important;
  font-size: 13px !important;
}