/* ================================================================
   MERCEDES VNS — WOOCOMMERCE CSS
   Premium dark-theme styling for all /san-pham/* pages
   ================================================================ */

/* ----------------------------------------------------------------
   CSS Variables (local fallbacks so they always resolve)
   ---------------------------------------------------------------- */
.woocommerce,
.woocommerce-page,
.single-product,
body {
  --wc-bg:           #000;
  --wc-bg-card:      #111;
  --wc-bg-card-dark: #0a0a0a;
  --wc-border:       rgba(255, 255, 255, 0.08);
  --wc-border-solid: #2a2a2a;
  --wc-gold:         var(--star-gold);
  --wc-text:         #d6d6d6;
  --wc-text-muted:   #999;
  --wc-white:        #fff;
  --wc-transition:   all 0.22s ease;
}

/* ----------------------------------------------------------------
   1. PAGE-LEVEL BACKGROUNDS
   ---------------------------------------------------------------- */
.woocommerce-page,
body.woocommerce-page,
body.single-product,
body.post-type-archive-product,
body.tax-product_cat {
  background: #000;
  color: #d6d6d6;
}

.woocommerce-page .page-shell,
.single-product .page-shell,
.post-type-archive-product .page-shell,
.tax-product_cat .page-shell {
  background: #000;
}

.mercedes-wc-product-shell {
  background: #000;
  color: #fff;
  min-height: 100dvh;
}

/* ----------------------------------------------------------------
   2. BREADCRUMB
   ---------------------------------------------------------------- */
.mercedes-wc-breadcrumb-wrapper {
  background-color: #000;
  padding: 24px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mercedes-wc-breadcrumb-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.woocommerce .woocommerce-breadcrumb {
  font-size: 13px;
  color: #999;
  margin: 0;
}

.woocommerce .woocommerce-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: #fff;
}

/* ----------------------------------------------------------------
   3. PRODUCT MAIN GRID (Hero Section)
   ---------------------------------------------------------------- */
.woocommerce div.product {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 56px;
  align-items: start;
}

.woocommerce div.product.mercedes-wc-product-detail {
  max-width: 1200px;
  padding: 60px 24px;
  margin: 0 auto;
}

.woocommerce div.product div.images {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce div.product div.summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* ----------------------------------------------------------------
   4. PRODUCT GALLERY
   ---------------------------------------------------------------- */
.woocommerce-product-gallery__wrapper {
  background: #111;
  border: 1px solid #222;
}

.woocommerce div.product div.images img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.woocommerce div.product .woocommerce-product-gallery {
  opacity: 1 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0;
  background: #101010;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
  background: transparent;
}

.woocommerce div.product div.images .flex-viewport {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flex-control-thumbs {
  display: flex !important;
  gap: 12px;
  margin-top: 16px !important;
  overflow-x: auto;
  padding: 0 0 6px !important;
}

.flex-control-thumbs li {
  width: 88px !important;
  flex: 0 0 88px;
  float: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101010;
  opacity: .55;
  object-fit: contain;
}

.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover {
  border-color: var(--star-gold);
  opacity: 1;
}

.mercedes-wc-product-media {
  min-width: 0;
}

.mercedes-wc-product-media .onsale {
  left: 16px;
  right: auto;
  top: 16px;
  background: var(--star-gold);
  color: #000;
  min-height: 44px;
  min-width: 44px;
  line-height: 44px;
}

/* ----------------------------------------------------------------
   5. PRODUCT SUMMARY (Right column)
   ---------------------------------------------------------------- */
.mercedes-wc-product-summary {
  min-width: 0;
  padding-top: 8px;
}

.mercedes-wc-eyebrow {
  margin: 0 0 16px;
  color: var(--star-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product_title,
.woocommerce div.product .product_title {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  text-transform: uppercase;
  margin: 0 0 18px;
  line-height: 1.08;
}

/* Price */
.price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price {
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 600;
  margin: 0 0 24px;
}

.woocommerce div.product .price del {
  color: #777;
  opacity: 1;
}

.woocommerce div.product .price ins {
  color: #fff;
  text-decoration: none;
}

/* Rating */
.mercedes-wc-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}

.star-rating,
.woocommerce .star-rating {
  float: none;
  margin: 0;
  color: var(--star-gold);
}

.woocommerce .star-rating::before {
  color: #594f3a;
}

.woocommerce .star-rating span::before {
  color: var(--star-gold);
}

.mercedes-wc-review-count {
  color: #999;
  font-size: 13px;
  text-decoration: none;
}

/* Short description */
.woocommerce-product-details__short-description {
  margin: 0 0 30px;
  color: #c7c7c7;
  font-size: 16px;
  line-height: 1.8;
}

.woocommerce-product-details__short-description p {
  margin: 0 0 14px;
  color: #c7c7c7;
}

/* ----------------------------------------------------------------
   6. ADD TO CART — Hidden (replaced by custom CTAs)
   ---------------------------------------------------------------- */
.woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce div.product form.cart .quantity,
.mercedes-wc-add-to-cart-wrapper .quantity,
.mercedes-wc-add-to-cart-wrapper .single_add_to_cart_button {
  display: none !important;
}

/* Variation dropdowns still visible (needed for variant selection) */
.mercedes-wc-add-to-cart-wrapper {
  margin-bottom: 20px;
}

.woocommerce div.product form.cart .variations {
  width: 100%;
  margin-bottom: 24px;
  border: none;
}

.woocommerce div.product form.cart .variations td {
  padding: 10px 0;
  background: transparent;
  border: none;
  color: #d6d6d6;
  font-size: 14px;
  vertical-align: middle;
}

.woocommerce div.product form.cart .variations td.label {
  font-weight: 600;
  width: 110px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #fff;
}

.woocommerce div.product form.cart .variations select {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 18px;
  color: #fff;
  width: 100%;
  max-width: 320px;
  font-size: 14px;
  outline: none;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.woocommerce div.product form.cart .variations select:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.woocommerce div.product form.cart .single_variation_wrap {
  padding: 20px;
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.woocommerce-variation-price .price {
  font-size: 22px !important;
  margin-bottom: 12px !important;
}

.woocommerce-variation-description {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ----------------------------------------------------------------
   7. CUSTOM CTA BUTTONS (Nhận báo giá / Đăng ký lái thử)
   ---------------------------------------------------------------- */
.mercedes-wc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.mercedes-wc-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mercedes-wc-btn:hover,
.mercedes-wc-btn:focus {
  border-color: #fff;
  color: #fff;
}

.mercedes-wc-btn--primary {
  background: #fff;
  color: #000;
}

.mercedes-wc-btn--primary:hover,
.mercedes-wc-btn--primary:focus {
  background: var(--star-gold);
  border-color: var(--star-gold);
  color: #000;
}

.mercedes-wc-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mercedes-wc-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------------------------------
   8. PRODUCT METADATA (SKU, categories, tags)
   ---------------------------------------------------------------- */
.mercedes-wc-meta-wrapper {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mercedes-wc-meta-wrapper span {
  display: block;
}

.mercedes-wc-meta-wrapper a {
  color: #d6d6d6;
  transition: color 0.2s ease;
}

.mercedes-wc-meta-wrapper a:hover {
  color: #fff;
}

/* ----------------------------------------------------------------
   9. PRODUCT INFO SECTIONS (Description / Specs / Reviews / Related)
   ---------------------------------------------------------------- */
.mercedes-wc-product-info-sections {
  background: #050505;
  padding-bottom: 80px;
}

.mercedes-wc-product-description-section,
.mercedes-wc-product-specs-section,
.mercedes-wc-product-reviews-section {
  padding: 80px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mercedes-wc-section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 40px;
}

.mercedes-wc-section-title.text-center {
  text-align: center;
}

/* ----------------------------------------------------------------
   10. DESCRIPTION CONTENT — Fix text colors & readability
   ---------------------------------------------------------------- */
.mercedes-wc-description-content {
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.8;
  max-width: 820px;
}

.mercedes-wc-description-content p {
  margin-bottom: 20px;
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.8;
}

.mercedes-wc-description-content li {
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.mercedes-wc-description-content ul,
.mercedes-wc-description-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.mercedes-wc-description-content h1,
.mercedes-wc-description-content h2,
.mercedes-wc-description-content h3,
.mercedes-wc-description-content h4,
.mercedes-wc-description-content h5,
.mercedes-wc-description-content h6 {
  color: #fff;
  font-weight: 400;
  margin: 36px 0 16px;
  letter-spacing: 0.02em;
}

.mercedes-wc-description-content h2 {
  font-size: clamp(20px, 3.5vw, 28px);
}

.mercedes-wc-description-content h3 {
  font-size: clamp(18px, 3vw, 22px);
}

.mercedes-wc-description-content img {
  max-width: 100% !important;
  height: auto !important;
  margin: 36px auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mercedes-wc-description-content table {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.mercedes-wc-description-content table th,
.mercedes-wc-description-content table td {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d6d6d6;
  text-align: left;
}

.mercedes-wc-description-content table th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
}

.mercedes-wc-description-content iframe,
.mercedes-wc-description-content video {
  max-width: 100% !important;
  height: auto;
}

/* ----------------------------------------------------------------
   11. SPECS TABLE
   ---------------------------------------------------------------- */
.mercedes-wc-specs-table-wrapper table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mercedes-wc-specs-table-wrapper table.shop_attributes th,
.mercedes-wc-specs-table-wrapper table.shop_attributes td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14.5px;
}

.mercedes-wc-specs-table-wrapper table.shop_attributes th {
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
  width: 250px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.mercedes-wc-specs-table-wrapper table.shop_attributes td {
  color: #d6d6d6;
  font-style: normal;
}

.mercedes-wc-specs-table-wrapper table.shop_attributes tr:last-child th,
.mercedes-wc-specs-table-wrapper table.shop_attributes tr:last-child td {
  border-bottom: none;
}

.mercedes-wc-specs-table-wrapper table.shop_attributes tr:hover th,
.mercedes-wc-specs-table-wrapper table.shop_attributes tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

/* ----------------------------------------------------------------
   12. REVIEWS
   ---------------------------------------------------------------- */
.mercedes-wc-reviews-content #comments {
  margin-bottom: 40px;
}

.mercedes-wc-reviews-content ul.commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mercedes-wc-reviews-content ul.commentlist li.review {
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mercedes-wc-reviews-content ul.commentlist li.review:last-child {
  border-bottom: none;
}

.mercedes-wc-reviews-content ul.commentlist li .comment_container {
  display: flex;
  gap: 24px;
}

.mercedes-wc-reviews-content ul.commentlist li img.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
}

.mercedes-wc-reviews-content ul.commentlist li .comment-text {
  flex: 1;
}

.mercedes-wc-reviews-content ul.commentlist li .comment-text .meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mercedes-wc-reviews-content ul.commentlist li .comment-text .meta strong {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}

.mercedes-wc-reviews-content ul.commentlist li .comment-text .description {
  color: #d6d6d6;
  line-height: 1.7;
  font-size: 14.5px;
}

.mercedes-wc-reviews-content ul.commentlist li .comment-text .description p {
  color: #d6d6d6;
}

/* Comment Form */
.mercedes-wc-reviews-content #respond {
  background: #0B0B0B;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}

.mercedes-wc-reviews-content #respond .comment-reply-title {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  display: block;
}

.mercedes-wc-reviews-content #respond p {
  margin-bottom: 20px;
  color: #d6d6d6;
}

.mercedes-wc-reviews-content #respond label {
  display: block;
  font-size: 12.5px;
  color: #d6d6d6;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mercedes-wc-reviews-content #respond input[type="text"],
.mercedes-wc-reviews-content #respond input[type="email"],
.mercedes-wc-reviews-content #respond textarea {
  width: 100%;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  color: #fff;
  font-size: 14.5px;
  transition: border-color 0.2s ease;
  border-radius: 0;
}

.mercedes-wc-reviews-content #respond input[type="text"]:focus,
.mercedes-wc-reviews-content #respond input[type="email"]:focus,
.mercedes-wc-reviews-content #respond textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
  outline: none;
}

.mercedes-wc-reviews-content #respond .stars a {
  color: #3a3a3a;
  font-size: 16px;
  margin-right: 4px;
}

.mercedes-wc-reviews-content #respond .stars a:hover,
.mercedes-wc-reviews-content #respond .stars a.active {
  color: var(--star-gold);
}

.mercedes-wc-reviews-content #respond input[type="submit"] {
  background: #fff;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 15px 36px;
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  border-radius: 0;
}

.mercedes-wc-reviews-content #respond input[type="submit"]:hover {
  background: var(--star-gold);
  border-color: var(--star-gold);
  color: #000;
}

/* ----------------------------------------------------------------
   13. WC TABS — Kept hidden (custom sections used instead)
   ---------------------------------------------------------------- */
.woocommerce div.product .woocommerce-tabs {
  display: none !important;
}

/* Tabs panel if shown by other plugins — style dark */
.woocommerce div.product .woocommerce-Tabs-panel {
  background: #000;
  color: #d6d6d6;
}

.woocommerce div.product .woocommerce-Tabs-panel p,
.woocommerce div.product .woocommerce-Tabs-panel li {
  color: #d6d6d6 !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

.woocommerce div.product .woocommerce-Tabs-panel h2,
.woocommerce div.product .woocommerce-Tabs-panel h3 {
  color: #fff !important;
}

/* ----------------------------------------------------------------
   14. RELATED PRODUCTS SECTION
   ---------------------------------------------------------------- */
.mercedes-wc-product-related-section {
  padding: 80px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

/* WC default related rendered inside our custom section — show it */
.mercedes-wc-product-related-section .related.products {
  display: block !important;
  margin-top: 0;
}

/* Custom related grid */
.mercedes-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.mercedes-related-card {
  background: #111;
  border: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.mercedes-related-card:hover {
  border-color: rgba(220, 201, 163, 0.4);
  transform: translateY(-3px);
}

.mercedes-related-card__img-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
}

.mercedes-related-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  transition: transform 0.4s ease;
}

.mercedes-related-card:hover .mercedes-related-card__img-wrap img {
  transform: scale(1.04);
}

.mercedes-related-card__body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mercedes-related-card__name {
  color: #fff;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0 0 10px;
  text-decoration: none;
  display: block;
}

.mercedes-related-card__name:hover {
  color: var(--star-gold);
}

.mercedes-related-card__price {
  color: var(--star-gold);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  flex: 1;
}

.mercedes-related-card__price .amount {
  color: var(--star-gold);
}

.mercedes-related-card__price .woocommerce-Price-currencySymbol {
  font-size: 13px;
}

.mercedes-related-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.mercedes-related-card__btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.2s ease;
  padding: 0 12px;
  white-space: nowrap;
}

.mercedes-related-card__btn--detail {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mercedes-related-card__btn--detail:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.mercedes-related-card__btn--quote {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.mercedes-related-card__btn--quote:hover {
  background: var(--star-gold);
  border-color: var(--star-gold);
  color: #000;
}

/* ----------------------------------------------------------------
   15. STANDARD WC LOOP (Archive / Category pages)
   ---------------------------------------------------------------- */
.mercedes-wc-archive-shell {
  background: #000;
  color: #fff;
  min-height: 100dvh;
  padding: 72px 20px;
}

.mercedes-wc-archive-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Override WC default loop grid */
.woocommerce .products ul,
.woocommerce ul.products,
.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #111 !important;
  border: 1px solid #2a2a2a !important;
  display: flex !important;
  flex-direction: column !important;
  transition: border-color 0.25s ease, transform 0.25s ease !important;
  overflow: hidden !important;
}

.woocommerce ul.products li.product:hover {
  border-color: rgba(220, 201, 163, 0.4) !important;
  transform: translateY(-3px) !important;
}

/* Product image in loop */
.woocommerce ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: contain !important;
  background: #fff !important;
  height: auto !important;
  transition: transform 0.4s ease !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.04) !important;
}

/* Product title in loop */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fff !important;
  font-weight: 400 !important;
  font-size: clamp(13px, 1.8vw, 16px) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 16px 18px 6px !important;
  line-height: 1.4 !important;
}

/* Price in loop */
.woocommerce ul.products li.product .price {
  color: var(--star-gold) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 0 18px 12px !important;
}

/* Hide default WC "Add to cart" button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: none !important;
}

/* ----------------------------------------------------------------
   16. CUSTOM LOOP CTA BUTTONS (Chi tiết / Báo giá)
   ---------------------------------------------------------------- */
.mercedes-wc-loop-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin: auto 18px 18px !important;
  align-items: stretch !important;
}

.mercedes-wc-loop-actions .loop-btn {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
}

.mercedes-wc-loop-actions .loop-btn--detail {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.mercedes-wc-loop-actions .loop-btn--detail:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.mercedes-wc-loop-actions .loop-btn--quote {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #fff !important;
}

.mercedes-wc-loop-actions .loop-btn--quote:hover {
  background: var(--star-gold) !important;
  border-color: var(--star-gold) !important;
  color: #000 !important;
}

/* ----------------------------------------------------------------
   17. NOTICES
   ---------------------------------------------------------------- */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a,
.woocommerce .woocommerce-notices-wrapper,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  color: #fff;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  background: #0B0B0B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--star-gold);
  padding: 18px 24px;
  margin: 0 0 30px;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   18. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .woocommerce .products ul,
  .woocommerce ul.products,
  .related.products ul.products,
  .mercedes-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .woocommerce div.product,
  .woocommerce div.product.mercedes-wc-product-detail {
    grid-template-columns: 1fr;
    padding: 40px 18px;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .product_title,
  .woocommerce div.product .product_title {
    font-size: clamp(28px, 10vw, 42px);
  }

  .woocommerce div.product p.price,
  .woocommerce div.product span.price,
  .woocommerce div.product .price {
    font-size: 20px !important;
  }

  .mercedes-wc-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mercedes-wc-btn {
    width: 100%;
  }

  .flex-control-thumbs li {
    width: 74px !important;
    flex-basis: 74px;
  }

  .mercedes-wc-product-description-section,
  .mercedes-wc-product-specs-section,
  .mercedes-wc-product-reviews-section,
  .mercedes-wc-product-related-section {
    padding: 50px 18px;
  }

  .mercedes-wc-specs-table-wrapper table.shop_attributes th {
    width: auto;
    display: block;
    padding-bottom: 6px;
  }

  .mercedes-wc-specs-table-wrapper table.shop_attributes td {
    display: block;
    padding-top: 6px;
  }

  .mercedes-wc-specs-table-wrapper table.shop_attributes th,
  .mercedes-wc-specs-table-wrapper table.shop_attributes td {
    padding: 12px 16px;
  }

  .mercedes-wc-reviews-content ul.commentlist li .comment_container {
    flex-direction: column;
    gap: 14px;
  }

  .mercedes-wc-reviews-content ul.commentlist li img.avatar {
    width: 40px;
    height: 40px;
  }

  .mercedes-wc-reviews-content #respond {
    padding: 24px 18px;
  }
}

@media (max-width: 640px) {
  .woocommerce .products ul,
  .woocommerce ul.products,
  .related.products ul.products,
  .mercedes-related-grid {
    grid-template-columns: 1fr !important;
  }

  .mercedes-wc-archive-shell {
    padding: 56px 18px;
  }
}

@media (max-width: 480px) {
  .mercedes-related-card__actions,
  .mercedes-wc-loop-actions {
    grid-template-columns: 1fr !important;
  }
}
