/*
 Theme Name:   Óptica Andorrana Theme
 Theme URI:    https://www.optica-andorrana.com/
 Description:  Bricks extension for Óptica Andorrana.
 Author:       Be Rebel
 Author URI:   https://berebel.studio/
 Template:     bricks
 Version:      0.2.1
 Text Domain:  optica-andorrana
*/

/* Menu */

.brx-megamenu #brxe-llvuqt, .brx-megamenu #brxe-sebrlz {
    column-gap: 0;
}

.bricks-nav-menu li.menu-item {
	font-size:14px;
}

li.br-boton {
	border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
}

li.br-boton:hover a {
	color: #c42d1c;
}

@media (min-width: 1367px) {
	body #brxe-thdfis .bricks-nav-menu {
		gap: 20px;
		align-items: center;
	}
	
	body .bricks-nav-menu {
		justify-content: center;
	}
}

/* Images */

.br-brands-grid img {
	border:1px solid #d5d5d5!important;
}

/* Categories */

body.archive .accordion-content-wrapper {
    margin-top: 20px!important;
    margin-right: 10%!important;
    margin-left: 5px!important;
}

body .brxe-woocommerce-products-orderby select {
    margin-top: 0;
}

.archive label {
	color:#000;
}

body .jet-filter-row-disable {
    opacity: 1;
}

body .brxe-jet-smart-filters-check-range .jet-checkboxes-list__row, .brxe-jet-smart-filters-checkboxes .jet-checkboxes-list__row {
    margin-bottom: 5px;
}

.brxe-jet-smart-filters-check-range .jet-checkboxes-list-wrapper, .brxe-jet-smart-filters-checkboxes .jet-checkboxes-list-wrapper {
    background-color: #fff;
	padding-top:10px!important;
}

.jet-color-image-list-wrapper {
    background-color: #fff;
    padding: 10px !important;
    border: 1px solid #d5d5d5;
}

body #brxe-hibtuv .jet-color-image-list__decorator > * {
    width: 30px;
    height: 30px;
}

body .jet-checkboxes-list__row.jet-filter-row {
	margin-bottom:8px;
}

body .brxe-jet-smart-filters-checkboxes .jet-checkboxes-list-wrapper {
    min-width: 250px;
}

.jet-filter-items-dropdown__body {
    border: none !important;
}

.jet-form-builder-choice--item {
    border: 1px solid #d5d5d5 !important;
}

body #brxe-kpwhrm tr td {
    font-size: 13px;
}

body #brxe-kpwhrm td {
    padding-right:0!important;
	padding-left:0!important;
}

body #brxe-bgjgxg {
    width: 100%;
}

/* Product Page */

.brxe-product-gallery[data-pos=left] .woocommerce-product-gallery {
    align-items: center;
}

.oa-graduacion {
	gap: 0;
	margin-bottom: 0;
}

.oa-graduacion.oa-gr-ojo-derecho .jet-form-builder__label,
.oa-graduacion.oa-gr-ojo-izquierdo .jet-form-builder__label{
	display: none;
}

.oa-graduacion .jet-form-builder-row {
	padding: 0;
}

.oa-graduacion.oa-gr-ojo-distancia-pupilar, .oa-graduacion.oa-dp-2cifras {
	margin-top: 10px;
}

#brxe-wsfuhm .oa-graduacion.oa-dp-2cifras .jet-form-builder__field-label > span::before {
	border-color: #000;
}

body .jet-sm-gb-085aab27-39fe-4755-8b2d-f1d4a0db5410 .jet-form-builder__heading.jet-form-builder__heading {
    font-weight: 800;
    font-size: 18px;
}

.jet-form-builder .jet-sm-gb-3ba01a78-99ae-4e0e-a47f-c4a3018cfa64 {
	margin-top:30px!important;
}

.br-spacer .wp-block-boldblocks-icon-separator__inner:before, .br-spacer .wp-block-boldblocks-icon-separator__inner:after {
    border-color: #dadada!important;
}

#brxe-bgjgxg .jet-form-builder-choice {
    justify-content: flex-start !important;
}

#brxe-bgjgxg div[data-update-field-name="_calidad"] ul.jet-form-builder-choice,
#brxe-bgjgxg div[data-update-field-name="_calidad_progre"] ul.jet-form-builder-choice {
	justify-content: end !important;
    gap: 40px!important;
}

.br-totals p {
	font-size:14px;
}

.br-total p, .br-total .jet-form-builder__calculated-field-val, .br-total .jet-form-builder__calculated-field-suffix, .br-total p.has-small-font-size {
	font-size:18px!important;
	font-weight:800;
}

.br-gray .wp-block-columns {
	margin-bottom:10px;
}

.br-gray.br-extras .wp-block-columns {
	margin-bottom:0px;
}

.br-gray {
	background-color:#f5f5f5!important;
	padding: 10px 20px!important;
    margin-bottom: 10px!important;
}

.br-options {
	align-items:center!important;
}

.br-prod-label .jet-form-builder__label-text {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 30px;
}

.br-totals .jet-form-builder__calculated-field-val, .br-totals .jet-form-builder__calculated-field-suffix {
	color: #cf2e2e;
}

body .jet-sm-gb-1834b934-84fa-4b1b-91d5-c2ed68114018 .jet-form-builder-row.jet-form-builder-row.jet-form-builder-row.jet-form-builder-row {
    margin: 30px 0px 0px 0px;
}

body #brxe-cpdrcn .jet-form-builder__submit {
    font-weight: 400;
    border-color: #c42d1c;
    background-color: #c42d1c;
    color: #fff;
}

.pt-lentillas .woocommerce-Price-amount {
  display:none!important;
}

/* Cita Previa */

#brxe-tqkozt .jet-apb-calendar-date--selected {
    background-color: #c42d1c;
    padding: 5px 10px !important;
    border-radius: 50px;
}

.br-cp-form-services .jet-form-builder-choice--item-control {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.br-cp-form-services  .jet-form-builder-choice--item.is-checked {
	background-color:#fa7777!important;
}

.br-cp-form-services  label {
	color:#000!important;
}

.br-cp-form-services  input[type="radio"] {
	display:none!important;
}

body .wp-container-jet-forms-choices-field-is-layout-1 {
    justify-content: center !important;
	align-items: flex-start;
}

/* Opticas */

.br-hidden-map, #brxe-xqrigz {display:none!important}

/* Cart extra options styles */
.oa-table-extra-options {
	font-size: 12px;
	margin-top: 10px;
}

.oa-table-extra-options .oa-price {
	text-align: right;
}

.woocommerce-checkout .shop_table .oa-table-extra-options td,
.woocommerce-checkout .shop_table .oa-table-extra-options th {
	padding: 2px 20px;
}
.cart_item .product-total {
	vertical-align: top;
}
/* Cart styles for the Bricks cart shortcode */
#brxe-vqnunl .oa-table-extra-options {
	font-size: 11px;
	width: 90%;
}
#brxe-vqnunl .product-price {
	vertical-align: top;
}

/** Order created styles **/
.woocommerce-checkout .shop_table .woocommerce-table__product-total {
	vertical-align: top;
}

/** Desactiva lightbox en productos **/
.single-product .product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
	pointer-events: none
}


.woocommerce-product-gallery ol.flex-control-nav li {
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.woocommerce-product-gallery ol.flex-control-nav li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: center;
}


.cart_item_data_extra_options tbody td{padding:0px !important}
.cart_item_data_extra_options thead{line-height: unset;}

.localizame-reviews-holder iframe{min-height: 320px !important;}

.jet-data-store-link-wrapper{z-index: 1 !important;}



.woocommerce .button{font-weight: 400; background-color: var(--bricks-color-cyxtqe); color: #fff;border-radius: 5px;}
.woocommerce .button:hover{background-color: #000;}
.woocommerce-form-login .button, .woocommerce-form-register .button{width: 100%;}
.woocommerce-form-register .woocommerce-privacy-policy-text{font-size: 12px; color:#999; line-height:1.2}
.woocommerce-form-register input, .woocommerce-form-login input{background-color: var(--bricks-color-sjdzjl);}

#billing_first_name_field{margin-bottom: 18px;}
#billing_country_field{float: left;margin: 0;width: 49%;clear:none;margin-bottom: 24px !important;}
#billing_address_1_field{float: right;width: 49%;clear:none}


#brxe-zkxdvh .coupon button{background-color: var(--bricks-color-cyxtqe) !important; color: #fff;border-radius: 5px; border:0px !important}

#billing_postcode_field{float: left;margin: 0;width: 49%;clear:none;margin-bottom: 18px !important;}
#billing_city_field, #billing_nif_field{float: right;width: 49%;clear:none}

#billing_state_field, #billing_email_field{float: left;margin: 0;width: 49%;clear:none;margin-bottom: 18px !important;}
#billing_phone_field{float: right;width: 49%;clear:none}

.pago_total_pedido #order_review_heading{display: none;}
.pago_total_pedido #order_review .shop_table{display: none !important;}
.pago_total_pedido #order_review #payment{border:0px !important; background-color: #fff !important;}
.woocommerce-checkout .woocommerce-form-coupon-toggle{display: none !important;}

.woocommerce-billing-fields input, .woocommerce-billing-fields .select2-selection__rendered{background-color: var(--bricks-color-sjdzjl);}
#brxe-hrhhgy textarea{background-color: var(--bricks-color-sjdzjl);}
.coupon_finalizar_cesta button{background-color: var(--bricks-color-cyxtqe); color: var(--bricks-color-tcvush);}


#brxe-cjmbkb + .coupon{display: flex; flex-wrap: wrap; margin-top: 20px; margin-bottom: 20px;}
#brxe-cjmbkb + .coupon label{display: none;}
#brxe-cjmbkb + .coupon .button{background-color: var(--bricks-color-cyxtqe); color: var(--bricks-color-tcvush); width: 40%;}
#brxe-cjmbkb + .coupon #coupon_code{width: 60%;}


form.cart .quantity, form.woocommerce-cart-form .quantity{position: absolute; left: -90000em; visibility: hidden;}


#calidad_graduadas th span.value{display: block;}
#calidad_graduadas td{border-bottom: 1px solid #ddd;padding: 10px; font-size: 14px !important;}
#calidad_graduadas td {transition: background 0.3s;}
#calidad_graduadas td.hovered {background: #fafafa;}
#calidad_graduadas td.active {background: #f0f0f0;}
.calidad_selector_hidden{visibility: hidden; position: absolute; pointer-events: none;}
#calidad_graduadas td .fa.fa-info:before{content:" "; width: 15px;height: 15px; background:url('assets/info.svg') no-repeat; background-size: contain; background-position: center; display: inline-block;}
#calidad_graduadas td .fa.fa-info{padding: 0 !important; border:0px !important}

#calidad_graduadas td .fa-check:before{content:" "; width: 16px;height: 16px; background:url('assets/check.svg') no-repeat; background-size: contain; background-position: center; display: inline-block;}


.buscador_gafas_probador_virtual .jet-sm-gb-wrapper .jet-form-builder__label{display: none !important;}
.buscador_gafas_probador_virtual .jet-form-builder{display: flex; align-items: center;}
.buscador_gafas_probador_virtual .jet-sm-gb-e3ca31ad-59f3-4ac6-8cf7-ab7205038fda{width: 100%; margin-right: 1em;}
.buscador_gafas_probador_virtual .jet-form-builder__action-button{white-space: nowrap; background-color: #cf2e2e; color: #fff; height: 52px; display: flex; align-items: center; padding:0.5em 2em}
.buscador_gafas_probador_virtual #search{height: 52px; padding:0.5em 2em; background-color: #fafafa; margin-right: 1em;}
.buscador_gafas_probador_virtual #search::placeholder{color:#bbb}



.jet-form-builder-row[data-update-field-name="_protector"]{display: flex; flex-direction: row;}
.jet-form-builder-row[data-update-field-name="_protector"] .jet-form-builder__desc{flex: 0 0 80%; max-width: 80%;font-weight: 400;line-height: 1.2;font-size: 18px;padding-left: 20px;}
.jet-form-builder-row[data-update-field-name="_protector"] .jet-form-builder-choice--item{padding-top: 16px; border:1px solid #ddd !important}


.csg_thankyou{width: 60%; margin:0 auto}
.csg_thankyou .h2{font-size: 28px; color:var(--bricks-color-cyxtqe); line-height: 1.2; margin-bottom: 26px;}
.csg_order_details{display: flex;gap: 1em; margin-top: 1em; justify-content: center;}
.csg_order_details .order_detail_item{flex: 0 0 calc(25% - 1em);display: flex;flex-direction: column;border-radius: 10px; padding:2em; text-align: center; line-height: 1.2;background-color: var(--bricks-color-sjdzjl);}
.csg_order_details .order_detail_item .fi{color:var(--bricks-color-cyxtqe);font-size: 32px;}
.csg_thankyou hr{margin-top: 3em; margin-bottom: 3em;}
/***
* FORMAS GAFAS 
***/
.jet-checkboxes-list-wrapper{box-shadow: rgba(50, 50, 93, 0.15) 0px 2px 5px -1px, rgba(0, 0, 0, 0.1) 0px 1px 3px -1px;width: fit-content;}
.jet-filters-counter{opacity: 0;}

.jet-checkboxes-list__input[name="forma-montura"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{content:" "; display: block; width: 52px; height: 26px; background: url('../../uploads/2023/03/gafas-redondas.png'); background-size: contain; background-position: center;background-repeat: no-repeat; margin-right: 10px;background-size: 116%;}

.jet-checkboxes-list__input[name="forma-montura"] + .jet-checkboxes-list__button .jet-checkboxes-list__label{display: flex; align-items: center;}

.jet-checkboxes-list__input[name="forma-montura"][data-label="Aviador"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Aviador.png');}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Cat-Eye"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Cat-Eye.png');}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Clubmaster"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Clubmaster.png');}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Cuadrada"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Cuadradas.png');    background-size: 110%;}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Geométrica"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Geometrica.png');background-size: 110%;}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Geométrica(Hexagonal)"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Geometrica-Hexagonal.png');}

.jet-checkboxes-list__input[name="forma-montura"][data-label="Mariposa"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Mariposa.png');}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Ovalada"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Ovalada.png');    background-size: 110%;}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Pantalla"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Pantalla.png');background-size: 110%;}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Rectangular"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Rectangular.png');background-size: 110%;}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Redonda"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Redonda.png');background-size: 110%;}
.jet-checkboxes-list__input[name="forma-montura"][data-label="Wayfarer"] + .jet-checkboxes-list__button .jet-checkboxes-list__label:before{background-image: url('../../uploads/Wayfarer.png');background-size: 110%;}


.nm-bottom{margin-bottom: 0px !important;}
.form_lentillas_row{padding-bottom: 1em;border-bottom: 1px solid #ddd;margin-bottom: 1em;}
#brxe-afjpfa{text-align: center;}
.text-center{text-align: center;}


.jet-data-store-link__icon .ti-heart{color: #363636 !important;}
.jet-filter-items-dropdown__label{font-family: "Poppins" !important;}
.crstar-rating-svg .cr-rating-icon-base .cr-rating-icon-bg{stroke: var(--bricks-color-cyxtqe);}
.cr-ajax-search{display: none !important;}

.csg-items{padding:0px}
.csg-item{display: flex; padding: 2em; border: 1px solid #ddd;border-radius: 8px;}
.csg-item .csg-thumb{flex: 0 0 20%; margin-right: 2em;}
.csg-item .brand_name{font-weight: bold; font-size: 26px;}
.csg-item .csg-name{flex: 0 0 60%}
.csg-item .order_item_data_extra_options{width: 80%;}
.csg-item .csg-subtotal{margin-left: auto; font-size: 26px; color: var(--bricks-color-cyxtqe);}
.csg-item .variation{display: flex; flex-direction: row;}

.csg-totals .csg-row{display: flex; justify-content: flex-end; font-size: 26px;}
.csg-totals .csg-amount{font-weight: 600;}
.csg-totals .csg-label{margin-right: 2ch;}

.csg-address__card{padding: 2em; border: 1px solid #ddd; margin-top: 1em; border-radius: 8px;}