/* YAR adaptation layer. Original grid and page geometry remain in styles.css. */

:root {
  --header-height: 64px;
  --yar-header-font: 'Clio', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#main:focus {
  outline: none;
}

.yar-header {
  position: fixed;
  inset: 0 0 auto;
  height: 64px;
  z-index: 100;
  padding: 0 3.5vw;
  display: flex;
  align-items: center;
  background: rgba(227, 226, 222, .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 27, 26, .05);
  color: #1e1b1a;
  font-family: var(--yar-header-font);
  font-stretch: normal;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.header-anagram-btn {
  display: flex;
  align-items: center;
  transition: opacity .25s ease;
}

.header-anagram-btn:hover {
  opacity: .7;
}

.header-anagram {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.header-wordmark,
.menu-wordmark {
  font: 700 .95rem/1 var(--yar-header-font);
  letter-spacing: .12em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.5rem);
}

.header-nav-link,
.header-util-btn {
  font: 500 clamp(.78rem, .85vw, .875rem)/1 var(--yar-header-font);
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
  white-space: nowrap;
}

.header-nav-link:hover,
.header-nav-link[aria-current],
.header-util-btn:hover {
  opacity: 1;
}

.header-nav-link[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.header-utilities {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.6vw, 1.8rem);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font: 500 clamp(.68rem, .75vw, .78rem)/1 var(--yar-header-font);
  letter-spacing: .04em;
  white-space: nowrap;
}
.language-switch a { opacity: .55; }
.language-switch a:hover,
.language-switch a[aria-current] { opacity: 1; }
.language-switch a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

.header-utilities [data-bag-count] {
  font-size: 10px;
}

.search-bar {
  position: fixed;
  top: 64px;
}

.catalog {
  margin-top: 64px;
  padding-top: 6vh;
}

.catalog-toolbar {
  margin-bottom: 9vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 35vw);
  gap: 24px;
  align-items: start;
}

.catalog-toolbar>h1 {
  font-size: var(--type-label);
  padding-top: 20px;
}

.filter-panel {
  position: relative;
  inset: auto;
  width: auto;
  padding: 18px 22px;
  border-radius: 28px;
  z-index: 5;
}

.filter-panel .filter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.filter-panel h2 {
  font-size: 11px;
  margin: 25px 0 12px;
}

.filter-group:first-child {
  margin-top: 0;
}

.filter-group button {
  font-size: 10px;
  line-height: 1.4;
  padding: 12px 0;
}

.filter-trigger {
  font-size: 12px;
}

.filter-trigger svg {
  width: 10px;
  height: 10px;
}

.filter-panel .color-filter-option {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color var(--duration-press) ease;
}

.color-filter-swatch {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid rgba(0, 0, 0, .16);
  position: relative;
}

.color-filter-swatch:before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--duration-press) ease;
}

.color-filter-option[aria-pressed="true"] .color-filter-swatch:before {
  opacity: 1;
}

.filter-panel .color-filter-option[aria-pressed="true"]:after {
  content: none;
}

@media(prefers-reduced-motion:reduce) {

  .filter-panel .color-filter-option,
  .color-filter-swatch:before {
    transition: none;
  }
}

.result-count {
  position: static;
  grid-column: 1/-1;
  font-size: 11px;
}

.result-count:empty {
  display: none;
}

.catalog.is-filtered {
  padding-right: var(--page-gutter);
}

.product-heading {
  margin-bottom: 24px;
}

.product-heading h1 {
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.4;
}

.product-heading p {
  margin-top: 8px;
  font-size: 12px;
}

.details-capsule {
  padding: 30px 26px;
  border-radius: 44px;
}

.details-body {
  grid-template-rows: 1fr;
}

.details-inner {
  font: 13px/1.6 var(--font-body);
}

.details-inner h2,
.details-inner legend {
  font: 400 12px/1.4 var(--font-body);
  letter-spacing: .06em;
}

.product-information p,
.details-inner fieldset>p {
  margin: 10px 0;
  color: #666;
}

.details-inner fieldset {
  margin: 24px 0;
}

.radio-group {
  gap: 22px;
  padding: 10px;
}

.radio-option span:before {
  inset: -7px;
}

.product-details {
  width: 29vw;
}

.eyebrow {
  display: block;
  font: 11px/1.6 var(--font-body);
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.article-info>.eyebrow {
  margin-bottom: 32px;
}

.journal-tabs {
  justify-content: space-between;
}

.yar-journal .support-section {
  padding-bottom: 8vh;
}

.yar-journal .support-section h1 {
  line-height: 1.3;
  font-size: clamp(19px, 1.484vw, 25px);
}

.yar-journal .support-text-block p {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.7;
}

.yar-journal .underline-link {
  font-size: 12px;
}

.about-page {
  min-height: 80vh;
  padding-bottom: 10vh;
}

.about-page .information-panel>h2 {
  margin-bottom: 24px;
  font-size: var(--type-subheading);
}

.about-page .information-gallery {
  justify-content: center;
  padding: 5vh 0;
}

.about-page .information-gallery>.media-slot {
  max-height: 60vh;
}

.about-page .eyebrow {
  margin-top: 14px;
}

.press-page h1 {
  font-size: 20px;
}

.press-intro {
  font: 12px/1.8 var(--font-body);
  margin-top: 24px;
  color: #777;
}

.press-entry h2 {
  font-size: 20px;
}

.press-entry>p:not(.eyebrow) {
  margin-top: 16px;
  font: 14px/1.5 var(--font-body);
}

.press-link {
  display: block;
  margin-top: 30px;
  font: 11px/1.4 var(--font-body);
  color: #777;
}

/* ==================================================
   GLOBAL EDITORIAL FOOTER
   ================================================== */
.site-footer.yar-footer {
  border-top: 1px solid #e9e9e9;
  padding: 26px var(--page-gutter) 28px;
  box-sizing: border-box;
  font: 400 var(--text-footer)/var(--leading-ui) var(--font-primary);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--color-ink);
  min-height: auto;
  display: block;
}

.site-footer.yar-footer .footer-brand-slot {
  display: none !important;
}

/* ==================================================
   DESKTOP COMPOSITION (3 ZONES: LEFT ANAGRAM, CENTER 3/2/2/2, RIGHT COPYRIGHT)
   ================================================== */
.footer-desktop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.footer-mobile {
  display: none !important;
}

/* Zone 1: Desktop Left Standalone Anagram (NO text underneath) */
.footer-desktop-brand {
  justify-self: start;
  align-self: center;
}

.footer-desktop-brand .footer-anagram {
  display: block;
  width: clamp(100px, 8.5vw, 130px);
  height: auto;
  aspect-ratio: 336.53 / 341.92;
  object-fit: contain;
}

/* Zone 2: Desktop Center Information Block (4 Rows: 3 / 2 / 2 / 2) */
.footer-desktop-center {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.6vw, 42px);
  white-space: nowrap;
}

.footer-row-3 {
  gap: clamp(16px, 1.9vw, 32px);
}

.site-footer.yar-footer .footer-link {
  display: inline-block;
  font: 400 var(--text-footer)/var(--leading-ui) var(--font-primary);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.site-footer.yar-footer .footer-link:hover,
.site-footer.yar-footer .footer-link:focus-visible {
  opacity: 0.55;
}

.site-footer.yar-footer .footer-descriptor {
  display: inline-block;
  font: 400 var(--text-footer)/var(--leading-ui) var(--font-primary);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.site-footer.yar-footer .footer-location {
  display: inline-block;
  font: 400 var(--text-footer)/var(--leading-ui) var(--font-primary);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* Zone 3: Desktop Far Right Copyright */
.footer-desktop-right {
  justify-self: end;
  align-self: end;
}

.site-footer.yar-footer .footer-copyright {
  display: block;
  font: 400 var(--text-footer)/var(--leading-ui) var(--font-primary);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
  user-select: none;
}

/* Zone 2: Desktop Payment Badges Row */
.footer-row-payments {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.payment-badges-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e0dfdb;
  border-radius: 3px;
  height: 22px;
  padding: 0 6px;
  box-sizing: border-box;
  flex-shrink: 0;
  box-shadow: none;
}

.payment-badge .payment-icon {
  display: block;
  height: 12px;
  width: auto;
  object-fit: contain;
}

.payment-icon.payment-mastercard { height: 13px; }
.payment-icon.payment-visa { height: 10px; }
.payment-icon.payment-paypal { height: 11px; }
.payment-icon.payment-apple-pay { height: 12px; }
.payment-icon.payment-google-pay { height: 12px; }


/* ==================================================
   MOBILE COMPOSITION (TWO-COLUMN SIDE-BY-SIDE)
   ================================================== */
@media (max-width: 860px) {
  .site-footer.yar-footer {
    padding: 24px 20px 28px;
  }

  .footer-desktop {
    display: none !important;
  }

  .footer-mobile {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile Left Brand Graphic Block: large anagram + descriptor */
  .footer-mobile-left {
    flex: 0 0 44%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-right: clamp(12px, 3vw, 20px);
    box-sizing: border-box;
  }

  .footer-mobile-left .footer-anagram-wrap {
    display: block;
    width: 100%;
  }

  .footer-mobile-left .footer-anagram {
    display: block;
    width: clamp(105px, 36vw, 140px);
    max-width: 100%;
    height: auto;
    aspect-ratio: 336.53 / 341.92;
    object-fit: contain;
  }

  .site-footer.yar-footer .footer-mobile-left .footer-descriptor {
    margin-top: 14px;
    font-size: 9px;
    line-height: 1.4;
    white-space: nowrap;
  }

  /* Mobile Right Information Block: vertical divider */
  .footer-mobile-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: clamp(12px, 3vw, 20px);
    border-left: 1px solid #ebeae7;
    box-sizing: border-box;
    min-width: 0;
  }

  /* Group 1 & 3: single column */
  .footer-mobile-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .site-footer.yar-footer .footer-mobile-group .footer-link {
    font-size: 10px;
    line-height: 1.3;
  }

  /* Group 2: Two-column grid (TERMS/PRIVACY on left, CARE/SHIPPING RETURNS on right) */
  .footer-mobile-links-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(10px, 2.5vw, 16px);
    align-items: start;
  }

  .footer-mobile-col {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .site-footer.yar-footer .footer-mobile-col .footer-link {
    font-size: 10px;
    line-height: 1.3;
    white-space: nowrap;
  }

  html[lang="es"] .footer-mobile-links-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }

  html[lang="es"] .site-footer.yar-footer .footer-mobile-col .footer-link {
    white-space: normal;
    overflow-wrap: break-word;
  }

  /* Subtle horizontal divider across right block only */
  .mobile-subdivider {
    width: 100%;
    height: 1px;
    background: #ebeae7;
    margin: 11px 0;
    flex-shrink: 0;
  }

  /* Mobile Payment Badges Row */
  .footer-mobile-payments {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }

  .footer-mobile-payments .payment-badges-row {
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
  }

  .footer-mobile-payments .payment-badge {
    height: 18px;
    padding: 0 4px;
    border-radius: 2.5px;
  }

  .footer-mobile-payments .payment-icon {
    max-height: 10px;
  }
  .footer-mobile-payments .payment-icon.payment-mastercard { max-height: 11px; }
  .footer-mobile-payments .payment-icon.payment-visa { max-height: 8.5px; }
  .footer-mobile-payments .payment-icon.payment-paypal { max-height: 9px; }
  .footer-mobile-payments .payment-icon.payment-apple-pay { max-height: 10px; }
  .footer-mobile-payments .payment-icon.payment-google-pay { max-height: 10px; }


  /* Final Row: SPAIN on left, Copyright on right */
  .footer-mobile-final {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    white-space: nowrap;
    gap: 8px;
  }

  .footer-mobile-final .footer-location,
  .footer-mobile-final .footer-copyright {
    font-size: 9px;
    line-height: 1;
  }
}

/* Extra safety for very narrow screens (e.g. 320px) */
@media (max-width: 360px) {
  .site-footer.yar-footer {
    padding: 20px 14px 24px;
  }

  .footer-mobile-left {
    flex: 0 0 42%;
    padding-right: 8px;
  }

  .footer-mobile-left .footer-anagram {
    width: 100px;
  }

  .site-footer.yar-footer .footer-mobile-left .footer-descriptor {
    font-size: 8px;
  }

  .footer-mobile-right {
    padding-left: 8px;
  }

  .site-footer.yar-footer .footer-mobile-group .footer-link,
  .site-footer.yar-footer .footer-mobile-col .footer-link {
    font-size: 9px;
    gap: 8px;
  }

  .footer-mobile-payments .payment-badges-row {
    gap: 3px;
  }

  .footer-mobile-payments .payment-badge {
    height: 16px;
    padding: 0 3px;
  }

  .footer-mobile-payments .payment-icon {
    max-height: 9px;
  }
  .footer-mobile-payments .payment-icon.payment-mastercard { max-height: 10px; }
  .footer-mobile-payments .payment-icon.payment-visa { max-height: 7.5px; }
  .footer-mobile-payments .payment-icon.payment-paypal { max-height: 8px; }
  .footer-mobile-payments .payment-icon.payment-apple-pay { max-height: 9px; }
  .footer-mobile-payments .payment-icon.payment-google-pay { max-height: 9px; }


  .footer-mobile-final .footer-location,
  .footer-mobile-final .footer-copyright {
    font-size: 8.5px;
  }
}

.menu-links {
  gap: 24px;
}

.menu-links a {
  font: 400 clamp(22px, 5vw, 40px)/1.4 var(--yar-header-font);
}

.menu-wordmark {
  color: inherit;
}

@media(max-width:1100px) {
  .yar-header {
    padding: 0 20px;
  }

  .header-nav {
    display: none;
  }

  .yar-header .mobile-menu-toggle {
    display: block !important;
  }
}

@media(max-width:1024px) and (orientation:portrait) {

  .catalog,
  .catalog.is-filtered {
    padding-top: 25px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .catalog-toolbar>h1 {
    font-size: 12px;
    padding: 0;
  }

  .filter-panel {
    position: relative;
    inset: auto;
    width: 100%;
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 18px 20px;
    border-radius: 26px;
    overflow: visible;
  }

  .filter-panel .filter-inner {
    gap: 12px;
  }

  .filter-group button {
    font-size: 10px;
  }

  .product-page {
    padding-top: 64px;
    padding-bottom: 50px;
  }

  .product-details {
    position: static;
    order: 3;
    width: auto;
    margin: 24px 20px 0;
  }

  .details-capsule {
    max-height: none;
    padding: 28px 24px;
  }

  .details-body {
    order: initial;
  }

  .details-inner {
    font-size: 14px;
  }

  .details-inner form {
    padding-bottom: 0;
  }

  .details-inner fieldset {
    margin: 24px 0;
  }

  .product-heading h1 {
    font-size: 16px;
  }

  .about-page {
    padding-top: 90px;
  }

  .about-page .information-gallery {
    padding-bottom: 25px;
  }

  .header-inner {
    gap: 12px;
  }

  .header-utilities {
    gap: 16px;
  }

  .header-util-btn {
    font-size: 10px;
  }

  .header-brand {
    gap: 8px;
  }

  .header-wordmark {
    font-size: 13px;
  }

  .header-anagram {
    width: 23px;
    height: 23px;
  }

  .press-entry h2 {
    font-size: 18px;
  }
}

@media(max-height:500px) and (orientation:landscape) {
  .product-details {
    position: static;
    height: auto;
    align-self: start;
    padding-top: 100px;
  }

  .details-capsule {
    max-height: none;
    padding: 24px 18px;
  }

  .product-page {
    grid-template-columns: 50px minmax(0, 1fr) minmax(260px, 1fr);
  }

  .product-details {
    width: 100%;
  }

  .product-gallery,
  .gallery-item {
    width: 100%;
  }

  .gallery-item {
    height: auto;
    aspect-ratio: 2/3;
  }
}

/* Content sizing, retaining the existing template composition. */
.product-information p,
.details-inner fieldset p {
  margin-bottom: 12px
}

.product-heading h1 {
  overflow-wrap: anywhere
}

.details-inner section {
  margin-bottom: 24px
}

.availability {
  margin: 20px 0
}

.product-details .details-body {
  max-height: none
}

.product-details {
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 104px);
  overflow: auto;
  border-radius: 44px
}

.product-metadata span:first-child {
  min-width: 0;
  overflow-wrap: anywhere
}

.product-metadata span:last-child {
  white-space: nowrap
}

.information-gallery .media-slot {
  margin-bottom: 24px
}

.yar-journal figure {
  margin: 24px 0
}

.yar-journal .media-slot img {
  object-fit: contain
}

.press-entry .media-slot {
  max-width: 520px;
  margin: 24px 0
}

.press-image .media-slot img {
  object-fit: contain
}

.contact-page p {
  overflow-wrap: anywhere
}

.menu-links .menu-contact {
  font-size: 18px;
  margin-top: 16px
}

.support-navigation a {
  overflow-wrap: anywhere
}

.about-page .information-panel p {
  margin-bottom: 22px
}

.press-entry h2 {
  overflow-wrap: anywhere
}

.media-dialog img {
  object-fit: contain
}

.bag-summary-note {
  line-height: 1.5
}

.product-details {
  height: auto;
  align-items: flex-start;
  overflow: visible;
  padding-bottom: 0
}

.product-details .details-capsule {
  max-height: calc(100svh - 104px)
}

.about-page {
  display: grid;
  grid-template-columns: 1fr 37.578vw;
  column-gap: 8vw;
  align-items: start
}

.about-page .information-gallery {
  position: static;
  height: auto;
  width: 100%;
  padding-top: 0;
  justify-content: flex-start
}

.about-page .information-gallery>.media-slot {
  flex-shrink: 0;
  max-height: none
}

.about-page .information-gallery img {
  object-fit: contain
}

@media(max-width:1024px) and (orientation:portrait) {
  .about-page {
    display: block
  }
}

@media(max-width:1024px) and (orientation:portrait) {
  .product-details {
    position: static;
    max-height: none;
    overflow: visible
  }

  .product-details .details-capsule {
    max-height: none
  }

  .contact-page {
    padding-top: 100px
  }

  .support-content {
    min-width: 0
  }
}

@media(orientation:landscape) and (max-height:500px) {
  .product-details {
    position: static;
    max-height: none;
    overflow: visible
  }
}

/* Compact portrait-phone Collections; tablet and desktop retain V2 layout. */
@media (max-width:600px) and (orientation:portrait) {
  body[data-page="collections"] .catalog {
    padding-left: 16px;
    padding-right: 16px;
  }

  body[data-page="collections"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 28px;
  }

  body[data-page="collections"] .product-grid .product-card {
    grid-column: auto;
  }

  body[data-page="collections"] .product-metadata {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 8px;
  }

  body[data-page="collections"] .product-metadata>span:last-child {
    text-align: left;
  }
}


/* Global type system. No geometry, media or color overrides. */
:root {
  --yar-header-font: var(--font-primary);
}

body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-stretch: normal;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: var(--leading-heading);
  letter-spacing: 0;
}

.header-nav-link,
.header-util-btn {
  font-size: var(--text-navigation);
  font-weight: 400;
  line-height: var(--leading-ui);
  letter-spacing: var(--tracking-ui);
}

.header-wordmark,
.menu-wordmark,
.yar-footer .footer-brand-slot {
  font-weight: 600;
}

.catalog-toolbar>h1,
.information-panel h1,
.support-section h1,
.yar-journal .support-section h1,
.press-page h1,
.article-info h1,
.search-results h1 {
  font-size: var(--text-page-title);
  line-height: var(--leading-heading);
}

.about-page .information-panel>h2,
.press-entry h2,
.article-component h2,
.article-component h3,
.journal-card h2,
.support-text-block h3 {
  font-size: var(--text-section-heading);
  line-height: var(--leading-heading);
}

.information-panel p,
.yar-journal .support-text-block p,
.support-text-block p,
.press-entry>p:not(.eyebrow),
.article-description,
.article-component p,
.article-component li,
.journal-card p {
  font: 400 var(--text-body)/var(--leading-body) var(--font-primary);
  letter-spacing: 0;
  text-transform: none;
}

.product-heading h1 {
  font-size: var(--text-section-heading);
  line-height: var(--leading-heading);
}

.product-metadata {
  font-size: var(--text-product-name);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.product-metadata>span:last-child,
.product-heading p {
  font-size: var(--text-product-price);
  line-height: 1.3;
  letter-spacing: 0;
}

.details-inner {
  font: 400 var(--text-product-information)/var(--leading-body) var(--font-primary);
}

.details-inner h2,
.details-inner legend {
  font: 400 var(--text-control)/var(--leading-ui) var(--font-primary);
  letter-spacing: var(--tracking-ui);
}

.eyebrow,
.press-intro,
.press-link,
.journal-date,
.article-date,
.result-count,
.search-count,
.gallery-counter,
.article-component figcaption,
figcaption {
  font: 400 var(--text-metadata)/var(--leading-ui) var(--font-primary);
  letter-spacing: 0;
}

figcaption,
.article-component figcaption {
  font-size: var(--text-caption);
}

.button,
.filter-trigger,
.mobile-filter-button,
.search-bar input,
.neutral-form,
.account-form,
.popover {
  font: 400 var(--text-control)/var(--leading-ui) var(--font-primary);
  letter-spacing: 0;
}

.filter-panel h2,
.filter-group button,
.reset-filter {
  font-size: var(--text-filter);
  font-weight: 400;
  line-height: var(--leading-ui);
  letter-spacing: 0;
}

.section-tabs,
.support-navigation a,
.information-entry a,
.information-entry h2,
.underline-link,
.popover-heading h2,
.bag-item h3,
.bag-quantity,
.bag-remove,
.bag-summary-note {
  font-size: var(--text-control);
  font-weight: 400;
  line-height: var(--leading-ui);
  letter-spacing: 0;
}

.site-footer,
.yar-footer .footer-bottom,
.newsletter-form input {
  font: 400 var(--text-footer)/var(--leading-ui) var(--font-primary);
  letter-spacing: var(--tracking-ui);
}

.header-utilities [data-bag-count],
.form-status,
.viewer-controls,
.media-label,
.media-label small,
.details-toggle small {
  font-size: var(--text-utility);
  line-height: var(--leading-ui);
  letter-spacing: 0;
}

.menu-links a,
.menu-links button,
.menu-links .menu-contact {
  font: 400 var(--text-page-title)/var(--leading-heading) var(--font-primary);
  letter-spacing: 0;
}

@media(max-width:600px) {
  .header-util-btn {
    font-size: var(--text-utility);
  }
}

.section-tabs h1,
.support-navigation h1 {
  font-size: var(--text-page-title);
  line-height: var(--leading-heading);
}

.contact-page .support-section h2 {
  font-size: var(--text-section-heading);
  line-height: var(--leading-heading);
}

.press-intro {
  font: 400 var(--text-body)/var(--leading-body) var(--font-primary);
}

/* About / editorial Option C — scoped composition, shared typography. */
.about-editorial.support-page {
  position: relative;
  padding: 17.5vh var(--page-gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90svh;
  box-sizing: border-box;
}

/* Desktop Sticky Narrative Column */
.about-sidebar {
  align-self: start;
  position: sticky;
  top: 17.5vh;
  height: calc(100vh - 17.5vh - 6vh);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding-right: 4vw;
  box-sizing: border-box;
}

.about-sidebar h1 {
  font-size: var(--text-page-title);
  line-height: var(--leading-heading);
  margin: 0 0 4vh;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Narrative Stage — all section text blocks stacked cleanly */
.about-narrative-stage {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 220px;
}

.about-text-pane {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
  pointer-events: none;
  background: var(--color-paper, #fff);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.about-text-pane.is-active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.about-text-pane h2 {
  font-size: var(--text-section-heading);
  line-height: var(--leading-heading);
  margin: 0 0 2vh;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #111;
}

.about-text-pane p {
  font: 400 var(--text-body)/var(--leading-body) var(--font-primary);
  color: #111;
  max-width: 44ch;
  margin: 0 0 1.5em;
}

.about-text-pane p:last-child {
  margin-bottom: 0;
}

.about-sidebar-footer {
  margin-top: auto;
  padding-bottom: 0;
}

.about-sidebar-footer a,
.about-closing-mobile a {
  font-size: var(--text-control);
  line-height: var(--leading-ui);
  letter-spacing: var(--tracking-ui);
}

/* Gallery Stream (Right Column on Desktop) */
.about-gallery-stream {
  min-width: 0;
}

.about-section-group {
  margin-bottom: 22vh;
}

.about-section-group:last-child {
  margin-bottom: 0;
}

.about-section-images {
  display: flex;
  flex-direction: column;
}

.about-figure {
  margin: 0;
  width: 100%;
}

.about-figure:not(:last-child) {
  margin-bottom: 16vh;
}

.about-media {
  width: 100%;
  background: transparent;
}

.about-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Individual Image Sizing & Alignment for Gallery Cadence */
#about-sec-0 .about-figure {
  max-width: 540px;
}

#about-sec-1 .about-figure:nth-child(1) {
  max-width: 500px;
}

#about-sec-1 .about-figure:nth-child(2) {
  max-width: 460px;
  margin-left: auto;
}

#about-sec-2 .about-figure:nth-child(1) {
  max-width: 420px;
}

#about-sec-2 .about-figure:nth-child(2) {
  max-width: 480px;
  margin-left: 3vw;
}

#about-sec-3 .about-figure:nth-child(1) {
  max-width: 480px;
}

#about-sec-3 .about-figure:nth-child(2) {
  max-width: 440px;
  margin-left: auto;
}

#about-sec-3 .about-figure:nth-child(3) {
  max-width: 500px;
  margin: 0 auto;
}

/* Hidden elements on desktop */
.about-mobile-header,
.about-mobile-lead,
.about-closing-mobile {
  display: none;
}

/* Dedicated Mobile Responsive Interpretation */
@media (max-width: 1024px) and (orientation: portrait),
(max-width: 768px) {
  .about-editorial.support-page {
    display: block;
    padding: 100px 20px 80px;
    min-height: auto;
  }

  .about-sidebar {
    display: none;
  }

  .about-mobile-header {
    display: block;
    margin-bottom: 48px;
  }

  .about-mobile-header h1 {
    font-size: 20px;
    line-height: var(--leading-heading);
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
  }

  .about-section-group {
    margin-bottom: 72px;
  }

  .about-mobile-lead {
    display: block;
    margin-bottom: 32px;
  }

  .about-mobile-lead h2 {
    font-size: 16px;
    line-height: var(--leading-heading);
    margin: 0 0 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #111;
  }

  .about-mobile-lead p {
    font: 400 14px/1.65 var(--font-primary);
    color: #111;
    margin: 0;
  }

  .about-figure {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .about-figure:not(:last-child) {
    margin-bottom: 28px;
  }

  .about-closing-mobile {
    display: block;
    margin-top: 56px;
    margin-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-text-pane {
    transition: none;
    transform: none;
  }
}

/* Journal and Press media refinements; source assets remain untouched. */
.yar-journal .media-slot,
.press-entry .media-slot {
  background: transparent;
}

.yar-journal .media-slot,
.press-entry>.media-slot,
.press-image .media-slot {
  aspect-ratio: auto;
}

.yar-journal .media-slot img,
.press-entry>.media-slot img,
.press-image .media-slot img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.press-logo {
  display: block;
  width: min(220px, 100%);
}

.press-logo .media-slot img {
  max-height: 100px;
  object-position: left center;
}

.yar-journal .support-navigation a:not(:first-child),
.yar-journal .support-section h1 {
  font-size: var(--text-section-heading);
  line-height: var(--leading-heading);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width:600px) and (orientation:portrait) {
  .yar-journal .support-navigation a:not(:first-child) {
    font-size: var(--text-product-information);
    line-height: 1.3;
  }
}

/* Exhibition originals: preserve the complete work within the existing frames. */
.exhibition-page .media-slot img,
.artwork-page .media-slot img {
  object-fit: contain;
}

.artwork-page .media-slot[style="--media-ratio:auto"] {
  aspect-ratio: auto;
}

.artwork-page .media-slot[style="--media-ratio:auto"] img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}

.artwork-page .article-component p+p {
  margin-top: 1em;
}

.artwork-page .artwork-recognition {
  font-size: var(--text-metadata);
}

.exhibition-page .media-slot,
.artwork-page .media-slot {
  background: transparent;
}

/* Exhibition detail metadata and enquiry action. */
.artwork-page .artwork-metadata {
  margin-top: 2em;
  font: 400 var(--text-metadata)/var(--leading-ui) var(--font-primary);
}

.artwork-page .artwork-metadata dt {
  margin-bottom: .5em;
}

.artwork-page .artwork-metadata dd {
  margin: 0;
}

.artwork-page .artwork-enquiry {
  padding: 3vh 0;
}

.artwork-page .artwork-status {
  font-size: var(--text-metadata);
  margin-bottom: 16px;
}

.artwork-page .artwork-enquiry-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  color: #111;
  font: 400 var(--text-body)/var(--leading-ui) var(--font-primary);
}

.artwork-page .artwork-enquiry-link span {
  transition: transform .2s ease;
}

.artwork-page .artwork-enquiry-link:hover span,
.artwork-page .artwork-enquiry-link:focus-visible span {
  transform: translateX(3px);
}

.artwork-page .artwork-enquiry-link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

@media(prefers-reduced-motion:reduce) {
  .artwork-page .artwork-enquiry-link span {
    transition: none;
    transform: none;
  }
}

/* Exhibition-only enquiries and image inspection. */
.artwork-page .artwork-metadata dt:not(:first-child) {
  margin-top: 1.2em;
}

.artwork-page .article-component p+h2 {
  margin-top: 2em;
}

.artwork-page .article-component .media-slot {
  cursor: zoom-in;
}

.artwork-page .article-component .media-slot:focus-visible {
  outline: 1px solid;
  outline-offset: 3px;
}

.exhibition-enquiry-dialog,
.exhibition-zoom-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  color: #111;
  background: #fff;
  border: 1px solid #222;
  box-shadow: none;
  font-family: var(--font-primary);
}

.exhibition-enquiry-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 24px;
  border-radius: 26px;
  overflow: auto;
}

.exhibition-enquiry-dialog[open] {
  animation: exhibition-open .18s ease-out;
}

.exhibition-enquiry-dialog::backdrop,
.exhibition-zoom-dialog::backdrop {
  background: rgb(240 239 237 / .94);
}

.exhibition-dialog-close {
  display: block;
  margin: 0 0 22px auto;
  min-height: 44px;
  padding: 8px;
  font-size: 12px;
}

.exhibition-enquiry-dialog h2 {
  font-size: var(--text-section-heading);
  margin-bottom: 18px;
}

.exhibition-enquiry-dialog p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin-bottom: 20px;
}

.exhibition-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.exhibition-form-fields label {
  display: grid;
  gap: 8px;
  font-size: 11px;
}

.exhibition-form-fields label:nth-last-child(-n+2) {
  grid-column: 1/-1;
}

.exhibition-form-fields input,
.exhibition-form-fields textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #888;
  border-radius: 3px;
  padding: 10px;
  color: #111;
  background: transparent;
  font: 16px/1.4 var(--font-primary);
}

.exhibition-form-fields input:focus,
.exhibition-form-fields textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: #222;
}

.exhibition-form-fields textarea {
  resize: vertical;
}

.exhibition-consent {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  line-height: 1.5;
  min-height: 48px;
  margin: 16px 0;
}

.exhibition-consent input {
  width: 18px;
  height: 18px;
  accent-color: #111;
  flex-shrink: 0;
}

.exhibition-consent a {
  text-decoration: underline;
}

.exhibition-send {
  min-height: 48px;
  border: 1px solid #222;
  padding: 12px 18px;
  margin-bottom: 18px;
}

.exhibition-enquiry-dialog .exhibition-form-status {
  font-size: 12px;
}

.exhibition-zoom-dialog {
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  padding: 64px 12px 12px;
  border: 0;
  overflow: auto;
}

.exhibition-zoom-dialog .exhibition-dialog-close {
  position: fixed;
  top: 8px;
  right: 16px;
  z-index: 1;
  background: #fff;
}

.exhibition-zoom-dialog img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  touch-action: pinch-zoom;
}

@keyframes exhibition-open {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width:600px) {
  .exhibition-form-fields {
    grid-template-columns: 1fr;
  }

  .exhibition-form-fields label {
    grid-column: 1;
  }

  .exhibition-send {
    width: 100%;
  }
}

@media(prefers-reduced-motion:reduce) {
  .exhibition-enquiry-dialog[open] {
    animation: none;
  }
}

.exhibition-enquiry-dialog {
  overscroll-behavior: contain;
}

.exhibition-enquiry-dialog {
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
}

.exhibition-enquiry-dialog::-webkit-scrollbar {
  width: 3px;
}

.exhibition-enquiry-dialog::-webkit-scrollbar-track {
  background: transparent;
}

.exhibition-enquiry-dialog::-webkit-scrollbar-thumb {
  background: #aaa;
  border: 0;
  border-radius: 0;
}

.exhibition-enquiry-dialog::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.exhibition-enquiry-dialog .exhibition-dialog-close {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
}

.exhibition-zoom-dialog {
  overscroll-behavior: contain;
}

/* Mobile enquiry chrome only; desktop keeps the existing close layout. */
.exhibition-enquiry-header {
  display: contents;
}

@media(max-width:600px) {
  .exhibition-enquiry-dialog {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .exhibition-enquiry-dialog::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .exhibition-enquiry-header {
    display: flex;
    justify-content: flex-end;
    position: sticky;
    top: -24px;
    z-index: 2;
    margin: -24px -24px 22px;
    padding: 12px 16px 8px;
    background: #fff;
  }

  .exhibition-enquiry-dialog .exhibition-enquiry-header .exhibition-dialog-close {
    position: static;
    width: auto;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    font-size: 11px;
  }
}

.menu-dialog .menu-wordmark {
  display: flex;
  align-items: center;
}

.menu-dialog .menu-wordmark img {
  display: block;
  width: 23px;
  height: 23px;
  filter: brightness(0) invert(1);
}

/* Final Exhibition micro-fixes. */
.exhibition-page .artwork-card:first-child .media-slot {
  aspect-ratio: 1402 / 1122;
}

@media(max-width:600px) {

  .menu-dialog .menu-wordmark:focus-visible,
  .exhibition-enquiry-dialog .exhibition-dialog-close:focus-visible,
  .artwork-page .artwork-enquiry-link:focus-visible {
    outline: none;
    box-shadow: none;
  }

  .menu-dialog .menu-wordmark,
  .exhibition-enquiry-dialog .exhibition-dialog-close,
  .artwork-page .artwork-enquiry-link {
    -webkit-tap-highlight-color: transparent;
  }

  .menu-dialog .menu-wordmark:focus-visible,
  .exhibition-enquiry-dialog .exhibition-dialog-close:focus-visible {
    opacity: .72;
  }

  .artwork-page .artwork-enquiry-link:focus-visible {
    opacity: .8;
  }

  .artwork-page .artwork-enquiry-link:focus-visible span {
    transform: translateX(2px);
  }
}

/* ==================================================
   SHARED LEGAL PAGE TEMPLATE (/terms & /privacy)
   ================================================== */
.legal-page {
  box-sizing: border-box;
  padding: calc(var(--header-height, 64px) + 72px) var(--page-gutter) 140px;
  min-height: 80vh;
  color: var(--color-ink, #212123);
  font-family: var(--font-primary, Arial, Helvetica, sans-serif);
}

.legal-container {
  max-width: 680px;
  margin-left: 0;
  margin-right: auto;
  box-sizing: border-box;
  text-align: left;
}

.legal-header {
  margin-bottom: 36px;
}

.legal-title {
  font-size: var(--text-page-title, clamp(20px, 1.6vw, 24px));
  line-height: var(--leading-heading, 1.3);
  font-weight: 500;
  letter-spacing: var(--tracking-ui, 0.04em);
  text-transform: uppercase;
  margin: 0 0 14px 0;
  color: var(--color-ink, #212123);
}

.legal-last-updated {
  font-size: var(--text-metadata, 11px);
  line-height: var(--leading-ui, 1.4);
  letter-spacing: 0.06em;
  color: var(--color-muted, #707070);
  margin: 0;
  text-transform: uppercase;
}

.legal-intro p {
  font: 400 var(--text-body, clamp(14px, 1.05vw, 15px))/var(--leading-body, 1.65) var(--font-primary);
  color: var(--color-ink, #212123);
  margin: 0 0 20px 0;
  overflow-wrap: break-word;
}

.legal-section {
  margin-top: 52px;
}

.legal-heading {
  font-size: var(--text-section-heading, 18px);
  line-height: var(--leading-heading, 1.3);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 18px 0;
  color: var(--color-ink, #212123);
  overflow-wrap: break-word;
}

.legal-section p {
  font: 400 var(--text-body, clamp(14px, 1.05vw, 15px))/var(--leading-body, 1.65) var(--font-primary);
  color: var(--color-ink, #212123);
  margin: 0 0 16px 0;
  overflow-wrap: break-word;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 20px 0;
}

.legal-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font: 400 var(--text-body, clamp(14px, 1.05vw, 15px))/var(--leading-body, 1.65) var(--font-primary);
  color: var(--color-ink, #212123);
  overflow-wrap: break-word;
}

.legal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-muted, #707070);
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0 24px 0;
}

.legal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px 12px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--color-line-light, #e9e9e9);
}

.legal-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted, #707070);
  border-bottom: 1px solid var(--color-ink, #212123);
  padding-bottom: 10px;
}

.legal-table td {
  font: 400 13px/1.55 var(--font-primary);
  color: var(--color-ink, #212123);
  overflow-wrap: break-word;
}

.legal-table tr:last-child td {
  border-bottom: 1px solid var(--color-line-light, #e9e9e9);
}

.legal-form-block {
  margin: 20px 0 20px 0;
  padding-left: 16px;
  border-left: 1px solid var(--color-line-light, #e9e9e9);
}

.legal-form-line {
  font: 400 var(--text-body, clamp(14px, 1.05vw, 15px))/var(--leading-body, 1.65) var(--font-primary);
  color: var(--color-ink, #212123);
  margin: 0 0 8px 0 !important;
  overflow-wrap: break-word;
}

.legal-contact-block {
  margin: 16px 0;
}

.legal-contact-block p {
  line-height: 1.8;
  overflow-wrap: break-word;
}

@media (max-width: 1024px) and (orientation: portrait),
(max-width: 768px) {
  .legal-page {
    padding-top: calc(var(--header-height, 56px) + 36px);
    padding-bottom: 80px;
    padding-left: var(--page-gutter, 20px);
    padding-right: var(--page-gutter, 20px);
  }

  .legal-container {
    max-width: 100%;
  }

  .legal-section {
    margin-top: 36px;
  }

  .legal-table {
    min-width: 460px;
  }
}

/* ==================================================
   CARE PAGE (/care)
   ================================================== */
.care-page .care-container {
  max-width: 960px;
  margin-left: 0;
  margin-right: auto;
  box-sizing: border-box;
  text-align: left;
}

.care-page .care-header,
.care-page .care-intro,
.care-page .care-contact-section {
  max-width: 680px;
}

.care-page .care-body {
  width: 100%;
}

.care-page .care-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 68px;
  row-gap: 28px;
  align-items: center;
  margin-top: 76px;
}

.care-page .care-section:first-child {
  margin-top: 56px;
}

.care-page .care-section:nth-of-type(odd) {
  grid-template-areas: "text media";
}

.care-page .care-section:nth-of-type(even) {
  grid-template-areas: "media text";
}

.care-page .care-section-text {
  grid-area: text;
}

.care-page .care-section-text .legal-heading {
  margin: 0 0 18px 0;
}

.care-page .care-section-text p {
  font: 400 var(--text-body, clamp(14px, 1.05vw, 15px))/var(--leading-body, 1.65) var(--font-primary);
  color: var(--color-ink, #212123);
  margin: 0 0 16px 0;
  overflow-wrap: break-word;
}

.care-page .care-section-text p:last-child {
  margin-bottom: 0;
}

.care-page .care-figure {
  grid-area: media;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.care-page .care-image {
  width: auto;
  max-width: 100%;
  max-height: 340px;
  height: auto;
  display: block;
  object-fit: contain;
  box-sizing: border-box;
}

.care-page .care-contact-section {
  margin-top: 84px;
  padding-top: 48px;
  border-top: 1px solid var(--color-line-light, #e9e9e9);
}

@media (max-width: 1024px) and (orientation: portrait),
(max-width: 768px) {
  .care-page .care-container {
    max-width: 100%;
  }

  .care-page .care-section {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "media"
      "text" !important;
    margin-top: 48px;
    column-gap: 0;
    row-gap: 22px;
  }

  .care-page .care-section:first-child {
    margin-top: 40px;
  }

  .care-page .care-image {
    max-width: 100%;
    max-height: 280px;
    height: auto;
  }

  .care-page .care-contact-section {
    margin-top: 52px;
    padding-top: 32px;
  }
}

