/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
.cc_product_addons__wrapper {
    margin-bottom: 25px;
}
.cc_product_addons__addon_block {
    position: relative;
    margin-bottom: 20px;
    margin-top: 25px;
}
.cc_product_addons__wrapper .cc_product_addons__toggle_addons {
    position: absolute;
    right: 0;
    top: 0;
}
.cc_product_addons__wrapper .cc_product_addons__toggle_addons .cc_product_addons__toggle_addons__hide,
.cc_product_addons__wrapper .cc_product_addons__toggle_addons .cc_product_addons__toggle_addons__show {
    cursor: pointer;
}
.cc_product_addons__wrapper .cc_product_addons__toggle_addons .toggle_addons__hidden {
    display: none;
}
.cc_product_addons__title {
    font-weight: 500;
    font-size: 16px;
    color: #0A0A0A;
    margin-bottom: 25px;
    user-select: none;
}
.cc_product_addons__wrapper .cc_product_addons__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cc_product_addons__wrapper .cc_product_addons__list.hidden {
    display: none;
}
.cc_product_addons__wrapper .cc_product_addons__addon {
    border: 1px solid #E5E7EB;
    padding: 16px;
    border-radius: 4px;
}
.cc_product_addons__wrapper .cc_product_addons__addon .cc_product_addons__addon_content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cc_product_addons__wrapper .cc_product_addons__addon .cc_product_addons__addon_name {
    font-weight: 700;
    color: #495965;
    font-size: 14px;
}
.cc_product_addons__wrapper .cc_product_addons__accesory .cc_product_addons__addon_price {
    font-weight: 400;
    font-size: 16px;
    color: #495965;
}

.cc_product_addons__wrapper .cc_product_addons__addon .cc_product_addons__addon_cover img {
    width: 80px;
}
.cc_product_addons__wrapper .cc_product_addons__addon .cc_product_addons__addon_info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cc_product_addons__wrapper .cc_product_addons__addon .product-addon-attributes {
    display: flex;
    gap: 10px;
    /* margin-top: 5px; */
    /* flex-wrap: wrap; */
}
.cc_product_addons__wrapper .cc_product_addons__addon .product-addon-attributes .control-label {
	font-size: 13px;
}
.cc_product_addons__wrapper .cc_product_addons__addon .product-addon-attributes select {
    background-color: white;
    border: 1px solid #E5E7EB;
    height: 46px;
    border-radius: 4px;
    padding: 13px 30px 13px 13px;
    font-size: 14px;
    /*custom select */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}
.cc_product_addons__wrapper .cc_product_addons__accesory .cc_product_addons__addon_price__tax_label {
    font-size: 14px;
    font-weight: 400;
    color: #99A1AF;
    margin-left: 5px;
}
.cc_product_addons__wrapper .cc_product_addons__addon_checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #F3F3F5;
    border: 1px solid #0000001A;
    box-shadow: 0px 1px 2px 0px #0000000D;
}
.cc_product_addons__wrapper .cc_product_addons__addon_checkbox input[type="checkbox"]:checked {
    background-color: #030213;
    background-image: url('/modules/cc_product_addons/views/img/checkbox.svg');
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}
.cc_product_addons__warranty:has(input:checked) {
    border: 1px solid #00B8DB;
	background: #ECFEFF;
}
.cc_product_addons__warranty input {
    accent-color: black;
    cursor: pointer;
}
.cc_product_addons__warranty_name {
    font-size: 14px;
    letter-spacing: -0.15px;

}
.cc_product_addons__warranty_name {
    font-size: 14px;
    letter-spacing: -0.15px;

}
.cc_product_addons__wrapper .cc_product_addons__warranty .cc_product_addons__addon_price_tax_inc,
.cc_product_addons__wrapper .cc_product_addons__warranty .cc_product_addons__addon_price_tax_exc {
    margin-left: auto;
    font-size: 14px;
    color: #4A5565;
}
.cc_product_addons__wrapper .cc_product_addons__estimated_delivery {
    color: var(--orange);
    font-weight: 700;
    margin-left: 115px;
    margin-top: 10px;
}
.cc_product_addons__wrapper .cc_product_addons__accesory:not(:has(input[type="checkbox"]:checked)) .cc_product_addons__estimated_delivery {
    display: none;
}

.cc_product_addons__addon.cc_product_addons__accesory:has(input[type="checkbox"]:checked) {
    border: 1px solid #00B8DB;
}

/* ts */
.cc_product_addons__qty {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-top: 5px;
}
.cc_product_addons__qty select {
    width: 100%;
}
.cc_product_addons__wrapper .bootstrap-touchspin {
    display: inline-flex;    
    align-items: center;      
    width: auto !important;    
    border: 1px solid #D1D5DC;    
    border-radius: 4px;
    overflow: hidden;
    padding: 7px 0px;
}

.cc_product_addons__wrapper .addon_quantity_touchspin.form-control {
    width: 34px;
    height: 24px;
    padding: 0 8px;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
}
.cc_product_addons__wrapper .bootstrap-touchspin .input-group-btn {
    width: auto !important;
    flex: 0 0 auto;
    height: 30px;
    display: flex;
    align-items: center;
}
.cc_product_addons__wrapper .bootstrap-touchspin .input-group-btn .btn {
    width: 30px;
    height: 25px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cc_product_addons__wrapper .bootstrap-touchspin-up {
    border-left: 1px solid #D1D5DC !important;
}    
.cc_product_addons__wrapper .bootstrap-touchspin-down {
    border-right: 1px solid #D1D5DC !important;
    margin-right: 0px !important;
}
.cc_product_addons__addon_discounted .cc_product_addons__addon_price {
	color: var(--orange) !important;	
    font-weight: 700 !important;
}
.cc_product_addons__warranty_radio_custom {
	cursor: pointer;
	display: flex;
	align-items: center;
	margin-bottom: 0px;
}
.cc_product_addons__warranty_radio_ui {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #0000001A;
  display: inline-block;
  margin-right: 8px;
  background-color: white;
}
.cc_product_addons__warranty_radio_custom input {
	display: none;
}
.cc_product_addons__warranty_radio_custom input:checked + .cc_product_addons__warranty_radio_ui {
  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='11' height='8' viewBox='0 0 11 8' fill='none'>\<path d='M9.91671 0.583344L3.50004 7.00001L0.583374 4.08334' stroke='white' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/>\</svg>");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #111;
}

@media (max-width: 991px)
{
    .cc_product_addons__addon.cc_product_addons__warranty .cc_product_addons__addon_price_tax_inc,
    .cc_product_addons__addon.cc_product_addons__warranty .cc_product_addons__addon_price_tax_exc {
        letter-spacing: -0.15px;
        font-size: 12px !important;
    }
    .cc_product_addons__addon.cc_product_addons__warranty {
        padding: 12px;
    }
    .cc_product_addons__warranty_name {
        font-size: 12px;
    }
    .cc_product_addons__wrapper .cc_product_addons__addon .product-addon-attributes select {
        height: 32px;
        border-radius: 4px;
        padding: 0px 30px 0px 13px;
        width: 100%;
    }
    .cc_product_addons__wrapper .bootstrap-touchspin {
        padding: 0px;
    }
    .cc_product_addons__wrapper .cc_product_addons__addon .product-addon-attributes {
		gap: 8px;
		flex-direction: column;
	}
	.cc_product_addons__wrapper .cc_product_addons__addon .cc_product_addons__addon_content {
		align-items: flex-start;
		justify-content: space-between;
	}
	.cc_product_addons__wrapper .cc_product_addons__addon .cc_product_addons__addon_info {
		gap: 8px;
	}
}
