/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


.custom-download-widget .card-outer{
  background:#fff;
  border-radius:28px;
  padding:20px;
  border:1px solid #f1f5f9;
  box-shadow:0 10px 30px rgba(30,41,59,0.04);
}

.custom-download-widget .icon-circle{
  width:64px;height:64px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
  background:#f1f9ff;color:#00A8FF;font-size:22px;
}
.custom-download-widget .icon-circle.gray{
  background:#f3f4f6;color:#1E293B;
}
.custom-download-widget h3{
  font-size:20px;margin-bottom:8px;
}
.custom-download-widget .lead{
  font-size:13px;color:#64748b;
}
`

/* ================================= */
/* ==== blogs dynamic Filter =====  */

/* Filter bar */
.filter-bar {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(14, 26, 33, 0.158);
    border: 1px solid #f3f4f6;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    display: none;
}
.filter-bar .filter-btn {
    padding: 15px 25px;
    border-radius: 8px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    color: #374151; 
    text-transform: capitalize;

}
.filter-bar .filter-btn.active {
    background: #0F172A;
    color: #ffffff;
}

/* Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: 0 6px 20px rgba(14, 26, 33, 0.06);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(14,26,33,0.12);
}

/* Media */
.card-media {
    height: 270px;
    overflow: hidden;
    background: #f3f4f6;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Body */
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 12px;
}
.cat-badge {
    background: #EFF6FF;
    color: #00A8FF;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
}
.date { font-size: 12px; }

/* Title and excerpt */
.card-title {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 12px 0;
}
.card-excerpt {
    color: #475569;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.45;
    flex-grow: 1;
    margin-bottom: 11px !important;
}

.read-more {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    align-self: flex-start;
    color: #00A8FF;
    font-size: 12px;
}
.blog-card:hover .read-more {
    text-decoration:underline
}

.blog-card:hover .card-media img {
  transform: scale(1.09);
  transition: transform 1.5s ease !important;
}
.blog-card:hover .card-title {
  background: linear-gradient(to right, #00A8FF, #2563EB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* For Chrome/Safari */
  background-clip: text;                /* For Firefox */
  color: transparent;
}
/* Loading & fallback */
.blog-grid.loading { opacity: 0.6; pointer-events: none; }
.no-posts {
    padding: 24px;
    background: #fff7ed;
    border-radius: 8px;
    border: 1px solid #ffedd5;
}

/* Testimonials grid - core CSS (no CSS variables) */

/* Grid container */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 auto;
}

/* Desktop: 3 columns */
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.testimonial-card {
    background: #ffffff; /* change if your bg differs */
    padding: 2rem;
    border-radius: 1rem;
    /* border: 1px solid #f3f4f6;  */
    border: 1px solid #D1D5DB; 
    position: relative;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

/* Hover effect */
.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: #00a8ff5c;
    box-shadow:0 0 15px 2px #00a8ff61;
}

/* Header row */
.tc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

/* Avatar */
.tc-avatar {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    overflow: hidden;
    background: #e5e7eb; /* gray-200 */
    flex-shrink: 0;
}
.tc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Meta */
.tc-meta .tc-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a; /* text-primary */
}
.tc-meta .tc-vehicle {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280; /* gray-500 */
}

/* Source icon (right) */
.tc-source {
    margin-left: auto;
    color: #d1d5db; /* gray-300 */
    font-size: 1rem;
}

/* Stars */
.tc-rating {
    display: flex;
    gap: 0.125rem;
    color:#FACC15; /* yellow-400 */
    font-size: 0.75rem;
    margin-bottom: 1rem;
}
.tc-rating .star svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* Feedback */
.tc-feedback {
    font-size: 14px;
    line-height: 1.2;
    color: #334155;
    margin-bottom: 0 !important
}

/* Verified badge */
.tc-verified .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color:#16A34A
}
.tc-verified .verified-badge svg {
    width: 12px;
    height: 12px;
    display: block;
}

/* Small responsiveness tweaks */
@media (max-width: 480px) {
    .testimonial-card {
        padding: 1rem;
    }
    .tc-avatar {
        width: 40px;
        height: 40px;
    }
}


/* Hide class for filtering */
.bmw-product-card.hidden {
    display: none !important;
}

/* Maintain card design */
.bmw-product-card {
    flex:1 1 calc(25% - 20px);
    max-width:350px; /* Limit max width */
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    overflow:hidden;
    cursor:pointer;
    transition:all 0.3s;
    display:flex;
    flex-direction:column;
    box-sizing:border-box; /* Make sure padding/border included in width */
}

/* Responsive */
@media(max-width:1024px) {
    .bmw-product-card { flex:1 1 calc(50% - 20px); max-width:none; }
}
@media(max-width:640px) {
    .bmw-product-card { flex:1 1 100%; max-width:none; }
}


/* /////////////////////////////// */
/* WooCommerce Product Page Styles */
/* /////////////////////////////// */

body.single-product .summary.entry-summary .woocommerce-breadcrumb,
body.single-product .summary.entry-summary .entry-title,
body.single-product .summary.entry-summary .price{
    display:none;
}


body.single-product  #primary{
    margin-top: 40px !important;
}

.product-p-s-heading,
li#tab-title-description a{
    font-size: 18px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
    background: #005CB3;
    color: #fff;
    border-radius: 6px;
    border-top: 3px solid #005CB3;
    width: 100%;
    padding: 10px 20px 13px 20px !important;
    line-height: 1.1;
}
.product-p-s-heading{
    margin-bottom: 30px !important;
}
li#tab-title-description:before {
    display: none !important;
}

body.single-product  .single_add_to_cart_button{
    width: 86% !important;
    padding: 12px 20px !important;
    background: #005CB3 !important;

}

body.single-product div#content,
body.single-product div#content .ast-article-single {
    background: #FAFAFA;
}

body.single-product .woocommerce-Tabs-panel h1,
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3,
body.single-product .woocommerce-Tabs-panel h4,
body.single-product .woocommerce-Tabs-panel h5,
body.single-product .woocommerce-Tabs-panel h6{
    margin-top: 0;
    line-height: 1.2 !important;
}

body.single-product .woocommerce-Tabs-panel h1{
    font-size: 40px !important;
    line-height: 1.1 !important;
}
body.single-product .woocommerce-Tabs-panel h2{
    font-size: 35px !important;
}
body.single-product .woocommerce-Tabs-panel h3{
    font-size: 30px !important;
}
body.single-product .woocommerce-Tabs-panel h4{
    font-size: 26px !important;
}
body.single-product .woocommerce-Tabs-panel h5{
    font-size: 22px !important;
}

.product-top-section > div > div{
    width: 100% !important;
}

body.single-product  .product-detail-p-main-title {
    font-size: 40px !important;
    margin-bottom: 30px;
    color:#005CB3
}

h1.product_title.entry-title {
    font-size: 35px;
    background:pink-;
    margin-bottom:5px !important
} 


p.price {
    color: #019CE7 !important;
    background:lightgreen-;
    border-bottom:1px solid #ddddddab !important;
    padding-bottom:15px;
    margin-bottom:20px !important
}

.woocommerce-product-gallery a img{
    background: #F0F5FA !important;
    padding: 10px !important;
    height: 550px !important;
    object-fit:contain !important;
    border-radius: 10px;
}


nav.woocommerce-breadcrumb {
    font-size: 14px !important;
    pointer-events:none
}

.ast-woocommerce-container {
    padding: 0 !important;
}

.woocommerce-tabs.wc-tabs-wrapper {
    margin-bottom: 0 !important;
    margin: auto;
}

.woocommerce-tabs.wc-tabs-wrapper img {
    max-width: 900px;
    margin: auto !important;
    text-align: center;
    border-radius: 12px;
    width: 100%;
}

body.single-product details span {
    font-weight: 700 !important;
    font-size: 15px;
    letter-spacing: .5px;
}
body.single-product details:first-child summary span:first-child {
    font-weight: 00 !important;
    background: linear-gradient(to right, #00A8FF, #2563EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Hide default WooCommerce elements we're replacing */
ul.tabs.wc-tabs:before,
li.additional_information_tab {
    display: none !important;
}

li#tab-title-description {
    width: 100%;
    border-radius: 6px;
}

.product-top-section {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.product-top-section > div {
    width: 50%;
}


/* Product Price Display */
.product-price-display {
    /* background-color: #2563eb; */
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.product-price-display .price-label {
    display: block;
    font-size: 14px;
    /* color: rgba(255, 255, 255, 0.9); */
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price-display .dynamic-price {
    display: block;
    font-size: 25px;
    font-weight: 700 !important;
    color: #005CB3;
}


.product-price-display .dynamic-price del {
    opacity: 0.7;
    font-size: 24px;
}

.product-price-display .dynamic-price ins {
    text-decoration: none;
}

/* Custom Variation Card */
.custom-variation-card {
    margin-bottom: 20px;
}

.attribute-block {
    margin-bottom: 30px;
}

.attribute-block:last-child {
    margin-bottom: 0;
}

.attribute-block h4 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

select.custom-attr {
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    border: 2px solid #E5E7EB;
    font-size: 13px;
    background: white;
    cursor: pointer;
    font-weight: 600 !important;
}

.radio-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-card {
    border: 2px solid #E5E7EB;
    border-radius: 25px;
    padding:  10px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: all .2s ease;
    background: white;
    min-width: 90px;
    position: relative;
}

.radio-card:hover {
    border-color: #005CB3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}
.custom-variation-card .attribute-block:nth-child(2) .radio-card.selected {
    background: #005CB3;
}
.custom-variation-card .attribute-block:nth-child(2) .radio-card.selected span{
    color:#fff
}
.custom-variation-card .attribute-block:nth-child(3) .radio-card,
.custom-variation-card .attribute-block:nth-child(4) .radio-card{
    border-radius: 6px;
}
.custom-variation-card .attribute-block:nth-child(3) .radio-card.selected,
.custom-variation-card .attribute-block:nth-child(4) .radio-card.selected{
    background: #EDF2F6;
    outline: 3px solid #005cb324;
}

.custom-variation-card .attribute-block:nth-child(4) .radio-wrap > .radio-card{
    flex: 1;
}

.ast-single-product-payments{
    background: #fff ;
}
.radio-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.radio-card input {
    display: none;
}

.radio-card .icon-box {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all .2s ease;
}

.radio-card .icon-box svg {
    width: 100%;
    height: 65%;
    color: #6b7280;
    transition: all .2s ease;
}

.radio-card .label-title {
    font-size: 13px;
    font-weight: 600;
}

.radio-card .option-price {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.radio-card.selected {
    border-color: #005CB3;
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.radio-card.selected .icon-box {
    border-color: #005CB3;
    background: #005CB3;
}

.radio-card.selected .icon-box svg {
    color: #ffffff;
}

.radio-card.selected .label-title {
    color: #0F172A;
}

/* Hide default variation form elements but keep functionality */
.cus-single-product-summary-left-col iframe{
    border-radius: 12px;
}
.summary.entry-summary .woocommerce-variation-add-to-cart {
    display: block !important;
}

.summary.entry-summary table.variations {
    display: none !important;
}

.summary.entry-summary .single_variation_wrap {
    display: block !important;
}

.summary.entry-summary .single_variation {
    display: none !important;
}

/* Main Content Wrapper */
.cus-single-product-summary-main-wraper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    min-width: 100%;
    position: relative;
    margin-top: 60px;
    padding-top: 60px;
}

.cus-single-product-summary-main-wraper:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #000000a1, #00000054);
    border-radius: 3px;
    opacity: .3;
}

.cus-single-product-summary-right-col {
    box-sizing: border-box;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    z-index: 30;
}

.cus-single-product-summary-right-col .product-p-side-stickybar,
.cus-single-product-summary-right-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.cus-single-product-summary-right-col .product-p-side-stickybar > ul {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(18,18,18,0.04);
    overflow: hidden;
}

.cus-single-product-summary-right-col li {
    border-bottom: 1px solid #f2f2f2;
}

.cus-single-product-summary-right-col li:last-child {
    border-bottom: 0;
}

.cus-single-product-summary-right-col a {
    display: block;
    padding: 12px 14px;
    text-decoration: none;
    font-size: 14px;
    color: #222;
    transition: background .15s ease, color .15s ease;
}

.cus-single-product-summary-right-col a:hover,
.cus-single-product-summary-right-col a:focus {
    background: #f7f7f7;
    color: #000;
    outline: none;
}

.cus-single-product-summary-right-col a i {
    margin-right: 10px !important;
}

.cus-single-product-summary-right-col .back-to-top {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .6px;
}

.cus-single-product-summary-right-col a.active {
    background: #01a6ff3b;
    border-left: 4px solid #005CB3;
}

/* Features & Properties */
.Features-wrapper,
.Properties-wrapper {
    /* margin: 30px 0; */
}

.Features-wrapper ul,
.cus-single-product-summary-main-wraper .entry-content ul {
    margin-left: 0;
    margin-top: 15px;
}

.Features-wrapper ul li,
.cus-single-product-summary-main-wraper .entry-content ul li {
    position: relative;
    list-style: none;
    padding-left: 20px;
    margin-bottom: 8px;
}

.Features-wrapper ul li:before,
.cus-single-product-summary-main-wraper .entry-content ul li:before {
    position: absolute;
    content: "";
    top: 8px;
    left: 0px;
    background: #019CE7;
    border-radius: 100px;
    width: 10px;
    height: 10px;
}

ul.Properties-list {
    display: flex;
    gap: 8px;
    list-style: none;
    margin-left: 0;
    margin-top: 20px;
}

.Properties-list img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 100px;
}

.Properties-wrapper {
    border-top: 1px solid #D1D5DB;
    width: fit-content;
    padding-top: 20px;
}

.summary.entry-summary {
    margin-bottom: 0 !important;
}

.woocommerce-tabs .wc-tabs li a {
    font-weight: 400 !important;
}
    body.single-product .testimonials-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
/* Responsive */

@media(max-width:1440px) {
    .cus-single-product-summary-left-col {
        font-size: 15px;
        line-height: 23px;
    }
    .woocommerce-tabs.wc-tabs-wrapper img{
        max-width: 90%;
    }
    .cus-single-product-summary-left-col iframe{
        max-width: 90%;
        border-radius: 12px;
        height: 400px;
    }
    .Features-wrapper ul, .cus-single-product-summary-main-wraper .entry-content ul {
        margin-top: 15px;
    }
    .Features-wrapper ul li,
    .cus-single-product-summary-main-wraper .entry-content ul li {
        margin-bottom: 0;
        padding-left: 15px;
    }
    .Features-wrapper ul li:before, .cus-single-product-summary-main-wraper .entry-content ul li:before {
        top: 6px;
        width: 8px;
        height: 8px;
    }
    body.single-product .woocommerce-Tabs-panel h1,
    body.single-product .product-detail-p-main-title{
        font-size: 35px !important;
    }
    body.single-product .woocommerce-Tabs-panel h2,
    .bmw-content h2{
        font-size: 30px !important;
    }
    body.single-product .woocommerce-Tabs-panel h3{
        font-size: 26px !important;
    }
    body.single-product .woocommerce-Tabs-panel h4{
        font-size: 22px !important;
    }
    body.single-product .woocommerce-Tabs-panel h5{
        font-size: 20px !important;
    }
    body.single-product .woocommerce-Tabs-panel h6{
        font-size: 18px !important;
    }
}
@media(max-width:1366px){
    .attribute-block {
        margin-bottom: 25px;
    }
    .radio-card {
        padding: 7px 15px;
    }
}

@media(max-width:1200px){
    body.single-product .single_add_to_cart_button {
        width: 83% !important;
    }

}

@media(max-width:1024px){
    .product-top-section {
        gap: 30px;
    }
    body.single-product .woocommerce-Tabs-panel h1,
    body.single-product .product-detail-p-main-title{
        font-size: 30px !important;
    }
    body.single-product .woocommerce-Tabs-panel h2,
    .bmw-content h2{
        font-size: 26px !important;
    }
    body.single-product .woocommerce-Tabs-panel h3{
        font-size: 22px !important;
    }
    body.single-product .woocommerce-Tabs-panel h4{
        font-size: 20px !important;
    }
    body.single-product .woocommerce-Tabs-panel h5{
        font-size: 18px !important;
    }
    body.single-product .woocommerce-Tabs-panel h6{
        font-size: 16px !important;
    }
}

@media(max-width:991px){
    .cus-single-product-summary-left-col {
        width: 100% !important;
    }
    .vin-card {
        margin: auto;
        max-width: 65% !important;
    }
        body.single-product #primary {
        margin-top: 0px !important;
        padding-top: 40px !important;
    }
    .cus-single-product-summary-main-wraper {
        margin-top: 45px !important;
        padding-top: 35px !important;
    }
    .bmw-faq-flex {
        margin-bottom: 35px !important;
    }
    .cus-single-product-summary-right-col{
        margin-top: 0 !important;
    }
        ul.Properties-list {
        margin-bottom: 0;
    }
}

@media (max-width: 900px) {
    .cus-single-product-summary-left-col,
    .cus-single-product-summary-right-col {
        max-width: 100%;
        flex-basis: 100%;
    }
    
    .cus-single-product-summary-right-col {
        position: relative;
        top: 0;
        margin-top: 18px;
    }
}

@media(max-width:768px){
    .product-top-section {
        flex-wrap: wrap;
    }
    .product-top-section > div {
        width: 100%;
    }
    .cus-single-product-summary-left-col iframe {
        height: 300px;
        max-width: 100%;
    }
    .woocommerce-product-gallery a img {
        height: 400px !important;
    }
}
@media (max-width: 640px) {
    .woocommerce-product-gallery{
        margin-bottom: 0px !important;
    }
    select.custom-attr {
        font-size: 11px;
        height: 36px;
    }
    .radio-wrap {
        gap: 8px;
    }
    .radio-card {
        min-width: 70px;
        padding: 7px 10px;
    }
    .radio-card .label-title {
        font-size: 11px;
    }
    .vin-card {
        max-width:100% !important;
    }
    .cus-single-product-summary-left-col iframe {
        height: 250px;
    }
    .product-p-s-heading, li#tab-title-description a {
        padding: 7px 15px 10px 15px !important;
    }
    body.single-product .single_add_to_cart_button {
        width: 80% !important;
    }
    .woocommerce-product-gallery a img {
        height: 350px !important;
    }
}