/*
 Theme Name:   veroghi
 Theme URI:    https://veroghi.com/
 Description:  Use this child theme to extend works.
 Author:       veroghi
 Author URI:   https://veroghi.com/
 Template:     bricks
 Version:      1.1
 Text Domain:  veroghi
*/
/* Fluid font size variables, for browsers that support clamp */
@supports (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --veroghi-xs: clamp(0.64rem, -0.05vw + 0.65rem, 0.6rem);
		--veroghi-sm: clamp(0.8rem, 0vw + 0.8rem, 0.8rem);
		--veroghi-base: clamp(1rem, 0.07vw + 0.98rem, 1.06rem);
		--veroghi-md: clamp(1.25rem, 0.18vw + 1.19rem, 1.42rem);
		--veroghi-lg: clamp(1.36rem, 0.36vw + 1.45rem, 1.89rem);
		--veroghi-xl: clamp(1.95rem, 0.63vw + 1.77rem, 2.52rem);
		--veroghi-xxl: clamp(2.44rem, 1.01vw + 2.14rem, 3.35rem);
		--veroghi-xxxl: clamp(4.5rem, 2vw + 3rem, 6rem);
  }
}
/* Fallback variables for browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --veroghi-xs: 0.64rem;
		--veroghi-sm: 0.8rem;
		--veroghi-base: 1rem;
		--veroghi-md: 1.25rem;
		--veroghi-lg: 1.56rem;
		--veroghi-xl: 1.95rem;
		--veroghi-xxl: 2.44rem;
		--veroghi-xxxl: 4.5rem;
  }
  @media screen and (min-width: 1920px) {
    :root {
      --veroghi-xs: 0.6rem;
			--veroghi-sm: 0.8rem;
			--veroghi-base: 1.06rem;
			--veroghi-md: 1.42rem;
			--veroghi-lg: 1.89rem;
			--veroghi-xl: 2.52rem;
			--veroghi-xxl: 3.35rem;
			--veroghi-xxxl: 6rem;
    }
  }
}

.icon-label{
	font-size: var(--veroghi-sm);
}

p {
  margin-bottom: 1em;
}

.h1-subtitle{
	font-size: var(--veroghi-md);
}

.big-text{
	font-size: var(--veroghi-xxxl);	
}

.medium-text{
	font-size: var(--veroghi-md);
}

.large-text{
	font-size: var(--veroghi-lg);
}

@media only screen and (min-width: 601px) {
	.bu-cart-counter-popup.align-right {
		right: 0;
		transform: translateY(100%);
	}
}


/* bullets */
ul.dots {
	margin: 10px 20px 20px -15px;
	line-height: 1.5em;
	list-style-image: url('https://veroghi.com/wp-content/uploads/2022/07/dot-marrone.svg');
}



/* Nasconde menu Area Riservata */
.woocommerce-account .woocommerce-MyAccount-navigation {
    display: none;
}

.woocommerce-info {
    display: block !important;
}



/* https://stackoverflow.com/posts/54695722 */    
.woocommerce-checkout .coupon-wrapper .woocommerce-info {
        display: none;
    }



/* SUMO riscatta punti */
#rs_apply_coupon_code_field {
    width: 160px;
}


.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-NoticeGroup .woocommerce-info, .woocommerce-info {
    margin: 20px 0 0 -45px;
}

@media screen and (max-width: 1280px){
	.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-NoticeGroup .woocommerce-info, .woocommerce-info {
    	margin: 20px 25px 0 -25px;
    }
	.checkout_redeeming {
		margin: 0 0 0 25px;
	}
}


@media screen and (max-width: 430px){
	.woocommerce-notices-wrapper .woocommerce-info, .woocommerce-NoticeGroup .woocommerce-info, .woocommerce-info {
    	margin: 20px 25px 0 -35px;
		width: 95%;
    }
	.checkout_redeeming {
		margin: 0 0 0 10px;
	}
}



[type=reset], [type=submit], button, html [type=button] {
    -webkit-appearance: button;
    background-color: #F3BE4B;
    padding: 3px 10px;
    border: 1px solid;
    border-color: #4B3314 !important;
    border-radius: 25px;
    font-size: 14px;
    color: #4B3314;
}





#brxe-vwotau {
    font-weight: 100 !important;
}

.footable > tfoot .pagination {
    margin: 40px !important;
}

/* Radio Checkout */
#brxe-cbsauc > .tab-content {
    padding-top: 20px !important;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 0px !important;
}


/* My account buttons */
#brxe-lgjenp .woocommerce-orders-table a.woocommerce-button {
    min-height: 25px;
	min-width: 150px;
	margin: 5px;
}

}

#brxe-bxpsol .order-again a.button {
    text-transform: uppercase;
    font-size: 12px;
    min-height: 25px !important;
}


/* Affiliate table */
table.affwp-table td, table.affwp-table th {
    color: #4B3314;  
}


/* PayPal button */

@media only screen and (min-width: 150px) and (max-width: 320px) {
    .paypal-button > .paypal-button-label-container {
        margin: 0px 4vw;
        height: 20px;

    }
}


/* Affiliation area */
#affwp-graphs-date-options {
	width: 230px;
	margin-right: 10px
}

/* Video gallery */

.yottie-widget-video-preview-thumbnail {
    display: block;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid #4B3314;
}

#yottie_1 .yottie-widget-video-info-title {
    color: #4B3314 !important;
}

#yottie_1 .yottie-widget-video {
	margin-bottom: 30px !important;
}


.rs-birthday-field{
	width: 38vh !important;
}

@media screen and (max-width: 430px){
#reviews .avatar {
    display: none;
}
}


.blinking-text-live {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}


/* Nascondi galleria pagina porodoto */
.brxe-product-gallery.thumbnail-slider .brx-product-gallery-thumbnail-slider {
    overflow: hidden;
    position: relative;
    display: none;
}


/* Gestisce i radio dei kit convenienza */
.veroghi-kit-radio-wrap { margin: 16px 0; }
.veroghi-kit-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    margin-bottom: 8px;
	height:70px;
    border: 1px solid #4b3314;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    background: #fff;
}
.veroghi-kit-radio-label:has(input:checked) {
    border: 2px solid #4b3314;
    background: #fff;
}
.veroghi-kit-radio-label input[type=radio] {
    flex-shrink: 0;
}
.kit-nome {
    font-weight: 400;
    flex: 1;
    color: #4b3314;
}
.kit-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.kit-risparmio {
    background: #c8a96e;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.kit-spedizione {
    font-size: 12px;
    color: #4b3314;
    white-space: nowrap;
}
.kit-prezzo-dinamico {
    font-weight: 700;
    margin-left: 10px;
    color: #4b3314;
    white-space: nowrap;
}


/* Fix radio globale */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block !important;
    height: 23px !important;
    border: 2px solid #5d3f19 !important;
    border-radius: 50% !important;
    background: #fff !important;
    cursor: pointer;
    flex-shrink: 0;
    position: relative !important;
    overflow: visible !important;
    box-sizing: content-box !important;
}
input[type="radio"]:checked {
    border-color: #5d3f19 !important;
    background: #5d3f19 !important;
}
input[type="radio"]:checked::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #f3be4b !important;
}






/* ============================================================
   INSTA360 HOMEPAGE — Custom CSS per Bricks 2.2
   Da incollare in: Bricks → Settings → Custom Code → CSS
   ============================================================ */

/* ── FONT BASE ────────────────────────────────────────────── */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #0a0a0a;
}

/* ── HERO: scroll indicator animato ─────────────────────────*/
.brxe-s_hero::after {
  content: "";
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  z-index: 10;
}
.brxe-s_hero::before {
  content: "";
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
  z-index: 11;
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ── HERO FADE-IN ─────────────────────────────────────────── */
.brxe-t_hero_tag,
.brxe-h_hero,
.brxe-t_hero_sub,
.brxe-c_hero_btns {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.brxe-t_hero_tag { animation-delay: 0.2s; }
.brxe-h_hero     { animation-delay: 0.4s; }
.brxe-t_hero_sub { animation-delay: 0.6s; }
.brxe-c_hero_btns{ animation-delay: 0.8s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PRODUCT CARDS: hover lift ────────────────────────────── */
[class^="brxe-c_card_"] {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s ease;
  cursor: pointer;
}
[class^="brxe-c_card_"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.7);
}

/* ── GALLERY IMAGES: hover zoom ──────────────────────────── */
[class^="brxe-i_gal_"] img {
  transition: transform 0.4s ease;
}
[class^="brxe-i_gal_"]:hover img {
  transform: scale(1.05);
}
[class^="brxe-i_gal_"] {
  overflow: hidden;
  border-radius: 12px;
}

/* ── BUTTONS: transizioni fluide ─────────────────────────── */
.brx-btn, [class*="brxe-b_"] {
  transition: background-color 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease,
              transform 0.15s ease,
              box-shadow 0.2s ease;
}
.brx-btn:hover, [class*="brxe-b_"]:hover {
  transform: translateY(-1px);
}

/* ── INSTA360 X5 SECTION: immagine fade-in ─────────────────  */
.brxe-i_x5 img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.brxe-c_x5_image:hover .brxe-i_x5 img {
  transform: scale(1.03) rotate(1deg);
}

/* ── NEWSLETTER: campo email custom ──────────────────────── */
.brxe-c_news_form input[type="email"],
.brxe-c_news_form .brxe-inp_news {
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  color: #cccccc;
  font-family: inherit;
  font-size: 15px;
  padding: 16px 20px 16px 24px;
}
.brxe-c_news_form input[type="email"]::placeholder {
  color: #666666;
}

/* ── RESPONSIVE: mobile adjustments ─────────────────────── */
@media (max-width: 767px) {
  .brxe-s_hero::after,
  .brxe-s_hero::before {
    display: none;
  }
  .brxe-c_news_form {
    flex-direction: column;
    border-radius: 16px;
  }
  .brxe-c_news_form input[type="email"] {
    text-align: center;
    padding: 16px 20px;
  }
  .brxe-c_news_form .brxe-b_news {
    width: 100%;
    margin: 0 4px 4px 4px;
    border-radius: 26px !important;
  }
}

/* ── SCROLLBAR personalizzato ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #555; }
