.elementor-kit-6{--e-global-color-primary:#212121;--e-global-color-accent:#FFFFFF;--e-global-color-secondary:#BA0C2F;--e-global-color-text:#E0D0B5;--e-global-color-27f5014:#F2ECE1;--e-global-color-cb41cf5:#A99574;--e-global-color-21e494c:#696969;--e-global-typography-primary-font-family:"Acumin Pro";--e-global-typography-primary-font-size:clamp(5rem, 2.8571rem + 2.381vw, 6.66669rem);--e-global-typography-primary-font-weight:300;--e-global-typography-primary-line-height:100%;--e-global-typography-secondary-font-family:"Acumin Pro";--e-global-typography-secondary-font-size:clamp(2.75rem, 1.5714rem + 1.3096vw, 3.66669rem);--e-global-typography-secondary-font-weight:400;--e-global-typography-secondary-line-height:100%;--e-global-typography-text-font-family:"Acumin Pro";--e-global-typography-text-font-size:clamp(2.125rem, 1.2143rem + 1.0119vw, 2.83331rem);--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:100%;--e-global-typography-accent-font-family:"Acumin Pro";--e-global-typography-accent-font-size:clamp(1.5rem, 0.8571rem + 0.7143vw, 2rem);--e-global-typography-accent-font-weight:700;--e-global-typography-accent-line-height:116%;--e-global-typography-99a9355-font-family:"Acumin Pro";--e-global-typography-99a9355-font-size:clamp(1.5rem, 0.8571rem + 0.7143vw, 2rem);--e-global-typography-99a9355-font-weight:400;--e-global-typography-99a9355-line-height:116%;--e-global-typography-127f6d3-font-family:"Acumin Pro";--e-global-typography-127f6d3-font-size:clamp(1.25rem, 0.7143rem + 0.5953vw, 1.66669rem);--e-global-typography-127f6d3-font-weight:700;--e-global-typography-127f6d3-line-height:120%;--e-global-typography-8365c4c-font-family:"Acumin Pro";--e-global-typography-8365c4c-font-size:clamp(1.25rem, 0.7143rem + 0.5953vw, 1.66669rem);--e-global-typography-8365c4c-font-weight:400;--e-global-typography-8365c4c-line-height:120%;--e-global-typography-1f9d0e7-font-family:"Acumin Pro";--e-global-typography-1f9d0e7-font-size:clamp(1rem, 0.5715rem + 0.4762vw, 1.33331rem);--e-global-typography-1f9d0e7-font-weight:700;--e-global-typography-1f9d0e7-line-height:120%;--e-global-typography-bfbe328-font-family:"Acumin Pro";--e-global-typography-bfbe328-font-size:clamp(1rem, 0.5715rem + 0.4762vw, 1.33331rem);--e-global-typography-bfbe328-font-weight:400;--e-global-typography-bfbe328-line-height:120%;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1440px;}.e-con{--container-max-width:1440px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-kit-6{--e-global-typography-primary-font-size:3.5rem;--e-global-typography-secondary-font-size:2.25rem;--e-global-typography-text-font-size:1.875rem;--e-global-typography-accent-font-size:1.5rem;--e-global-typography-99a9355-font-size:1.5rem;--e-global-typography-127f6d3-font-size:1.25rem;--e-global-typography-8365c4c-font-size:1.25rem;--e-global-typography-1f9d0e7-font-size:1rem;--e-global-typography-bfbe328-font-size:1rem;}}@media(max-width:820px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-6{--e-global-typography-primary-font-size:2.5rem;--e-global-typography-secondary-font-size:1.875rem;--e-global-typography-secondary-line-height:100%;--e-global-typography-text-font-size:1.5625rem;--e-global-typography-accent-font-size:1.25rem;--e-global-typography-99a9355-font-size:1.25rem;--e-global-typography-127f6d3-font-size:1.25rem;--e-global-typography-8365c4c-font-size:1.25rem;--e-global-typography-1f9d0e7-font-size:1rem;--e-global-typography-bfbe328-font-size:1rem;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */html {
  scroll-behavior: auto !important;
}

/* TRANSITION PAGE */
.page-transition{
  position: fixed;
  inset: 0;
  background: #BA0C2F;
  z-index: 2147483647;
  pointer-events: none;
  will-change: transform;
  transform: translateX(0);
}

.page-transition.wipe-out{
  animation: pt-wipe-out 0.65s ease forwards;
}

.page-transition.cover-in{
  animation: pt-cover-in 0.65s ease forwards;
}

@keyframes pt-wipe-out{
  0%   { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}
@keyframes pt-cover-in{
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(0%); }
}

@media (prefers-reduced-motion: reduce){
  .page-transition{ animation: none !important; transform: translateX(100%) !important; }
}

/* STICKY HEADER */
#menuhopin .elementor-icon svg {
    height: 10px !important;
}

#menuhopin .elementor-icon svg path {
    stroke: #000 !important;
}

#menuhopin {
    box-shadow: 0px 10px 30px 2px rgba(0,0,0,0.12);
}

/* LOGO */
@media screen and (max-width: 2560px) {
  #logo img {
    width: 80%;
  }
  
  #logo_footer img {
      width:75%;
  }
}

@media screen and (max-width: 1728px) {
  #logo img {
    width: 100%;
  }
  
  #logo_footer img {
      width:100%;
  }
}

@media screen and (max-width:1024px) {
    #logo_footer img {
      width: 90%;
  }
}

@media screen and (max-width:820px) {
    #logo_footer img {
      width: 100%;
  }
}

.page-id-10684 header,
.page-id-13258 header,
.page-id-14643 header,
.page-id-14793 header {
    position: absolute;
}

/* CONTACT PAGE*/
.page-id-10684 .ham svg path {
    stroke: #fff;
}

@media screen and (max-width:767px) {
    .page-id-10684 header {
        position: relative;
    }
    
    .page-id-10684 .ham svg path {
        stroke: #000;
    }
    
    .page-id-13258 header {
        position: relative;
    }
}


::selection {
  background: #ba0b2f;
  color: #fff;
}
::-moz-selection {
  background: #ba0b2f;
  color: #fff;
}

.pastibtn .elementor-button path:first-of-type {
  transition: transform 0.4s ease;
  transform-origin: left center;
}

.pastibtn .elementor-button path:last-of-type {
  transition: transform 0.4s ease;
}

.pastibtn .elementor-button:hover path:first-of-type {
  transform: scaleX(0.45);
}

.pastibtn .elementor-button:hover path:last-of-type {
  transform: translateX(-21px);
}

.ham svg path:nth-child(1) {
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.ham svg:hover path:nth-child(1) {
  transform: scaleX(0.8);
}

.ham svg path:nth-child(2) {
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.ham svg:hover path:nth-child(2) {
  transform: scaleX(0.8);
}


.shopbtn span {
    display: flex;
    align-items: center;
}

.shopbtn .elementor-button-icon {
    width: 12px;
    height: 1rem;
    margin-top: -5px;
}

.underlevel p,
.underlevel svg path {
    transition: 0.4s;
}

.underlevel:hover p {
    color: #BA0C2F !important;
}

.underlevel:hover svg path {
    stroke: #BA0C2F;
}

a.dialog-close-button.dialog-lightbox-close-button {
    display: none;
}

.dialog-widget-content {
    border-radius: 16px 16px 16px 16px !important;
    top: 1rem !important;
    bottom: 1rem !important;
    right: 1rem !important;
}

@media screen and (max-width:1440px) {
    .elementor-popup-modal .dialog-message {
        width: 420px !important;
    }
    
}

@media screen and (max-width:767px) {
    .dialog-widget-content {
         top: 0.5rem !important;
         right: 0.5rem !important;
         bottom: 0.5rem !important;
         left: 0.5rem !important;
         max-width: calc(100vw - 1rem);
         max-height: calc(100dvh - 1rem);
         box-sizing: border-box;
    }
}

.cb-tagreel-row {
    cursor: pointer !important;
}

/* Animation anchor */
#anchor_down .elementor-icon svg path {
    transition: 0.4s;
}

#anchor_down:hover .elementor-icon svg path {
    stroke: #BA0C2F;
}

#anchor_down svg {
  animation: anchorBounce 8s ease-in-out infinite;
}

@keyframes anchorBounce {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(20px); }
  40%  { transform: translateY(0); }
  60%  { transform: translateY(0); }
  80%  { transform: translateY(20px); }
  100% { transform: translateY(0); }
}


/* FORM */
@media screen and (max-width:1024px) {
    .form-label p {
        display: flex;
        flex-direction: column;
    }

    .form-label p br {
        display: none;
    }
    
    span.wpcf7-form-control-wrap {
        width: 100% !important;
    }
}

ul#menu-1-7ed8d97,
ul#menu-1-6b3e5a0 {
    direction: rtl;
}

ul#menu-1-7ed8d97 li a,
ul#menu-1-6b3e5a0 li a {
    padding: 0 0.5rem !important;
}

span.wpml-ls-display {
    text-transform: uppercase;
}

.wpml-ls-current-language span.wpml-ls-display {
    color: #ba0c2f !important
}


.e-off-canvas__content {
    position: absolute;
    inset-block: 1rem;
    inset-inline-end: 1rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100dvh - 2rem);
    box-sizing: border-box;
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Acumin Pro';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://pastadallacosta.it/wp-content/uploads/2025/08/Acumin-RPro.woff2') format('woff2');
}
@font-face {
	font-family: 'Acumin Pro';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://pastadallacosta.it/wp-content/uploads/2025/08/Acumin-BdPro.woff2') format('woff2');
}
/* End Custom Fonts CSS */