/*
Theme Name: Kadence Child
Template: kadence
Version: 0.1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Base typography + background to match novo preview */
body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: #f9fafb;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container width to match design */
.content-container,
.site-container,
.site,
.wp-site-blocks,
.entry-content,
.site-main,
.kadence-content,
.wrap {
  max-width: 1536px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.adb-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px) {
  .adb-container { max-width: 640px; }
}
@media (min-width: 768px) {
  .adb-container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .adb-container { max-width: 1024px; }
}
@media (min-width: 1280px) {
  .adb-container { max-width: 1280px; }
}
@media (min-width: 1536px) {
  .adb-container { max-width: 1536px; }
}

/* Header + hero (novo preview) */
.adb-topbar{
  background:#0f172a;
  color:#fff;
  font-size: 12px;
  font-weight: 600;
}
.adb-topbar .adb-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  min-height: 32px;
  padding: 8px 0;
}
.adb-topbar .adb-top-left,
.adb-topbar .adb-top-right{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.adb-topbar a{color:#fff;text-decoration:none}
.adb-topbar a:hover{color:#60a5fa}
.adb-top-icon{
  width: 14px;
  height: 14px;
  color:#60a5fa;
}
.adb-top-divider{
  width:1px;
  height:12px;
  background:#334155;
}

.adb-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background:#fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(15,23,42,.06);
}
.adb-header .adb-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 28px;
  padding: 16px 0;
}
.adb-brand{
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 30px;
  text-decoration:none;
  white-space:nowrap;
  line-height: 1;
  color:#0f172a;
}
.adb-brand span{color:#2563eb}

.adb-search{
  flex: 1 1 auto;
  max-width: 760px;
}
.adb-search form{
  display:flex;
  border:2px solid #f3f4f6;
  border-radius: 10px;
  overflow:hidden;
  background:#fff;
}
.adb-search form:focus-within{
  border-color:#ef4444;
}
.adb-search-cat{
  min-width: 140px;
  border: 0;
  border-right: 1px solid #e5e7eb;
  background:#f8fafc;
  color:#374151;
  font-weight: 700;
  font-size: 13px;
  padding: 0 16px 0 14px;
  outline:none;
}
.adb-search input[type="search"]{
  flex: 1 1 auto;
  border: 0;
  padding: 12px 14px;
  outline: none;
  font-weight: 500;
  font-size: 14px;
}
.adb-search button{
  border: 0;
  background: #dc2626;
  color: #fff;
  width: 56px;
  min-width: 56px;
  padding: 0;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.adb-search button .adb-icon{
  width: 20px;
  height: 20px;
}

.adb-call-block{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  text-align:right;
  gap: 2px;
  min-width: 154px;
}
.adb-call-block span{
  font-size: 10px;
  font-weight: 900;
  color:#94a3b8;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.adb-call-block a{
  color: #1e3a8a;
  text-decoration:none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.adb-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.adb-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f8fafc;
  text-decoration:none;
  position:relative;
  color: #0f172a;
}
.adb-icon{
  width: 22px;
  height: 22px;
  display:block;
}
.adb-icon-btn:hover{
  color: #2563eb;
  background:#f1f5f9;
}
.adb-badge{
  position:absolute;
  top: -4px;
  right: -4px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 900;
  border: 2px solid #fff;
}
.adb-badge.is-empty{
  display:none;
}

.adb-subnav-row{
  padding: 0 0 12px;
}
.adb-nav{
  display:flex;
  gap: 20px;
  align-items:center;
}
.adb-nav a{
  text-decoration:none;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  color: #334155;
}
.adb-nav a:hover{color:#2563eb}

.adb-hero{
  position: relative;
  overflow: hidden;
  background: oklch(0.379 0.146 265.522);
  color:#fff;
  padding: 48px 16px 80px;
  font-size: 16px;
  line-height: 24px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.adb-hero .adb-container{
  position: relative;
  z-index: 1;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 768px){
  .adb-hero .adb-container{ text-align:left; }
}
.adb-hero-inner{
  max-width: 768px;
}
.adb-hero h1{
  margin:0 0 24px;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}
.adb-hero h1 .adb-accent{color:#60a5fa}
@media (min-width: 768px){
  .adb-hero h1{ font-size: 60px; }
}
.adb-hero p{
  margin:0 0 40px;
  max-width: 576px;
  color: oklch(0.932 0.032 255.585);
  opacity: 0.8;
  font-size: 18px;
  line-height: 1.4;
}
@media (min-width: 768px){
  .adb-hero p{ font-size: 20px; }
}
.adb-hero .adb-cta{
  display:flex;
  flex-wrap:wrap;
  gap: 16px;
  justify-content:center;
}
@media (min-width: 768px){
  .adb-hero .adb-cta{ justify-content:flex-start; }
}
.adb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  padding: 16px 40px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration:none;
  font-size: 16px;
  line-height: 24px;
  transition: all .2s ease;
  min-height: 58px;
}
.adb-btn-primary{
  background:#fff;
  color: oklch(0.379 0.146 265.522);
  box-shadow: 0 20px 25px -5px rgba(2,6,23,.4), 0 8px 10px -6px rgba(2,6,23,.4);
}
.adb-btn-secondary{
  background: oklab(0.546 -0.030363 -0.243111 / 0.3);
  border: 1px solid rgba(96,165,250,.5);
  color:#fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.adb-hero-car{
  position:absolute;
  right:-80px;
  bottom:-80px;
  width: 500px;
  height:auto;
  color: #60a5fa;
  opacity: 0.1;
  z-index: 0;
  pointer-events:none;
  display:none;
}
@media (min-width: 1024px){
  .adb-hero-car{ display:block; }
}

/* Vehicle selector */
.adb-vehicle{
  padding: 0 0 8px;
  margin-top: -62px;
  position: relative;
  z-index: 20;
}
.adb-vehicle-card{
  overflow: hidden;
  border: 1px solid #dfe6f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(8,26,58,.14);
}
.adb-vehicle-ribbon{
  display:flex;
  align-items:center;
  gap: 9px;
  padding: 11px 22px;
  background: #2563eb;
  color:#fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.adb-vehicle-ribbon-icon{
  width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.adb-vehicle-ribbon-icon svg{
  width: 20px;
  height: 20px;
  display:block;
}
.adb-vehicle-inner{
  padding: 18px 20px 16px;
}
.adb-vehicle-subtitle{
  margin: 0 0 14px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
}
.adb-select-field{
  display:flex;
  flex-direction:column;
  gap: 7px;
}
.adb-select-field span{
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  color:#6b7280;
}
.adb-vehicle-form{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 230px;
  gap: 12px;
  align-items:stretch;
}
.adb-select{
  width: 100%;
  border-radius: 11px;
  border: 1px solid #e6ebf3;
  background:#f7f9fc;
  min-height: 44px;
  padding: 10px 12px;
  font-weight: 800;
  color:#1f2a3d;
}
.adb-select:focus{
  outline: none;
  border-color: rgba(37,99,235,.52);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.adb-select:disabled{
  opacity: .58;
  cursor:not-allowed;
}
.adb-vehicle-submit{
  border: 0;
  border-radius: 11px;
  background: #0a1d4f;
  color:#fff;
  min-height: 44px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 10px 20px;
  align-self:end;
  cursor:pointer;
}
.adb-vehicle-submit:hover{filter:brightness(.95)}
.adb-vehicle-submit-icon{
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.adb-vehicle-empty{
  margin-top: 14px;
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 1024px){
  .adb-vehicle-form{grid-template-columns:1fr 1fr;}
}
@media (max-width: 640px){
  .adb-vehicle-form{grid-template-columns:1fr;}
}

/* Trust badges */
.adb-trust{
  background:#fff;
  border-bottom: 1px solid #e5e7eb;
}
.adb-trust .adb-container{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 16px;
}
.adb-trust-item{
  display:flex;
  gap: 12px;
  align-items:center;
}
.adb-trust-icon{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #2563eb;
}
.adb-trust-icon svg{
  width: 20px;
  height: 20px;
  display:block;
}
.adb-trust-title{
  margin:0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.adb-trust-subtitle{
  margin:2px 0 0;
  font-size: 11px;
  color: #64748b;
}

@media (max-width: 768px){
  .adb-trust .adb-container{grid-template-columns: repeat(2, minmax(0, 1fr));}
}

/* Sidebar + catalog + cards (50% pass) */
.adb-main{padding: 42px 0;}
.adb-shop-layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items:start;
}
.adb-sidebar .adb-side-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 12px 24px rgba(15,23,42,.08);
}
.adb-side-head{
  padding: 16px 18px;
  background:#0f172a;
  color:#fff;
  border-radius: 16px 16px 0 0;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
.adb-cat-list{
  list-style:none;
  margin:0;
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.adb-cat-item a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px;
  border-radius: 12px;
  color:#0f172a;
  text-decoration:none;
  font-weight: 700;
}
.adb-cat-item.is-active a{
  background:#eff6ff;
  color:#2563eb;
}
.adb-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.adb-breadcrumb{
  font-size: 12px;
  color:#94a3b8;
  display:flex;
  gap:6px;
  margin-bottom: 6px;
}
.adb-section-title{
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.adb-section-meta{
  font-size: 13px;
  color:#64748b;
}
.adb-products{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.adb-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 10px 18px rgba(15,23,42,.08);
}
.adb-card-media{
  display:block;
  background:#f8fafc;
  padding: 10px;
}
.adb-card-media img{
  width:100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
}
.adb-card-body{
  padding: 12px 14px 16px;
}
.adb-card-cat{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color:#94a3b8;
  margin-bottom: 4px;
}
.adb-card-title{
  display:block;
  font-weight: 800;
  color:#0f172a;
  text-decoration:none;
  margin-bottom: 6px;
}
.adb-card-sku{
  font-size: 11px;
  color:#94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.adb-card-stock{
  font-size: 12px;
  color:#16a34a;
  font-weight: 700;
  margin-bottom: 8px;
}
.adb-card-stock.is-out{color:#dc2626;}
.adb-card-price{
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}
.adb-card-cart{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#2563eb;
  color:#fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration:none;
}
.adb-pagination{
  margin-top: 22px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.adb-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border:1px solid #e5e7eb;
  border-radius: 10px;
  color:#0f172a;
  text-decoration:none;
  font-weight: 700;
}
.adb-pagination .current{
  background:#2563eb;
  color:#fff;
  border-color:#2563eb;
}

@media (max-width: 1200px){
  .adb-products{grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 960px){
  .adb-shop-layout{grid-template-columns: 1fr;}
  .adb-products{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 640px){
  .adb-products{grid-template-columns: 1fr;}
}

/* Woo Cart + Checkout Block restyle (Path 1) */
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.wp-block-woocommerce-cart h1,
.wp-block-woocommerce-checkout h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.wc-block-cart,
.wc-block-checkout {
  color: #0f172a;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.wc-block-components-panel,
.wc-block-components-sidebar-layout .wc-block-components-sidebar,
.wc-block-components-main,
.wc-block-components-order-summary,
.wc-block-components-order-summary .wc-block-components-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wc-block-components-main {
  padding: 20px;
}

.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  padding: 16px;
}

.wc-block-components-title,
.wc-block-components-checkout-step__heading,
.wc-block-components-order-summary__title-text {
  font-weight: 900;
  color: #0f172a;
}

.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-form .wc-block-components-text-input select,
.wc-block-components-form .wc-block-components-text-input textarea,
.wc-block-components-address-form__country select,
.wc-block-components-address-form__state select {
  min-height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
}

.wc-block-components-form .wc-block-components-text-input input:focus,
.wc-block-components-form .wc-block-components-text-input select:focus,
.wc-block-components-form .wc-block-components-text-input textarea:focus,
.wc-block-components-address-form__country select:focus,
.wc-block-components-address-form__state select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

.wc-block-components-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-checkout__actions_row .wc-block-components-button {
  border-radius: 8px;
  min-height: 48px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-checkout__actions_row .wc-block-components-button.contained {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #111827;
}

.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-checkout__actions_row .wc-block-components-button.contained:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #111827;
}

.wc-block-components-totals-wrapper,
.wc-block-components-order-summary .wc-block-components-totals-wrapper {
  border-top: 1px solid #e5e7eb;
  margin-top: 10px;
  padding-top: 10px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: #0b8f35;
  font-weight: 900;
  text-transform: uppercase;
}

.wc-block-components-product-name {
  font-weight: 800;
  color: #0f172a;
}

@media (max-width: 1024px) {
  .wc-block-components-main {
    padding: 14px;
  }
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    padding: 12px;
  }
}

/* Woo cart page refinement */
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content {
  background: #f3f4f6;
}

.woocommerce-cart .entry-content > .wp-block-woocommerce-cart,
.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout {
  padding-top: 8px;
  padding-bottom: 36px;
}

.wc-block-cart {
  gap: 24px;
}

.wc-block-cart .wc-block-cart-items {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.wc-block-cart .wc-block-cart-items thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 800;
  background: #f8fafc;
}

.wc-block-cart-items .wc-block-cart-item {
  padding-top: 18px;
  padding-bottom: 18px;
}

.wc-block-cart-item__product .wc-block-components-product-name {
  font-size: 31px;
  font-weight: 800;
  color: #0f172a;
}

.wc-block-cart-item__prices {
  font-weight: 900;
  color: #0f172a;
}

.wc-block-components-quantity-selector {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

.wc-block-components-quantity-selector input {
  font-weight: 800;
  color: #0f172a;
}

.wc-block-cart .wc-block-components-product-metadata__description,
.wc-block-cart .wc-block-components-product-metadata {
  color: #94a3b8;
  font-size: 12px;
}

.wc-block-cart-item__remove-link {
  color: #9ca3af;
}

.wc-block-cart-item__remove-link:hover {
  color: #ef4444;
}

.wc-block-cart__submit-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.wc-block-cart__submit-container .wc-block-components-button {
  width: min(100%, 380px);
}

/* Woo checkout page refinement */
.wc-block-checkout .wc-block-components-sidebar-layout {
  gap: 26px;
}

.wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
  border-radius: 14px;
}

.wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
  border-radius: 14px;
}

.wc-block-checkout .wc-block-components-checkout-step {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  margin-top: 20px;
}

.wc-block-checkout .wc-block-components-checkout-step:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.wc-block-checkout .wc-block-components-checkout-step__heading,
.wc-block-checkout .wc-block-components-title {
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.wc-block-checkout .wc-block-components-order-summary {
  overflow: hidden;
}

.wc-block-checkout .wc-block-components-order-summary-item__quantity {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #0f172a;
}

.wc-block-checkout .wc-block-components-order-summary-item__description {
  color: #0f172a;
  font-weight: 700;
}

.wc-block-checkout .wc-block-components-totals-item__label {
  color: #64748b;
}

.wc-block-checkout .wc-block-components-totals-item__value {
  color: #0f172a;
  font-weight: 800;
}

@media (min-width: 1100px) {
  .wc-block-checkout .wc-block-components-sidebar-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
