/*
Theme Name: Entre Dos Carnes
Theme URI: http://localhost:8080
Author: Entre Dos Carnes
Description: Block theme for the Entre Dos Carnes WooCommerce site.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: entredoscarnes
*/

:root {
  --edc-red: #b80f17;
  --edc-red-dark: #970b12;
  --edc-gold: #c7a052;
  --edc-ink: #171414;
  --edc-muted: #625b57;
  --edc-line: #e8e3df;
  --edc-paper: #ffffff;
  --edc-soft: #f7f5f2;
  --edc-shadow: 0 16px 36px rgba(55, 40, 35, 0.075);
  --edc-wrap-gutter: 16px;
  --edc-wrap-max: 1180px;
  --edc-section-y: 42px;
  --edc-section-heading-gap: 22px;
  --edc-hero-pad-top: 40px;
  --edc-hero-pad-bottom: 26px;
  --edc-hero-gap: 26px;
  --edc-hero-min-height: auto;
  --edc-hero-copy-gap: 18px;
  --edc-hero-cta-gap: 22px;
  --edc-hero-feature-bottom: 28px;
  --edc-display-size: 2.25rem;
  --edc-heading-size: 1.625rem;
  --edc-body-size: 1rem;
  --edc-small-size: 0.875rem;
  --edc-brand-size: 1.625rem;
  --edc-hero-copy-size: 1rem;
  --edc-about-body-size: 1rem;
  --edc-archive-title-size: 2.125rem;
  --edc-card-radius: 8px;
  --edc-control-radius: 6px;
  --edc-grid-gap: 14px;
  --edc-card-pad: 16px;
  --edc-touch: 44px;
  --edc-hero-media-max: 520px;
  --edc-category-img-w: 88px;
  --edc-category-img-h: 70px;
  --edc-category-pad-y: 24px;
  --edc-product-img-h: 132px;
  --edc-product-min-h: 0;
  --edc-product-control-h: 44px;
  --edc-info-pad: 22px;
  --edc-info-margin-top: 32px;
  --edc-about-gap: 30px;
  --edc-about-copy-gap: 16px;
  --edc-trust-pad-y: 26px;
  --edc-trust-gap: 18px;
  --edc-trust-pad: 22px;
  --edc-footer-pad-top: 34px;
  --edc-footer-gap: 28px;
  --edc-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m9.6 16.2-4-4L4.2 13.6l5.4 5.4L20.2 8.4 18.8 7 9.6 16.2Z'/%3E%3C/svg%3E");
  --edc-feature-selected: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23211f1e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13.4 3.2 3.2L19 6.8'/%3E%3Cpath d='M4.8 11.8 8 8.6l2.8 2.8'/%3E%3C/g%3E%3Cpath fill='%23c7a052' d='m4.6 16.3 2.2 2.2-1.4 1.4-2.2-2.2z'/%3E%3C/svg%3E");
  --edc-feature-premium: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23211f1e' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19s-7-4.1-7-9.1A3.8 3.8 0 0 1 12 7a3.8 3.8 0 0 1 7 2.9C19 14.9 12 19 12 19Z'/%3E%3Cpath d='M9.4 9.5c.9-.8 1.8-.8 2.6 0 .8-.8 1.7-.8 2.6 0'/%3E%3C/g%3E%3Ccircle cx='17.8' cy='15.8' r='2' fill='%23c7a052'/%3E%3C/svg%3E");
  --edc-feature-fresh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23211f1e' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7.2'/%3E%3Cpath d='m8.8 12.2 2.2 2.2 4.4-5'/%3E%3C/g%3E%3Cpath fill='%23c7a052' d='M15.9 5.1c1.2.4 2.1 1.3 2.7 2.4l-1.8.9c-.4-.8-.9-1.3-1.7-1.6z'/%3E%3C/svg%3E");
  --edc-icon-percent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m18.7 4.3 1 1-14.4 14.4-1-1L18.7 4.3ZM7.5 4a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm9 9a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm-9-7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm9 9a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E");
  --edc-icon-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h12v3h3.6L22 12.2V18h-2.2a3 3 0 0 1-5.6 0H9.8a3 3 0 0 1-5.6 0H2V7a2 2 0 0 1 1-2Zm1 2v9h.2a3 3 0 0 1 5.6 0H13V7H4Zm11 3v6h.2a3 3 0 0 1 5.6 0H20v-3.1L17.6 10H15ZM7 17a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm10 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z'/%3E%3C/svg%3E");
  --edc-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18v14H3V5Zm2 3.1V17h14V8.1l-7 5.2-7-5.2ZM6.5 7l5.5 4.1L17.5 7h-11Z'/%3E%3C/svg%3E");
  --edc-icon-wallet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h15a2 2 0 0 1 2 2v3h-2V7H4v10h15v-3h2v3a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm10 5h8v4h-8v-4Zm2 1.5v1h2v-1h-2Z'/%3E%3C/svg%3E");
  --edc-icon-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18v14H3V5Zm2 4h14V7H5v2Zm0 2v6h14v-6H5Zm2 3h5v2H7v-2Z'/%3E%3C/svg%3E");
  --edc-icon-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10h-2a8 8 0 1 1-8-8V2Zm1 15h-2v-2h2v2Zm-1-11a3.5 3.5 0 0 1 2 6.4c-.7.5-1 1-1 1.6h-2c0-1.4.7-2.3 1.7-3a1.5 1.5 0 1 0-2.2-1.3h-2A3.5 3.5 0 0 1 12 6Z'/%3E%3C/svg%3E");
}

@media (min-width: 641px) {
  :root {
    --edc-wrap-gutter: 32px;
    --edc-wrap-max: 1180px;
    --edc-section-y: 50px;
    --edc-section-heading-gap: 28px;
    --edc-hero-pad-top: 48px;
    --edc-hero-pad-bottom: 34px;
    --edc-hero-gap: 34px;
    --edc-hero-copy-gap: 18px;
    --edc-hero-cta-gap: 24px;
    --edc-hero-feature-bottom: 32px;
    --edc-display-size: 2.4rem;
    --edc-heading-size: 1.75rem;
    --edc-archive-title-size: 2.75rem;
    --edc-grid-gap: 18px;
    --edc-card-pad: 18px;
    --edc-hero-media-max: 620px;
    --edc-category-img-w: 92px;
    --edc-category-img-h: 72px;
    --edc-category-pad-y: 28px;
    --edc-product-img-h: 138px;
    --edc-product-min-h: 286px;
    --edc-product-control-h: 36px;
    --edc-info-pad: 24px;
    --edc-info-margin-top: 36px;
    --edc-about-gap: 38px;
    --edc-about-copy-gap: 18px;
    --edc-trust-pad-y: 28px;
    --edc-trust-gap: 20px;
    --edc-trust-pad: 24px;
    --edc-footer-pad-top: 36px;
    --edc-footer-gap: 36px;
  }
}

@media (min-width: 981px) {
  :root {
    --edc-wrap-gutter: 48px;
    --edc-wrap-max: 1280px;
    --edc-section-y: 48px;
    --edc-section-heading-gap: 30px;
    --edc-hero-pad-top: 34px;
    --edc-hero-pad-bottom: 24px;
    --edc-hero-gap: 32px;
    --edc-hero-min-height: 360px;
    --edc-hero-copy-gap: 20px;
    --edc-hero-cta-gap: 28px;
    --edc-hero-feature-bottom: 34px;
    --edc-display-size: 2.75rem;
    --edc-heading-size: 1.875rem;
    --edc-about-body-size: 1.0625rem;
    --edc-archive-title-size: 3.25rem;
    --edc-grid-gap: 16px;
    --edc-product-min-h: 286px;
    --edc-product-control-h: 34px;
    --edc-info-pad: 18px;
    --edc-category-pad-y: 31px;
    --edc-info-margin-top: 42px;
    --edc-about-gap: 50px;
    --edc-about-copy-gap: 20px;
    --edc-trust-pad-y: 30px;
    --edc-trust-gap: 24px;
    --edc-trust-pad: 28px;
    --edc-footer-pad-top: 38px;
    --edc-footer-gap: 56px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--edc-paper);
  color: var(--edc-ink);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

button,
input {
  font: inherit;
}

.wp-site-blocks {
  overflow-x: clip;
}

.wp-site-blocks > *,
.wp-block-template-part {
  margin-block-start: 0 !important;
}

.edc-front-main,
.edc-front-main > .wp-block-post-content,
.edc-front-main > .wp-block-post-content > * {
  margin-block-start: 0 !important;
}

.wp-block-post-content > .alignfull,
.edc-editor-preview.alignfull,
.is-root-container > .wp-block-entredoscarnes-home.alignfull {
  width: 100%;
  max-width: none;
}

.editor-styles-wrapper .edc-editor-preview {
  max-width: none;
}

.edc-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--edc-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.edc-skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.edc-wrap {
  width: min(calc(100% - (var(--edc-wrap-gutter) * 2)), var(--edc-wrap-max));
  margin-inline: auto;
}

.edc-hero__inner > *,
.edc-hero__features > *,
.edc-category-list > *,
.edc-products-grid > *,
.edc-info-strip > *,
.edc-about > *,
.edc-trust__inner > *,
.edc-footer__grid > * {
  margin-block-start: 0 !important;
}

.edc-topbar {
  background: var(--edc-red);
  color: #ffffff;
  font-size: var(--edc-small-size);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.edc-topbar__inner {
  display: flex;
  justify-content: center;
  gap: 42px;
  min-height: 40px;
  align-items: center;
}

.edc-topbar__item {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}

.edc-topbar__divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.38);
}

.edc-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--edc-line);
}

.edc-header__inner {
  display: grid;
  grid-template-columns: minmax(170px, 240px) 1fr minmax(260px, 360px);
  gap: 28px;
  min-height: 90px;
  align-items: center;
}

.edc-mobile-panel {
  display: contents;
}

.edc-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.edc-brand__mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.edc-brand__text {
  display: grid;
  color: var(--edc-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--edc-brand-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.edc-menu-toggle {
  display: none;
  width: var(--edc-touch);
  height: var(--edc-touch);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--edc-line);
  border-radius: var(--edc-control-radius);
  background: #ffffff;
  color: var(--edc-ink);
  cursor: pointer;
}

.edc-menu-toggle__line {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.edc-menu-toggle__line:nth-child(2) {
  transform: translateY(-6px);
}

.edc-menu-toggle__line:nth-child(4) {
  transform: translateY(6px);
}

.edc-menu-toggle[aria-expanded="true"] .edc-menu-toggle__line:nth-child(2) {
  transform: rotate(45deg);
}

.edc-menu-toggle[aria-expanded="true"] .edc-menu-toggle__line:nth-child(3) {
  opacity: 0;
}

.edc-menu-toggle[aria-expanded="true"] .edc-menu-toggle__line:nth-child(4) {
  transform: rotate(-45deg);
}

.edc-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
}

.edc-nav a {
  position: relative;
  min-width: var(--edc-touch);
  padding: 12px 0;
  text-decoration: none;
}

.edc-nav a[aria-current="page"],
.edc-nav a:hover {
  color: var(--edc-red);
}

.edc-nav a[aria-current="page"]::after,
.edc-nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--edc-red);
  content: "";
}

.edc-header__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.edc-search {
  position: relative;
  flex: 1;
}

.edc-search input[type="search"] {
  width: 100%;
  min-height: var(--edc-touch);
  border: 1px solid #d9d7d4;
  border-radius: var(--edc-control-radius);
  padding: 0 52px 0 16px;
  color: var(--edc-ink);
  background: #fafafa;
}

.edc-search button {
  position: absolute;
  top: 50%;
  right: 1px;
  width: var(--edc-touch);
  height: var(--edc-touch);
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--edc-ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.edc-cart-link {
  position: relative;
  display: inline-flex;
  width: var(--edc-touch);
  height: var(--edc-touch);
  align-items: center;
  justify-content: center;
  color: var(--edc-ink);
  text-decoration: none;
}

.edc-cart-link__count {
  position: absolute;
  top: -3px;
  right: -4px;
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  background: var(--edc-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.edc-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 45%, rgba(184, 15, 23, 0.06), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.86)),
    var(--edc-soft);
}

.edc-section + .edc-section {
  padding-top: 12px;
}

.edc-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.42)),
    repeating-linear-gradient(135deg, rgba(80, 80, 80, 0.035) 0 1px, transparent 1px 34px);
  content: "";
}

.edc-hero::after {
  content: none;
}

.edc-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1.12fr);
  gap: var(--edc-hero-gap);
  min-height: var(--edc-hero-min-height);
  align-items: center;
  padding-block: var(--edc-hero-pad-top) var(--edc-hero-pad-bottom);
}

.edc-hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--edc-ink);
  font-size: var(--edc-display-size);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}

.edc-hero p {
  max-width: 330px;
  margin: var(--edc-hero-copy-gap) 0 0;
  color: #2d2927;
  font-size: var(--edc-hero-copy-size);
  line-height: 1.6;
}

.edc-button,
.edc-product-card__button,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  min-height: var(--edc-touch);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--edc-control-radius);
  background: var(--edc-red);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 0 28px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.edc-button:hover,
.edc-product-card__button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  background: var(--edc-red-dark);
  transform: translateY(-1px);
}

.edc-button:active,
.edc-product-card__button:active,
.wp-element-button:active,
.wp-block-button__link:active {
  transform: translateY(1px);
}

.wp-block-button__link.wp-element-button {
  background: var(--edc-red) !important;
  color: #ffffff !important;
}

.wp-block-button__link.wp-element-button:hover {
  background: var(--edc-red-dark) !important;
}

.edc-hero .wp-block-buttons {
  margin-top: var(--edc-hero-cta-gap);
}

.edc-hero .wp-block-button,
.edc-hero__media,
.edc-about .wp-block-image {
  margin: 0;
}

.edc-hero__media {
  display: grid;
  place-items: center;
}

.edc-hero__media img {
  width: min(100%, var(--edc-hero-media-max));
  filter: drop-shadow(0 34px 42px rgba(57, 40, 34, 0.22));
}

.edc-hero__features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 42px;
  align-items: center;
  justify-content: start;
  padding-bottom: var(--edc-hero-feature-bottom);
}

.edc-hero .edc-mini-feature {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 28px;
  margin: 0;
  color: #211f1e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.edc-mini-feature::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: var(--edc-feature-selected) center / contain no-repeat;
  content: "";
}

.edc-mini-feature--selected::before {
  background-image: var(--edc-feature-selected);
}

.edc-mini-feature--premium::before {
  background-image: var(--edc-feature-premium);
}

.edc-mini-feature--fresh::before {
  background-image: var(--edc-feature-fresh);
}

.edc-info-card svg,
.edc-trust-item svg {
  color: var(--edc-red);
}

.edc-category-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--edc-line);
}

.edc-category-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(88px, 1fr));
  gap: var(--edc-grid-gap);
  padding-block: var(--edc-category-pad-y);
}

.edc-category-card {
  display: grid;
  gap: 8px;
  place-items: center;
  color: var(--edc-ink);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.edc-category-card:last-child {
  color: var(--edc-red);
}

.edc-category-card img {
  width: var(--edc-category-img-w);
  height: var(--edc-category-img-h);
  object-fit: contain;
  transition: transform 180ms ease;
}

.edc-category-card:hover img {
  transform: translateY(-3px);
}

.edc-category-list {
  scrollbar-width: none;
}

.edc-category-list::-webkit-scrollbar {
  display: none;
}

.edc-section {
  background: var(--edc-soft);
  padding-block: var(--edc-section-y);
}

.edc-section.edc-section--products {
  padding-bottom: 12px;
}

.edc-section.edc-section--about {
  padding-top: 12px;
}

.edc-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--edc-section-heading-gap);
}

.edc-section__heading h2,
.edc-about h2 {
  margin: 0;
  color: var(--edc-ink);
  font-size: var(--edc-heading-size);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.edc-section__heading a {
  display: inline-flex;
  min-height: var(--edc-touch);
  align-items: center;
  color: var(--edc-red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.edc-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--edc-grid-gap);
}

.edc-product-card {
  display: grid;
  min-height: var(--edc-product-min-h);
  border-radius: var(--edc-card-radius);
  background: #ffffff;
  box-shadow: var(--edc-shadow);
  overflow: hidden;
}

.edc-product-card__image {
  display: grid;
  min-height: calc(var(--edc-product-img-h) + 26px);
  place-items: center;
  margin-inline: var(--edc-card-pad);
  border-bottom: 1px solid #efedea;
  padding: 18px 0 10px;
}

.edc-product-card__image img {
  width: 100%;
  max-height: var(--edc-product-img-h);
  object-fit: contain;
}

.edc-product-card__body {
  display: grid;
  gap: 10px;
  padding: 14px var(--edc-card-pad) calc(var(--edc-card-pad) + 1px);
}

.edc-product-card__title {
  min-height: 24px;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.22;
}

.edc-product-card__price {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.edc-product-card__price small,
.edc-product-card__price .amount + span {
  color: var(--edc-muted);
  font-size: 12px;
  font-weight: 700;
}

.edc-product-card__cart {
  display: grid;
  grid-template-columns: minmax(116px, 0.95fr) 1fr;
  gap: 10px;
}

.edc-quantity {
  display: grid;
  grid-template-columns: var(--edc-product-control-h) minmax(var(--edc-product-control-h), 1fr) var(--edc-product-control-h);
  min-height: var(--edc-product-control-h);
  border: 1px solid #ddd9d5;
  border-radius: calc(var(--edc-control-radius) - 1px);
  overflow: hidden;
}

.edc-quantity button,
.edc-quantity input {
  min-height: var(--edc-product-control-h);
  border: 0;
  background: #ffffff;
  color: var(--edc-ink);
  text-align: center;
}

.edc-quantity button {
  cursor: pointer;
  font-weight: 900;
}

.edc-quantity input {
  width: 100%;
  font-weight: 800;
}

.edc-product-card__button {
  min-height: var(--edc-product-control-h);
  padding-inline: 14px;
}

.edc-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--edc-info-margin-top);
  border: 1px solid var(--edc-line);
  border-radius: var(--edc-card-radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(55, 40, 35, 0.04);
}

.edc-info-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: var(--edc-info-pad);
}

.edc-info-card + .edc-info-card {
  border-left: 1px solid var(--edc-line);
}

.edc-info-card h3,
.edc-trust-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.edc-info-card__icon,
.edc-trust-item__icon {
  display: grid;
  margin: 0;
  place-items: center;
  color: var(--edc-red);
  font-size: 0;
  line-height: 1;
}

.edc-info-card__icon::before,
.edc-trust-item__icon::before {
  display: block;
  background: currentColor;
  content: "";
  -webkit-mask: var(--edc-icon) center / contain no-repeat;
  mask: var(--edc-icon) center / contain no-repeat;
}

.edc-info-card__icon {
  width: 34px;
  height: 34px;
}

.edc-info-card__icon::before {
  width: 34px;
  height: 34px;
}

.edc-info-card__icon svg,
.edc-trust-item__icon svg {
  width: 100%;
  height: 100%;
}

.edc-trust-item__icon {
  width: 32px;
  height: 32px;
}

.edc-trust-item__icon::before {
  width: 32px;
  height: 32px;
}

.edc-info-card__icon--percent {
  --edc-icon: var(--edc-icon-percent);
}

.edc-info-card__icon--truck {
  --edc-icon: var(--edc-icon-truck);
}

.edc-info-card__icon--mail {
  --edc-icon: var(--edc-icon-mail);
}

.edc-trust-item__icon--wallet {
  --edc-icon: var(--edc-icon-wallet);
}

.edc-trust-item__icon--card {
  --edc-icon: var(--edc-icon-card);
}

.edc-trust-item__icon--help {
  --edc-icon: var(--edc-icon-help);
}

.edc-info-card p,
.edc-trust-item p,
.edc-about p {
  margin: 0;
  color: #3b3735;
  font-size: 13px;
  line-height: 1.55;
}

.edc-info-card .edc-info-card__icon,
.edc-trust-item .edc-trust-item__icon {
  color: var(--edc-red);
  font-size: 0;
  line-height: 1;
}

.edc-newsletter {
  display: flex;
  max-width: 250px;
  margin-top: 7px;
}

.edc-newsletter input {
  min-width: 0;
  width: 100%;
  min-height: 34px;
  border: 1px solid #d8d4d0;
  border-right: 0;
  border-radius: calc(var(--edc-control-radius) - 1px) 0 0 calc(var(--edc-control-radius) - 1px);
  padding: 0 14px;
}

.edc-newsletter button {
  flex: 0 0 48px;
  width: 48px;
  min-height: 34px;
  border: 0;
  border-radius: 0 calc(var(--edc-control-radius) - 1px) calc(var(--edc-control-radius) - 1px) 0;
  background: #161414;
  color: #ffffff;
  cursor: pointer;
}

.edc-about {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: var(--edc-about-gap);
  align-items: center;
  margin-top: 0;
}

.edc-about img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--edc-card-radius);
  box-shadow: var(--edc-shadow);
  object-fit: cover;
}

.edc-about p {
  max-width: 480px;
  margin-top: var(--edc-about-copy-gap);
  font-size: var(--edc-about-body-size);
}

.edc-about .edc-button {
  margin-top: 28px;
}

.edc-trust {
  padding-block: var(--edc-trust-pad-y);
  background: #ffffff;
}

.edc-trust__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--edc-trust-gap);
  border: 1px solid var(--edc-line);
  border-radius: var(--edc-card-radius);
  padding: var(--edc-trust-pad);
}

.edc-trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
}

.edc-contact-main,
.edc-contact-page {
  margin-block-start: 0 !important;
  background: var(--edc-soft);
}

.edc-contact-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--edc-line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(135deg, rgba(80, 80, 80, 0.032) 0 1px, transparent 1px 34px),
    var(--edc-paper);
}

.edc-contact-hero::after {
  position: absolute;
  right: max(var(--edc-wrap-gutter), calc((100% - var(--edc-wrap-max)) / 2));
  bottom: -80px;
  width: min(34vw, 420px);
  height: 220px;
  border: 1px solid rgba(184, 15, 23, 0.08);
  border-radius: 999px;
  background: rgba(184, 15, 23, 0.045);
  content: "";
  pointer-events: none;
  transform: rotate(-8deg);
}

.edc-contact-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(42px, 7vw, 72px) clamp(36px, 5vw, 58px);
}

.edc-kicker {
  margin: 0 0 12px;
  color: var(--edc-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.edc-contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--edc-ink);
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.edc-contact-hero p:not(.edc-kicker) {
  max-width: 520px;
  margin: 16px 0 0;
  color: #2d2927;
  font-size: var(--edc-body-size);
  line-height: 1.6;
}

.edc-contact-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.edc-contact-hero__quick a {
  display: inline-flex;
  min-height: var(--edc-touch);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--edc-line);
  border-radius: var(--edc-control-radius);
  background: #ffffff;
  color: var(--edc-ink);
  font-size: 13px;
  font-weight: 900;
  padding: 0 16px;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.edc-contact-hero__quick a:hover {
  border-color: rgba(184, 15, 23, 0.42);
  transform: translateY(-1px);
}

.edc-contact-hero__quick svg {
  width: 20px;
  height: 20px;
  color: var(--edc-red);
}

.edc-contact-section {
  padding-block: var(--edc-section-y);
  background: var(--edc-soft);
}

.edc-contact-layout {
  display: grid;
  gap: var(--edc-grid-gap);
}

.edc-contact-form-panel,
.edc-contact-info-card,
.edc-contact-map-card {
  border: 1px solid var(--edc-line);
  border-radius: var(--edc-card-radius);
  background: #ffffff;
  box-shadow: var(--edc-shadow);
}

.edc-contact-form-panel {
  padding: clamp(22px, 4vw, 34px);
}

.edc-contact-panel-heading {
  margin-bottom: 22px;
}

.edc-contact-panel-heading h2,
.edc-contact-info-card h2,
.edc-contact-map-card h2 {
  margin: 0;
  color: var(--edc-ink);
  font-size: clamp(1.375rem, 4.5vw, 1.875rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.edc-contact-panel-heading p:not(.edc-kicker) {
  max-width: 560px;
  margin: 12px 0 0;
  color: #3b3735;
  font-size: 15px;
  line-height: 1.6;
}

.edc-contact-form .wpcf7-form {
  display: grid;
  gap: 14px;
  margin: 0;
}

.edc-contact-form .edc-cf7-grid {
  display: grid;
  gap: 14px;
}

.edc-contact-form .edc-cf7-field,
.edc-contact-form label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--edc-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.edc-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.edc-contact-form input,
.edc-contact-form textarea,
.edc-contact-form select {
  width: 100%;
  min-height: var(--edc-touch);
  border: 1px solid #d8d4d0;
  border-radius: var(--edc-control-radius);
  background: #ffffff;
  color: var(--edc-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0 14px;
  text-transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.edc-contact-form textarea {
  min-height: 150px;
  padding-block: 12px;
  resize: vertical;
}

.edc-contact-form input:focus,
.edc-contact-form textarea:focus,
.edc-contact-form select:focus {
  outline: 0;
  border-color: rgba(184, 15, 23, 0.66);
  box-shadow: 0 0 0 3px rgba(184, 15, 23, 0.09);
}

.edc-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--edc-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.edc-contact-form .wpcf7-response-output {
  margin: 4px 0 0 !important;
  border-color: var(--edc-line) !important;
  border-radius: var(--edc-control-radius);
  color: #3b3735;
  font-size: 14px;
  padding: 12px 14px !important;
}

.edc-contact-form .wpcf7-submit,
.edc-contact-submit {
  width: 100%;
  min-height: var(--edc-touch);
  border: 0;
  border-radius: var(--edc-control-radius);
  background: var(--edc-red);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.edc-contact-form .wpcf7-submit:hover,
.edc-contact-submit:hover {
  background: var(--edc-red-dark);
  transform: translateY(-1px);
}

.edc-contact-form .wpcf7-submit:active,
.edc-contact-submit:active {
  transform: translateY(1px);
}

.edc-contact-form .wpcf7-spinner {
  margin: 0 0 0 10px;
  vertical-align: middle;
}

.edc-contact-side {
  display: grid;
  gap: var(--edc-grid-gap);
  align-self: stretch;
}

.edc-contact-info-card,
.edc-contact-map-card {
  --edc-contact-card-pad: clamp(20px, 3vw, 28px);
  padding: var(--edc-contact-card-pad);
}

.edc-contact-info-card {
  display: grid;
  gap: 18px;
}

.edc-contact-detail {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}

.edc-contact-detail svg {
  width: 22px;
  height: 22px;
  color: var(--edc-red);
  transform: translateY(1px);
}

.edc-contact-detail h3 {
  margin: 0 0 4px;
  color: var(--edc-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.edc-contact-detail a,
.edc-contact-detail span {
  color: #3b3735;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.edc-contact-detail a:hover {
  color: var(--edc-red);
}

.edc-contact-map-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  padding-bottom: 0;
}

.edc-contact-map-card__heading {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
}

.edc-contact-map-card__heading a {
  color: var(--edc-red);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.edc-contact-map {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  width: calc(100% + (var(--edc-contact-card-pad) * 2));
  margin-inline: calc(var(--edc-contact-card-pad) * -1);
  border: 0;
  border-radius: 0 0 var(--edc-card-radius) var(--edc-card-radius);
  background: #f2efeb;
}

.edc-contact-map iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  filter: saturate(0.76) contrast(0.98);
}

.edc-contact-map::before {
  content: none;
}

.edc-contact-map::after {
  content: none;
}

.edc-contact-service-strip {
  padding: 0 0 var(--edc-section-y);
  background: var(--edc-soft);
}

.edc-contact-service-strip .edc-info-strip {
  margin-top: 0;
}

.edc-contact-service-strip .edc-info-card svg {
  width: 32px;
  height: 32px;
  color: var(--edc-red);
}

.edc-footer {
  background: #ffffff;
  border-top: 1px solid var(--edc-line);
  padding-block: var(--edc-footer-pad-top) 18px;
}

.edc-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: var(--edc-footer-gap);
}

.edc-footer h3 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.edc-footer p,
.edc-footer a {
  color: #292624;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}

.edc-footer a {
  display: inline-flex;
  min-width: var(--edc-touch);
  align-items: center;
}

.edc-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.edc-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.edc-footer__social a {
  display: inline-grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  place-items: center;
  color: var(--edc-ink);
}

.edc-footer__social svg,
.edc-footer__contact-row svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.edc-footer__contact-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--edc-ink);
}

.edc-footer__bottom {
  margin-top: 34px;
  color: var(--edc-muted);
  font-size: 13px;
  text-align: center;
}

body.woocommerce.archive .wp-site-blocks > main {
  background: var(--edc-soft);
  padding: clamp(28px, 4vw, 36px) max(var(--edc-wrap-gutter), calc((100vw - 1280px) / 2)) clamp(54px, 6vw, 70px);
}

body.woocommerce.archive .woocommerce-breadcrumb {
  color: var(--edc-muted);
  font-size: 14px;
}

body.woocommerce.archive .woocommerce-breadcrumb a {
  color: var(--edc-ink);
}

body.woocommerce.archive .wp-block-query-title {
  margin: clamp(20px, 3vw, 28px) 0 clamp(18px, 2.4vw, 24px);
  color: var(--edc-ink);
  font-size: var(--edc-archive-title-size);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

body.woocommerce.archive .wc-block-product-results-count p {
  margin: 0;
  color: #3b3735;
  font-size: 16px;
}

body.woocommerce.archive .woocommerce-ordering select {
  min-height: var(--edc-touch);
  border: 1px solid #d8d4d0;
  border-radius: var(--edc-control-radius);
  background: #ffffff;
  color: var(--edc-ink);
  padding-inline: 12px;
}

body.woocommerce.archive .wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: var(--edc-grid-gap) !important;
  margin-top: var(--edc-section-heading-gap) !important;
}

body.woocommerce.archive .wc-block-product {
  display: grid !important;
  min-width: 0 !important;
  border-radius: var(--edc-card-radius);
  background: #ffffff;
  box-shadow: var(--edc-shadow);
  overflow: hidden;
  padding: 0 var(--edc-card-pad) calc(var(--edc-card-pad) + 2px);
}

body.woocommerce.archive .wp-block-woocommerce-product-image {
  display: grid;
  min-height: calc(var(--edc-product-img-h) + 42px);
  margin: 0 !important;
  padding-top: 18px;
  place-items: center;
}

body.woocommerce.archive .wp-block-woocommerce-product-image img {
  width: 100% !important;
  height: var(--edc-product-img-h) !important;
  object-fit: contain !important;
}

body.woocommerce.archive .wp-block-post-title {
  margin: 10px 0 8px !important;
  font-size: 17px !important;
  font-weight: 900;
  line-height: 1.2 !important;
  text-align: left !important;
}

body.woocommerce.archive .wp-block-post-title a {
  color: var(--edc-ink);
  text-decoration: none;
}

body.woocommerce.archive .wp-block-woocommerce-product-price,
body.woocommerce.archive .wc-block-grid__product-price {
  margin: 0 0 14px !important;
  color: var(--edc-ink);
  font-size: 18px !important;
  font-weight: 900;
  text-align: left !important;
}

body.woocommerce.archive .wp-block-woocommerce-product-button {
  margin-top: auto;
  text-align: left !important;
}

body.woocommerce.archive .wc-block-components-product-button__button {
  min-height: var(--edc-touch);
  min-width: 132px;
  margin: 0 !important;
}

@media (min-width: 981px) {
  .edc-hero {
    --edc-hero-bg-size: min(50vw, 650px);
    --edc-hero-bg-inset: clamp(24px, 5vw, 70px);
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 33%, rgba(255, 255, 255, 0.68) 58%, rgba(255, 255, 255, 0) 82%),
      #f8f6f3;
  }

  .edc-hero::before {
    display: none;
  }

  .edc-hero::after {
    position: absolute;
    top: 0;
    right: max(var(--edc-wrap-gutter), calc((100% - var(--edc-wrap-max)) / 2));
    z-index: 0;
    display: block;
    width: min(50vw, 650px);
    height: var(--edc-hero-min-height);
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.26) 31%, rgba(255, 255, 255, 0) 55%),
      url("assets/images/hero-steak.webp");
    background-position: left center, right center;
    background-repeat: no-repeat;
    background-size: 100% 100%, cover;
    content: "";
    pointer-events: none;
  }

  .edc-hero__inner {
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  }

  .edc-hero__media {
    display: none;
  }

  .editor-styles-wrapper .edc-hero__media {
    display: none;
  }

  .edc-contact-hero h1 {
    font-size: 3.25rem;
  }

  .edc-contact-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    align-items: stretch;
  }

  .edc-contact-side {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .edc-contact-form .edc-cf7-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edc-contact-form .edc-cf7-field--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .edc-wrap {
    width: min(calc(100% - (var(--edc-wrap-gutter) * 2)), var(--edc-wrap-max));
  }

  .edc-topbar__inner {
    gap: 14px;
    font-size: 11px;
  }

  .edc-header__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 18px;
  }

  .edc-nav,
  .edc-header__tools {
    justify-content: flex-start;
  }

  .edc-hero__inner,
  .edc-about {
    grid-template-columns: 1fr;
  }

  .edc-hero__inner {
    min-height: auto;
    padding-block: var(--edc-hero-pad-top) var(--edc-hero-pad-bottom);
  }

  .edc-category-list {
    grid-template-columns: repeat(4, minmax(104px, 1fr));
  }

  .edc-products-grid,
  body.woocommerce.archive .wc-block-product-template,
  .edc-info-strip,
  .edc-trust__inner,
  .edc-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .edc-info-card + .edc-info-card {
    border-left: 0;
    border-top: 1px solid var(--edc-line);
  }

  .edc-info-card:nth-child(3),
  .edc-trust-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  body.woocommerce.archive .wc-block-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .edc-footer a {
    min-height: var(--edc-touch);
  }

  .edc-footer ul {
    gap: 0;
  }

  .edc-contact-layout {
    grid-template-columns: 1fr;
  }

  .edc-contact-form .edc-cf7-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edc-contact-form .edc-cf7-field--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 821px) and (max-width: 980px) {
  .edc-hero {
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 39%, rgba(255, 255, 255, 0.64) 66%, rgba(255, 255, 255, 0.08) 100%),
      #f8f6f3;
  }

  .edc-hero::before {
    display: none;
  }

  .edc-hero::after {
    position: absolute;
    top: 0;
    right: var(--edc-wrap-gutter);
    z-index: 0;
    display: block;
    width: min(44vw, 390px);
    height: 360px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.22) 34%, rgba(255, 255, 255, 0) 58%),
      url("assets/images/hero-steak.webp") center / contain no-repeat;
    content: "";
    pointer-events: none;
  }

  .edc-hero__inner {
    grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
    min-height: 360px;
  }

  .edc-hero h1 {
    max-width: 390px;
    font-size: clamp(2.2rem, 4.8vw, 2.6rem);
  }

  .edc-hero p {
    max-width: 300px;
  }

  .edc-hero__media {
    display: none;
  }

  .edc-hero__features {
    gap: 30px;
  }

  .edc-trust__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .edc-trust-item {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
  }

  .edc-trust-item:nth-child(3) {
    grid-column: auto;
  }

  .edc-trust-item__icon,
  .edc-trust-item__icon::before {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .edc-hero__inner {
    gap: 28px;
    padding-block: 56px 32px;
  }

  .edc-hero h1 {
    max-width: 560px;
    font-size: clamp(2.25rem, 5.2vw, 2.6rem);
  }

  .edc-hero p {
    max-width: 430px;
  }

  .edc-hero__media {
    width: 100%;
    margin-top: -4px;
  }

  .edc-hero__media img {
    width: 100%;
    max-width: none;
    height: clamp(260px, 38vw, 320px);
    object-fit: cover;
    object-position: 58% center;
  }

  .edc-hero__features {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .edc-topbar__inner {
    justify-content: flex-start;
    min-height: 34px;
    padding-block: 9px;
    font-size: 10.5px;
    line-height: 1.25;
  }

  .edc-topbar__divider,
  .edc-topbar__item--secondary {
    display: none;
  }

  .edc-topbar__item {
    white-space: normal;
  }

  .edc-header__inner {
    grid-template-columns: 1fr var(--edc-touch);
    gap: 12px;
    min-height: 0;
    padding-block: 14px;
  }

  .edc-brand__mark {
    width: 52px;
    height: 52px;
  }

  .edc-brand__text {
    font-size: 1.5rem;
  }

  .edc-menu-toggle {
    position: relative;
    display: inline-flex;
    justify-self: end;
  }

  .edc-mobile-panel {
    display: grid;
    grid-column: 1 / -1;
    max-height: 0;
    border-top: 0 solid transparent;
    opacity: 0;
    overflow: hidden;
    transition: max-height 220ms ease, opacity 180ms ease, border-color 180ms ease, padding 180ms ease;
  }

  .edc-mobile-panel > * {
    min-height: 0;
  }

  .edc-header.is-menu-open .edc-mobile-panel {
    max-height: 520px;
    border-top: 1px solid var(--edc-line);
    opacity: 1;
    padding-top: 14px;
  }

  .edc-nav {
    display: grid;
    gap: 0;
    padding-bottom: 0;
    font-size: 16px;
  }

  .edc-nav a {
    min-height: var(--edc-touch);
    border-bottom: 1px solid var(--edc-line);
    padding: 13px 0;
  }

  .edc-section__heading a,
  .edc-footer a {
    min-height: var(--edc-touch);
  }

  .edc-footer ul {
    gap: 0;
  }

  .edc-nav a[aria-current="page"]::after,
  .edc-nav a:hover::after {
    bottom: -1px;
  }

  .edc-header__tools {
    display: grid;
    grid-template-columns: 1fr 44px;
    width: 100%;
    margin-top: 14px;
  }

  .edc-search input {
    min-height: 46px;
  }

  .edc-cart-link {
    min-height: 46px;
  }

  .edc-hero h1 {
    font-size: clamp(1.625rem, 7.25vw, 1.85rem);
  }

  .edc-hero p {
    font-size: 16px;
  }

  .edc-hero__media {
    margin-inline: calc(var(--edc-wrap-gutter) * -1);
  }

  .edc-hero__media img {
    width: 100%;
    max-width: none;
  }

  .edc-hero__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 28px;
  }

  .edc-category-list {
    display: flex;
    gap: var(--edc-grid-gap);
    overflow-x: auto;
    padding-block: 22px;
    scroll-snap-type: x proximity;
  }

  .edc-category-card {
    flex: 0 0 104px;
    scroll-snap-align: start;
  }

  .edc-section {
    padding-block: var(--edc-section-y);
  }

  .edc-products-grid {
    grid-template-columns: 1fr;
    gap: var(--edc-grid-gap);
  }

  .edc-product-card {
    grid-template-columns: minmax(118px, 40%) minmax(0, 1fr);
    min-height: 0;
  }

  .edc-product-card__image {
    min-height: calc(var(--edc-product-img-h) + 28px);
    margin-inline: 0;
    border-right: 1px solid #efedea;
    border-bottom: 0;
    padding: 14px 10px 14px 14px;
  }

  .edc-product-card__body {
    align-content: center;
    gap: 10px;
    padding: 16px 14px 16px 0;
  }

  .edc-product-card__title {
    min-height: 0;
    font-size: 16px;
  }

  .edc-product-card__cart {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .edc-quantity {
    min-height: var(--edc-touch);
  }

  .edc-product-card__button {
    width: 100%;
    min-height: var(--edc-touch);
  }

  body.woocommerce.archive .wc-block-product-template,
  .edc-info-strip,
  .edc-trust__inner,
  .edc-footer__grid {
    grid-template-columns: 1fr;
  }

  .edc-section__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  body.woocommerce.archive .wc-block-product-template {
    grid-template-columns: 1fr !important;
  }

  .edc-info-card {
    grid-template-columns: 42px 1fr;
    padding: var(--edc-info-pad);
  }

  .edc-about {
    gap: 30px;
  }

  .edc-trust__inner {
    gap: 18px;
    padding: 22px;
  }

  .edc-footer__grid {
    gap: 28px;
  }

  .edc-contact-hero::after {
    display: none;
  }

  .edc-contact-hero__quick {
    display: grid;
    grid-template-columns: 1fr;
  }

  .edc-contact-hero__quick a {
    width: 100%;
  }

  .edc-contact-form .edc-cf7-grid {
    grid-template-columns: 1fr;
  }

  .edc-contact-form .edc-cf7-field--wide {
    grid-column: auto;
  }

  .edc-contact-map-card__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .edc-contact-map,
  .edc-contact-map iframe {
    min-height: 220px;
  }

  .edc-contact-service-strip .edc-info-card {
    grid-template-columns: 42px 1fr;
  }
}

.site-header,
.site-footer {
  padding: 24px clamp(20px, 5vw, 64px);
}

.site-header {
  border-bottom: 1px solid var(--edc-line);
}

.site-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-main {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) 0;
}

.page-title {
  margin: 0 0 24px;
  font-size: 3rem;
  line-height: 0.95;
}

.entry-content {
  font-size: 1.125rem;
}

.entry-content > * {
  max-width: 720px;
}

.entry-content .wp-block-button__link {
  background: var(--edc-red);
  border-radius: var(--edc-control-radius);
  color: #fff;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--edc-line);
  color: var(--edc-muted);
}
