/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* SINOTÈCA — DESIGN SYSTEM v1.0 */
/* =========================================================
   01. DESIGN TOKENS
========================================================= */

:root {

  /* BRAND COLORS */
  --sino-primary: #687860;
  --sino-primary-hover: #52644B;
  --sino-dark: #283B30;
  --sino-dark-hover: #365543;

  --sino-secondary: #DDE2D7;
  --sino-accent: #A76543;

  /* NEUTRALS */
  --sino-text: #282722;
  --sino-muted: #696B61;
  --sino-background: #F7F3EB;
  --sino-ivory: #EDE6D8;
  --sino-white: #FFFFFF;
  --sino-border: #DCD7CD;

  /* STATUS */
  --sino-success: #38664D;
  --sino-error: #A43F36;

  /* FONTS */
  --sino-font-heading: "Bodoni Moda", Georgia, serif;
  --sino-font-body: "DM Sans", Arial, sans-serif;

  /* LAYOUT */
  --sino-max-width: 1280px;
  --sino-page-padding: 48px;
  --sino-section-space: 96px;

  /* SPACING */
  --sino-space-1: 4px;
  --sino-space-2: 8px;
  --sino-space-3: 12px;
  --sino-space-4: 16px;
  --sino-space-5: 20px;
  --sino-space-6: 24px;
  --sino-space-8: 32px;
  --sino-space-12: 48px;

  /* COMPONENTS */
  --sino-radius: 4px;
  --sino-radius-lg: 8px;

  /* ANIMATION */
  --sino-transition: 0.25s ease;
}


/* =========================================================
   02. GLOBAL BASE
========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--sino-background);
  color: var(--sino-text);
  font-family: var(--sino-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sino-font-body);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--sino-secondary);
  color: var(--sino-dark);
}

:focus-visible {
  outline: 2px solid var(--sino-dark);
  outline-offset: 3px;
}


/* =========================================================
   03. TYPOGRAPHY

   Gli stili dei widget Elementor possono prevalere
   su queste regole. Configurare anche i Global Fonts.
========================================================= */

body h1,
body h2,
body h3,
body h4 {
  font-family: var(--sino-font-heading);
  font-weight: 500;
  color: var(--sino-text);
}

body h5,
body h6 {
  font-family: var(--sino-font-body);
  font-weight: 600;
  color: var(--sino-text);
}

body h1 {
  font-size: 76px;
  line-height: 1.05;
}

body h2 {
  font-size: 52px;
  line-height: 1.12;
}

body h3 {
  font-size: 36px;
  line-height: 1.2;
}

body h4 {
  font-size: 28px;
  line-height: 1.25;
}

body h5 {
  font-size: 22px;
  line-height: 1.3;
}

body h6 {
  font-size: 18px;
  line-height: 1.35;
}

body p {
  line-height: 1.65;
}

.sino-eyebrow {
  font-family: var(--sino-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.4;
}


/* =========================================================
   04. LINKS
========================================================= */

a {
  transition:
    color var(--sino-transition),
    background-color var(--sino-transition);
}

a:focus-visible {
  outline: 2px solid var(--sino-dark);
  outline-offset: 3px;
}


/* =========================================================
   05. CONTENT CONTAINERS
========================================================= */

#sino-content-wrap {
  width: 100%;
  max-width: var(--sino-max-width);
  margin-inline: auto;
  padding-inline: var(--sino-page-padding);
}

.sino-section {
  padding-block: var(--sino-section-space);
}

.sino-container {
  width: 100%;
  max-width: var(--sino-max-width);
  padding-inline: var(--sino-page-padding);
  margin-inline: auto;
}


/* =========================================================
   06. BUTTONS

   sino-btn-primary / secondary / accent sono classi
   opzionali per componenti personalizzati.

   Impostare anche i pulsanti globali in Elementor.
========================================================= */

.sino-btn-primary,
.sino-btn-secondary,
.sino-btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 48px;
  padding: 14px 28px;

  font-family: var(--sino-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;

  border: 1px solid transparent;
  border-radius: var(--sino-radius);

  cursor: pointer;

  transition:
    background-color var(--sino-transition),
    color var(--sino-transition),
    border-color var(--sino-transition);
}

.sino-btn-primary {
  background: var(--sino-dark);
  color: #FFFFFF;
}

.sino-btn-primary:hover {
  background: var(--sino-dark-hover);
  color: #FFFFFF;
}

.sino-btn-secondary {
  background: transparent;
  color: var(--sino-dark);
  border-color: var(--sino-dark);
}

.sino-btn-secondary:hover {
  background: var(--sino-dark);
  color: #FFFFFF;
}

.sino-btn-accent {
  background: var(--sino-accent);
  color: #FFFFFF;
}

.sino-btn-accent:hover {
  background: #8B5135;
  color: #FFFFFF;
}


/* =========================================================
   07. HEADER — MAIN
========================================================= */

#sino-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: var(--sino-background);
}

#sino-header a {
  transition:
    color var(--sino-transition),
    background-color var(--sino-transition);
}

#sino-header a:focus-visible,
#sino-header button:focus-visible {
  outline: 2px solid var(--sino-accent);
  outline-offset: 3px;
}


/* =========================================================
   08. HEADER — ANNOUNCEMENT BAR
========================================================= */

#sino-announcement {
  background: var(--sino-dark);
  color: #FFFFFF;

  min-height: 36px;
  padding: 8px 20px;
}

#sino-announcement,
#sino-announcement p,
#sino-announcement a {
  color: #FFFFFF;
  font-family: var(--sino-font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

#sino-announcement p {
  margin: 0;
}

#sino-announcement a:hover {
  color: var(--sino-secondary);
}


/* =========================================================
   09. HEADER — DESKTOP
========================================================= */

#sino-header-desktop {
  width: 100%;
  background: var(--sino-background);
}

#sino-header-desktop img {
  max-width: 100%;
  height: auto;
}

#sino-header-desktop .elementor-icon {
  color: var(--sino-dark);
  transition: color var(--sino-transition);
}

#sino-header-desktop .elementor-icon:hover {
  color: var(--sino-primary);
}


/* =========================================================
   10. HEADER — NAVIGATION
========================================================= */

#sino-header-nav {
  background: var(--sino-background);
  border-top: 1px solid var(--sino-border);
}

/* Elementor Menu dropdown */

#sino-header-nav .sub-menu {
  background: var(--sino-background);
  border: 1px solid var(--sino-border);
  box-shadow: 0 8px 28px rgba(40, 59, 48, 0.08);
}

#sino-header-nav .sub-menu a {
  font-size: 13px;
  padding: 12px 18px;
}


/* =========================================================
   11. HEADER — MOBILE
========================================================= */

#sino-header-mobile {
  width: 100%;
  background: var(--sino-background);
}

#sino-header-mobile .elementor-icon {
  color: var(--sino-dark);
}

#sino-header-mobile .elementor-icon:hover {
  color: var(--sino-primary);
}


/* =========================================================
   12. HEADER — ELEMENTOR SEARCH
========================================================= */

#sino-header .e-search-input,
#sino-header input[type="search"] {
  font-family: var(--sino-font-body);
  font-size: 14px;
  color: var(--sino-text);
  background: #FFFFFF;
  border: 1px solid var(--sino-border);
  border-radius: var(--sino-radius);
}

#sino-header input[type="search"]::placeholder {
  color: var(--sino-muted);
  opacity: 1;
}

#sino-header input[type="search"]:focus {
  border-color: var(--sino-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(104, 120, 96, 0.15);
}


/* =========================================================
   13. HEADER — WOOCOMMERCE MENU CART
========================================================= */

#sino-header .elementor-menu-cart__toggle_button {
  color: var(--sino-dark);
}

#sino-header .elementor-menu-cart__toggle_button:hover {
  color: var(--sino-primary);
}

#sino-header .elementor-button-icon-qty {
  background: var(--sino-accent);
  color: #FFFFFF;
  font-family: var(--sino-font-body);
  font-weight: 600;
}

/* Mini-cart laterale */

.elementor-menu-cart__container {
  font-family: var(--sino-font-body);
}

.elementor-menu-cart__main {
  background: var(--sino-background);
}

.elementor-menu-cart__product-name a {
  color: var(--sino-text);
}

.elementor-menu-cart__footer-buttons .elementor-button {
  border-radius: var(--sino-radius);
}


/* =========================================================
   14. BASIC FORMS
========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
select,
textarea {
  font-family: var(--sino-font-body);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--sino-primary);
  outline-offset: 2px;
}


/* =========================================================
   15. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1024px) {

  :root {
    --sino-page-padding: 32px;
    --sino-section-space: 72px;
  }

  body h1 {
    font-size: 60px;
  }

  body h2 {
    font-size: 44px;
  }

  body h3 {
    font-size: 32px;
  }

  body h4 {
    font-size: 26px;
  }

  #sino-header-desktop,
  #sino-header-nav {
    display: none;
  }

  #sino-header-mobile {
    display: flex;
  }
}


/* =========================================================
   16. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {

  :root {
    --sino-page-padding: 20px;
    --sino-section-space: 56px;
  }

  body {
    font-size: 15px;
  }

  body h1 {
    font-size: 44px;
    line-height: 1.08;
  }

  body h2 {
    font-size: 36px;
    line-height: 1.15;
  }

  body h3 {
    font-size: 28px;
    line-height: 1.2;
  }

  body h4 {
    font-size: 24px;
  }

  body h5 {
    font-size: 20px;
  }

  body h6 {
    font-size: 17px;
  }

  #sino-announcement {
    padding: 7px 12px;
    text-align: center;
  }

  #sino-announcement,
  #sino-announcement p {
    font-size: 11px;
  }

  #sino-header-mobile {
    min-height: 68px;
  }

  .sino-btn-primary,
  .sino-btn-secondary,
  .sino-btn-accent {
    min-height: 48px;
    padding: 14px 20px;
  }
}


/* =========================================================
   17. RESPONSIVE — DESKTOP
========================================================= */

@media (min-width: 1025px) {

  #sino-header-mobile {
    display: none;
  }
}


/* =========================================================
   18. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



