/*
Theme Name: Daily Essentials A
Theme URI: https://dailyessentials.club/
Author: Daily Essentials
Description: A-site presentation theme for the Daily Essentials storefront.
Version: 0.3.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: dailyessentials-a
*/

@font-face {
  font-family: Arvo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/arvo-regular.woff2") format("woff2");
}

:root {
  --de-font: Arvo, Georgia, serif;
  --de-body-size: 14px;
  --de-line-height: 1.5;
  --de-content-width: 1200px;
  --de-page-padding: 50px;
  --de-mobile-padding: 20px;
  --de-bg: #fff;
  --de-text: #545454;
  --de-text-high: #1d1f21;
  --de-text-low: #888;
  --de-title: #1d1f21;
  --de-header: #fff;
  --de-soft: #f3f4f8;
  --de-divider: #ddd;
  --de-primary: #1d1f21;
  --de-sale: #d21936;
  --de-announcement: #eaeaea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--de-bg); color: var(--de-text); font-family: var(--de-font); font-size: var(--de-body-size); line-height: var(--de-line-height); }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.de-container { width: min(calc(100% - (var(--de-page-padding) * 2)), var(--de-content-width)); margin-inline: auto; }
.de-section { padding-block: 78px; }
.de-eyebrow { color: var(--de-text-low); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.de-title { margin: 0; color: var(--de-title); font-size: 30px; font-weight: 400; line-height: 1.25; }
.de-section-subtitle { margin: 8px 0 0; color: var(--de-text-low); }
.de-text-link { border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.de-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid var(--de-primary); border-radius: 2px; background: var(--de-primary); color: #fff; cursor: pointer; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; transition: opacity .2s ease, background .2s ease, color .2s ease; }
.de-button:hover { opacity: .78; }
.de-button--secondary { background: #fff; color: var(--de-primary); }
.de-button--wide { width: 100%; }
.de-empty-state { padding: 40px 0; color: var(--de-text-low); }

.de-announcement { min-height: 40px; padding: 10px 16px; background: var(--de-announcement); color: var(--de-text-high); text-align: center; font-size: 12px; }
.de-header { position: relative; z-index: 20; background: var(--de-header); }
.de-header__inner { display: grid; min-height: 76px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.de-brand { color: var(--de-title); font-size: 19px; line-height: 1; white-space: nowrap; }
.de-nav { justify-self: center; }
.de-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.de-nav a { color: var(--de-text-high); font-size: 12px; white-space: nowrap; }
.de-nav a:hover, .de-footer a:hover { color: var(--de-sale); }
.de-header__tools { display: flex; min-width: 0; align-items: center; justify-self: end; gap: 14px; white-space: nowrap; }
.de-header__tool { position: relative; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: var(--de-title); cursor: pointer; }
.de-header__tool svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.de-header__tool:hover { color: var(--de-sale); }
.de-currency { color: var(--de-text-low); font-size: 11px; }
.de-menu-toggle { display: none; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.de-menu-toggle span { display: block; width: 20px; height: 1px; margin: 5px 0; background: var(--de-title); }

.de-search-panel { display: none; border-top: 1px solid var(--de-divider); background: #fff; }
.de-search-panel.is-open { display: block; }
.de-search-panel__inner { display: flex; align-items: center; gap: 16px; padding-block: 18px; }
.de-search-panel label { color: var(--de-title); font-size: 12px; }
.de-search-input { min-width: 0; flex: 1; padding: 10px 0; border: 0; border-bottom: 1px solid var(--de-title); outline: 0; background: transparent; color: var(--de-title); }
.de-search-close, .de-mobile-menu__close { width: 30px; height: 30px; padding: 0; border: 0; background: transparent; color: var(--de-title); cursor: pointer; font-size: 25px; line-height: 1; }
.de-search-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-bottom: 18px; }
.de-search-result { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--de-divider); color: var(--de-title); font-size: 11px; }
.de-search-result span:last-child { color: var(--de-sale); white-space: nowrap; }
.de-search-empty { grid-column: 1 / -1; margin: 0; color: var(--de-text-low); }

.de-mobile-menu { display: none; }
.de-overlay { position: fixed; inset: 0; z-index: 29; display: none; background: rgba(29, 31, 33, .18); }
.de-overlay.is-visible { display: block; }

.de-hero { position: relative; min-height: 560px; overflow: hidden; background: #fff; }
.de-hero__slides, .de-hero__slide { position: absolute; inset: 0; }
.de-hero__slide { visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility .45s ease; }
.de-hero__slide.is-active { visibility: visible; opacity: 1; }
.de-hero__slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.de-hero__caption { position: absolute; right: 0; bottom: 58px; left: 0; color: var(--de-title); text-align: center; font-size: 15px; }
.de-hero__arrow { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--de-title); transform: translateY(-50%); cursor: pointer; font-size: 28px; line-height: 1; }
.de-hero__arrow--prev { left: 24px; }
.de-hero__arrow--next { right: 24px; }
.de-hero__dots { position: absolute; bottom: 20px; left: 50%; z-index: 2; display: flex; gap: 9px; transform: translateX(-50%); }
.de-hero__dots button { width: 6px; height: 6px; padding: 0; border: 1px solid var(--de-title); border-radius: 50%; background: #fff; cursor: pointer; }
.de-hero__dots button[aria-selected="true"] { background: var(--de-title); }

.de-promo-banner { position: relative; width: 100%; overflow: hidden; background: #fff; }
.de-promo-banner img { width: 100%; height: auto; object-fit: cover; }
.de-promo-banner__caption { position: absolute; top: 50%; right: 0; left: 0; color: var(--de-title); text-align: center; transform: translateY(-50%); }

.de-visual-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 68px; padding-bottom: 58px; }
.de-visual-band__item { min-width: 0; overflow: hidden; background: var(--de-soft); }
.de-visual-band__item img { width: 100%; height: 100%; aspect-ratio: 1 / .9; object-fit: contain; }
.de-graphic-block { display: grid; grid-template-columns: 2fr 1fr; align-items: stretch; gap: 0; margin-top: 52px; }
.de-graphic-block--reverse { grid-template-columns: 1fr 2fr; }
.de-graphic-block--reverse .de-graphic-block__image { order: 2; }
.de-graphic-block__image { min-width: 0; overflow: hidden; }
.de-graphic-block__image img { width: 100%; height: 100%; object-fit: cover; }
.de-graphic-block__content { display: flex; min-height: 240px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px; }
.de-graphic-block__content h2 { margin: 0 0 48px; color: var(--de-title); font-size: 24px; font-weight: 400; }
.de-graphic-block__content .de-button { min-width: 104px; min-height: 48px; font-size: 16px; }
.de-feature-row { display: grid; min-height: 340px; grid-template-columns: .8fr 2fr; align-items: center; gap: 42px; }
.de-feature-row--reverse { grid-template-columns: 2fr .8fr; }
.de-feature-row__copy { align-self: center; }
.de-feature-row__copy h2 { margin: 0 0 22px; color: var(--de-title); font-size: 18px; font-weight: 400; }
.de-feature-row--reverse .de-feature-row__copy { order: 2; }
.de-feature-row__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.de-feature-row__products .de-card__body { padding-top: 9px; }
.de-feature-row__products .de-card__title { font-size: 11px; }
.de-feature-row__products .de-price { font-size: 11px; }

.de-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.de-grid { display: grid; gap: 24px; }
.de-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.de-card { min-width: 0; }
.de-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--de-soft); }
.de-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.de-card a:hover .de-card__media img { transform: scale(1.02); }
.de-sale-badge, .de-quick-view { position: absolute; top: 10px; z-index: 1; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.de-sale-badge { right: 10px; width: 50px; height: 50px; padding: 4px; background: #c51f3b; text-align: center; font-size: 12px; line-height: 1.05; }
.de-quick-view { left: 10px; width: 35px; height: 35px; border: 0; background: #202124; }
.de-quick-view svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.de-card__body { padding-top: 12px; }
.de-card__title { margin: 0 0 5px; color: var(--de-title); font-size: 13px; font-weight: 400; line-height: 1.4; }
.de-price { color: var(--de-sale); font-size: 13px; }
.de-price del { margin-left: 8px; color: #999; }
.de-save-label { display: inline-block; margin-top: 5px; padding: 2px 7px; border-radius: 2px; background: #c51f3b; color: #fff; font-size: 11px; line-height: 1.5; }
.de-product-showcase { padding-top: 72px; }

.de-editorial { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; padding-block: 80px; }
.de-editorial img { width: 100%; height: 100%; object-fit: contain; background: var(--de-soft); }
.de-editorial__large, .de-editorial__stack { min-height: 420px; }
.de-editorial__stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.de-newsletter { border-block: 1px solid var(--de-divider); text-align: center; }
.de-newsletter .de-title { margin-top: 10px; }
.de-newsletter form { position: relative; display: flex; max-width: 520px; margin: 24px auto 0; }
.de-newsletter input { min-width: 0; flex: 1; padding: 11px 12px; border: 1px solid var(--de-divider); background: #fff; outline: 0; }
.de-newsletter .de-button { min-width: 118px; }
.de-form-status { position: absolute; top: calc(100% + 10px); right: 0; left: 0; margin: 0; color: var(--de-text-low); font-size: 12px; }

.de-footer { background: #f6f6f6; }
.de-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.de-footer h2, .de-footer h3 { margin: 0 0 14px; color: var(--de-title); font-size: 14px; font-weight: 400; }
.de-footer p { margin: 0; color: var(--de-text-low); }
.de-footer ul { margin: 0; padding: 0; list-style: none; }
.de-footer li { margin: 0 0 8px; }
.de-footer a, .de-footer .de-text-link { color: var(--de-text-low); font-size: 12px; }
.de-footer__bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--de-divider); color: var(--de-text-low); font-size: 11px; }

.de-page-header { padding: 66px 0 28px; text-align: center; }
.de-page-header .de-title { margin-top: 8px; }
.de-product-count { margin: 44px 0 0; color: var(--de-text); }
.de-collection-crumb { padding: 17px 0; background: #f6f6f6; color: #999; font-size: 13px; }
.de-collection-controls { max-width: 1040px; margin: 0 auto; }
.de-collection-controls > button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px; border: 0; border-bottom: 1px solid var(--de-divider); background: transparent; color: var(--de-title); text-align: left; cursor: pointer; }
.de-collection-controls > button span { font-size: 24px; font-weight: 300; line-height: 1; }
.de-collection-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; padding: 14px 0 30px; }
.de-collection-actions .de-button { min-height: 49px; font-size: 14px; }
.de-collection-grid { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.de-collection-card { min-width: 0; }
.de-collection-card__media { aspect-ratio: 1 / .72; overflow: hidden; background: var(--de-soft); }
.de-collection-card__media img { width: 100%; height: 100%; object-fit: contain; }
.de-collection-card__title { margin: 12px 0 0; color: var(--de-title); text-align: center; font-size: 16px; font-weight: 400; }
.de-collection-products { margin-top: 70px; }
.de-pagination { display: flex; justify-content: center; padding-top: 54px; }

.de-product-section { padding-top: 42px; }
.de-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--de-text-low); font-size: 11px; }
.de-breadcrumb a:hover { color: var(--de-sale); }
.de-product-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 62px; align-items: start; }
.de-product-gallery__main { aspect-ratio: 1 / 1; overflow: hidden; background: var(--de-soft); }
.de-product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.de-product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 66px); gap: 9px; margin-top: 12px; }
.de-product-gallery__thumb { width: 66px; height: 66px; padding: 0; border: 1px solid var(--de-divider); background: var(--de-soft); cursor: pointer; }
.de-product-gallery__thumb.is-selected { border-color: var(--de-primary); }
.de-product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.de-product-summary { padding-top: 14px; }
.de-product-summary h1 { margin: 8px 0 15px; color: var(--de-title); font-size: 30px; font-weight: 400; line-height: 1.25; }
.de-product-summary__price { margin-bottom: 18px; color: var(--de-sale); font-size: 20px; }
.de-product-summary__price del { margin-left: 9px; color: #999; font-size: 13px; }
.de-product-summary__price .de-save-label { margin-left: 8px; vertical-align: 2px; }
.de-product-summary__copy { margin: 0 0 28px; color: var(--de-text-low); }
.de-product-summary label { display: block; margin-bottom: 9px; color: var(--de-title); font-size: 12px; }
.de-variation-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.de-variation-options button { min-width: 45px; padding: 9px 11px; border: 1px solid var(--de-divider); border-radius: 0; background: #fff; cursor: pointer; font-size: 12px; }
.de-variation-options button:hover, .de-variation-options button.is-selected { border-color: var(--de-primary); background: var(--de-primary); color: #fff; }
.de-variation-options button:disabled { color: #aaa; cursor: not-allowed; text-decoration: line-through; }
.de-stock-note { min-height: 20px; margin: -8px 0 16px; color: var(--de-text-low); font-size: 12px; }
.de-quantity { display: inline-flex; margin-bottom: 20px; border: 1px solid var(--de-divider); }
.de-quantity button, .de-quantity input { width: 38px; height: 38px; padding: 0; border: 0; background: #fff; text-align: center; }
.de-quantity button { cursor: pointer; }
.de-quantity input { border-inline: 1px solid var(--de-divider); outline: 0; }
.de-purchase-actions { display: grid; gap: 9px; }
.de-tabs { margin-top: 70px; border-top: 1px solid var(--de-divider); }
.de-tabs__nav { display: flex; gap: 24px; border-bottom: 1px solid var(--de-divider); }
.de-tabs__nav button { padding: 17px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; cursor: pointer; color: var(--de-text-low); font-size: 12px; }
.de-tabs__nav button.is-active { border-bottom-color: var(--de-title); color: var(--de-title); }
.de-tabs__panel { padding: 24px 0; color: var(--de-text-low); }

@media (max-width: 900px) {
  .de-container { width: min(calc(100% - 40px), var(--de-content-width)); }
  .de-nav { display: none; }
  .de-menu-toggle { display: block; }
  .de-header__inner { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 16px; }
  .de-brand { justify-self: center; }
  .de-header__tools { width: auto; min-width: 24px; gap: 0; overflow: visible; }
  .de-header__tools .de-search-trigger, .de-header__tools .de-account-trigger, .de-header__tools .de-currency { display: none; }
  .de-header__tools .de-cart-trigger { display: inline-flex; flex: 0 0 24px; visibility: visible; }
  .de-product-layout { grid-template-columns: 1fr; gap: 32px; }
  .de-product-summary { padding-top: 0; }
  .de-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .de-mobile-menu { position: fixed; inset: 0 auto 0 0; z-index: 31; display: block; width: min(320px, 86vw); background: #fff; box-shadow: 8px 0 24px rgba(29, 31, 33, .08); transform: translateX(-100%); transition: transform .25s ease; }
  .de-mobile-menu.is-open { transform: translateX(0); }
  .de-mobile-menu__inner { display: flex; flex-direction: column; gap: 20px; padding: 24px 20px; }
  .de-mobile-menu__close { align-self: flex-end; }
  .de-mobile-menu__inner a { padding-bottom: 14px; border-bottom: 1px solid var(--de-divider); color: var(--de-title); font-size: 13px; }
}

@media (max-width: 640px) {
  .de-container { width: calc(100% - (var(--de-mobile-padding) * 2)); }
  .de-section { padding-block: 56px; }
  .de-announcement { min-height: 40px; padding: 10px 12px; font-size: 11px; }
  .de-header__inner { width: calc(100% - 30px); min-height: 78px; }
  .de-brand { font-size: 32px; line-height: 48px; letter-spacing: 0; }
  .de-menu-toggle { width: 26px; height: 26px; }
  .de-header__tool { width: 26px; height: 26px; }
  .de-header__tool svg { width: 26px; height: 26px; }
  .de-hero { min-height: 250px; height: 250px; }
  .de-hero__caption { bottom: 50px; font-size: 13px; }
  .de-hero__arrow { display: none; }
  .de-hero__dots { bottom: 16px; }
  .de-promo-banner { margin-top: 51px; margin-bottom: 52px; }
  .de-promo-banner img { aspect-ratio: 375 / 250; object-fit: cover; }
  .de-promo-banner__caption { font-size: 14px; }
  .de-visual-band { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 36px; padding-bottom: 34px; }
  .de-graphic-block, .de-graphic-block--reverse { display: flex; width: calc(100% - 30px); margin-top: 0; flex-direction: column; }
  .de-graphic-block--reverse { margin-top: 52px; }
  .de-graphic-block--reverse .de-graphic-block__image { order: initial; }
  .de-graphic-block__image { width: 100%; height: 345px; }
  .de-graphic-block__image--wide { height: 230px; }
  .de-graphic-block__content { min-height: 164px; padding: 15px; }
  .de-graphic-block__content h2 { margin-bottom: 50px; font-size: 24px; line-height: 1.5; }
  .de-graphic-block__content .de-button { min-width: 104px; min-height: 48px; padding-inline: 18px; font-size: 16px; }
  .de-feature-row, .de-feature-row--reverse { display: block; min-height: 0; }
  .de-feature-row__copy, .de-feature-row--reverse .de-feature-row__copy { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
  .de-feature-row__copy h2 { margin: 0; font-size: 16px; }
  .de-feature-row--reverse .de-feature-row__copy { order: initial; }
  .de-feature-row__products { gap: 8px; }
  .de-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .de-title { font-size: 25px; }
  .de-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 11px; }
  .de-card__body { padding-top: 9px; }
  .de-card__title, .de-price { font-size: 11px; }
  .de-sale-badge { top: 7px; right: 7px; width: 46px; height: 46px; font-size: 11px; }
  .de-quick-view { top: 7px; left: 7px; width: 35px; height: 35px; }
  .de-save-label { font-size: 10px; }
  .de-editorial { grid-template-columns: 1fr; gap: 8px; padding-block: 56px; }
  .de-editorial__large, .de-editorial__stack { min-height: 0; }
  .de-editorial__stack { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; }
  .de-newsletter form { display: grid; gap: 9px; }
  .de-newsletter .de-button { width: 100%; }
  .de-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .de-footer__bottom { margin-top: 28px; line-height: 1.7; }
  .de-collection-crumb { padding: 17px 0; }
  .de-page-header { padding: 53px 0 2px; }
  .de-page-header .de-title { font-size: 24px; line-height: 36px; }
  .de-product-count { margin-top: 43px; }
  .de-collections-section { padding-top: 0; }
  .de-collections-section > .de-container { width: calc(100% - 30px); }
  .de-collection-controls > button { padding: 9px; font-size: 14px; }
  .de-collection-actions { grid-template-columns: 107px minmax(0, 1fr); gap: 14px; padding: 14px 0 18px; }
  .de-collection-actions .de-button { padding-inline: 8px; }
  .de-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .de-collection-card, .de-collection-card__media { min-width: 0; max-width: 100%; }
  .de-collection-card__title { font-size: 13px; }
  .de-collection-products { margin-top: 0; column-gap: 15px; }
  .de-product-section { padding-top: 0; }
  .de-product-section > .de-container { width: 100%; }
  .de-breadcrumb { display: none; }
  .de-product-gallery__main { aspect-ratio: 375 / 390; }
  .de-product-gallery__thumbs { display: none; }
  .de-product-summary { padding: 0 15px; }
  .de-product-summary h1 { font-size: 25px; }
  .de-product-summary__price { font-size: 18px; }
  .de-tabs { margin-top: 46px; }
  .de-search-panel__inner { gap: 10px; }
  .de-search-panel label { display: none; }
  .de-search-results { grid-template-columns: 1fr; }
  .de-search-close { flex: 0 0 30px; }
}
