/*
Theme Name: SENTIMORA Lifestyle
Theme URI: https://sentimoralife.com
Author: SENTIMORA
Description: English master block theme for SENTIMORA Lifestyle and SENTIMORA PETS.
Template: twentytwentyfive
Version: 0.1.10
Text Domain: sentimora-lifestyle
*/

/* CONFIRMED BRAND STANDARD — self-hosted typefaces */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/EBGaramond-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/EBGaramond-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/EBGaramond-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/EBGaramond-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/PTSans-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/PTSans-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "PT Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/PTSans-400-italic.woff2") format("woff2");
}

:root {
  /* Core brand tokens — CONFIRMED BRAND STANDARD */
  --sm-ink: #1a1a1a;
  --sm-ivory: #f5f0e8;
  --sm-beige: #ede0d4;
  --sm-muted: #6b635c;
  --sm-soft: #f5f0e8;
  --sm-panel: #fffaf4;
  --sm-line: #e5d8cb;
  --sm-bg: #f5f0e8;

  /* PETS secondary accents (not core brand level) */
  --sm-green: #315f47;
  --sm-green-dark: #244536;
  --sm-clay: #b46d4d;

  --sm-max: 1180px;
  --sm-wide: 1360px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--sm-ink);
  background: var(--sm-ivory);
  font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.sm-site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  background: rgba(245, 240, 232, 0.93);
  backdrop-filter: blur(12px);
}

.sm-header-inner,
.sm-section,
.sm-footer-inner {
  max-width: var(--sm-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.sm-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.sm-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.sm-brand-name {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

.sm-tm {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 0.42em;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
  margin-left: 0.12em;
  vertical-align: super;
  position: relative;
  top: -0.35em;
}

.sm-brand-line {
  color: var(--sm-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sm-header-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.sm-header-utility {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.sm-header-divider {
  width: 1px;
  height: 16px;
  background: rgba(26, 26, 26, 0.18);
  flex-shrink: 0;
}

.sm-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--sm-muted);
}

.sm-lang-switch[hidden] {
  display: none !important;
}

.sm-lang-item {
  text-decoration: none;
  color: var(--sm-muted);
}

.sm-lang-item.is-current,
.sm-lang-item[aria-current="true"] {
  color: var(--sm-green);
  font-weight: 700;
}

.sm-lang-item:hover {
  color: var(--sm-green);
}

.sm-lang-sep {
  opacity: 0.5;
}

/* Compact language switcher — visible on mobile header only */
.sm-lang-compact {
  display: none;
  position: relative;
  flex-shrink: 0;
}

.sm-lang-compact-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sm-muted);
  font: inherit;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
}

.sm-lang-compact-toggle:hover,
.sm-lang-compact-toggle[aria-expanded="true"] {
  color: var(--sm-green);
}

.sm-lang-compact-caret {
  font-size: 0.7em;
  line-height: 1;
  opacity: 0.75;
  transform: translateY(1px);
}

.sm-lang-compact-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 128px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 0;
  border: 1px solid var(--sm-line);
  border-radius: 10px;
  background: var(--sm-ivory);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.1);
  z-index: 20;
}

.sm-lang-compact-menu[hidden] {
  display: none !important;
}

.sm-lang-compact-item {
  padding: 10px 14px;
  color: var(--sm-muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.2;
}

.sm-lang-compact-item:hover {
  color: var(--sm-green);
  background: rgba(49, 95, 71, 0.04);
}

.sm-lang-compact-item.is-current,
.sm-lang-compact-item[aria-current="true"] {
  color: var(--sm-green);
  font-weight: 700;
}

.sm-lang-compact-item[hidden] {
  display: none !important;
}

.sm-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--sm-muted);
  font-size: 0.92rem;
}

.sm-nav-toggle,
.sm-nav-button {
  display: none;
}

.sm-nav a {
  text-decoration: none;
}

.sm-nav a:hover {
  color: var(--sm-green);
}

/* Primary nav active state — body class from WP + data-nav key */
body.sm-nav-home .sm-nav a[data-nav="home"],
body.sm-nav-pets .sm-nav a[data-nav="pets"],
body.sm-nav-collections .sm-nav a[data-nav="collections"],
body.sm-nav-business .sm-nav a[data-nav="business"],
body.sm-nav-about .sm-nav a[data-nav="about"],
.sm-nav a.is-active {
  color: var(--sm-green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  text-decoration-color: rgba(49, 95, 71, 0.55);
}

.sm-lang-note {
  border-left: 1px solid var(--sm-line);
  padding-left: 16px;
  color: #8a7664;
  font-size: 0.82rem;
}

.sm-main {
  overflow: hidden;
}

.sm-hero {
  max-width: var(--sm-wide);
  margin: 0 auto;
  padding: 58px 24px 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1fr);
  gap: 48px;
  align-items: center;
}

.sm-eyebrow {
  margin: 0 0 14px;
  color: var(--sm-clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sm-hero h1,
.sm-page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(3.4rem, 5.8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.sm-hero h1 span,
.sm-page-hero h1 span {
  display: block;
  color: var(--sm-green);
}

.sm-lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--sm-muted);
  font-size: 1.16rem;
}

.sm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.sm-btn,
.sm-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.sm-btn {
  border: 1px solid var(--sm-green);
  color: #fff;
  background: var(--sm-green);
}

.sm-btn:hover {
  background: var(--sm-green-dark);
}

.sm-btn-secondary {
  border: 1px solid var(--sm-line);
  color: var(--sm-ink);
  background: #fffdf9;
}

.sm-btn-secondary:hover {
  border-color: var(--sm-beige);
  background: var(--sm-beige);
}

.sm-email-cta {
  font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.sm-entity-list {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 20px 32px;
  max-width: 860px;
  margin-top: 18px;
}

.sm-entity-list p {
  margin: 0;
  color: var(--sm-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.sm-entity-list .sm-entity-label {
  color: var(--sm-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sm-entity-list > div > p:not(.sm-entity-label) {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sm-entity-list {
    grid-template-columns: 1fr;
  }
  .sm-entity-list > div > p:not(.sm-entity-label) {
    white-space: normal;
  }
}

.sm-ozon-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.sm-ozon-qr {
  text-align: center;
}

.sm-ozon-qr img {
  width: 140px;
  height: 140px;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 720px) {
  .sm-ozon-cta {
    grid-template-columns: 1fr;
  }
  .sm-ozon-qr {
    display: none;
  }
}

.sm-hero-visual {
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: var(--sm-panel);
  box-shadow: 0 24px 70px rgba(26, 26, 26, 0.12);
  border-radius: 8px;
}

.sm-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.sm-band {
  background: var(--sm-beige);
}

.sm-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.sm-section.compact {
  padding-top: 48px;
  padding-bottom: 48px;
}

.sm-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.sm-section h2,
.sm-page-hero h1,
.sm-collection-hero h1 {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.sm-section h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.sm-section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--sm-muted);
}

.sm-grid-3,
.sm-grid-4,
.sm-product-grid {
  display: grid;
  gap: 18px;
}

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

.sm-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sm-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sm-tile,
.sm-product,
.sm-panel {
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  background: #fffdf9;
}

.sm-tile {
  overflow: hidden;
  text-decoration: none;
}

.sm-tile img,
.sm-product img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.sm-tile img {
  aspect-ratio: 4 / 3;
}

.sm-product img {
  aspect-ratio: 1 / 1;
}

.sm-tile-body,
.sm-product-body,
.sm-panel {
  padding: 20px;
}

.sm-tile h3,
.sm-product h3,
.sm-panel h3 {
  margin: 0 0 8px;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.sm-tile p,
.sm-product p,
.sm-panel p {
  margin: 0;
  color: var(--sm-muted);
  font-size: 0.95rem;
}

.sm-kicker {
  color: var(--sm-clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 44px;
  align-items: center;
}

.sm-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--sm-line);
}

.sm-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.sm-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--sm-line);
}

.sm-page-hero,
.sm-collection-hero {
  max-width: var(--sm-max);
  margin: 0 auto;
  padding: 70px 24px 42px;
}

.sm-collection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: 42px;
  align-items: center;
}

.sm-collection-hero > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--sm-line);
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.sm-page-hero p,
.sm-collection-hero p {
  max-width: 760px;
  color: var(--sm-muted);
  font-size: 1.12rem;
}

.sm-footer {
  border-top: 1px solid var(--sm-line);
  background: #1a1a1a;
  color: #f5f0e8;
}

.sm-footer-inner {
  padding-top: 42px;
  padding-bottom: 42px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

.sm-footer a {
  color: #f5f0e8;
  text-decoration: none;
}

.sm-footer a:hover {
  color: var(--sm-beige);
}

.sm-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.sm-small {
  color: #cfc4b8;
  font-size: 0.9rem;
}

.sm-footer-email {
  margin-top: 10px;
  font-size: 0.95rem;
}

.sm-footer-email a {
  border-bottom: 1px solid rgba(245, 240, 232, 0.35);
}

.sm-footer-email a:hover {
  border-bottom-color: var(--sm-beige);
}

@media (max-width: 920px) {
  .sm-header-inner {
    min-height: 70px;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
    position: relative;
  }

  .sm-brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .sm-brand-name {
    font-size: 1.45rem;
  }

  .sm-lang-compact {
    display: block;
    margin-left: auto;
  }

  .sm-nav-button {
    flex-shrink: 0;
  }

  .sm-header-panel {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    border: 1px solid var(--sm-line);
    border-radius: 8px;
    background: var(--sm-ivory);
    box-shadow: 0 18px 40px rgba(26, 26, 26, 0.12);
  }

  .sm-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .sm-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--sm-line);
  }

  .sm-header-utility {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .sm-header-divider {
    width: 100%;
    height: 1px;
    margin: 10px 0 2px;
    background: var(--sm-line);
  }

  .sm-header-utility .sm-lang-switch {
    width: 100%;
    padding: 12px 0;
    font-size: 0.88rem;
  }

  .sm-header-utility .sm-lang-switch[hidden] {
    display: none !important;
  }

  .sm-nav-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--sm-line);
    border-radius: 999px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: #fffdf9;
  }

  .sm-nav-button span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--sm-ink);
  }

  .sm-nav-toggle:checked ~ .sm-header-panel {
    display: flex;
  }

  .sm-hero,
  .sm-split,
  .sm-collection-hero {
    grid-template-columns: 1fr;
  }
  .sm-grid-3,
  .sm-grid-4,
  .sm-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-section-head {
    display: block;
  }

  .sm-section-head p {
    margin-top: 14px;
  }

  .sm-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sm-header-inner,
  .sm-section,
  .sm-footer-inner,
  .sm-page-hero,
  .sm-collection-hero,
  .sm-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sm-header-inner {
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .sm-brand-name {
    font-size: 1.28rem;
  }

  .sm-brand-line {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .sm-lang-compact-toggle {
    padding: 8px 6px;
    font-size: 0.8rem;
  }

  .sm-lang-compact-menu {
    right: -4px;
    min-width: 118px;
  }

  .sm-hero {
    padding-top: 42px;
  }

  .sm-hero h1,
  .sm-page-hero h1 {
    font-size: 3rem;
  }
  .sm-product-grid,
  .sm-grid-3,
  .sm-grid-4 {
    grid-template-columns: 1fr;
  }

  .sm-btn,
  .sm-btn-secondary {
    width: 100%;
  }
}
