/* USA Auto service-layer overrides.
 * Keeps OpenCart as the catalogue engine while removing retail-shop UI.
 */

/* The project is a vehicle sourcing service, not a checkout-based shop. */
#cart,
.ds-header-right > .ds-dropdown-box:first-of-type,
.ds-header-wishlist-button,
.ds-header-compare-button,
.ds-header-viewed-button,
.ds-mobile-bottom-nav-item-cart,
.ds-mobile-bottom-nav-item-viewed,
.ds-mobile-bottom-nav-item-wishlist,
.ds-mobile-bottom-nav-item-compare,
#ds_sidebar_viewed,
.ds-product-wishlist,
.ds-product-compare,
.ds-product-main-stock,
.ds-product-main-price,
.ds-module-price,
.ds-module-stock,
.price-tax,
#price-view,
.ds-footer-payments,
.ds-product-dop_tab,
#product_dop_tab,
[href="#product_dop_tab"] {
  display: none !important;
}

/* Service-process content on the homepage. */
.usaauto-hero-wrap {
  padding: 34px 18px;
  background: radial-gradient(circle at 82% 20%, rgba(55,130,197,.42), transparent 30%), linear-gradient(125deg, #061a2e 0%, #092d4c 58%, #0b5da8 100%);
  color: #fff;
}
.usaauto-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 48px; align-items: end; min-height: 440px; padding-top: 58px; padding-bottom: 58px; }
.usaauto-hero__eyebrow { margin: 0 0 14px; color: #8bc5ff; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.usaauto-hero h1 { margin: 0; color: #fff; font-size: clamp(48px, 7vw, 82px); font-weight: 800; line-height: .98; letter-spacing: -.04em; }
.usaauto-hero__lead { max-width: 700px; margin: 24px 0 0; color: #d7e7f6; font-size: 19px; line-height: 1.6; }
.usaauto-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.usaauto-hero__actions a { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.usaauto-hero__primary { background: #fff; color: #082744 !important; }
.usaauto-hero__secondary { border: 1px solid rgba(255,255,255,.5); color: #fff !important; }
.usaauto-hero__facts { display: grid; gap: 10px; }
.usaauto-hero__facts div { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.usaauto-hero__facts strong { color: #fff; font-size: 18px; }
.usaauto-hero__facts span { margin-top: 4px; color: #bcd5eb; font-size: 14px; }
.usaauto-service-intro { padding: 48px 0 26px; }
.usaauto-service-intro__eyebrow { margin: 0 0 8px; color: #0b5da8; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.usaauto-service-intro h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.usaauto-service-intro__lead { max-width: 760px; margin: 14px 0 0; color: #687386; font-size: 17px; line-height: 1.6; }
.usaauto-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
}
.usaauto-process__step {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}
.usaauto-process__number {
  color: #0b5da8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.usaauto-process__step h3 { margin: 10px 0 8px; font-size: 18px; }
.usaauto-process__step p { margin: 0; color: #687386; line-height: 1.55; }
@media (max-width: 991px) { .usaauto-process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991px) { .usaauto-hero { grid-template-columns: 1fr; min-height: auto; gap: 28px; } .usaauto-hero__facts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .usaauto-process, .usaauto-hero__facts { grid-template-columns: 1fr; } .usaauto-hero-wrap { padding: 14px 4px; } .usaauto-hero { padding-top: 44px; padding-bottom: 44px; } .usaauto-hero__actions a { width: 100%; } }

/* Do not publish the demo contact data inherited from the commercial theme. */
.ds-footer-contacts > .col-md-6.col-lg-5.order-0,
.ds-footer-contacts > .col-md-6.col-lg-3.order-1,
.ds-footer-socials { display: none !important; }
.ds-footer-contacts > .col-md-6.col-lg-4 { width: 100%; }

/* Remove purchase controls that can still be emitted by catalogue modules. */
.ds-module-cart-btn,
.ds-category-cart-btn,
.button-cart,
[onclick^="cart.add"],
[onclick*="cart.add"] {
  display: none !important;
}

/* Model tiles used a shopping-cart placeholder inherited from the theme. */
.ds-category-wall-item img,
.ds-category-wall-item-picture img,
.category-wall-item img {
  display: none !important;
}

.ds-subcategories-item img {
  display: none !important;
}

.ds-subcategories-item .content-block {
  min-height: 72px;
  justify-content: center;
  border: 1px solid #e5e7eb;
}

/* Make vehicle-service calls to action feel intentional and prominent. */
.ds-product-main .button-primary,
.ds-product-main .button-outline-primary {
  min-height: 52px;
  font-weight: 600;
}

.usaauto-lot-cta-copy { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.usaauto-lot-cta-copy strong { color: #011627; font-size: 18px; }
.usaauto-lot-cta-copy span { color: #687386; font-size: 14px; line-height: 1.5; }
.ds-product-fast-order-button { min-height: 54px; font-size: 15px !important; }

/* Avoid an empty gap after hiding the payment/logo strip. */
.ds-footer-copyrights {
  padding-top: 0 !important;
}
