/*
 * Barbara Rizzi website: fonts, design tokens, reset, typography, header, WooCommerce's notices, mobile menu, footer,
 * 404.
 * Ported from the WordPress theme (main.css, header.php, footer.php, the Customizer CSS); each kind of page adds its
 * own file. The fonts are served by the site (the Google Fonts files, latin and latin-ext).
 */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/montserrat-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/montserrat-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --br-cream: #ffffff;
  --br-warm-white: #ffffff;
  --br-sand: #e8e2d8;
  --br-pale: #d8d2c8;
  --br-light: #a8a8a2;
  --br-mid: #5a5650;
  --br-dark: #2a2622;
  --br-black: #1a1816;
  --br-gold: #b8923a;
  --br-gold-light: #d4a84b;
  --br-teal: #007a6e;
  --br-green: #4a7c59;
  --br-border: #e2ddd6;
  --br-font-serif: 'Cormorant Garamond', Georgia, serif;
  --br-font-sans: 'Montserrat', sans-serif;
  --br-radius: 0px;
  --br-transition: all 0.25s ease;
}

/* Reset and typography */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--br-font-sans);
  background: #ffffff;
  color: var(--br-black);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--br-transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--br-font-serif);
  font-weight: 300;
  line-height: 1.1;
  color: var(--br-black);
}
h1 { font-size: clamp(36px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: clamp(18px, 2vw, 24px); }
p { color: var(--br-mid); line-height: 1.8; }

/* Header: fixed over the page (as on WordPress, each page leaves room for it at the top), 64 px menu */
.br-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999999;
  width: 100%;
  background: #ffffff;
  border-bottom: 0.5px solid var(--br-border);
}
.br-header.is-scrolled { box-shadow: 0 1px 20px rgba(26, 24, 22, 0.06); }
.br-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  gap: 20px;
}
.br-logo { flex-shrink: 0; }
.br-logo img { height: 36px; width: auto; display: block; }
.br-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.br-nav-list { display: flex; align-items: center; height: 64px; }
.br-nav-list > li { position: relative; display: flex; align-items: center; height: 64px; }
.br-nav-list > li > a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5650;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.br-nav-list > li > a:hover { color: #1a1816; }
.br-nav-list > li > a:not([href]), .br-mobile-list > li > a:not([href]) { cursor: pointer; }
.br-nav-list > li.has-sub > a::after { content: ' ▾'; font-size: 8px; opacity: 0.5; }
.br-nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  flex-direction: column;
  min-width: 200px;
  background: #ffffff;
  border: 0.5px solid #e2ddd6;
  border-top: 2px solid #1a1816;
  box-shadow: 0 8px 24px rgba(26, 24, 22, 0.08);
  z-index: 99999;
}
.br-nav-list > li:hover > .sub-menu, .br-nav-list > li:focus-within > .sub-menu { display: flex; }
.br-nav-list .sub-menu li { display: block; width: 100%; }
.br-nav-list .sub-menu a {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5a5650;
  padding: 13px 20px;
  border-bottom: 0.5px solid #f0ece4;
  white-space: nowrap;
  background: #ffffff;
}
.br-nav-list .sub-menu a:hover { color: #1a1816; background: #f5f2ed; }
.br-header__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.br-h-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1816;
  padding: 6px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.br-h-icon:hover { color: #b8923a; }
.br-h-icon svg { display: block; }
.br-h-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding: 0 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
  background: #b8923a;
  border-radius: 50%;
}
.br-h-shop-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 18px;
  background: #1a1816;
  color: #ffffff;
  display: inline-block;
  line-height: 1.4;
  transition: background 0.3s;
}
.br-h-shop-btn:hover { background: #b8923a; }
#br-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
  flex-shrink: 0;
}
#br-hamburger span { display: block; width: 22px; height: 1.5px; background: #1a1816; }

/* WooCommerce's notices (woocommerce.css with the theme's woocommerce-br.css): shop pages and the product page. The
   icons are WooCommerce's font, loaded only when a notice shows, in WooCommerce's colours as on WordPress (info blue,
   success green, error red). */
@font-face {
  font-family: 'WooCommerce';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('../fonts/woocommerce.woff2') format('woff2');
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
  position: relative;
  width: auto;
  margin: 0 0 2em;
  padding: 1em 2em 1em 3.5em;
  font-family: var(--br-font-sans);
  font-size: 12px;
  color: #1a1816;
  word-wrap: break-word;
  list-style: none outside;
  background: #ffffff;
  border-top: 3px solid #b8923a;
  border-radius: 0;
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
  position: absolute;
  top: 1em;
  left: 1.5em;
  display: inline-block;
  font-family: 'WooCommerce';
  content: '\e028';
  color: #1e85be;
}
.woocommerce-message::before { content: '\e015'; color: #8fae1b; }
.woocommerce-error::before { content: '\e016'; color: #b81c23; }

/* Mobile menu: full screen, the same menu with its sub-items open */
#br-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999998;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px 40px;
  overflow-y: auto;
  background: #ffffff;
}
/* Centred while it fits, from the top when taller than the screen (WordPress centred it: "Home" was cut off). */
#br-mobile-menu > :first-child { margin-top: auto; }
#br-mobile-menu > :last-child { margin-bottom: auto; }
#br-mobile-menu[hidden], #br-menu-close[hidden] { display: none; }
body.br-menu-open { overflow: hidden; }
.br-mobile-list { text-align: center; }
.br-mobile-list > li > a {
  display: block;
  padding: 8px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 300;
  color: #1a1816;
}
.br-mobile-list > li > a:hover { color: #b8923a; }
.br-mobile-list .sub-menu { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 0 12px; }
.br-mobile-list .sub-menu a {
  padding: 3px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #b8923a;
}
.br-mobile-extra { margin-top: 32px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.br-mobile-extra a {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a8580;
}
.br-mobile-extra a.is-cart { color: #1a1816; font-weight: 500; }
#br-menu-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: #ffffff;
  background: #1a1816;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* Footer */
#br-footer-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
#br-footer-wrap { width: 100%; background: #000000; font-family: 'Montserrat', sans-serif; text-align: center; padding: 50px 40px 0; }
#br-footer-wrap .br-f-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 1400px; margin: 0 auto; padding-bottom: 32px; }
#br-footer-wrap .br-f-social { display: flex; gap: 20px; justify-content: center; }
#br-footer-wrap .br-f-social a { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: white; border: 0.5px solid rgba(255,255,255,0.3); padding: 9px 22px; transition: all 0.2s; }
#br-footer-wrap .br-f-social a:hover { border-color: white; }
#br-footer-wrap .br-f-claim { font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase; color: #b8923a; font-weight: 600; }
#br-footer-wrap .br-f-divider { width: 90px; height: 1px; background: rgba(255,255,255,0.2); margin: 2px auto; }
#br-footer-wrap .br-f-copy { font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; line-height: 1.6; }
#br-footer-wrap .br-f-agency { font-size: 11px; color: rgba(255,255,255,0.4); }
#br-footer-wrap .br-f-agency a { color: rgba(255,255,255,0.7); border-bottom: 0.5px solid rgba(255,255,255,0.3); }
#br-footer-wrap .br-f-legal { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
#br-footer-wrap .br-f-legal a { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); transition: color 0.2s; }
#br-footer-wrap .br-f-legal a:hover { color: white; }
#br-footer-wrap .br-f-legal a.whatsapp { color: #b8923a; border-bottom: 0.5px solid #b8923a; }
#br-footer-wrap .br-f-payments { width: 100%; border-top: 0.5px solid rgba(255,255,255,0.08); padding: 16px 40px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
#br-footer-wrap .br-f-pay-label { font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-right: 4px; }
#br-footer-wrap .br-f-pay-icon { font-size: 9px; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; font-weight: 500; }

/* 404 (the theme's 404.php) */
.br-404 { background: #1a1816; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 40px; font-family: 'Montserrat', sans-serif; position: relative; overflow: hidden; }
.br-404::before { content: '404'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Cormorant Garamond', serif; font-size: clamp(200px, 30vw, 400px); font-weight: 300; color: rgba(184, 146, 58, 0.05); pointer-events: none; line-height: 1; white-space: nowrap; }
.br-404__eye { font-size: 8px; letter-spacing: 0.32em; text-transform: uppercase; color: #b8923a; display: block; margin-bottom: 20px; position: relative; z-index: 2; }
.br-404__title { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 6vw, 80px); font-weight: 300; color: #ffffff; line-height: 1.05; margin-bottom: 16px; position: relative; z-index: 2; }
.br-404__title em { font-style: italic; color: #b8923a; }
.br-404__line { width: 40px; height: 0.5px; background: #b8923a; margin: 24px auto; position: relative; z-index: 2; }
.br-404__text { font-size: 13px; font-weight: 300; color: rgba(250, 248, 245, 0.45); line-height: 1.8; max-width: 420px; margin: 0 auto 40px; position: relative; z-index: 2; }
.br-404__nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 2; margin-bottom: 48px; }
.br-404__btn { font-family: 'Montserrat', sans-serif; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; padding: 13px 28px; transition: all 0.3s; display: inline-block; }
.br-404__btn--gold { background: #b8923a; color: #ffffff; }
.br-404__btn--gold:hover { background: #a07830; }
.br-404__btn--outline { background: transparent; border: 0.5px solid rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.7); }
.br-404__btn--outline:hover { border-color: #b8923a; color: #b8923a; }
.br-404__links { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; position: relative; z-index: 2; }
.br-404__links a { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 248, 245, 0.3); transition: color 0.2s; }
.br-404__links a:hover { color: #b8923a; }
.br-404__links span { color: rgba(255, 255, 255, 0.1); }

@media (max-width: 960px) {
  .br-nav, .br-h-shop-btn { display: none; }
  #br-hamburger { display: flex; }
}
@media (max-width: 900px) {
  .br-header__inner { padding: 14px 20px; }
}
@media (max-width: 600px) {
  #br-footer-wrap { padding: 36px 20px 0; }
  #br-footer-wrap .br-f-social { flex-direction: column; align-items: center; gap: 12px; }
  #br-footer-wrap .br-f-legal { gap: 12px; }
  #br-footer-wrap .br-f-payments { padding: 14px 20px; gap: 14px; }
}
@media (max-width: 480px) {
  .br-404 { padding: 60px 24px; }
  .br-404__nav { flex-direction: column; align-items: center; }
}
@media (max-width: 400px) {
  .br-h-icon:first-child { display: none; }
}
