/*
Theme Name: Essential v3
Theme URI: https://eshaessential.com/
Author: Essential
Description: Custom WooCommerce theme for Essential, ported from the Hugo storefront.
Version: 0.2.9
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: esha-essential-v3
*/

:root {
  --ee-ink: #1a1a1a;
  --ee-charcoal: #2c2020;
  --ee-ivory: #fdf8f0;
  --ee-linen: #f5e6c8;
  --ee-champagne: #c9a84c;
  --ee-soft-gold: #edd9a3;
  --ee-white: #ffffff;
  --ee-muted: rgba(26, 26, 26, 0.66);
  --ee-border: rgba(26, 26, 26, 0.1);
  --ee-font-body: "Lato", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ee-font-display: "Playfair Display", Georgia, serif;
  --ee-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ee-ivory);
  color: var(--ee-ink);
  font-family: var(--ee-font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.ee-container {
  margin: 0 auto;
  max-width: var(--ee-max);
  padding: 0 20px;
}

.ee-topbar {
  background: var(--ee-ink);
  color: var(--ee-white);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ee-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--ee-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.ee-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
}

.ee-header__left {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.ee-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  justify-content: center;
  max-height: 64px;
  text-align: center;
}

.ee-brand .custom-logo-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-height: 64px;
  line-height: 0;
}

.ee-brand img,
.ee-brand .custom-logo,
.custom-logo-link img,
img.custom-logo,
.ee-header img.custom-logo {
  display: block !important;
  width: auto !important;
  max-width: 150px !important;
  height: auto !important;
  max-height: 56px !important;
  object-fit: contain !important;
}

.ee-brand__name {
  color: var(--ee-ink);
  font-family: var(--ee-font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
}

.ee-brand__text .ee-brand__name:only-child {
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ee-brand__sub {
  margin-top: 4px;
  color: var(--ee-champagne);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.ee-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

.ee-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ee-nav a {
  color: rgba(26, 26, 26, 0.75);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.ee-nav a:hover,
.ee-nav .current-menu-item > a {
  color: var(--ee-ink);
}

.ee-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.ee-icon-link,
.ee-menu-toggle {
  display: inline-flex;
  min-height: 40px;
  min-width: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ee-border);
  background: transparent;
  color: var(--ee-ink);
  cursor: pointer;
}

.ee-cart-preview {
  position: relative;
}

.ee-cart-preview__trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ee-border);
  background: transparent;
  color: var(--ee-ink);
  cursor: pointer;
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 800;
  list-style: none;
  white-space: nowrap;
}

.ee-cart-preview__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: min(320px, calc(100vw - 28px));
  border: 1px solid var(--ee-border);
  background: var(--ee-white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  padding: 16px;
}

.ee-cart-preview .ee-cart-preview__panel {
  display: none;
}

.ee-cart-preview:hover .ee-cart-preview__panel,
.ee-cart-preview:focus-within .ee-cart-preview__panel {
  display: block;
}

.ee-cart-preview__empty {
  margin: 0 0 14px;
  color: var(--ee-muted);
  font-size: 0.9rem;
}

.ee-cart-preview__items {
  display: grid;
  gap: 12px;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ee-cart-preview__items li,
.ee-cart-preview__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.ee-cart-preview__items span {
  color: var(--ee-ink);
  font-size: 0.88rem;
  line-height: 1.35;
}

.ee-cart-preview__items strong,
.ee-cart-preview__total strong {
  flex: 0 0 auto;
  font-size: 0.84rem;
}

.ee-cart-preview__total {
  margin-top: 16px;
  border-top: 1px solid var(--ee-border);
  padding-top: 14px;
  font-size: 0.86rem;
}

.ee-cart-preview__button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  background: var(--ee-ink);
  color: var(--ee-white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ee-menu-toggle {
  display: none;
}

.ee-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: var(--ee-ink);
  color: var(--ee-white);
  cursor: pointer;
  padding: 0 28px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ee-button:hover {
  background: var(--ee-champagne);
  color: var(--ee-ink);
}

.ee-button--ghost {
  border-color: rgba(26, 26, 26, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ee-ink);
}

.ee-button--ghost:hover {
  border-color: var(--ee-ink);
  background: var(--ee-white);
}

.ee-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: var(--ee-ivory);
}

.ee-hero__image {
  position: absolute;
  inset: 0;
}

.ee-hero__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.ee-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.24), rgba(253, 248, 240, 0.92));
  content: "";
}

.ee-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 72vh;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 64px;
  padding-top: 120px;
  text-align: center;
}

.ee-kicker {
  margin: 0 0 16px;
  color: var(--ee-champagne);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.ee-hero h1,
.ee-section-title,
.ee-page-title,
.product_title {
  margin: 0;
  color: var(--ee-ink);
  font-family: var(--ee-font-display);
  font-weight: 500;
  letter-spacing: 0;
}

.ee-hero h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 8vw, 5rem);
  line-height: 1.03;
}

.ee-hero p:not(.ee-kicker) {
  margin: 22px auto 0;
  max-width: 600px;
  color: var(--ee-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.ee-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.ee-section {
  padding: 56px 0;
}

.ee-section--white {
  background: var(--ee-white);
}

.ee-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--ee-border);
  padding-bottom: 22px;
}

.ee-section-title {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.12;
}

.ee-ribbon {
  background: var(--ee-ink);
  color: var(--ee-white);
}

.ee-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ee-ribbon__item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 28px;
}

.ee-ribbon__item:last-child {
  border-right: 0;
}

.ee-ribbon h3 {
  margin: 0 0 8px;
  color: var(--ee-champagne);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ee-ribbon p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.ee-products-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
}

.ee-product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 20px;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product,
.ee-product-card {
  float: none;
  width: auto;
  margin: 0;
  list-style: none;
}

.woocommerce ul.products li.product a img,
.ee-product-card__image {
  aspect-ratio: 3 / 4;
  height: auto;
  width: 100%;
  margin: 0;
  background: var(--ee-linen);
  object-fit: cover;
  transition: transform 700ms ease;
}

.woocommerce ul.products li.product:hover a img,
.ee-product-card:hover .ee-product-card__image {
  transform: scale(1.045);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.ee-product-card__title {
  min-height: 2.5rem;
  margin: 12px 0 0;
  padding: 0;
  color: var(--ee-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.38;
}

.woocommerce ul.products li.product .price,
.ee-price {
  display: block;
  margin-top: 12px;
  color: var(--ee-ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.woocommerce ul.products li.product .button {
  margin-top: 12px;
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.added_to_cart {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ee-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ee-ink);
  padding: 0 24px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: normal;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.added_to_cart:hover {
  border-color: var(--ee-champagne);
  background: var(--ee-ink);
  box-shadow: 0 12px 26px rgba(26, 26, 26, 0.1);
  color: var(--ee-white);
  transform: translateY(-1px);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.added_to_cart:hover {
  background: var(--ee-champagne);
  color: var(--ee-ink);
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart {
  width: 100%;
  margin-top: 14px;
}

.woocommerce ul.products li.product .button::before {
  margin-right: 8px;
  content: "+";
  font-size: 1rem;
  line-height: 0;
}

.woocommerce a.added_to_cart::before {
  margin-right: 8px;
  content: "\2713";
}

.ee-sidebar {
  position: sticky;
  top: 104px;
  border: 1px solid var(--ee-border);
  background: var(--ee-white);
  padding: 20px;
}

.ee-sidebar h2,
.widget-title {
  margin: 0 0 14px;
  border-bottom: 1px solid var(--ee-border);
  padding-bottom: 12px;
  color: var(--ee-ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ee-sidebar__subheading {
  margin-top: 24px !important;
}

.ee-sidebar ul,
.widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ee-sidebar li,
.widget li {
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.ee-sidebar a,
.widget li a {
  display: block;
  padding: 10px 0;
  color: rgba(26, 26, 26, 0.7);
  font-size: 0.9rem;
}

.ee-collection-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ee-collection-links li {
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.ee-collection-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  color: rgba(26, 26, 26, 0.72);
  font-size: 0.9rem;
}

.ee-collection-links small {
  color: rgba(26, 26, 26, 0.42);
  font-size: 0.72rem;
  font-weight: 800;
}

.ee-sidebar__empty {
  margin: 0;
  color: var(--ee-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.ee-sidebar a:hover,
.widget li a:hover {
  color: var(--ee-ink);
}

.ee-page {
  min-height: 70vh;
  padding: 56px 0;
}

.ee-page-title {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.ee-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ee-collection-card {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--ee-border);
  background: var(--ee-white);
  padding: 20px;
}

.ee-collection-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.ee-collection-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.72), rgba(26, 26, 26, 0.05));
  content: "";
}

.ee-collection-card:hover img {
  transform: scale(1.05);
}

.ee-collection-card span {
  position: relative;
  z-index: 1;
  color: var(--ee-white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ee-content {
  max-width: 820px;
  color: var(--ee-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.ee-footer {
  background: var(--ee-ink);
  color: var(--ee-white);
  padding: 52px 0 24px;
}

.ee-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.ee-footer h3 {
  margin: 0;
  font-family: var(--ee-font-display);
  font-size: 2rem;
  font-weight: 500;
}

.ee-footer h4 {
  margin: 0 0 16px;
  color: var(--ee-champagne);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ee-footer p,
.ee-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.ee-footer a:hover {
  color: var(--ee-white);
}

.ee-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ee-footer li + li {
  margin-top: 12px;
}

.ee-footer__bottom {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 48px;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
  float: none;
  width: auto;
}

.single-product div.product .woocommerce-product-gallery {
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: var(--ee-white);
}

.single-product div.product .summary {
  padding-top: 10px;
}

.single-product .product_meta,
.woocommerce-tabs {
  border-top: 1px solid rgba(201, 168, 76, 0.22);
  margin-top: 28px;
  padding-top: 24px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ee-ink);
  font-family: var(--ee-font-display);
  font-size: 1.6rem;
}

.woocommerce div.product form.cart .button {
  min-height: 52px;
  background: linear-gradient(135deg, var(--ee-ink), var(--ee-charcoal));
  color: var(--ee-linen);
  padding: 0 34px;
}

.woocommerce div.product form.cart .button:hover {
  background: linear-gradient(135deg, var(--ee-champagne), var(--ee-soft-gold));
  color: var(--ee-ink);
}

.woocommerce div.product form.cart div.quantity {
  margin-right: 14px;
}

.woocommerce .quantity .qty {
  min-height: 48px;
  border: 1px solid var(--ee-border);
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--ee-champagne);
  background: var(--ee-white);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--ee-champagne);
}

.ee-mobile-panel {
  display: none;
}

@media (max-width: 960px) {
  body.ee-menu-open {
    overflow: hidden;
  }

  .ee-nav {
    display: none;
  }

  .ee-menu-toggle {
    display: inline-flex;
  }

  .ee-header__actions {
    flex: 0 1 auto;
    min-width: 0;
  }

  .ee-products-layout {
    grid-template-columns: 1fr;
  }

  .ee-sidebar {
    display: none;
  }

  .ee-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ee-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-product div.product,
  .ee-footer__grid {
    grid-template-columns: 1fr;
  }

  .ee-ribbon__grid {
    grid-template-columns: 1fr;
  }

  .ee-ribbon__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ee-ribbon__item:last-child {
    border-bottom: 0;
  }

  .ee-mobile-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    display: block;
    width: min(84vw, 340px);
    max-width: 100vw;
    overflow-y: auto;
    background: var(--ee-white);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    transform: translateX(-104%);
    transition: transform 180ms ease;
  }

  body.ee-menu-open .ee-mobile-panel {
    transform: translateX(0);
  }

  .ee-mobile-panel__head {
    border-bottom: 1px solid var(--ee-border);
    padding: 24px;
  }

  .ee-mobile-panel nav {
    padding: 20px 24px;
  }

  .ee-mobile-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ee-mobile-panel a {
    display: block;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    padding: 14px 0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 680px) {
  .ee-container {
    padding: 0 16px;
  }

  .ee-topbar {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .ee-button {
    width: 100%;
  }

  .ee-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ee-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 12px;
  }

  .ee-collection-grid {
    gap: 12px;
  }

  .ee-collection-card {
    min-height: 170px;
    padding: 14px;
  }

  .ee-collection-card span {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .woocommerce .button,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce #respond input#submit,
  .woocommerce a.added_to_cart {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .ee-product-card__title {
    min-height: 0;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .woocommerce ul.products li.product .price,
  .ee-price {
    font-size: 0.86rem;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.added_to_cart {
    margin-top: 10px;
  }

  .woocommerce div.product form.cart {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    width: 100%;
  }

  .woocommerce div.product form.cart div.quantity {
    margin-right: 0;
  }

  .woocommerce div.product form.cart .button {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
  }

  .woocommerce .quantity .qty {
    width: 100%;
    min-height: 50px;
  }

  .ee-header__inner {
    min-height: 66px;
    gap: 10px;
  }

  .ee-header__left,
  .ee-header__actions {
    min-width: 0;
  }

  .ee-brand__name {
    font-size: 1.25rem;
  }

  .ee-brand img,
  .ee-brand .custom-logo,
  .custom-logo-link img {
    max-width: 118px;
    max-height: 42px;
  }

  .ee-header__actions .ee-button {
    display: none;
  }

  .ee-icon-link {
    min-width: 0;
    padding: 0 10px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .ee-mobile-panel {
    width: min(88vw, 330px);
  }

  .ee-mobile-panel__head {
    padding: 20px;
  }

  .ee-mobile-panel nav {
    padding: 16px 20px 28px;
  }
}

/* Nominal-inspired details for catalogue pages, keeping the v3 header, fonts, and page structure intact. */
.ee-shop-quicklinks {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -10px 0 34px;
}

.ee-shop-quicklinks a {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--ee-border);
  color: var(--ee-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.ee-shop-quicklinks a:hover {
  border-color: rgba(201, 168, 76, 0.45);
  background: var(--ee-white);
}

.ee-product-kicker {
  margin: 12px 0 4px;
  color: var(--ee-champagne);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.25;
  text-transform: uppercase;
}

.woocommerce ul.products li.product {
  position: relative;
}

.woocommerce ul.products li.product .onsale {
  border-radius: 0;
  min-height: 0;
  min-width: 0;
  padding: 7px 9px;
  line-height: 1;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .ee-shop-quicklinks {
    display: flex;
    gap: 1px;
    margin: -6px -16px 28px 0;
    overflow-x: auto;
    padding-left: 0;
    scrollbar-width: none;
  }

  .ee-shop-quicklinks::-webkit-scrollbar {
    display: none;
  }

  .ee-shop-quicklinks a {
    flex: 0 0 42%;
    min-height: 50px;
    white-space: nowrap;
  }

  .ee-product-kicker {
    min-height: 1.6em;
    font-size: 0.56rem;
    letter-spacing: 0.16em;
  }

  .woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1.16;
    object-fit: cover;
  }
}

/* Keep catalogue add-to-cart controls optically centered and single-line. */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.woocommerce ul.products li.product .button::before,
.woocommerce ul.products li.product a.added_to_cart::before {
  flex: 0 0 auto;
  margin: 0;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.added_to_cart {
    min-height: 44px;
    padding: 0 8px;
    font-size: 0.52rem;
    gap: 6px;
    letter-spacing: 0.08em;
  }
}

/* Mobile polish: denser, calmer storefront UI without changing desktop structure. */
@media (max-width: 680px) {
  body {
    line-height: 1.45;
  }

  .ee-container {
    padding-inline: 14px;
  }

  .ee-topbar {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    min-height: 32px;
    padding: 8px 14px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .ee-topbar::-webkit-scrollbar {
    display: none;
  }

  .ee-header__inner {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 62px;
    overflow: visible;
  }

  .ee-header__left {
    display: contents;
  }

  .ee-menu-toggle,
  .ee-icon-link {
    min-width: 42px;
    min-height: 42px;
  }

  .ee-brand {
    grid-column: 2;
    justify-self: center;
    max-width: min(48vw, 180px);
  }

  .ee-brand__text .ee-brand__name:only-child,
  .ee-brand__name {
    display: block;
    max-width: min(48vw, 180px);
    overflow: hidden;
    font-size: 1.12rem;
    letter-spacing: 0.18em;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ee-header__actions {
    grid-column: 3;
    gap: 8px;
    justify-self: end;
  }

  .ee-menu-toggle {
    grid-column: 1;
    justify-self: start;
    border-color: transparent;
  }

  .ee-mobile-panel {
    width: min(90vw, 360px);
  }

  .ee-mobile-panel__head {
    padding: 22px 20px;
  }

  .ee-mobile-panel a {
    padding: 16px 0;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .ee-hero {
    min-height: 430px;
  }

  .ee-hero__content {
    min-height: 430px;
    align-items: flex-end;
    padding: 72px 0 30px;
  }

  .ee-hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.02;
  }

  .ee-hero p:not(.ee-kicker) {
    max-width: 34ch;
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .ee-hero__actions {
    margin-top: 18px;
    width: 100%;
    padding-inline: 16px;
  }

  .ee-button,
  .ee-hero__actions .ee-button {
    min-height: 48px;
    padding-inline: 18px;
  }

  .ee-section {
    padding: 38px 0;
  }

  .ee-section__header {
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 0;
  }

  .ee-section__header > a {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .ee-section-title,
  .ee-page-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.05;
  }

  .ee-kicker {
    margin-bottom: 8px;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .ee-ribbon__item {
    padding: 18px 16px;
  }

  .ee-ribbon h3 {
    margin-bottom: 7px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .ee-ribbon p {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .ee-shop-quicklinks {
    margin: -4px -14px 26px 0;
    padding-left: 0;
    scroll-padding-left: 14px;
  }

  .ee-shop-quicklinks a {
    flex-basis: 46%;
    min-height: 52px;
    padding-inline: 14px;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .woocommerce-result-count,
  .woocommerce-ordering {
    float: none;
    width: 100%;
    margin: 0 0 14px;
  }

  .woocommerce-ordering select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--ee-border);
    background: var(--ee-white);
    padding: 0 12px;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100%;
    max-width: none;
  }

  .woocommerce ul.products li.product a img {
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(26, 26, 26, 0.04);
    margin-bottom: 10px;
  }

  .ee-product-kicker {
    margin-bottom: 5px;
    min-height: 1.5em;
    color: rgba(26, 26, 26, 0.56);
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.2em;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .woocommerce ul.products li.product .price {
    margin-top: 8px;
    font-size: 0.88rem;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.added_to_cart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 11px;
    border-color: rgba(26, 26, 26, 0.34);
    padding: 0 14px;
    font-size: 0.62rem;
    gap: 8px;
    letter-spacing: 0.14em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .single-product div.product {
    gap: 26px;
  }

  .single-product div.product .summary {
    padding-top: 0;
  }

  .woocommerce div.product p.price,
  .woocommerce div.product span.price {
    font-size: 1.35rem;
  }

  .woocommerce div.product form.cart {
    grid-template-columns: 88px 1fr;
  }

  .ee-footer {
    padding-top: 42px;
  }

  .ee-footer__grid {
    gap: 28px;
  }

  .ee-footer h3 {
    font-size: 1.65rem;
  }
}

@media (max-width: 380px) {
  .ee-brand__text .ee-brand__name:only-child,
  .ee-brand__name {
    max-width: 120px;
    font-size: 0.96rem;
    letter-spacing: 0.12em;
  }

  .ee-icon-link {
    padding-inline: 6px;
    font-size: 0.72rem;
  }

  .ee-shop-quicklinks a {
    flex-basis: 54%;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.added_to_cart {
    font-size: 0.56rem;
    gap: 6px;
  }
}

@media (max-width: 680px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.added_to_cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }
}

/* Tablet and medium-screen cleanup. */
@media (min-width: 681px) and (max-width: 960px) {
  .ee-container {
    padding-inline: 22px;
  }

  .ee-header__inner {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 68px;
    overflow: visible;
  }

  .ee-header__left {
    display: contents;
  }

  .ee-menu-toggle {
    grid-column: 1;
    justify-self: start;
  }

  .ee-brand {
    grid-column: 2;
    justify-self: center;
    max-width: 260px;
  }

  .ee-brand__text .ee-brand__name:only-child,
  .ee-brand__name {
    display: block;
    max-width: 260px;
    overflow: hidden;
    letter-spacing: 0.18em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ee-header__actions {
    grid-column: 3;
    justify-self: end;
  }

  .ee-products-layout {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .ee-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 18px;
  }

  .woocommerce ul.products li.product a img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.added_to_cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    gap: 8px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .woocommerce ul.products li.product .button::before,
  .woocommerce ul.products li.product a.added_to_cart::before {
    margin: 0;
  }

  .ee-section__header {
    align-items: flex-start;
    gap: 16px;
  }

  .ee-shop-quicklinks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 30px;
  }

  .single-product div.product {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 960px) {
  .ee-cart-preview__trigger {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .ee-cart-preview__panel {
    right: 0;
    width: min(320px, calc(100vw - 28px));
  }
}

@media (max-width: 680px) {
  .ee-cart-preview__trigger {
    min-width: 42px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  .ee-cart-preview__panel {
    right: -14px;
  }
}

@media (max-width: 380px) {
  .ee-cart-preview__trigger {
    font-size: 0.6rem;
  }
}
