.rvfm-widget{border:1px solid #e5e7eb;padding:16px;border-radius:12px;background:#fff;max-width:760px}.rvfm-row{margin-bottom:10px}.rvfm-widget select,.rvfm-widget input{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:8px}.rvfm-widget small{display:block;color:#6b7280;margin-top:4px}.rvfm-search{padding:10px 18px;border:0;border-radius:8px;background:#111827;color:#fff;cursor:pointer}.rvfm-output{margin-top:14px}.rvfm-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.rvfm-product{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid #eee;border-radius:10px;text-decoration:none;color:#111}.rvfm-product img{width:48px;height:48px;object-fit:cover}.rvfm-empty{padding:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px}.rvfm-empty-with-vin{display:flex;flex-direction:column;gap:4px}.rvfm-empty-with-vin strong{color:#9a3412}.rvfm-empty-vin-search{margin-top:12px}.rvfm-empty-vin-search .rvfm-widget{max-width:none}
.rvfm-widget-vertical{max-width:360px}.rvfm-widget-vertical .rvfm-row{margin-bottom:12px}.rvfm-widget-vertical .rvfm-search{width:100%;display:block}.rvfm-widget-vertical .rvfm-output{font-size:14px}
.rvfm-loader{display:none;margin-top:14px}.rvfm-is-loading .rvfm-loader{display:block}.rvfm-loader-track{position:relative;overflow:hidden;height:8px;border-radius:999px;background:#e5e7eb}.rvfm-loader-bar{position:absolute;left:-40%;top:0;height:100%;width:40%;border-radius:999px;background:#111827;animation:rvfm-progress 1.1s linear infinite}.rvfm-loader-text{display:block;margin-top:6px;color:#4b5563;font-size:13px}@keyframes rvfm-progress{0%{left:-40%}100%{left:100%}}
.rvfm-widget-horizontal{max-width:none;width:100%;display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}.rvfm-widget-horizontal .rvfm-row{margin-bottom:0;flex:1 1 190px}.rvfm-widget-horizontal .rvfm-vin{min-width:220px}.rvfm-widget-horizontal .rvfm-search{align-self:flex-start;min-width:130px}.rvfm-widget-horizontal .rvfm-loader,.rvfm-widget-horizontal .rvfm-output{flex-basis:100%;width:100%}
.rvfm-selected{border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:14px;margin:0 0 14px}.rvfm-selected-title{font-weight:700;margin-bottom:6px}.rvfm-selected-line{font-size:15px}.rvfm-selected-vin{font-size:13px;color:#6b7280;margin-top:4px}
@media (max-width:768px){.rvfm-widget-horizontal{display:block}.rvfm-widget-horizontal .rvfm-row{margin-bottom:10px}.rvfm-widget-horizontal .rvfm-search{width:100%}}
.rvfm-selected-category{font-size:13px;color:#374151;margin-top:4px}
.rvfm-compat-widget{border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:16px;margin:18px 0;color:#111827}.rvfm-vin-check{border-bottom:1px solid #e5e7eb;padding-bottom:14px;margin-bottom:14px}.rvfm-compat-title{font-weight:700;font-size:16px;margin-bottom:6px}.rvfm-compat-search{display:flex;gap:8px;align-items:center}.rvfm-compat-search input,.rvfm-compat-query{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:8px;background:#fff}.rvfm-vin-check-button,.rvfm-compat-more{padding:10px 14px;border:0;border-radius:8px;background:#111827;color:#fff;cursor:pointer;white-space:nowrap}.rvfm-vin-check-button:disabled,.rvfm-compat-more:disabled{opacity:.65;cursor:wait}.rvfm-vin-result{margin-top:10px;padding:10px;border-radius:8px;background:#f3f4f6;color:#374151}.rvfm-vin-ok{background:#ecfdf5;color:#065f46}.rvfm-vin-no{background:#fef2f2;color:#991b1b}.rvfm-vin-unknown{background:#fffbeb;color:#92400e}.rvfm-compat-list-head{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.rvfm-compat-list-head>div{min-width:220px}.rvfm-compat-count{font-size:13px;color:#6b7280}.rvfm-compat-query{max-width:360px}.rvfm-compat-results{max-height:520px;overflow:auto;border:1px solid #f3f4f6;border-radius:8px}.rvfm-compat-table{display:block}.rvfm-compat-row{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:10px;padding:10px 12px;border-bottom:1px solid #f3f4f6;font-size:14px}.rvfm-compat-row:last-child{border-bottom:0}.rvfm-compat-row span{color:#4b5563}.rvfm-compat-more{margin-top:12px}
@media (max-width:768px){.rvfm-compat-search,.rvfm-compat-list-head{display:block}.rvfm-vin-check-button,.rvfm-compat-more{width:100%;margin-top:8px}.rvfm-compat-query{max-width:none}.rvfm-compat-row{display:block}.rvfm-compat-row strong{display:block;margin-bottom:4px}}
.rvfm-smart-search{position:relative;width:100%;max-width:720px;color:#111827}.rvfm-smart-search-compact{max-width:520px}.rvfm-smart-form{display:flex;align-items:center;gap:8px;width:100%;margin:0}.rvfm-smart-input{width:100%;min-width:0;height:44px;padding:0 14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;font-size:15px;outline:none}.rvfm-smart-input:focus{border-color:#ff4d22;box-shadow:0 0 0 3px rgba(255,77,34,.12)}.rvfm-smart-button{height:44px;padding:0 16px;border:0;border-radius:8px;background:#ff4d22;color:#fff;font-weight:700;cursor:pointer;white-space:nowrap}.rvfm-smart-button:hover{background:#ea3f18}.rvfm-smart-panel{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:9999;max-height:440px;overflow:auto;border:1px solid #e5e7eb;border-radius:10px;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.16)}.rvfm-smart-open .rvfm-smart-panel{display:block}.rvfm-smart-empty{padding:14px;color:#6b7280;font-size:14px}.rvfm-smart-results{display:block}.rvfm-smart-result{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #f3f4f6;text-decoration:none;color:#111827}.rvfm-smart-result:last-child{border-bottom:0}.rvfm-smart-result:hover{background:#f9fafb}.rvfm-smart-thumb{display:block;width:54px;height:54px;border-radius:8px;background:#f3f4f6;overflow:hidden}.rvfm-smart-thumb img{width:100%;height:100%;object-fit:cover}.rvfm-smart-body{display:block;min-width:0}.rvfm-smart-body strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.rvfm-smart-body small{display:block;margin-top:3px;color:#6b7280;font-size:12px}.rvfm-smart-price{font-weight:700;color:#111827;font-size:13px;white-space:nowrap}
@media (max-width:768px){.rvfm-smart-search,.rvfm-smart-search-compact{max-width:none}.rvfm-smart-form{gap:6px}.rvfm-smart-input{height:42px;font-size:14px}.rvfm-smart-button{height:42px;padding:0 12px}.rvfm-smart-panel{position:absolute;max-height:70vh}.rvfm-smart-result{grid-template-columns:46px minmax(0,1fr);gap:10px}.rvfm-smart-thumb{width:46px;height:46px}.rvfm-smart-price{grid-column:2;font-size:12px}}
.rvfm-vin-result{display:flex;align-items:flex-start;gap:8px}.rvfm-vin-result-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:999px;background:#e5e7eb;color:#374151;font-weight:800;line-height:1}.rvfm-vin-result-text{display:block;min-width:0}.rvfm-vin-ok .rvfm-vin-result-icon{background:#10b981;color:#fff}.rvfm-vin-no .rvfm-vin-result-icon{background:#ef4444;color:#fff}.rvfm-vin-unknown .rvfm-vin-result-icon{background:#f59e0b;color:#fff}
.rvfm-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}.rvfm-combo{position:relative;width:100%}.rvfm-combo-input{width:100%;height:50px;padding:10px 44px 10px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#1f2937;font-size:16px;line-height:1.2;outline:none}.rvfm-combo-input:focus{border-color:#ff4d22;box-shadow:0 0 0 3px rgba(255,77,34,.14)}.rvfm-combo-input::placeholder{color:#8b95a5;opacity:1}.rvfm-combo-toggle{position:absolute;right:8px;top:50%;width:32px;height:32px;transform:translateY(-50%);border:0;background:transparent;color:#526070;font-size:22px;line-height:1;cursor:pointer}.rvfm-combo-disabled .rvfm-combo-input{background:#f9fafb;color:#9ca3af;cursor:not-allowed}.rvfm-combo-disabled .rvfm-combo-toggle{color:#9ca3af;cursor:not-allowed}.rvfm-combo-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:10000;max-height:260px;overflow:auto;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.16);padding:4px}.rvfm-combo-open .rvfm-combo-menu{display:block}.rvfm-combo-option{display:block;width:100%;padding:10px 12px;border:0;border-radius:6px;background:#fff;color:#111827;text-align:left;font-size:14px;line-height:1.25;cursor:pointer}.rvfm-combo-option:hover,.rvfm-combo-active{background:#f3f4f6}.rvfm-combo-selected{background:#fff1ec;color:#c03312;font-weight:700}.rvfm-combo-empty{padding:12px;color:#6b7280;font-size:14px}@media (max-width:768px){.rvfm-combo-input{height:48px;font-size:16px}.rvfm-combo-menu{max-height:55vh}.rvfm-combo-option{padding:12px;font-size:15px}}
.rvfm-widget .rvfm-combo-input{height:50px;box-sizing:border-box;padding:10px 44px 10px 13px;border:1px solid #d5dce6;border-radius:9px;background:#fff;color:#243247;font-size:18px;font-weight:400;box-shadow:none}.rvfm-widget .rvfm-combo-input::placeholder{color:#7d8999}.rvfm-widget .rvfm-combo-toggle{right:9px;top:50%;width:28px;height:28px;padding:0;border:0!important;border-radius:50%;background:transparent!important;color:transparent!important;font-size:0;box-shadow:none!important}.rvfm-widget .rvfm-combo-toggle:before{content:"";display:block;position:absolute;left:9px;top:7px;width:8px;height:8px;border-right:2px solid #354253;border-bottom:2px solid #354253;transform:rotate(45deg)}.rvfm-widget .rvfm-combo-input:focus{border-color:#ff5126;box-shadow:0 0 0 3px rgba(255,81,38,.12)}.rvfm-widget .rvfm-combo-disabled .rvfm-combo-input{background:#f8fafc;color:#9aa3b1}.rvfm-widget .rvfm-combo-disabled .rvfm-combo-toggle:before{border-color:#8b95a5}.rvfm-widget .rvfm-combo-menu{top:calc(100% + 4px);border-radius:9px}.rvfm-widget .rvfm-combo-option{font-size:15px;color:#243247}.rvfm-widget .rvfm-combo-selected{background:#fff1ec;color:#d43b17}
.rvfm-smart-progress{padding:13px 14px;color:#243247}.rvfm-smart-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;font-size:13px}.rvfm-smart-progress-head strong{color:#ff5126;font-size:12px}.rvfm-smart-progress-track{height:7px;overflow:hidden;border-radius:999px;background:#eef2f7}.rvfm-smart-progress-track span{display:block;height:100%;border-radius:999px;background:#ff5126;transition:width .22s ease}.rvfm-smart-search.rvfm-smart-open .rvfm-smart-panel{min-height:46px}
.rvfm-smart-fullscreen{display:none;position:fixed;inset:0;z-index:999999;background:rgba(15,23,42,.58);padding:22px;color:#111827}.rvfm-smart-fullscreen-open{display:flex;align-items:center;justify-content:center}.rvfm-smart-fullscreen-active{overflow:hidden}.rvfm-smart-fullscreen-dialog{position:relative;width:min(920px,100%);max-height:min(760px,92vh);display:flex;flex-direction:column;border-radius:12px;background:#fff;box-shadow:0 24px 80px rgba(15,23,42,.28);overflow:hidden}.rvfm-smart-fullscreen-close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:#f3f4f6;color:#243247;font-size:24px;line-height:1;cursor:pointer}.rvfm-smart-fullscreen-title{padding:18px 56px 4px 18px;font-size:19px;font-weight:800}.rvfm-smart-fullscreen-query{padding:0 18px 14px;color:#6b7280;font-size:13px}.rvfm-smart-fullscreen-body{overflow:auto;border-top:1px solid #eef2f7}.rvfm-smart-fullscreen-body .rvfm-smart-result{grid-template-columns:64px minmax(0,1fr) auto;padding:13px 18px}.rvfm-smart-fullscreen-body .rvfm-smart-thumb{width:64px;height:64px}.rvfm-smart-fullscreen-body .rvfm-smart-progress{padding:24px}@media (max-width:768px){.rvfm-smart-fullscreen{padding:10px}.rvfm-smart-fullscreen-dialog{max-height:94vh;border-radius:10px}.rvfm-smart-fullscreen-body .rvfm-smart-result{grid-template-columns:52px minmax(0,1fr);padding:12px}.rvfm-smart-fullscreen-body .rvfm-smart-thumb{width:52px;height:52px}.rvfm-smart-fullscreen-body .rvfm-smart-price{grid-column:2}}
.rvfm-results{display:flex;flex-direction:column;gap:0;border-top:1px solid #eef2f7;background:#fff}.rvfm-product-card{display:grid;grid-template-columns:116px minmax(0,1fr) 210px;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid #eef2f7;color:#111827}.rvfm-product-image{display:flex;align-items:center;justify-content:center;width:116px;height:116px;border:1px solid #eef2f7;border-radius:8px;background:#fff;text-decoration:none;overflow:hidden}.rvfm-product-image img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.rvfm-product-main{min-width:0}.rvfm-product-sku{display:block;margin-bottom:4px;color:#111827;text-decoration:none;font-size:18px;font-weight:800;line-height:1.12}.rvfm-product-title{display:block;color:#111827;text-decoration:none;font-size:16px;font-weight:700;line-height:1.2}.rvfm-product-title:hover,.rvfm-product-sku:hover{text-decoration:underline}.rvfm-product-desc{margin-top:4px;color:#5f6977;font-size:12px;font-weight:600;line-height:1.25}.rvfm-product-stock{display:flex;align-items:center;gap:6px;margin-top:6px;color:#111827;font-size:13px;font-weight:800}.rvfm-product-stock span{width:9px;height:9px;border-radius:999px;background:#b9c0ca;box-shadow:12px 0 0 #b9c0ca,24px 0 0 #b9c0ca}.rvfm-stock-in span{background:#42c84b;box-shadow:12px 0 0 #42c84b,24px 0 0 #42c84b}.rvfm-stock-out{color:#9b1c1c}.rvfm-stock-out span{background:#ef4444;box-shadow:12px 0 0 #ef4444,24px 0 0 #ef4444}.rvfm-product-buy{display:flex;flex-direction:column;align-items:stretch;gap:12px}.rvfm-product-price{color:#111827;text-align:right;font-size:15px;font-weight:800}.rvfm-product-price small{display:inline;color:#6b7280;font-size:11px;font-weight:700}.rvfm-product-cart{display:flex;flex-direction:column;gap:12px;margin:0}.rvfm-product-qty{display:flex;justify-content:flex-end;align-items:center;gap:8px}.rvfm-product-qty button{width:28px;height:28px;border:0;background:#fff;color:#111827;font-size:26px;font-weight:400;line-height:1;cursor:pointer}.rvfm-product-qty input{width:52px;height:34px;border:1px solid #d8dde5;border-radius:4px;background:#fff;color:#111827;text-align:center;font-size:14px;font-weight:700}.rvfm-add-to-cart{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:0;border-radius:7px;background:#fff200;color:#111827;text-decoration:none;text-transform:uppercase;font-size:13px;font-weight:900;line-height:1.1;cursor:pointer}.rvfm-add-to-cart:before{content:"";width:15px;height:15px;margin-right:8px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 .01 0H17ZM3 4h2l2.7 9.4A3 3 0 0 0 10.6 15H17a3 3 0 0 0 2.8-2l2-6H7.1L6.7 5A2 2 0 0 0 4.8 3H3v1Z'/%3E%3C/svg%3E") center/contain no-repeat}.rvfm-view-product{background:#111827;color:#fff}.rvfm-view-product:before{display:none}@media (max-width:820px){.rvfm-product-card{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:12px 0}.rvfm-product-image{width:88px;height:88px}.rvfm-product-buy{grid-column:1 / -1}.rvfm-product-price{text-align:left}.rvfm-product-cart{display:grid;grid-template-columns:auto 1fr;align-items:center}.rvfm-product-qty{justify-content:flex-start}.rvfm-add-to-cart{min-height:42px}.rvfm-product-sku{font-size:16px}.rvfm-product-title{font-size:15px}.rvfm-product-desc{font-size:12px}}
.rvfm-product-attrs{margin-top:5px;color:#667085;font-size:12px;font-weight:600;line-height:1.25}.rvfm-add-to-cart,.rvfm-view-product{background:#ff5126!important;color:#fff!important;border-radius:6px!important;box-shadow:none!important}.rvfm-add-to-cart:hover,.rvfm-view-product:hover{background:#e9451f!important;color:#fff!important}.rvfm-add-to-cart:before{display:none}.rvfm-view-product{min-width:210px}
.rvfm-product-attrs{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:3px 10px!important;overflow:visible!important;white-space:normal!important;max-width:100%!important}.rvfm-product-attrs .rvfm-attr{display:inline-flex!important;align-items:baseline!important;gap:3px!important;max-width:100%!important;min-width:0!important;color:#667085!important}.rvfm-product-attrs .rvfm-attr-label{display:inline!important;flex:0 0 auto!important}.rvfm-product-attrs .rvfm-attr-value{display:inline!important;min-width:0!important;color:#111827!important;font-weight:800!important;overflow-wrap:anywhere!important;word-break:normal!important}
.rvfm-product-stock{gap:6px}.rvfm-product-stock span{display:inline-block!important;flex:0 0 9px!important;width:9px!important;height:9px!important;margin:0!important;border-radius:999px!important;box-shadow:none!important}.rvfm-stock-in span{background:#42c84b!important}.rvfm-stock-out span{background:#ef4444!important}
.rvfm-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #eef2f7}.rvfm-page{min-width:38px;height:36px;padding:0 12px;border:1px solid #d8dde5;border-radius:6px;background:#fff;color:#111827;font-size:13px;font-weight:800;cursor:pointer}.rvfm-page:hover{border-color:#ff5126;color:#ff5126}.rvfm-page-current,.rvfm-page:disabled{background:#ff5126!important;border-color:#ff5126!important;color:#fff!important;cursor:default}.rvfm-page-total{margin-left:auto;color:#667085;font-size:13px;font-weight:700}


/* Autoforte-style vehicle category tiles */
.rvfm-category-strip{
  width:100%;
  margin:22px 0 24px;
  padding:0 0 20px;
  border-bottom:1px solid #edf0f3;
}

.rvfm-category-head{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:16px;
  margin:0 0 16px;
}

.rvfm-category-head h3{
  margin:0;
  color:#050505;
  font-size:28px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:0;
  text-align:center;
  text-transform:uppercase;
}

.rvfm-category-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}

.rvfm-category-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  min-width:0;
  min-height:0;
  height:178px;
  padding:14px 10px 12px;
  border:1px solid #edf0f3;
  border-radius:0;
  background:#f8fafc;
  color:#050505;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  box-shadow:none;
  transition:border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.rvfm-category-tile:hover,
.rvfm-category-tile.is-active{
  border-color:#ff4a1c;
  background:#fff;
  color:#ff4a1c;
  transform:translateY(-1px);
}

.rvfm-category-tile.is-active:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background:#ff4a1c;
}

.rvfm-category-image{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:92px;
  margin:0 0 8px;
  background:#fff;
}

.rvfm-category-image img{
  display:block;
  width:auto;
  max-width:92%;
  height:auto;
  max-height:86px;
  object-fit:contain;
}

.rvfm-category-dot{
  display:block;
  width:6px;
  height:6px;
  margin:0 0 8px;
  border-radius:999px;
  background:#ff4a1c;
  flex:0 0 auto;
}

.rvfm-category-name{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:38px;
  color:inherit;
  font-size:17px;
  line-height:1.12;
  font-weight:700;
  letter-spacing:0;
}

.rvfm-category-count{
  margin-top:auto;
  color:#607085;
  font-size:12px;
  line-height:1;
  font-weight:500;
}

.rvfm-category-reset{
  justify-self:end;
  width:auto;
  height:auto;
  min-height:0;
  padding:10px 14px;
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  border-color:#d8dee6;
  background:#fff;
  color:#050505;
  font-size:15px;
  font-weight:600;
  white-space:nowrap;
}

.rvfm-category-reset:hover{
  color:#fff;
  background:#ff4a1c;
  border-color:#ff4a1c;
  transform:none;
}

.rvfm-category-reset .rvfm-category-image,
.rvfm-category-reset .rvfm-category-dot,
.rvfm-category-reset .rvfm-category-count{
  display:none;
}

.rvfm-category-reset .rvfm-category-name{
  display:block;
  min-height:0;
  font-size:15px;
  line-height:1;
}

@media (max-width:1200px){
  .rvfm-category-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
}

@media (max-width:980px){
  .rvfm-category-head{
    display:block;
  }

  .rvfm-category-head h3{
    margin-bottom:12px;
    font-size:23px;
    text-align:left;
  }

  .rvfm-category-reset{
    margin-bottom:12px;
  }

  .rvfm-category-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }

  .rvfm-category-tile{
    height:166px;
  }

  .rvfm-category-name{
    font-size:15px;
  }
}

@media (max-width:640px){
  .rvfm-category-strip{
    margin:16px -12px 18px;
    padding:0 12px 16px;
    overflow:hidden;
  }

  .rvfm-category-head h3{
    font-size:18px;
    line-height:1.2;
  }

  .rvfm-category-grid{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:0 2px 8px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .rvfm-category-grid::-webkit-scrollbar{
    height:4px;
  }

  .rvfm-category-grid::-webkit-scrollbar-thumb{
    background:#d6dde6;
  }

  .rvfm-category-tile{
    flex:0 0 138px;
    height:154px;
    padding:10px 8px;
    scroll-snap-align:start;
  }

  .rvfm-category-image{
    height:72px;
    margin-bottom:7px;
  }

  .rvfm-category-image img{
    max-height:68px;
  }

  .rvfm-category-dot{
    width:5px;
    height:5px;
    margin-bottom:7px;
  }

  .rvfm-category-name{
    min-height:32px;
    font-size:14px;
    line-height:1.12;
  }

  .rvfm-category-count{
    font-size:11px;
  }
}
/* RVFM Autoforte category tiles override */
.rvfm-category-strip{
  width:100% !important;
  margin:20px 0 24px !important;
  padding:0 0 20px !important;
  border-bottom:1px solid #edf0f3 !important;
}

.rvfm-category-head{
  display:grid !important;
  grid-template-columns:1fr auto !important;
  align-items:center !important;
  gap:16px !important;
  margin:0 0 16px !important;
}

.rvfm-category-head h3{
  margin:0 !important;
  color:#050505 !important;
  font-size:26px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  text-align:center !important;
  text-transform:uppercase !important;
}

.rvfm-category-grid{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:12px !important;
}

.rvfm-category-tile{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  height:170px !important;
  min-height:0 !important;
  padding:13px 10px 11px !important;
  border:1px solid #edf0f3 !important;
  border-radius:0 !important;
  background:#f8fafc !important;
  color:#050505 !important;
  text-align:center !important;
  text-decoration:none !important;
  box-shadow:none !important;
}

.rvfm-category-tile:hover,
.rvfm-category-tile.is-active{
  border-color:#ff4a1c !important;
  background:#fff !important;
  color:#ff4a1c !important;
}

.rvfm-category-tile.is-active:before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  height:3px !important;
  background:#ff4a1c !important;
}

.rvfm-category-image{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:86px !important;
  margin:0 0 8px !important;
  background:#fff !important;
}

.rvfm-category-image img{
  width:auto !important;
  max-width:92% !important;
  height:auto !important;
  max-height:80px !important;
  object-fit:contain !important;
}

.rvfm-category-dot{
  display:block !important;
  width:6px !important;
  height:6px !important;
  margin:0 0 8px !important;
  border-radius:999px !important;
  background:#ff4a1c !important;
  flex:0 0 auto !important;
}

.rvfm-category-name{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:36px !important;
  color:inherit !important;
  font-size:16px !important;
  line-height:1.12 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}

.rvfm-category-count{
  margin-top:auto !important;
  color:#607085 !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:500 !important;
}

.rvfm-category-reset{
  justify-self:end !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  padding:10px 14px !important;
  display:inline-flex !important;
  flex-direction:row !important;
  border-color:#d8dee6 !important;
  background:#fff !important;
  color:#050505 !important;
  font-size:15px !important;
  font-weight:600 !important;
  white-space:nowrap !important;
}

.rvfm-category-reset:hover{
  color:#fff !important;
  background:#ff4a1c !important;
  border-color:#ff4a1c !important;
}

.rvfm-category-reset .rvfm-category-image,
.rvfm-category-reset .rvfm-category-dot,
.rvfm-category-reset .rvfm-category-count{
  display:none !important;
}

.rvfm-category-reset .rvfm-category-name{
  display:block !important;
  min-height:0 !important;
  font-size:15px !important;
  line-height:1 !important;
}

@media (max-width:1200px){
  .rvfm-category-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important;}
}

@media (max-width:980px){
  .rvfm-category-head{display:block !important;}
  .rvfm-category-head h3{
    margin-bottom:12px !important;
    font-size:22px !important;
    text-align:left !important;
  }
  .rvfm-category-reset{margin-bottom:12px !important;}
  .rvfm-category-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
  .rvfm-category-tile{height:160px !important;}
  .rvfm-category-name{font-size:15px !important;}
}

@media (max-width:640px){
  .rvfm-category-strip{
    margin:16px -12px 18px !important;
    padding:0 12px 16px !important;
    overflow:hidden !important;
  }

  .rvfm-category-head h3{
    font-size:18px !important;
    line-height:1.2 !important;
  }

  .rvfm-category-grid{
    display:flex !important;
    gap:10px !important;
    overflow-x:auto !important;
    padding:0 2px 8px !important;
    scroll-snap-type:x mandatory !important;
    -webkit-overflow-scrolling:touch !important;
  }

  .rvfm-category-tile{
    flex:0 0 138px !important;
    height:150px !important;
    padding:10px 8px !important;
    scroll-snap-align:start !important;
  }

  .rvfm-category-image{height:70px !important;}
  .rvfm-category-image img{max-height:66px !important;}
  .rvfm-category-dot{width:5px !important;height:5px !important;margin-bottom:7px !important;}
  .rvfm-category-name{min-height:31px !important;font-size:14px !important;}
  .rvfm-category-count{font-size:11px !important;}
}

/* Autoforte quantity input fix */
.rvfm-product-buy .quantity,
.rvfm-product-card .quantity,
.rvfm-results .quantity,
.woocommerce .quantity{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:54px !important;
  height:31px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
}

.rvfm-product-buy .quantity input.qty,
.rvfm-product-card .quantity input.qty,
.rvfm-results .quantity input.qty,
.woocommerce .quantity input.qty{
  display:block !important;
  width:54px !important;
  min-width:54px !important;
  max-width:54px !important;
  height:31px !important;
  min-height:31px !important;
  padding:0 6px !important;
  margin:0 !important;
  border:0 !important;
  background:#f5f5f5 !important;
  color:#111 !important;
  text-align:center !important;
  font-size:14px !important;
  line-height:31px !important;
  font-weight:700 !important;
  box-sizing:border-box !important;
  opacity:1 !important;
  visibility:visible !important;
  overflow:visible !important;
  appearance:textfield !important;
  -moz-appearance:textfield !important;
}

.rvfm-product-buy .quantity input.qty::-webkit-outer-spin-button,
.rvfm-product-buy .quantity input.qty::-webkit-inner-spin-button,
.rvfm-product-card .quantity input.qty::-webkit-outer-spin-button,
.rvfm-product-card .quantity input.qty::-webkit-inner-spin-button,
.rvfm-results .quantity input.qty::-webkit-outer-spin-button,
.rvfm-results .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button{
  margin:0 !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}

/* Hide native number arrows in quantity fields */
.rvfm-product-buy input[type="number"],
.rvfm-product-card input[type="number"],
.rvfm-results input[type="number"],
.woocommerce input.qty[type="number"],
.woocommerce .quantity input[type="number"]{
  -moz-appearance:textfield !important;
  appearance:textfield !important;
  background-image:none !important;
}

.rvfm-product-buy input[type="number"]::-webkit-inner-spin-button,
.rvfm-product-buy input[type="number"]::-webkit-outer-spin-button,
.rvfm-product-card input[type="number"]::-webkit-inner-spin-button,
.rvfm-product-card input[type="number"]::-webkit-outer-spin-button,
.rvfm-results input[type="number"]::-webkit-inner-spin-button,
.rvfm-results input[type="number"]::-webkit-outer-spin-button,
.woocommerce input.qty[type="number"]::-webkit-inner-spin-button,
.woocommerce input.qty[type="number"]::-webkit-outer-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button{
  -webkit-appearance:none !important;
  appearance:none !important;
  display:none !important;
  opacity:0 !important;
  width:0 !important;
  margin:0 !important;
}

.rvfm-product-buy .quantity input.qty,
.rvfm-product-card .quantity input.qty,
.rvfm-results .quantity input.qty,
.woocommerce .quantity input.qty{
  width:58px !important;
  min-width:58px !important;
  max-width:58px !important;
  padding:0 !important;
  text-align:center !important;
  text-indent:0 !important;
}

/* Category archive fallback without selected vehicle */
.rvfm-category-archive-notice {
  margin-bottom: 14px;
}

.rvfm-category-archive-selector {
  margin: 0 0 22px;
}

.rvfm-category-archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 14px;
  border-bottom: 1px solid #edf0f3;
  padding-bottom: 10px;
}

.rvfm-category-archive-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: #111827;
}

.rvfm-category-archive-head span {
  color: #657386;
  font-size: 14px;
  font-weight: 700;
}

.rvfm-pagination {
  margin: 26px 0 10px;
}

.rvfm-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rvfm-pagination a,
.rvfm-pagination span {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe5ec;
  color: #111827;
  text-decoration: none;
  font-weight: 800;
}

.rvfm-pagination .current,
.rvfm-pagination a:hover {
  border-color: #ff4a1c;
  background: #ff4a1c;
  color: #fff;
}

@media (max-width: 640px) {
  .rvfm-category-archive-head {
    display: block;
  }

  .rvfm-category-archive-head h2 {
    font-size: 21px;
    margin-bottom: 4px;
  }
}

/* Autoforte RVFM vehicle selector dropdown polish - 2026-06-19 */
.rvfm-widget select,
.rvfm-widget select:focus,
.rvfm-widget select:active,
.rvfm-widget option,
.rvfm-widget optgroup {
    background-color: #ffffff !important;
    color: #111827 !important;
}

.rvfm-widget select {
    border: 1px solid #dfe5ec !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 44px !important;
    font-weight: 600 !important;
}

.rvfm-widget select:focus {
    border-color: #ff4a1c !important;
    box-shadow: 0 0 0 3px rgba(255, 74, 28, .12) !important;
    outline: none !important;
}

.rvfm-widget option {
    padding: 8px 12px !important;
    font-weight: 700 !important;
}

.rvfm-widget option:checked {
    background: #ff4a1c !important;
    color: #ffffff !important;
}

.rvfm-widget option:hover {
    background: #fff3ee !important;
    color: #111827 !important;
}

.rvfm-widget {
    background: #ffffff !important;
    border-color: #edf0f3 !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12) !important;
}

/* Autoforte RVFM vehicle selector dropdown polish - 2026-06-19 */
.rvfm-widget select,
.rvfm-widget select:focus,
.rvfm-widget select:active,
.rvfm-widget option,
.rvfm-widget optgroup {
    background-color: #ffffff !important;
    color: #111827 !important;
}

.rvfm-widget select {
    border: 1px solid #dfe5ec !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 44px !important;
    font-weight: 600 !important;
}

.rvfm-widget select:focus {
    border-color: #ff4a1c !important;
    box-shadow: 0 0 0 3px rgba(255, 74, 28, .12) !important;
    outline: none !important;
}

.rvfm-widget option {
    padding: 8px 12px !important;
    font-weight: 700 !important;
}

.rvfm-widget option:checked {
    background: #ff4a1c !important;
    color: #ffffff !important;
}

.rvfm-widget option:hover {
    background: #fff3ee !important;
    color: #111827 !important;
}

.rvfm-widget {
    background: #ffffff !important;
    border-color: #edf0f3 !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12) !important;
}

/* RVFM vehicle selector final override */
.rvfm-widget {
  background: #ffffff !important;
  border-color: #edf0f3 !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .12) !important;
}

.rvfm-widget select,
.rvfm-widget select:focus,
.rvfm-widget select:active {
  min-height: 44px !important;
  border: 1px solid #dfe5ec !important;
  border-radius: 0 !important;
  background-color: #ffffff !important;
  color: #111827 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  outline: none !important;
}

.rvfm-widget select:focus {
  border-color: #ff4a1c !important;
  box-shadow: 0 0 0 3px rgba(255, 74, 28, .12) !important;
}

.rvfm-widget option,
.rvfm-widget optgroup {
  background-color: #ffffff !important;
  color: #111827 !important;
  font-weight: 700 !important;
}

.rvfm-widget option:checked {
  background-color: #ff4a1c !important;
  color: #ffffff !important;
}

.rvfm-combo-menu {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}

.rvfm-combo-option {
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 700 !important;
}

.rvfm-combo-option:hover,
.rvfm-combo-active,
.rvfm-combo-selected {
  background: #ff4a1c !important;
  color: #ffffff !important;
}

/* RVFM combo dropdown visual correction */
.rvfm-widget .rvfm-combo-menu {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 4px !important;
}

.rvfm-widget .rvfm-combo-option {
  background: #ffffff !important;
  color: #111827 !important;
  font-weight: 700 !important;
}

.rvfm-widget .rvfm-combo-option:hover,
.rvfm-widget .rvfm-combo-active {
  background: #fff3ee !important;
  color: #111827 !important;
}

.rvfm-widget .rvfm-combo-selected {
  background: #ff4a1c !important;
  color: #ffffff !important;
}

/* RVFM vehicle dropdown: override theme/global button styles */
body .elementor .rvfm-widget .rvfm-combo .rvfm-combo-menu button.rvfm-combo-option,
body .rvfm-widget .rvfm-combo .rvfm-combo-menu button.rvfm-combo-option,
.rvfm-widget .rvfm-combo-menu > button.rvfm-combo-option {
  display: block !important;
  width: 100% !important;
  min-height: 37px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #eef2f7 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #111827 !important;
  box-shadow: none !important;
  text-align: left !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body .elementor .rvfm-widget .rvfm-combo .rvfm-combo-menu button.rvfm-combo-option:hover,
body .rvfm-widget .rvfm-combo .rvfm-combo-menu button.rvfm-combo-option:hover,
.rvfm-widget .rvfm-combo-menu > button.rvfm-combo-option:hover,
body .elementor .rvfm-widget .rvfm-combo .rvfm-combo-menu button.rvfm-combo-active,
body .rvfm-widget .rvfm-combo .rvfm-combo-menu button.rvfm-combo-active {
  background: #fff3ee !important;
  background-color: #fff3ee !important;
  background-image: none !important;
  color: #111827 !important;
}

body .elementor .rvfm-widget .rvfm-combo .rvfm-combo-menu button.rvfm-combo-selected,
body .rvfm-widget .rvfm-combo .rvfm-combo-menu button.rvfm-combo-selected {
  background: #ff4a1c !important;
  background-color: #ff4a1c !important;
  background-image: none !important;
  color: #ffffff !important;
}

body .rvfm-widget .rvfm-combo-menu {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* AF_RVFM_MOBILE_CARD_DIRECT_V1 */
@media (max-width: 900px) {
  html body .rvfm-results {
    display: block !important;
  }

  html body .rvfm-results > article.rvfm-product-card {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 10px 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body .rvfm-product-card > .rvfm-product-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 84px !important;
    height: 84px !important;
    margin: 0 !important;
  }

  html body .rvfm-product-card > .rvfm-product-image img {
    width: 78px !important;
    height: 78px !important;
    object-fit: contain !important;
  }

  html body .rvfm-product-card > .rvfm-product-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .rvfm-product-card > .rvfm-product-buy {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .rvfm-product-card .rvfm-product-price {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #020617 !important;
  }

  html body .rvfm-product-card form.rvfm-product-cart {
    display: grid !important;
    grid-template-columns: 144px minmax(130px, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .rvfm-product-card .rvfm-product-qty {
    display: grid !important;
    grid-template-columns: 42px 60px 42px !important;
    width: 144px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body .rvfm-product-card .rvfm-qty-minus,
  html body .rvfm-product-card .rvfm-qty-plus {
    width: 42px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ff4a1c !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body .rvfm-product-card .rvfm-product-qty input {
    width: 60px !important;
    height: 38px !important;
    border: 0 !important;
    background: #f3f4f6 !important;
    text-align: center !important;
    font-weight: 800 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body .rvfm-product-card .rvfm-add-to-cart {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #ff4a1c !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 40px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
}
