/**
 * Pooshak 0.7.3 — Visual QA
 *
 * Focused homepage polish after reference alignment. This stylesheet is loaded
 * only on Women, Men and Kids home routes and intentionally does not alter
 * archive, PDP, cart or checkout behavior.
 */

.pooshak-reference-home {
  --reference-space: clamp(64px, 5vw, 82px);
  background: #fcfbf8;
}

.pooshak-reference-home .container {
  width: min(calc(100% - 72px), 1420px);
}

.pooshak-reference-home .pooshak-home-section {
  padding-block: var(--reference-space);
}

.pooshak-reference-section-head {
  margin-block-end: clamp(22px, 2.2vw, 32px);
}

.pooshak-reference-section-head h2 {
  font-size: clamp(30px, 2.65vw, 40px);
}

.pooshak-reference-home .pooshak-home-text-link {
  position: relative;
  min-height: 42px;
  gap: 8px;
  border-bottom: 0;
  font-size: 14px;
  font-weight: 600;
}

.pooshak-reference-home .pooshak-home-text-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transition: transform .18s ease;
}

@media (hover: hover) {
  .pooshak-reference-home .pooshak-home-text-link:hover::after {
    transform: scaleX(.58);
  }
}

/* Header */
.pooshak-reference-alignment .site-header {
  box-shadow: 0 1px 0 rgba(31, 28, 23, .07);
}

.pooshak-reference-alignment .header-main {
  min-height: 70px;
}

.pooshak-reference-alignment .header-nav {
  min-height: 46px;
}

.pooshak-reference-alignment .header-main .logo,
.pooshak-reference-alignment .header-main .site-title {
  font-size: 25px;
}

.pooshak-reference-alignment .header-main a,
.pooshak-reference-alignment .header-nav a {
  font-size: 13px;
}

/* Hero */
.pooshak-reference-hero {
  min-height: clamp(560px, 68svh, 730px);
  grid-template-columns: minmax(360px, 40%) minmax(0, 60%);
}

.pooshak-reference-hero__copy {
  padding: clamp(90px, 9vw, 138px) clamp(42px, 5vw, 82px) 64px;
}

.pooshak-reference-hero__copy-inner {
  width: min(100%, 470px);
}

.pooshak-reference-hero h1 {
  max-width: 11ch;
  font-size: clamp(46px, 4.35vw, 64px);
  line-height: 1.2;
}

.pooshak-reference-hero__text {
  margin: 18px 0 20px;
  font-size: clamp(15px, 1.05vw, 17px);
}

.pooshak-reference-hero .pooshak-home-text-link {
  min-height: 48px;
  padding: 0 22px;
  background: #171714;
  color: #fff;
  border: 1px solid #171714;
  font-size: 14px;
}

.pooshak-reference-hero .pooshak-home-text-link::after {
  display: none;
}

@media (hover: hover) {
  .pooshak-reference-hero .pooshak-home-text-link:hover {
    background: transparent;
    color: #171714;
  }
}

/* Categories */
.pooshak-reference-categories {
  background: #f5f1ea;
}

.pooshak-reference-category-strip {
  gap: clamp(12px, 1.15vw, 18px);
}

.pooshak-reference-category-card__media {
  aspect-ratio: 4 / 4.7;
  padding: clamp(10px, 1vw, 16px);
  border-color: #e4ded4;
  background: #fbfaf7;
}

.pooshak-reference-category-card__label {
  padding-block-start: 11px;
  font-size: 14px;
}

/* Campaigns */
.pooshak-reference-campaign {
  min-height: clamp(520px, 49vw, 690px);
}

.pooshak-reference-campaign::after {
  inset: 42% 0 0;
  background: linear-gradient(0deg, rgba(13, 12, 11, .72) 0%, rgba(13, 12, 11, .36) 43%, rgba(13, 12, 11, 0) 100%);
}

.pooshak-reference-campaign__copy {
  inset-inline: clamp(28px, 3.5vw, 54px);
  bottom: clamp(30px, 3vw, 48px);
}

.pooshak-reference-campaign__copy strong {
  font-size: clamp(32px, 3.35vw, 48px);
}

.pooshak-reference-campaign__text {
  font-size: clamp(14px, 1.05vw, 16px);
}

/* Editorial story */
.pooshak-reference-editorial {
  background: #f5f1ea;
}

.pooshak-reference-editorial__layout {
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  gap: clamp(42px, 5vw, 74px);
  align-items: stretch;
}

.pooshak-reference-editorial__image {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 4.35;
  align-self: stretch;
  background: #e5ddd2;
}

.pooshak-reference-editorial__image :where(picture, img) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pooshak-reference-editorial__image img {
  object-fit: cover;
  object-position: 50% 42%;
}

.pooshak-reference-editorial__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(10px, 2vw, 30px);
}

.pooshak-reference-editorial__copy {
  max-width: 560px;
  margin-block-end: clamp(30px, 3vw, 42px);
}

.pooshak-reference-editorial__copy h2 {
  font-size: clamp(34px, 3.35vw, 48px);
}

.pooshak-reference-editorial-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}

.pooshak-reference-mini-product__media {
  aspect-ratio: 4 / 5.15;
  border: 1px solid #e3ddd3;
  background: #fbfaf7;
}

.pooshak-reference-mini-product__media img {
  object-fit: contain;
  padding: 5%;
}

.pooshak-reference-mini-product h3 {
  margin: 12px 0 4px;
  font-size: 15px;
}

.pooshak-reference-mini-product .price {
  font-size: 14px;
}

/* Journal */
.pooshak-reference-journal {
  background: #fcfbf8;
}

.pooshak-reference-journal-card a {
  display: block;
}

.pooshak-reference-journal-card :where(picture, img) {
  width: 100%;
  display: block;
}

.pooshak-reference-journal-card picture {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee9e1;
}

.pooshak-reference-journal-card picture img {
  height: 100%;
  object-fit: cover;
}

.pooshak-reference-journal-card h3 {
  margin: 15px 0 6px;
  font-size: clamp(18px, 1.35vw, 21px);
}

/* Newsletter — only appears when a real integration exists. */
.pooshak-home-newsletter {
  min-height: 320px;
  padding-block: 72px;
}

.pooshak-home-newsletter__inner {
  max-width: 700px;
}

.pooshak-home-newsletter h2 {
  font-size: clamp(34px, 3.3vw, 46px);
}

/* Footer */
.site-footer {
  padding-block-start: 62px;
}

.footer-grid {
  grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(140px, .75fr)) minmax(190px, .9fr);
  gap: clamp(28px, 4vw, 64px);
}

.footer-brand p {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.95;
}

.footer-col h2 {
  font-size: 15px;
}

.footer-menu a,
.footer-menu li {
  font-size: 13px;
  line-height: 1.85;
}

.footer-bottom {
  margin-block-start: 42px;
  padding-block: 20px;
}

/* Tablet */
@media (max-width: 1199px) {
  .pooshak-reference-home .container {
    width: min(calc(100% - 48px), 1420px);
  }

  .pooshak-reference-hero {
    grid-template-columns: minmax(330px, 42%) minmax(0, 58%);
  }

  .pooshak-reference-category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pooshak-reference-editorial__layout {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    gap: 36px;
  }

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

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .pooshak-reference-home {
    --reference-space: 54px;
  }

  .pooshak-reference-home .container {
    width: min(calc(100% - 36px), 1420px);
  }

  .pooshak-reference-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .pooshak-reference-hero__media {
    min-height: clamp(390px, 108vw, 560px);
  }

  .pooshak-reference-hero__copy {
    padding: 30px 22px 38px;
  }

  .pooshak-reference-hero h1 {
    font-size: clamp(34px, 8.5vw, 48px);
  }

  .pooshak-reference-hero .pooshak-home-text-link {
    width: fit-content;
  }

  .pooshak-reference-editorial__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pooshak-reference-editorial__image {
    aspect-ratio: 4 / 4.65;
  }

  .pooshak-reference-editorial__content {
    padding-block: 0;
  }

  .pooshak-reference-editorial-products {
    gap: 12px;
  }

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

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .pooshak-reference-home {
    --reference-space: 48px;
  }

  .pooshak-reference-home .container {
    width: min(calc(100% - 32px), 1420px);
  }

  .pooshak-reference-section-head {
    align-items: center;
  }

  .pooshak-reference-section-head h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .pooshak-reference-hero__media {
    min-height: clamp(360px, 104vw, 500px);
  }

  .pooshak-reference-hero__copy {
    padding: 26px 18px 34px;
  }

  .pooshak-reference-hero h1 {
    font-size: clamp(32px, 9.3vw, 42px);
  }

  .pooshak-reference-hero__text {
    margin: 13px 0 16px;
  }

  .pooshak-reference-category-strip {
    width: calc(100vw - 16px);
    grid-auto-columns: min(82vw, 340px);
  }

  .pooshak-reference-category-card__media {
    aspect-ratio: 4 / 4.75;
  }

  .pooshak-reference-campaign {
    min-height: clamp(390px, 106vw, 520px);
  }

  .pooshak-reference-campaign__copy {
    inset-inline: 18px;
    bottom: 22px;
  }

  .pooshak-reference-campaign__copy strong {
    font-size: clamp(28px, 8vw, 37px);
  }

  .pooshak-reference-editorial__copy h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .pooshak-reference-editorial-products {
    width: auto;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .pooshak-reference-mini-product h3 {
    font-size: 13px;
  }

  .pooshak-reference-mini-product .price {
    font-size: 12px;
  }

  .pooshak-reference-journal__grid {
    grid-auto-columns: min(84vw, 340px);
  }

  .site-footer {
    padding-block-start: 46px;
  }

  .footer-grid {
    gap: 28px 20px;
  }
}

@media (max-width: 430px) {
  .pooshak-reference-editorial-products {
    grid-template-columns: 1fr;
  }

  .pooshak-reference-mini-product {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
  }

  .pooshak-reference-mini-product > a {
    display: contents;
  }

  .pooshak-reference-mini-product__media {
    grid-row: 1 / span 2;
  }

  .pooshak-reference-mini-product h3,
  .pooshak-reference-mini-product .price {
    margin: 0;
  }

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

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pooshak-reference-home .pooshak-home-text-link::after {
    transition: none;
  }
}
