@media (max-width: 1080px) {
  .primary-nav { gap: 0; }
  .primary-nav a { padding-inline: 9px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-inner { min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); display: none; flex-direction: column; align-items: stretch; background: rgba(255,250,240,.98); border: 1px solid var(--ff-border); border-radius: 18px; padding: 10px; box-shadow: var(--ff-shadow-soft); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { border-radius: 12px; }
  .header-actions { min-width: auto; }
  .brand-link { min-width: auto; }
  .brand-location { display: none; }
  .hero-grid, .story, .product-detail, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .hero-panel { min-height: 420px; }
  .float-badge { position: static; width: auto; margin-top: 14px; }
  .hero-meta { grid-template-columns: 1fr; gap: 8px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .inquiry-band { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--ff-container)); }
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 1.35rem; }
  .header-actions .btn { display: none; }
  .hero-panel { min-height: 330px; border-radius: 28px; padding: 20px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-info { padding: 12px; }
  .product-name { font-size: 1.08rem; }
  .trust-row, .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .section-head { display: grid; align-items: start; }
  .catalog-toolbar { align-items: stretch; }
  .catalog-actions { width: 100%; }
  .catalog-actions select { flex: 1; min-width: 160px; }
}

/* V2.0/V2.1 mobile refinements */
@media (max-width: 1080px) {
  .brand-link { min-width: 245px; }
  .brand-name { font-size: 1.48rem; }
  .brand-location { font-size: .56rem; letter-spacing: .18em; }
  .header-actions { min-width: auto; }
}
@media (max-width: 860px) {
  .brand-link { min-width: auto; }
  .brand-location { display: block; }
  .hero-grid { gap: 28px; }
  .hero-panel { min-height: 440px; }
  .float-badge { justify-self: stretch; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2.3rem, 13vw, 3.35rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.65rem); }
  .announcement { font-size: .68rem; letter-spacing: .08em; padding: 8px 10px; }
  .header-inner { min-height: 74px; gap: 10px; }
  .brand-mark { width: 48px; height: 48px; border-radius: 15px; padding: 6px; }
  .brand-name { font-size: 1.25rem; white-space: normal; line-height: 1; }
  .brand-location { font-size: .5rem; letter-spacing: .13em; white-space: normal; }
  .nav-toggle { padding: 8px 11px; font-size: .82rem; }
  .hero-panel { min-height: 360px; border-radius: 26px; padding: 18px; }
  .hero-logo { width: min(92%, 420px); }
  .float-badge strong { font-size: 1.22rem; }
  .float-badge { padding: 14px 15px; }
  .trust-item { min-height: auto; }
}

/* V2.1 mobile refinements */
@media (max-width: 860px) {
  .brand-link { min-width: auto; }
  .brand-mark { width: 52px; height: 52px; border-radius: 16px; }
  .hero-panel { min-height: 390px; }
  .hero-logo { width: min(88%, 420px); }
  .story-copy .lead, .about-copy { text-align: left; }
  .section-note-line p { text-align: left; }
}
@media (max-width: 640px) {
  .brand-location { font-size: .5rem; letter-spacing: .26em; }
  .brand-name { font-size: 1.26rem; }
  .brand-mark { width: 48px; height: 48px; padding: 4px; }
  .collection-card { min-height: 158px; }
  .hero-meta span { padding-right: 18px; }
}


/* V2.5 Responsive Homepage/Footer Refinements */
@media (max-width: 1080px) {
  .footer-main {
    grid-template-columns: .6fr 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .hero-welcome .hero-grid,
  .story {
    grid-template-columns: 1fr;
  }

  .hero-welcome .hero-panel {
    margin-inline: auto;
    width: min(100%, 460px);
  }

  .hero-signature-line {
    letter-spacing: .055em;
  }

  .story-copy h2 {
    max-width: none;
  }

  .inquiry-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 36px;
  }

  .footer-logo {
    max-width: 96px;
  }

  .footer-contact p {
    max-width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom-right {
    justify-content: flex-start;
  }

  .footer-tagline {
    white-space: normal;
  }

  .signature-closing {
    padding: 16px 0 24px;
  }
}

/* V2.6 Responsive Closing + Footer Refinements */

@media (max-width: 1080px) {
  .footer-main {
    grid-template-columns: .6fr 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .homepage-closing {
    padding-top: clamp(58px, 10vw, 84px);
  }

  .homepage-closing h2 {
    max-width: 11ch;
  }

  .signature-closing.hallmark-signature img {
    width: min(96vw, 820px);
    max-height: 220px;
  }
}

@media (max-width: 640px) {
  .homepage-closing {
    padding: 54px 0 18px;
  }

  .homepage-closing-inner {
    gap: 14px;
  }

  .homepage-closing h2 {
    font-size: clamp(2rem, 12vw, 2.72rem);
  }

  .homepage-closing-hours {
    max-width: 30ch;
    font-size: .94rem;
  }

  .homepage-closing-button {
    width: min(100%, 280px);
  }

  .signature-closing.hallmark-signature {
    padding: 8px 0 44px;
  }

  .signature-closing.hallmark-signature img {
    width: 100%;
    max-height: 180px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 36px;
  }

  .footer-logo {
    max-width: 96px;
  }

  .footer-contact p {
    max-width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom-right {
    justify-content: flex-start;
  }

  .footer-tagline {
    white-space: normal;
  }
}


/* V2.7 responsive alignment and closing CTA overrides */
@media (max-width: 860px) {
  .homepage-closing h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.72rem, 4.85vw, 2.55rem);
  }
}

@media (max-width: 640px) {
  .hero-copy .lead,
  .section-head .lead,
  .section-note,
  .story-copy .lead,
  .about-copy,
  .lux-card p,
  .collection-card p,
  .trust-item p,
  .page-hero .lead,
  .product-summary .lead,
  .profile-copy p,
  .destiny-copy p,
  .empty-state p,
  .contact-grid p {
    text-align: left;
    hyphens: manual;
  }

  .homepage-closing h2 {
    max-width: 26ch;
    white-space: normal;
    font-size: clamp(1.42rem, 7vw, 2rem);
    line-height: 1.1;
  }

  .homepage-closing-hours {
    max-width: 34ch;
  }
}


/* V3.0 responsive hours refinements */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .homepage-hours-button,
  .homepage-closing-button {
    width: min(100%, 280px);
    min-width: 0;
  }

  .hours-row {
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
  }
}


/* V3.1 responsive footer baseline preservation */
@media (max-width: 640px) {
  .footer-bottom.footer-baseline {
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 0 28px;
  }

  .footer-pillars {
    font-size: .72rem;
    letter-spacing: .22em;
  }

  .footer-parent {
    font-size: 1rem;
  }

  .footer-social-block .social-row {
    justify-content: flex-start;
  }
}


/* V3.3 responsive homepage closing gap refinement */
@media (max-width: 640px) {
  .home-trust-section {
    padding-bottom: 18px;
  }

  .home-trust-section + .homepage-closing {
    padding-top: 34px;
  }
}

/* V3.4 responsive About philosophy balance */
@media (max-width: 860px) {
  .about-philosophy-grid {
    align-items: stretch;
  }

  .about-philosophy-logo {
    min-height: clamp(320px, 66vw, 440px);
    height: auto;
    justify-self: center;
    width: min(100%, 520px);
    overflow: visible;
  }

  .about-philosophy-logo img {
    width: min(84%, 380px);
    height: auto;
    max-height: 100%;
  }
}

@media (max-width: 640px) {
  .about-philosophy-logo {
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 18px;
    overflow: visible;
  }

  .about-philosophy-logo img {
    width: min(78vw, 340px);
    height: auto;
    max-height: calc(100% - 10px);
  }

  .about-opening-hero .lead,
  .about-philosophy-card .about-copy {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .about-hours-card .hours-row {
    grid-template-columns: minmax(92px, 118px) 1fr;
    gap: 10px;
  }
}

/* V3.7: keep About value cards readable on compact/narrow cards. */
@media (max-width: 640px) {
  .about-value-cards .trust-item p {
    text-align: left;
    text-justify: auto;
    hyphens: none;
    word-spacing: normal;
    overflow-wrap: normal;
  }

  .contact-hero .lead,
  .product-inquiry-board .contact-card-copy {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }
}

/* V4.0 responsive ticker preservation */
@media (max-width: 720px) {
  .announcement {
    font-size: .68rem;
    font-weight: 400;
    letter-spacing: .15em;
    padding: 9px 0;
    text-align: left;
  }
  .announcement-track { animation-duration: 32s; }
  .announcement-copy { padding-right: 64px; }
}


/* V4.4 responsive product detail adjustments */
@media (max-width: 860px) {
  .product-page-hero { padding: 22px 0 10px; }
  .product-detail-section { padding-top: 20px; }
  .product-summary h1 { max-width: none; font-size: clamp(2rem, 9vw, 3.35rem); }
  .product-image-price { font-size: .84rem; }
}

/* V5.0.1 Critical Hotfix: compact card row lock preservation */
@media (max-width: 640px) {
  .product-card .product-info {
    grid-template-rows: 18px 30px 20px 20px 20px 24px 42px;
    min-height: 214px;
  }
}
