/*
Theme Name: Audilane Child
Description: Custom dark automotive marketplace — not stock Flatsome
Author: Audilane
Template: flatsome
Version: 4.0
*/

/* === GLOBAL RESET & DARK THEME === */
body, body.page-template-default {
  background: #0a0a0a !important;
  color: #cbd5e1 !important;
}
#wrapper, .main, .page-wrapper, .shop-container, .row,
.content-area, .site-main, .entry-content, article {
  background: #0a0a0a !important;
}

/* === HEADER OVERRIDE === */
#masthead, .header-wrapper, .header, .header-main,
#header, .header-inner, .header-nav, .header-bottom {
  background: #0a0a0a !important;
}
.header:not(.header-transparent) {
  border-bottom: 1px solid #1a1a1a !important;
}
.nav > li > a {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
}
.nav > li > a:hover, .nav > li.current-menu-item > a,
.nav > li.active > a, .nav > li.current_page_item > a {
  color: #c9a84c !important;
}
.header-cart-link, .header-search-icon {
  color: #c9a84c !important;
}
.header-cart-link:hover { color: #f2d87e !important; }
.cart-icon strong { background: #c9a84c !important; }
.nav-right, .nav-left { background: #0a0a0a !important; }
.off-canvas .sidebar-menu { background: #111 !important; }

/* === TOP BAR === */
#top-bar, .header-top {
  background: #111 !important;
  border-bottom: 1px solid #1a1a1a !important;
  color: #64748b !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

/* === PAGE TITLES === */
.shop-page-title, .page-title, .category-page-title,
.term-description, .archive-page-header {
  background: linear-gradient(135deg, #0f172a, #1e293b 50%, #0f172a) !important;
  color: #fff !important;
  padding: 32px 0 !important;
  border-bottom: 1px solid #1a1a1a !important;
}
.shop-page-title h1, .page-title h1,
.shop-page-title .shop-page-title--heading {
  color: #f0f0f0 !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
}
.shop-page-title .is-large, .page-title .is-large,
.breadcrumbs a, .breadcrumbs span {
  color: #94a3b8 !important;
}
.breadcrumbs a:hover { color: #c9a84c !important; }

/* === PRODUCT CARDS === */
.product-small, .product-grid .col-inner,
.box-image, .product-small.box {
  background: #111 !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
}
.product-small:hover {
  transform: translateY(-4px) !important;
  border-color: #c9a84c !important;
  box-shadow: 0 12px 32px rgba(201,168,76,0.1) !important;
}
.product-small .box-image img {
  border-radius: 10px 10px 0 0 !important;
}
.product-small .box-text {
  background: #111 !important;
  padding: 12px !important;
}
.product-small .product-title a,
.product-small .name a,
.product-small .title-wrapper a {
  color: #e2e8f0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.product-small .product-title a:hover { color: #c9a84c !important; }
.product-small .price {
  color: #22c55e !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}
.product-small .price del {
  color: #64748b !important;
  font-weight: 400 !important;
}
.onsale, .badge-inner.on-sale {
  background: #c9a84c !important;
  color: #000 !important;
  font-weight: 700 !important;
}

/* === BUTTONS === */
.button, .btn, .woocommerce button.button,
.woocommerce a.button, .woocommerce input.button,
.button.primary:not(.is-outline),
.add-to-cart-button a {
  background: #c9a84c !important;
  color: #000 !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
}
.button:hover, .btn:hover, .woocommerce button.button:hover {
  background: #f2d87e !important;
  color: #000 !important;
  box-shadow: 0 4px 16px rgba(201,168,76,0.25) !important;
}
.button.is-outline {
  background: transparent !important;
  color: #c9a84c !important;
  border: 1px solid #c9a84c !important;
}
.button.is-outline:hover {
  background: rgba(201,168,76,0.08) !important;
  color: #f2d87e !important;
  border-color: #f2d87e !important;
}

/* === SINGLE PRODUCT === */
.product-info, .product-summary, .product-main {
  background: #0a0a0a !important;
  color: #cbd5e1 !important;
}
.product-info h1.product-title, .product-title.entry-title {
  color: #f0f0f0 !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
}
.product-info .price {
  color: #22c55e !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
}
.product-info .woocommerce-product-details__short-description,
.product-info .product-short-description {
  color: #94a3b8 !important;
}
.woocommerce-tabs, .product-tabs {
  background: #111 !important;
  border-top: 1px solid #1a1a1a !important;
}
.woocommerce-tabs .nav-tabs > li > a,
.product-tabs .tabbed-content ul {
  color: #94a3b8 !important;
}
.woocommerce-tabs .nav-tabs > li.active > a,
.product-tabs .tabbed-content ul li.active a {
  color: #c9a84c !important;
  border-bottom-color: #c9a84c !important;
}
.tab-panels {
  background: #111 !important;
  color: #cbd5e1 !important;
}

/* === TOOLBAR === */
.woocommerce-result-count,
.shop-container .woocommerce-ordering select,
.woocommerce-ordering .orderby {
  color: #94a3b8 !important;
  background: transparent !important;
  border-color: #333 !important;
}
.woocommerce-ordering .orderby option { background: #111 !important; }

/* === PAGINATION === */
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.nav-links .page-numbers {
  background: #111 !important;
  color: #94a3b8 !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 6px !important;
}
.woocommerce-pagination ul li .current,
.woocommerce-pagination ul li a:hover,
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
  background: #c9a84c !important;
  color: #000 !important;
  border-color: #c9a84c !important;
}

/* === SIDEBAR === */
.sidebar, .widget-area, .widget,
.widget ul, .widget ol {
  background: #111 !important;
  color: #94a3b8 !important;
}
.widget-title {
  color: #f0f0f0 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  border-bottom: 1px solid #222 !important;
  padding-bottom: 8px !important;
}
.widget a { color: #cbd5e1 !important; }
.widget a:hover { color: #c9a84c !important; }
.woocommerce-widget-layered-nav-list li a,
.widget_product_categories li a,
.widget_price_filter .price_slider {
  color: #94a3b8 !important;
}
.widget_price_filter .price_slider_amount .button {
  background: #c9a84c !important;
  color: #000 !important;
}
.widget_price_filter .ui-slider .ui-slider-handle {
  background: #c9a84c !important;
}
.widget_price_filter .ui-slider .ui-slider-range {
  background: #c9a84c !important;
}

/* === CART & CHECKOUT === */
.woocommerce-cart, .woocommerce-checkout,
.cart-wrapper, .checkout-wrapper {
  background: #0a0a0a !important;
  color: #cbd5e1 !important;
}
.woocommerce-cart table, .woocommerce-checkout table,
.cart_table, .shop_table {
  background: #111 !important;
  color: #cbd5e1 !important;
  border-color: #1a1a1a !important;
}
.woocommerce-cart table th, .cart_table th {
  background: #0a0a0a !important;
  color: #94a3b8 !important;
  border-color: #1a1a1a !important;
}
.woocommerce-cart table td, .cart_table td { border-color: #1a1a1a !important; }
.woocommerce-cart table a, .cart_item a { color: #cbd5e1 !important; }
.woocommerce-cart table a:hover { color: #c9a84c !important; }
.coupon .input-text {
  background: #111 !important;
  color: #e2e8f0 !important;
  border: 1px solid #333 !important;
  border-radius: 8px !important;
}
.cart-collaterals, .cart_totals {
  background: #111 !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 10px !important;
  padding: 20px !important;
}
.cart_totals h2, .cart_totals .cart_totals--heading { color: #f0f0f0 !important; }
.order-total, .cart-subtotal th, .cart-subtotal td { border-color: #1a1a1a !important; }
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form textarea,
.woocommerce form select,
.input-text, textarea {
  background: #111 !important;
  color: #e2e8f0 !important;
  border: 1px solid #333 !important;
  border-radius: 8px !important;
}
.woocommerce form input:focus,
.woocommerce form textarea:focus {
  border-color: #c9a84c !important;
  box-shadow: 0 0 0 2px rgba(201,168,76,0.15) !important;
}
.woocommerce form label, .woocommerce form .form-row label { color: #94a3b8 !important; }

/* === ACCOUNT === */
.woocommerce-MyAccount-navigation ul {
  background: #111 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.woocommerce-MyAccount-navigation ul li a {
  color: #94a3b8 !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid #1a1a1a !important;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(201,168,76,0.06) !important;
  color: #c9a84c !important;
}
.woocommerce-MyAccount-content {
  background: #111 !important;
  padding: 24px !important;
  border-radius: 10px !important;
  color: #cbd5e1 !important;
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 { color: #f0f0f0 !important; }

/* === NOTICES === */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce .message-container { border-radius: 8px !important; }
.woocommerce-message {
  background: #064e3b !important; color: #6ee7b7 !important; border-color: #065f46 !important;
}
.woocommerce-info {
  background: #1e3a5f !important; color: #93c5fd !important; border-color: #1e40af !important;
}
.woocommerce-error {
  background: #450a0a !important; color: #fca5a5 !important; border-color: #7f1d1d !important;
}

/* === MISC === */
a { color: #c9a84c; }
a:hover { color: #f2d87e; }
.search-results .box-image, .search-results .box-text,
.search-page .box-image, .search-page .box-text { background: #111 !important; }
.quantity .input-text, .qty {
  background: #111 !important; color: #f0f0f0 !important; border: 1px solid #333 !important;
}
.star-rating span:before, .star-rating:before { color: #c9a84c !important; }
.sticky-add-to-cart { background: #111 !important; border-top: 1px solid #1a1a1a !important; }

/* === FLATSOME-SPECIFIC === */
.dark .nav-vertical li li.menu-item-has-children>a,
.dark .nav-vertical li li.menu-item-has-children>a:hover,
.dark .nav-vertical>li>ul li a { color: #94a3b8 !important; }
.dark .nav-vertical>li>ul li a:hover { color: #c9a84c !important; }
.section, .row { background: transparent !important; }
.section-title-container { margin-bottom: 16px !important; }
.section-title b { opacity: 1 !important; background-color: #c9a84c !important; }
.section-title span, .section-title-main { color: #f0f0f0 !important; font-weight: 700 !important; }
.flickity-page-dots .dot { border-color: #c9a84c !important; background: transparent !important; }
.flickity-page-dots .dot.is-selected { background: #c9a84c !important; }

/* === DARK SCROLLBARS === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* === MOBILE === */
@media (max-width: 849px) {
  .product-small .product-title a { font-size: 13px !important; }
  .shop-page-title h1 { font-size: 1.4rem !important; }
}

/* === Remove Top Bar Entirely === */
#top-bar,
#masthead,
.header-top {
  display: none !important;
}
