/* MIVOC WooCommerce Extension Styles */


/* Product Details */

.single div.tm-page > main {
    padding-bottom: 0;
}

form.cart .quantity {
    display: none;
}

.product-lang-switch.menu-item.menu-item-type-custom.menu-item-object-custom {
    display: none;
}

.single .product-lang-switch.menu-item.menu-item-type-custom.menu-item-object-custom {
    display: block;
}

.delivery-info {
    font-size: .9em;
    line-height: 1;
    margin-bottom: 1rem;
}
  

.mivoc-product-details__description {
    clear: both;
}

.single .product-main-category {
    font-weight: 600;
    color: #8d9090;
}

.single .woocommerce-breadcrumb {
    display: none;
}
  
.single .product_title {
    font-weight:700;
    margin-top: 1rem !important;
}

.single_add_to_cart_button.button.alt {
    background-color: black;
    color: #fff;
    transition-duration: 150ms;
    width: 100%;
}
  
.single_add_to_cart_button.button.alt:hover {
    background-color: #ffe422;
    color: black;
}
  
.technical-data-notes {
    font-size: .75rem;
}

/* Key Features */
.key-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.key-feature {
    flex-basis: calc(33% - 2rem);
}
.key-feature-image {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.key-feature img {
    width: 5rem;
    height: 5rem;
}

.mivoc-product-downloads img {
    width: 2rem;
    height: 2rem;
}

.mivoc-product-downloads img {
    margin-right: 1rem;
}
  
.mivoc-downloads-list a {
    color: black;
    text-decoration: underline;
}
  
.mivoc-downloads-list a:hover {
    color: var(--main-color) !important;
}
  

/* FAQ */

.mivoc-all-faq-container .mivoc-faq-wrapper h3 {
    display: none;
}

.mivoc-faq-wrapper {
    flex-basis: 100%;
}

.mivoc-faq-container {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 5rem;
}

.mivoc-faq-product-title {
    margin: 1rem 0 .5rem;
    font-size: 1.25rem;
}

.mivoc-faq-item {
    border-radius: 0;
    margin: 1rem 0;
}

.mivoc-faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
}

.mivoc-faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #ffe422;
}

.mivoc-faq-item.active .mivoc-faq-toggle {
    transform: rotate(45deg);
}

.mivoc-faq-answer {
    display: none;
    padding: .5rem 0;
}

.mivoc-faq-accordion > :nth-child(n+2) {
    border-top: 1px solid #ededed;
  }

.mivoc-faq-item.active .mivoc-faq-answer {
    display: block;
}

.mivoc-faq-search {
    margin-bottom: 2em;
}

.mivoc-faq-search input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mivoc-all-faq-container .mivoc-left-column,
.mivoc-all-faq-container .mivoc-right-column {
    display: none;
}

/* Related Products */

section.related.products {
    background-color: black;
    background-image: url(/wp-content/plugins/mivoc-wc-extension/assets/images/MIVOC_WAVES.png);
    padding: 5rem 0rem;
}

section.related.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffe422;
    padding: 1rem;
}

section.related.products .product h2 {
    color: black;
    margin-bottom: 0;
}

section.related.products .product {
    background-color: #fff;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 2rem;
}
 
section.related.products ul {
    gap: 2rem;
    margin: 0 !important;
    margin-top: 2rem !important;
    padding: 0rem 2rem !important;
}

section.related.products ul a.button {
    line-height: 1.3;
    right: center;
    padding: .25rem 1rem;
    height: 3rem;
}

section.related.products ul>* .price {
    font-size: 15px;
    line-height: 1.4;
    color: #8d9090;
    font-weight: 300;
    text-align: center;
}

section.related.products .product > a:first-child {
    width: 100%;
}

section.related.products .product > p {
    width: 100%;
    text-align: center;
    padding: 0rem 1rem;
}

/* Downloads */

.mivoc-all-downloads-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.mivoc-product-downloads-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 8px;
}
.mivoc-product-downloads-content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}
.mivoc-product-image {
    flex: 0 0 25%;
}
.mivoc-product-image img {
    width: 100%;
    height: auto;
}
.mivoc-downloads-grid {
    flex: 0 0 75%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.mivoc-download-item {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s;
    line-height: 1.1;
}
.mivoc-download-item:hover {
    background: #eee;
}
.mivoc-download-item a {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    flex-wrap: wrap;
}
.mivoc-country-flag {
    width: 24px;
    height: auto;
}

.mivoc-download-item .file-info {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-top: 2px;
}

#bundle-notice {
    display: none;
}

#bundle-notice .woocommerce-Price-amount.amount {
    font-weight: bold;
}

/* Shipping Country Selector */

.country-selector {
    display: inline-block;
    margin-left: 10px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.shipping-country-selector {
    display: flex;
}

.shipping-country-selector > * {
    flex-basis: 50%;
    font-size: .9em;
}

.shipping-country-selector p {
    line-height: 1.1;
}
  
#mivoc-country-selector {
    border: 1px solid black;
    border-radius: 2rem;
    background-color: transparent;
    font-size: .9em;
    height: 1.8em;
}
  
.shipping-country-selector > * {
    margin: 0;
}
  
.shipping-country-selector {
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: .75rem;
    background-color: #ececec;
    border-radius: 2rem;
}

/* Media Queries */

@media (max-width: 768px) {
    
    .key-features-row {
        flex-direction: column;
    }

    .key-feature {
        padding: 1rem;
        flex-basis: 100%;
    }
    
    .mivoc-left-column,
    .mivoc-right-column {
        display: none;
    }

    .mivoc-faq-wrapper {
        flex-basis: 100%;
    }
}

@media (min-width: 769px) {

    .woocommerce-product-gallery .flex-control-thumbs {
        position: absolute;
        bottom: 1rem;
        left: 0;
        max-width: 75%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .woocommerce-product-gallery .flex-control-thumbs li {
        background-color: rgba(255,255,255,.9);
    }
}

@media (min-width: 1200px) {

    .single main > .uk-container {
        width: 100vw;
        padding: 0;
        margin: 0;
        max-width: 1800px;
    }

    .single .woocommerce-message {
      margin: 1rem;
    }

    div.product>.summary {
        padding: 0 170px 60px 170px;
    }

    div.product>.summary,
    div.product>div.images {
        width:calc(50% - (340px / 2)) !important;
    }


    .mivoc-product-details__description,
    .mivoc-product-details__technical-data,
    .mivoc-product-downloads,
    .single .mivoc-faq-container {
        padding: 2rem 4rem;
    }
    
    .key-features-row {
        justify-content: space-between;
        padding: 2rem 4rem;
    }
  
     
}