/* Shared responsive safeguards for catalog, account, proof and checkout views. */
/* Full-bleed product photos. Square catalog frames match the product mockups;
   detail artwork uses its natural ratio so no printed wording is cropped. */
.ps-home .product-card,.ps-shop .product-card { padding:0; overflow:hidden; }
.ps-home .product-art,.ps-shop .product-art { display:block; width:100%; aspect-ratio:1; margin:0; padding:0; border:0; border-radius:0; background:transparent; }
.ps-home .product-art img,.ps-shop .product-art img { display:block; width:100%; height:100%; margin:0; padding:0; object-fit:cover; filter:none; }
.ps-home .product-card>p,.ps-home .product-card>h2,.ps-home .product-card>small,
.ps-shop .product-card>p,.ps-shop .product-card>h2,.ps-shop .product-card>small { margin-inline:12px; }
.ps-home .product-card>.product-link { margin:10px 12px 12px; }
.ps-shop .product-card>.product-link { margin-inline:0; padding-inline:12px; }
.ps-product-page .product-gallery figure { padding:0; margin:0; border:0; background:transparent; overflow:hidden; }
.ps-product-page .product-gallery figure a { display:block; margin:0; padding:0; border-radius:0; }
.ps-product-page .product-gallery figure img,.ps-product-page .product-gallery figure:first-child img { display:block; width:100%; height:auto; max-height:none; aspect-ratio:auto; margin:0; padding:0; filter:none; }
.ps-product-page .product-gallery figcaption { padding:12px 0 0; }
main, main section, main form, main article, main aside, main label { min-width:0; }
main img, main video, main iframe { max-width:100%; }
main h1, main h2, main h3, main p, main address, main dd, main a, .validation-summary-errors { overflow-wrap:anywhere; }
main select, main textarea, main input:not([type=checkbox]):not([type=radio]) { max-width:100%; }
main textarea { resize:vertical; }
.button { text-align:center; align-items:center; white-space:normal; }
.pagination { flex-wrap:wrap; }
.ps-menu-toggle { display:none; }
.season-hero-art { display:flex; flex-direction:column; min-width:0; background:#eee6d7; color:#29231a; }
.season-hero-art .ps-hero-photo { object-fit:contain; height:440px; min-height:0; width:100%; }
.season-hero-art>span { display:block; text-align:center; padding:12px 20px; }
.season-everyday-link { display:block; margin-top:20px; font-size:14px; text-decoration:underline; }
.season-links { display:flex; gap:10px; padding:16px 2.7%; overflow-x:auto; align-items:center; }
.season-links a { flex:0 0 auto; border:1px solid #dfd3bf; border-radius:24px; padding:10px 16px; background:#fffdf9; font-size:14px; }
.season-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.season-heading h2 { font-size:clamp(26px,3vw,38px); margin:6px 0 10px; }
.season-heading p { margin:6px 0; max-width:700px; }
.season-heading>a { flex-shrink:0; text-decoration:underline; }
.seasonal-products { border-bottom:1px solid var(--line); padding-bottom:28px; }
.ps-utility a { min-width:44px; min-height:44px; justify-content:center; }
.ps-utility { gap:8px; }
.announcement { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding-block:0; font-size:12px; line-height:1.4; }
.announcement>span { display:flex; align-items:center; align-self:center; margin:0; }
.announcement .ps-utility { display:flex; align-items:center; flex-shrink:0; }
.announcement .ps-utility>span { margin:0; font-size:11px; line-height:1.4; }
.site-header nav>a,.site-header nav summary { font-size:15px; line-height:1.4; }
.site-header .nav-panel a,.site-header .nav-signout button { font-size:15px; }
@media(max-width:700px) {
  .season-hero-art .ps-hero-photo { height:auto; aspect-ratio:1; }
  .season-heading { align-items:flex-start; flex-direction:column; gap:6px; }
  .announcement { font-size:10px; letter-spacing:.08em; }
  .site-header .ps-brand { margin:0 auto 0 0; min-width:0; gap:8px; }
  .ps-brand .wordmark { font-size:17px; letter-spacing:2px; }
  .ps-brand .wordmark small { font-size:6px; letter-spacing:1px; }
  .ps-menu-toggle:not([hidden]) { display:flex; align-items:center; gap:10px; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:6px; color:var(--ink); background:#fffdf8; cursor:pointer; }
  .site-header.ps-nav-enhanced>nav:not(.is-open) { display:none; }
  .site-header>nav { display:flex; flex-direction:column; align-items:stretch; gap:0; width:100%; }
  .site-header nav>a,.site-header nav>details { padding:0; border:0; border-top:1px solid var(--line); width:100%; }
  .site-header nav>a,.site-header nav summary { min-height:44px; padding:12px; font-size:15px; }
  .site-header .nav-panel,.site-header .nav-many>.nav-panel,.site-header details:last-child>.nav-panel { position:static; transform:none; width:100%; max-height:45vh; box-shadow:none; margin:0 0 8px; border-radius:6px; grid-template-columns:1fr; }
  main input:not([type=checkbox]):not([type=radio]),main select,main textarea { font-size:16px!important; }
  main select,main input:not([type=checkbox]):not([type=radio]),main button,.button { min-height:44px; }
  .section { padding:28px 16px; }
  .section h1 { font-size:clamp(30px,8vw,42px); }
  .checkout-fields { grid-template-columns:minmax(0,1fr); }
  .ps-cart .cart-summary,.ps-review .review-summary,.ps-checkout .checkout-guide { position:static; }
  .family-card { padding:20px; border-radius:12px; }
  .family-card .button { margin-block:6px; }
  .proof-document { height:60vh; min-height:280px; }
  .orders-account-nav { flex-wrap:wrap; }
  .orders-account-nav a,.pagination a { min-height:44px; display:inline-flex; align-items:center; }
  .ps-profile .profile-email { overflow-wrap:anywhere; }
  footer { padding:28px 18px; gap:16px; }
}
/* A stable, compact carousel: image intrinsic size must never determine slide height. */
.ps-home .ps-hero-slide { grid-template-columns:40% 60%; height:420px; min-height:0; overflow:hidden; }
.ps-home .ps-hero-photo { height:420px; min-height:0; width:100%; object-fit:cover; }
.ps-home .ps-hero-copy { padding:26px clamp(24px,4vw,68px) 56px; min-width:0; }
.ps-home .ps-hero-copy h1,.ps-home .ps-hero-copy h2 { font-size:clamp(36px,3.5vw,60px); line-height:1.02; letter-spacing:-1.3px; margin:12px 0; }
.ps-home .ps-hero-copy>p:not(.eyebrow) { font-size:17px; line-height:1.45; max-width:36ch; margin:12px 0; }
.ps-home .ps-hero-copy .eyebrow { font-size:10px; letter-spacing:2px; margin:0; }
.ps-home .ps-hero-copy .button { padding:13px 18px; font-size:11px; margin-top:4px; }
.ps-seasonal-slide { background:#20372f; }
.ps-home .ps-seasonal-slide h1 { text-transform:none; }
.ps-home .season-everyday-link { display:block; color:#e4d9bd; font-size:12px; margin-top:14px; }
.season-hero-collection { display:flex; align-items:center; justify-content:center; gap:16px; padding:30px 30px 55px; background:radial-gradient(ellipse at top,#fcf5e6,#e5d7bf); min-width:0; }
.season-hero-product { display:block; flex:1 1 0; max-width:270px; min-width:0; color:#29281f; text-decoration:none; }
.season-hero-product img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:8px; box-shadow:0 12px 28px #3329151c; }
.season-hero-product span { display:flex; justify-content:space-between; gap:8px; margin-top:12px; font:15px/1.3 Georgia,serif; }
.season-hero-product b { font-family:Arial,sans-serif; font-weight:400; }
.ps-home .ps-slide-controls { bottom:10px; }
@media(min-width:701px) and (max-width:1000px) {
 .ps-home .ps-hero-slide { grid-template-columns:43% 57%; }
 .season-hero-collection { padding:25px 20px 55px; gap:12px; }
 .season-hero-product:nth-child(3) { display:none; }
}
@media(max-width:700px) {
 .ps-home .ps-hero-slide { grid-template-columns:1fr; grid-template-rows:292px 248px; height:540px; }
 .ps-home .ps-hero-copy { padding:24px 24px 20px; align-self:center; }
 .ps-home .ps-hero-copy h1,.ps-home .ps-hero-copy h2 { font-size:36px; line-height:1; }
 .ps-home .ps-hero-copy>p:not(.eyebrow) { font-size:15px; margin:8px 0; }
 .ps-home .ps-hero-photo { height:248px; min-height:0; aspect-ratio:auto; }
 .season-hero-collection { padding:14px 18px 48px; gap:12px; align-items:flex-start; }
 .season-hero-product { max-width:170px; }
 .season-hero-product:nth-child(3) { display:none; }
 .season-hero-product img { height:145px; aspect-ratio:1; object-fit:contain; background:#f3e9d9; }
 .season-hero-product span { font-size:12px; margin-top:6px; }
 .ps-home .season-everyday-link { margin-top:10px; }
}
@media(max-width:380px) {
  .site-header { padding-inline:12px; }
  .ps-brand>img { width:38px; }
  .ps-brand .wordmark { font-size:15px; }
  .ps-menu-toggle:not([hidden]) { padding-inline:8px; }
  .ps-utility { gap:0; }
  .announcement { padding-inline:12px; letter-spacing:.06em; }
  .ps-shop .compact-filters,.ps-shop .shop-extra-fields { grid-template-columns:minmax(0,1fr); }
  .ps-orders .orders-card { grid-template-columns:minmax(0,1fr); }
}
