/* Recipe Clothing owner-requested closeout fixes, 2026-09-14.
 * Loaded last so these rules deliberately win over the Pavne base and earlier Recipe layers.
 */

/* PDP image geometry: source photography is 1080x1920 (9:16). */
.recipe-store .pdp-gallery__stage{
  width:100%;
  max-width:1080px;
  aspect-ratio:1080 / 1920 !important;
  min-height:0 !important;
  overflow:hidden !important;
  background:#eeeae4 !important;
}
.recipe-store .pdp-gallery__thumb{
  aspect-ratio:1080 / 1920 !important;
}
.recipe-store .pdp-gallery__main,
.recipe-store .pdp-gallery__thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center top !important;
}

/* Reviews: restrained editorial block instead of inherited commerce styling. */
.recipe-store .pdp-reviews{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
.recipe-store .pdp-reviews__head{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end !important;
  gap:24px !important;
  padding-bottom:24px;
  margin-bottom:0 !important;
  border-bottom:1px solid var(--recipe-line);
}
.recipe-store .pdp-rating-summary{
  min-width:132px !important;
}
.recipe-store .pdp-reviews__layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(340px,420px) !important;
  gap:clamp(28px,4vw,56px) !important;
  padding-top:30px;
}
.recipe-store .pdp-review-list{
  border-top:0 !important;
}
.recipe-store .pdp-review-card,
.recipe-store .pdp-review-empty{
  padding:22px 0 !important;
}
.recipe-store .pdp-review-empty{
  min-height:120px;
  display:flex;
  align-items:center;
}
.recipe-store .pdp-review-compose{
  position:sticky;
  top:96px;
  border:1px solid var(--recipe-line) !important;
  border-radius:0 !important;
  padding:26px !important;
  background:rgba(255,255,255,.45) !important;
  box-shadow:none !important;
}
.recipe-store .review-form{
  gap:13px !important;
}
.recipe-store .review-form > div{
  grid-template-columns:1fr 1fr !important;
  gap:12px !important;
}
.recipe-store .review-form > div label:last-child{
  grid-column:1 / -1 !important;
}
.recipe-store .review-form input,
.recipe-store .review-form select,
.recipe-store .review-form textarea{
  border-radius:0 !important;
}
.recipe-store .pdp-reviews__layout:has(.pdp-review-empty){
  grid-template-columns:minmax(0,1fr) !important;
  max-width:760px;
}
.recipe-store .pdp-reviews__layout:has(.pdp-review-empty) .pdp-review-compose{
  position:static;
}

/* Collections directory: three clean department cards with compact subcategory links. */
.recipe-store .recipe-collection-hero{
  max-width:1180px;
  padding-top:clamp(42px,6vw,76px) !important;
  padding-bottom:clamp(28px,4vw,44px) !important;
}
.recipe-store .recipe-collection-hero h1{
  max-width:780px;
}
.recipe-store .recipe-collection-hero p:last-child{
  max-width:680px;
}
.recipe-store .recipe-grid-wrap{
  max-width:1180px !important;
}
.recipe-store .recipe-category-directory{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:clamp(22px,3vw,38px) !important;
  align-items:start;
}
.recipe-store .recipe-category-group{
  min-width:0;
}
.recipe-store .recipe-collection-tile--directory{
  min-height:0 !important;
  aspect-ratio:4 / 5;
}
.recipe-store .recipe-collection-tile--directory > span{
  left:20px;
  right:20px;
  bottom:18px;
}
.recipe-store .recipe-collection-tile--directory strong{
  font-size:clamp(30px,3vw,42px);
}
.recipe-store .recipe-category-directory__links{
  display:grid;
  gap:0;
  margin-top:14px;
  border-top:1px solid var(--recipe-line);
}
.recipe-store .recipe-category-directory__links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:46px;
  padding:10px 0;
  border-bottom:1px solid var(--recipe-line);
  text-decoration:none;
  font-size:11px;
  line-height:1.35;
}
.recipe-store .recipe-category-directory__links a span{
  min-width:0;
}
.recipe-store .recipe-category-directory__links a small{
  flex:0 0 auto;
  color:var(--recipe-muted);
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.recipe-store .recipe-category-directory__links a:hover span{
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Footer credit must visually match the rest of the legal row. */
.recipe-store .recipe-footer__bottom a{
  color:inherit !important;
  font:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
  letter-spacing:inherit !important;
  text-transform:inherit !important;
}

/* Mobile PDP rebuild: contained, predictable, no inherited horizontal overflow. */
@media(max-width:920px){
  .recipe-store .pdp,
  .recipe-store .pdp-gallery,
  .recipe-store .pdp-gallery__layout,
  .recipe-store .pdp-summary,
  .recipe-store .pdp-summary__inner{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  .recipe-store .pdp{
    display:block !important;
  }
  .recipe-store .pdp-summary{
    position:static !important;
    margin-top:28px;
  }
  .recipe-store .pdp-gallery__layout{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
  }
  .recipe-store .pdp-gallery__thumbs{
    order:2 !important;
    display:flex !important;
    flex-direction:row !important;
    gap:8px !important;
    overflow-x:auto !important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .recipe-store .pdp-gallery__thumbs::-webkit-scrollbar{display:none}
  .recipe-store .pdp-gallery__thumb{
    flex:0 0 58px !important;
    width:58px !important;
  }
  .recipe-store .pdp-review-compose{
    position:static;
  }
}

@media(max-width:760px){
  .recipe-store .pdp-shell{
    width:100% !important;
    max-width:100% !important;
    padding:14px 14px 48px !important;
    overflow-x:hidden !important;
  }
  .recipe-store .pdp-breadcrumb{
    margin-bottom:14px !important;
    font-size:9px !important;
  }
  .recipe-store .pdp-gallery__stage{
    max-width:none;
  }
  .recipe-store .pdp-summary{
    margin-top:24px !important;
  }
  .recipe-store .pdp-heading h1{
    margin:8px 0 12px !important;
    font-size:clamp(34px,10.5vw,46px) !important;
    line-height:.98 !important;
  }
  .recipe-store .pdp-heading .pdp-intro{
    font-size:12px !important;
    line-height:1.55 !important;
  }
  .recipe-store .pdp-price{
    margin:15px 0 8px !important;
  }
  .recipe-store .pdp-description-block{
    margin-top:16px !important;
    padding-top:16px !important;
  }
  .recipe-store .product-option-values{
    gap:7px !important;
  }
  .recipe-store .product-option-choice{
    min-width:48px !important;
    min-height:42px !important;
    padding:8px 11px !important;
  }
  .recipe-store .pdp-purchase__actions{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  .recipe-store .pdp-quantity{
    grid-template-columns:auto 1fr !important;
    align-items:center !important;
  }
  .recipe-store .pdp-client-actions{
    margin-top:24px !important;
  }
  .recipe-store .pdp-services{
    margin-top:50px !important;
  }
  .recipe-store .pdp-reviews{
    margin-top:54px !important;
    padding-top:30px !important;
  }
  .recipe-store .pdp-reviews__head{
    grid-template-columns:1fr !important;
    align-items:start !important;
    gap:12px !important;
  }
  .recipe-store .pdp-rating-summary{
    text-align:left !important;
  }
  .recipe-store .pdp-reviews__layout,
  .recipe-store .pdp-reviews__layout:has(.pdp-review-empty){
    grid-template-columns:1fr !important;
    gap:22px !important;
    max-width:none !important;
    padding-top:22px !important;
  }
  .recipe-store .pdp-review-compose{
    padding:20px 16px !important;
  }
  .recipe-store .review-form > div{
    grid-template-columns:1fr !important;
  }
  .recipe-store .review-form > div label:last-child{
    grid-column:auto !important;
  }

  .recipe-store .recipe-category-directory{
    grid-template-columns:1fr !important;
    gap:38px !important;
  }
  .recipe-store .recipe-collection-tile--directory{
    aspect-ratio:4 / 5;
  }
  .recipe-store .recipe-collection-hero{
    padding-left:14px !important;
    padding-right:14px !important;
  }
  .recipe-store .recipe-grid-wrap{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

/* Product cards: desktop owner request is the 720x960 (3:4) presentation.
 * Source images are taller, so use contain to show the full garment instead of cropping it.
 */
@media(min-width:761px){
  .recipe-store .recipe-product-card__media{
    aspect-ratio:720 / 960 !important;
    background:#f0ede7 !important;
  }
  .recipe-store .recipe-product-card__media img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    transform:none !important;
  }
  .recipe-store .recipe-product-card:hover .recipe-product-card__media img{
    transform:none !important;
  }
}

/* Product-card typography: titles and price must remain clearly readable on home and collection grids. */
.recipe-store .recipe-product-card > a{
  color:var(--recipe-ink) !important;
  text-decoration:none !important;
}
.recipe-store .recipe-product-card__meta{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:6px !important;
  padding:14px 2px 4px !important;
  color:var(--recipe-ink) !important;
}
.recipe-store .recipe-product-card__meta h3{
  width:100%;
  margin:0 !important;
  color:var(--recipe-ink) !important;
  font-family:Inter,Arial,sans-serif !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.35 !important;
  letter-spacing:-.01em !important;
  opacity:1 !important;
}
.recipe-store .recipe-product-card__meta .recipe-price{
  margin:0 !important;
  color:#3f3d39 !important;
  font-size:12.5px !important;
  font-weight:500 !important;
  line-height:1.4 !important;
  opacity:1 !important;
}
.recipe-store .recipe-product-card__meta .recipe-price del{
  color:var(--recipe-muted) !important;
}

/* Recipe account system: replace the inherited dark/gold Pavne account styling. */
.recipe-store .customer-account-shell{
  width:min(1120px,calc(100% - (var(--recipe-gutter) * 2)));
  max-width:1120px !important;
  margin:0 auto !important;
  padding:clamp(44px,6vw,82px) 0 clamp(72px,8vw,112px) !important;
  color:var(--recipe-ink) !important;
}
.recipe-store .customer-account-hero{
  max-width:720px !important;
  margin:0 auto clamp(28px,4vw,44px) !important;
  text-align:center;
}
.recipe-store .customer-account-hero .eyebrow,
.recipe-store .account-auth-card .eyebrow,
.recipe-store .account-panel .eyebrow{
  margin:0 0 10px !important;
  color:var(--recipe-muted) !important;
  font-family:Inter,Arial,sans-serif !important;
  font-size:10px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
}
.recipe-store .customer-account-hero h1{
  margin:0 0 14px !important;
  color:var(--recipe-ink) !important;
  font-family:"Cormorant Garamond",Georgia,serif !important;
  font-size:clamp(44px,6vw,76px) !important;
  font-weight:500 !important;
  line-height:.96 !important;
  letter-spacing:-.035em !important;
}
.recipe-store .customer-account-hero p{
  max-width:600px !important;
  margin:0 auto !important;
  color:var(--recipe-muted) !important;
  font-size:14px !important;
  line-height:1.7 !important;
}
.recipe-store .account-auth-card,
.recipe-store .account-panel{
  border:1px solid var(--recipe-line) !important;
  border-radius:0 !important;
  background:rgba(255,255,255,.46) !important;
  color:var(--recipe-ink) !important;
  box-shadow:none !important;
}
.recipe-store .account-auth-card{
  width:min(540px,100%);
  max-width:540px !important;
  margin:0 auto !important;
  padding:clamp(26px,4vw,40px) !important;
}
.recipe-store .account-auth-card h2,
.recipe-store .account-panel h2{
  margin:0 0 24px !important;
  color:var(--recipe-ink) !important;
  font-family:"Cormorant Garamond",Georgia,serif !important;
  font-size:clamp(30px,3vw,42px) !important;
  font-weight:500 !important;
  line-height:1 !important;
  letter-spacing:-.025em !important;
}
.recipe-store .account-form{
  gap:16px !important;
}
.recipe-store .account-form label{
  gap:8px !important;
  color:#4d4a45 !important;
  font-family:Inter,Arial,sans-serif !important;
  font-size:10px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  letter-spacing:.09em !important;
  text-transform:uppercase !important;
}
.recipe-store .account-form input,
.recipe-store .account-form select{
  min-height:52px !important;
  padding:12px 13px !important;
  border:1px solid #c9c5bd !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#121212 !important;
  font-family:Inter,Arial,sans-serif !important;
  font-size:14px !important;
  line-height:1.35 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  -webkit-text-fill-color:#121212 !important;
  box-shadow:none !important;
}
.recipe-store .account-form input:focus,
.recipe-store .account-form select:focus{
  border-color:#121212 !important;
  outline:1px solid #121212 !important;
  outline-offset:-1px !important;
  box-shadow:none !important;
}
.recipe-store .account-form label small,
.recipe-store .account-muted{
  color:var(--recipe-muted) !important;
  font-size:10px !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  line-height:1.55 !important;
  text-transform:none !important;
}
.recipe-store .account-auth-card .lux-button,
.recipe-store .account-panel .lux-button{
  width:100%;
  min-height:52px !important;
  margin-top:4px !important;
  justify-self:stretch !important;
  background:#121212 !important;
  border-color:#121212 !important;
  color:#fff !important;
}
.recipe-store .account-auth-card .lux-button:hover,
.recipe-store .account-panel .lux-button:hover{
  background:#2b2a28 !important;
  color:#fff !important;
}
.recipe-store .account-auth-links,
.recipe-store .account-switch{
  margin-top:20px !important;
  padding-top:18px;
  border-top:1px solid var(--recipe-line);
  color:var(--recipe-muted) !important;
  font-size:11px !important;
  line-height:1.5 !important;
}
.recipe-store .account-auth-links a,
.recipe-store .account-switch a{
  color:var(--recipe-ink) !important;
  font-weight:600;
  text-underline-offset:3px;
}
.recipe-store .account-alert{
  max-width:720px;
  margin:0 auto 20px !important;
  border:1px solid var(--recipe-line) !important;
  background:#fff !important;
  color:var(--recipe-ink) !important;
}
.recipe-store .account-alert.success{
  border-color:rgba(57,118,76,.38) !important;
  background:#f3f8f4 !important;
  color:#285b37 !important;
}
.recipe-store .account-alert.error{
  border-color:rgba(216,74,53,.36) !important;
  background:#fbf3f1 !important;
  color:#8c3024 !important;
}

/* Logged-in account states share the same Recipe surface. */
.recipe-store .customer-account-layout{
  grid-template-columns:220px minmax(0,1fr) !important;
  gap:28px !important;
}
.recipe-store .account-nav{
  border:1px solid var(--recipe-line) !important;
  background:rgba(255,255,255,.34) !important;
}
.recipe-store .account-nav>a,
.recipe-store .account-link-button{
  border-bottom:1px solid var(--recipe-line) !important;
  background:transparent !important;
  color:var(--recipe-muted) !important;
  font-family:Inter,Arial,sans-serif !important;
}
.recipe-store .account-nav>a:hover,
.recipe-store .account-nav>a.active,
.recipe-store .account-link-button:hover{
  background:#121212 !important;
  color:#fff !important;
}
.recipe-store .account-stat-grid article,
.recipe-store .order-status-cards article,
.recipe-store .account-order-columns>div,
.recipe-store .address-grid article,
.recipe-store .account-shipment-list article{
  border-color:var(--recipe-line) !important;
  background:rgba(255,255,255,.34) !important;
  color:var(--recipe-ink) !important;
}
.recipe-store .account-stat-grid strong,
.recipe-store .order-status-cards strong,
.recipe-store .account-order-columns p strong,
.recipe-store .account-shipment-list strong{
  color:var(--recipe-ink) !important;
}
.recipe-store .account-stat-grid span,
.recipe-store .account-stat-grid small,
.recipe-store .order-status-cards small,
.recipe-store .account-order-list small,
.recipe-store .account-items small,
.recipe-store .session-list small,
.recipe-store .address-grid p,
.recipe-store .account-order-columns p,
.recipe-store .account-shipment-list small,
.recipe-store .account-shipment-list span,
.recipe-store .account-empty{
  color:var(--recipe-muted) !important;
}
.recipe-store .account-order-list,
.recipe-store .account-order-list>a,
.recipe-store .account-items,
.recipe-store .account-items>div,
.recipe-store .session-list article,
.recipe-store .security-status{
  border-color:var(--recipe-line) !important;
}
.recipe-store .account-order-list>a{
  color:var(--recipe-ink) !important;
}
.recipe-store .account-order-list>a:hover{
  background:rgba(18,18,18,.035) !important;
  color:#000 !important;
}
.recipe-store .account-callout{
  border-color:var(--recipe-line) !important;
  background:#eeece7 !important;
  color:var(--recipe-ink) !important;
}
.recipe-store .account-callout p{
  color:var(--recipe-muted) !important;
}
.recipe-store .account-print{
  border-color:var(--recipe-line) !important;
  background:transparent !important;
  color:var(--recipe-ink) !important;
}
.recipe-store .account-print:hover{
  border-color:#121212 !important;
  background:#121212 !important;
  color:#fff !important;
}

@media(max-width:760px){
  .recipe-store .recipe-product-card__meta{
    gap:4px !important;
    padding-top:10px !important;
  }
  .recipe-store .recipe-product-card__meta h3{
    font-size:13px !important;
    line-height:1.32 !important;
  }
  .recipe-store .recipe-product-card__meta .recipe-price{
    font-size:11.5px !important;
  }
  .recipe-store .customer-account-shell{
    width:calc(100% - 28px) !important;
    padding:34px 0 70px !important;
  }
  .recipe-store .customer-account-hero{
    text-align:left;
    margin-bottom:24px !important;
  }
  .recipe-store .customer-account-hero h1{
    font-size:clamp(38px,12vw,54px) !important;
  }
  .recipe-store .customer-account-hero p{
    margin:0 !important;
  }
  .recipe-store .account-auth-card{
    padding:22px 18px !important;
  }
  .recipe-store .account-auth-links{
    display:grid !important;
    gap:10px !important;
  }
  .recipe-store .customer-account-layout{
    grid-template-columns:1fr !important;
  }
}
