/*
Theme Name: Siridia Theme
Theme URI:
Author: Elia Signorato
Author URI:
Description: Starter Theme with Font Awesome and Bootstrap 4
Version: 0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: nx

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* General
-------------------------------------------------------- */
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;        
}

main, footer {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
          opacity: 0; 
          transition: opacity 0.7s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.main-loaded {
  opacity: 1;
}

html {
  scroll-behavior: smooth !important;
}

:root {
  --gold: #c6a345;
  --black: #0f0f0f;
  --white: #fff;
  --light-gold: #f3efe6;
}


/* Colori
-------------------------------------------------------- */
a {
  color: var(--black);
}

footer p a {
  color: var(--gold);
}

a:hover:not(.btn, .woocommerce-LoopProduct-link, .wc-block-cart__submit-button, .wc-forward) {
  color: var(--gold) !important;
}

.color-primary {
  color: var(--gold)!important;
}

.bg-primary {
  background: var(--black)!important;
}

.bg-black {
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.3) 0%, rgba(8, 8, 8, 0.3) 100%), url(/wp-content/uploads/2025/02/Untitled-design-26-min.png);
  background-size: cover;
  background-position: center;
}


.bg-secondary {
  background: linear-gradient(90deg, rgba(243,239,230,0.9) 0%, rgba(243,239,230,0.9) 100%), url(/wp-content/uploads/vini-stellati-min.webp);
  background-size: cover;
  background-position: center;
}

.bg-tertiary {
  background-color: var(--gold) !important;
}

/* Typography
-------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, blockquote {
  font-family: "Prata", serif;
  font-weight: 400;
  font-style: normal;
}

blockquote p{
 /*  border-left: solid 10px var(--gold); 
   padding-left: 20px;*/ 
  font-size: 15px;
  font-family: "Prata", serif;
  line-height: 2em;
}


@media (min-width: 1200px) {
  h1 {
    font-size: 6em;
  }
  h2 {
    font-size: 3em;
  }
  .accordion-button {
    font-size: 20px!important;
  }
  p {
    font-size: 16px;
  }
  .woocommerce-products-header__title.page-title {
    font-size: 60px;
  }
}
@media (max-width: 1199px) {
  h2 {
    font-size: 35px;
  }
}
body, p {
  font-family: "Mulish", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Accordion
-------------------------------------------------------- */

.accordion-button:not(.collapsed) {
  background-color: #fff; 
  color: var(--black);
}

.accordion-button:focus {
  background-color: #fff; 
  box-shadow: none; 
}

.accordion-item {
  padding-bottom: 10px;
  padding-top: 10px;
}

/* Helpers
-------------------------------------------------------- */
@media (min-width: 1200px) {
  .py-custom {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .pt-custom {
    padding-top: 100px;
  }
  .pb-custom {
    padding-bottom: 100px;
  }
}

@media (max-width: 1199px) {
  .py-custom {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .pt-custom {
    padding-top: 50px;
  }
  .pb-custom {
    padding-bottom: 50px;
  }
}
@media (min-width: 1200px) {
.due-colonne {
 columns: 2;
 gap: 30px;
  }
}

/* Buttons
-------------------------------------------------------- */


.btn.btn-primary, .btn.btn-outline-primary, .wc-block-components-button, .button.wc-forward {
  font-size: 12px!important;
  letter-spacing: 2px;
  border-radius: 0px;
  padding: 12px 24px!important;
  text-transform: uppercase;
  font-weight: 400!important;
}

.btn-primary, .wc-block-components-button, .wc-forward {
  background-color: var(--gold)!important;
  color: #fff!important;
  border-color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0px;
}

.btn-primary:hover, .wc-block-components-button:hover, .wc-forward:hover {
  background: var(--gold);
  border-color: var(--gold);
  -webkit-filter: brightness(0.8);
          filter: brightness(0.8);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.5s ease-in-out;
  color: #fff!important;
}

.btn.btn-outline-primary {
  color: var(--gold);
  border-image: linear-gradient(45deg, #dcbe84 0%, #f1f1f1 90%, #dcbe84 100%) 1;
  border-radius: 3px!important;
}

/* .btn.btn-outline-primary::after {
  content: '';
  background: url('/wp-content/uploads/2025/02/stella-siridia-1.png') no-repeat;
  background-size: contain;
  width: 22px;
  height: 22px;
  display: inline-block;
}
 */
.btn.btn-outline-primary:hover {
  background: var(--gold);
  color: #fff;
}

/* colori woocmmerce
 */
.woocommerce-message {
  background-color: var(--light-gold);
}

.woocommerce-message {
  border-top-color: var(--black);
}
.woocommerce-message::before {
  color: var(--black);
}



/* Animazioni
-------------------------------------------------------- */
.fade-in, .nascosto {
  opacity: 0;
}

.fade-in.show, .visibile {
  opacity: 1;
  -webkit-transition: opacity 1s ease-in;
  transition: opacity 1s ease-in;
}


/* Header
-------------------------------------------------------- */
 .pre-header {
  font-size: 14px!important;
  background-color: var(--black);
  text-align: center;
}

.navbar {
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}
.navbar .nav-link {
  margin-left: 5px!important;
  margin-right: 5px!important;
  position: relative;
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  text-transform: uppercase;
}

.navbar-brand img {
  max-height: 65px;
}

.siridio {
  max-width: 500px!important;
}

@media (max-width: 1199px) {
  .navbar-brand img {
    margin-left: 10px;
  }
  .navbar-toggler-icon {
    font-size: 25px;
  }
  .nav-link {
    padding: 12px;
    font-size: 17px!important;
  }
  .navbar-toggler:focus {
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  
  .navbar-nav>.nav-item::after {
    content: "";
    border-bottom: solid 1px var(--light-gold);
    display: block;
    margin: 0 7px;
  }
}

.siridio-mobile{
  max-height: 400px;
  z-index: -1;
}

/* whatsapp */

.whatsapp {
  background: #43cc51;
  padding: 12px 15px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  border-radius: 50%;
}

.whatsapp i {
  color: #fff;
  font-size: 40px!important;
}

/* offcanvas mini-cart */

#woocommerce-mini-cart-container {
  height: 100vh;
}

#woocommerce-mini-cart-container h2{
  display: none;
}

.offcanvas-header {
  padding-top: 10px;
  padding-bottom: 0px;
}

.offcanvas-header h2{
  font-size: 30px;
}

.woocommerce .widget_shopping_cart .cart_list li, .woocommerce.widget_shopping_cart .cart_list li,  #woocommerce-mini-cart-container p{
  font-size: 14px;
}

.woocommerce ul.cart_list li dl dd, .woocommerce ul.cart_list li dl dt, .woocommerce ul.product_list_widget li dl dd, .woocommerce ul.product_list_widget li dl dt{
  margin-bottom: 0px;
}

.widget.woocommerce.widget_shopping_cart {
  height: 100%;
}
.woocommerce-mini-cart__buttons.buttons {
  position: absolute;
  bottom: 0;
}

li.woocommerce-mini-cart-item.mini_cart_item {
  margin-bottom: 20px!important;
}

/* Nascondi il div .cart-icon nelle pagine del carrello e del checkout */
body:has(.wc-block-checkout) .cart-icon, body:has(.wp-block-woocommerce-cart) .cart-icon {
  pointer-events: none;
}

/* Megamenu
-------------------------------------------------------- */
.nav-link:focus-visible {
  -webkit-box-shadow: none;
          box-shadow: none;
  color: transparent;
}

.navbar .megamenu {
  padding: 1rem;
}

.megamenu-list {
  padding-left: 0px;
}

.megamenu-list li {
  list-style: none;
  text-align: left;
  display: flex;
}

.megamenu-list li::before {
  content: '';
  background: url('/wp-content/uploads/2025/02/stella-siridia-1.png') no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-top: 5px;
  display: inline-block;
}

@media (min-width: 1200px) {
  .navbar .has-megamenu {
    position: static !important;
  }
  .navbar .megamenu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    border-radius: 0px !important;
    border-top: solid 1px #f2f2f2;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  }
  .navbar i.fa-cart-shopping{
    font-size: 20px!important;
    margin: 0px 5px;
  }
}

@media (max-width: 1199px) {
  .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse {
    overflow-y: auto;
    max-height: 90vh;
  }
  .navbar i {
    font-size: 20px;
  }
  .megamenu-list li::before {
    margin-top: 15px;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
}

body:has(.dropdown-menu.show) > .modal-overlay {
  display: block;
}

/* Footer
-------------------------------------------------------- */
footer {
  background-color: var(--black);
}
footer .logo-footer {
  max-width: 250px!important;
}

footer p, footer .nav-link {
  font-size: 15px!important;
}

footer h3 {
  font-family: "Mulish", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
}


/* Home
-------------------------------------------------------- */


/* hero */

.hero {
  position: relative;
  overflow: hidden;
  height: 90vh;
  margin-top: -82px;
}

.hero p {
  font-family: "Prata", serif;
  text-shadow: 12px 0px 10px #000;
  font-style: italic;
}

.sfondo {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  animation: kenburns 20s ease-in-out infinite; 
}

@media (min-width: 1200px) {
  .hero p {
    font-size: 25px;
    width: 730px;
  }
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 45px;
  }
  .hero p {
    font-size: 17px;
  }
}

@keyframes kenburns {
  0% {
    transform: scale(1.0); 
  }
  100% {
    transform: scale(1.2); 
  }
}

.mouse-icon {
  position: relative;
  width: 30px;
  height: 50px;
  border: 2px solid var(--gold);
  border-radius: 12px;
}

.wheel {
  position: absolute;
  top: 5px;
  left: 39.4%;
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
  animation: scroll 2.5s infinite;
}

@keyframes scroll {
  0% {
      top: 5px;
      opacity: 0;
  }
  50% {
      top: 30px;
      opacity: 1;
  }
  100% {
      top: 30px;
      opacity: 0;
  }
}


.citazione p {
  font-style: italic;
  font-family: "Prata", serif;
}

@media (min-width: 1200px) {
  .citazione {
    max-width: 1000px;
  }
  .citazione p{
    font-size: 25px;
  }
}

@media (max-width: 1199px) {
  .citazione p{
    font-size: 20px;
  }
}


/* Page header
-------------------------------------------------------- */
.page-header {
  height: 500px;
  display: flex;
  align-items: center;
  background-image: url(/wp-content/uploads/2025/02/Untitled-design-26-min.png);
  background-size: cover;
}

.page-header h1 {
  color: #fff;
  text-align: center;
  text-shadow: 12px 0px 10px #000;
}

.page-header p {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 12px 0px 10px #000;
}


@media (min-width: 1200px) {
  .page-header h1 {
    font-size: 5.5em;
  }
}
@media (max-width: 1199px) {
  .page-header h1 {
    font-size: 5vh;
  }
  .page-header {
    height: 450px;
  }
}


/* pagina di categoria
-------------------------------------------------------- */

.woocommerce-loop-product__title {
  text-align: center;
  font-family: "Prata", sans-serif!important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px!important;
}

.woocommerce ul.products li.product .price{
  text-align: center;
  color: var(--gold);
  font-weight: 400;
  font-size: 20px;
}

.term-description {
  display: none;
}


.woocommerce-products-header {
  text-align: center;
}

.woocommerce-breadcrumb {
  text-align: center;
  color: var(--black)!important; 
}

.woocommerce-product-excerpt {
  font-size: 13px;
  text-align: center;
}

/* prodotto single
-------------------------------------------------------- */
.woocommerce span.onsale {
  background-color: var(--gold);
  font-size: 10px;
  border-radius: 5px;
}

body:has(.woocommerce-product-gallery) aside, .product_meta{
  display: none;
}

h1.product_title.entry-title{
  font-size: 38px;
}

.woocommerce-product-details__short-description p{
  font-size: 14px!important;
}

.quantity input {
  padding: 10px 5px;
  border-radius: 3px;
}


.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price {
  color: var(--gold)!important;
  font-size: 35px;
}


/* tab schede*/

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--gold);
}


.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-color: var(--gold);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--black);
  font-weight: 500;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--gold);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background-color: #fff;
  border-color: var(--gold);
}

.tabs.wc-tabs {
  overflow-x: auto !important;
  display: flex;
  white-space: nowrap;
}


section.related.products {
  padding-top: 50px;
}

/* nascondi add to cart correlati*/

.woocommerce ul.products li.product a.button {
  display: none;
}

.woocommerce-product-attributes {
  margin-top: 30px;
}

#pa_tipo-di-degustazione {
  padding-left: 10px;
}

.woocommerce-variation-price {
  margin-bottom: 1px;
}

/* Modifiche prodotto buono degustazione*/

#product-362 .spedizione-pagamenti,  #product-362 .tabs.wc-tabs,  #product-362 h2 {
  display: none;
} 

#product-85 .spedizione-pagamenti,  #product-85 .tabs.wc-tabs,  #product-85 h2 {
  display: none;
} 

/* Checkout
-------------------------------------------------------- */

.wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata {
  font-size: 12px!important;
}

/* Pagina universo
-------------------------------------------------------- */

img.firma {
  max-width: 200px;
  height: auto;
  margin-left: auto;

}

/* Contatti
-------------------------------------------------------- */
.wpcf7-form-control {
  height: auto;
  width: 100%;
}

.wpcf7 p {
  font-size: 16px;
}

.wpcf7 li p{
  font-size: 14px!important;
}

.wpcf7 label {
  width: 100%;
}

.wpcf7-submit {
  background: var(--gold) !important;
  text-transform: uppercase;
  font-size: 16px;
  color: #fff;
}

/* Pagina articolo
-------------------------------------------------------- */

article h2{
  padding-top: 40px;
  font-size: 2.5em;
}
@media (max-width: 1199px) {
  article h2 {
    font-size: 30px;
  }
}

article h3 {
  padding-top: 20px;
  font-family: "Mulish", sans-serif;
}


/* Pagine archivio e ricerca
-------------------------------------------------------- */
.page-archive {
  padding-top: 100px;
}

/* Input & textarea
-------------------------------------------------------- */
input, textarea {
  padding: 5px 10px;
  border: 1px solid #ccc;
}

/* Widgets
-------------------------------------------------------- */
/* .widget_search .screen-reader-text {
  display: block;
}

.widget_search #s {
  width: 70%;
  float: left;
}

.widget_search #searchsubmit {
  width: 30%;
  float: left;
  background: #fff;
} */

/* pagination
-------------------------------------------------------- */
.pagination {
  margin-bottom: 40px;
}

.page-numbers {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  margin-right: 4px;
}

/* general wordpress style
-------------------------------------------------------- */
.post img {
  max-width: 100%;
  height: auto;
}

/* WordPress Core Styles
-------------------------------------------------------------- */
.gallery-caption {
  padding: 5px;
  font-size: 10px;
}

.bypostauthor {
  border-left: 3px solid #ddd;
  padding-left: 20px;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}




