/*
Theme Name: Coffeeland Ecommerce
Theme URI: https://coffeeland.es/
Author: Coffeeland
Description: Tema editorial para Coffeeland, compatible con WooCommerce y con editor propio para Home 5.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: coffeeland
*/

.admin-bar .site-header { top: 32px; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.home-five-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-five-hero__accent--left { position: absolute; left: 0; bottom: 0; z-index: 2; max-width: 32vw; pointer-events: none; }
.site-header .custom-logo-link { display: inline-flex; width: 162px; }
.site-header .custom-logo { width: 100%; height: auto; object-fit: contain; }
.nav ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.nav li { margin: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; place-content: center; gap: 5px; border: 1px solid rgba(181, 140, 64, .65); border-radius: 50%; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 18px; height: 2px; background: var(--gold); }
.woocommerce-page main { width: min(1180px, calc(100% - 32px)); margin: 120px auto 80px; }
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button { background: var(--green); color: #fff; border-radius: 999px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .site-header .nav.is-open {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: block;
    padding: 18px;
    border: 1px solid rgba(181, 140, 64, .3);
    border-radius: 12px;
    background: #111;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .3);
  }
  .site-header .nav.is-open ul { align-items: stretch; flex-direction: column; gap: 4px; }
  .site-header .nav.is-open a { display: block; padding: 10px 12px; }
}
