/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.storefront-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.storefront-layout > * {
  flex-shrink: 0;
}

.storefront-layout > footer {
  margin-top: auto;
}

.storefront-toast {
  animation: storefront-toast-in 300ms ease-out both;
}

.storefront-toast.storefront-toast-leaving {
  animation: storefront-toast-out 300ms ease-in both;
  pointer-events: none;
}

@keyframes storefront-toast-in {
  from { opacity: 0; transform: translateX(1rem); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes storefront-toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(1rem); }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-toast,
  .storefront-toast.storefront-toast-leaving {
    animation-duration: 1ms;
  }
}

.update-page {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: 40px 48px 240px;
}

.update-page h1 {
  margin-bottom: 32px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.update-banner { display: block; width: 100%; height: auto; }
.update-story { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 10%; align-items: start; margin-top: 48px; }
.update-copy { font-size: 15px; line-height: 1.35; }
.update-copy p + p { margin-top: 20px; }
.update-collection { width: 100%; max-width: 320px; margin: 0 auto; }
.update-collection img { display: block; width: 100%; height: auto; }

@media (max-width: 767px) {
  .update-page { padding: 32px 24px 100px; }
  .update-page h1 { font-size: 20px; margin-bottom: 24px; }
  .update-story { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 28px; }
  .update-copy { font-size: 14px; line-height: 1.5; }
  .update-collection { max-width: 280px; }
}

.cart-page { background: #f7f8fa; padding: 28px 48px 80px; min-height: 75vh; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; align-items: start; }
.cart-main { min-width: 0; }
.cart-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.cart-heading h1 { font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -1px; }
.cart-heading p { margin-top: 4px; color: #6b7280; font-size: 16px; }
.cart-continue { display: flex; align-items: center; gap: 12px; padding-top: 8px; font-size: 15px; text-decoration: underline; white-space: nowrap; }
.cart-continue span { font-size: 26px; line-height: 16px; text-decoration: none; }
.cart-panel { border: 1px solid #d1d5db; background: #fff; padding: 20px 22px; }
.cart-item { display: grid; grid-template-columns: 122px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #d1d5db; }
.cart-item:first-child { padding-top: 0; }
.cart-item:last-child { padding-bottom: 0; border-bottom: 0; }
.cart-image { display: grid; place-items: center; height: 104px; border: 1px solid #dfe2e7; padding: 8px; color: #6b7280; font-size: 11px; text-align: center; }
.cart-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.cart-variant { display: inline-block; background: #050505; color: white; padding: 5px 14px; font-size: 14px; line-height: 1.25; }
.cart-item-detail h2 { margin-top: 7px; font-size: 18px; line-height: 1.3; text-transform: uppercase; overflow-wrap: anywhere; }
.cart-item-detail p { margin-top: 3px; font-size: 16px; color: #6b7280; }
.cart-item-actions { display: grid; gap: 16px; justify-items: end; }
.cart-item-actions strong { font-size: 18px; white-space: nowrap; }
.cart-item-controls { display: flex; align-items: center; gap: 28px; }
.cart-quantity { display: flex; border: 1px solid #bfc5ce; height: 36px; }
.cart-quantity button { width: 34px; font-size: 22px; background: #f7f8fa; cursor: pointer; }
.cart-quantity button:disabled { color: #a2a8b0; cursor: default; }
.cart-quantity input { width: 46px; min-width: 0; border-inline: 1px solid #bfc5ce; text-align: center; font-size: 15px; appearance: textfield; border-radius: 0; }
.cart-quantity input::-webkit-inner-spin-button, .cart-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.cart-remove { color: #626973; padding: 5px; cursor: pointer; }
.cart-remove svg { width: 20px; height: 20px; }
.cart-delivery { margin-top: 20px; }
.cart-section-heading { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; }
.cart-section-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #d9dde3; background: #f7f8fa; }
.cart-section-icon svg { width: 26px; height: 26px; }
.cart-section-heading h2 { font-size: 20px; font-weight: 700; }
.cart-section-heading p { font-size: 14px; color: #6b7280; }
.cart-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 18px; }
.cart-half { grid-column: span 3; }
.cart-third { grid-column: span 2; }
.cart-full { grid-column: 1 / -1; }
.cart-field label { display: block; font-size: 14px; margin-bottom: 5px; }
.cart-field input { width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid #bfc5ce; border-radius: 0; font-size: 14px; background: white; }
.cart-field input::placeholder { color: #808896; opacity: 1; }
.cart-summary { padding: 22px; }
.cart-summary h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 28px; }
.cart-summary dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 16px; }
.cart-summary dt { color: #626973; }
.cart-summary dd { white-space: nowrap; }
.cart-summary dl > .cart-total { border-top: 1px solid #bfc5ce; margin-top: 26px; padding-top: 18px; margin-bottom: 20px; font-weight: 700; }
.cart-total dt { color: #111; font-size: 18px; }
.cart-total dd { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -1px; }
.cart-pay { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 1px solid #050505; padding: 15px 10px; background: #050505; color: #fff; font-size: 17px; cursor: pointer; }
.cart-pay svg { width: 22px; height: 22px; flex-shrink: 0; }
.cart-pay > span { font-size: 24px; line-height: 1; }
.cart-secure { display: flex; gap: 18px; align-items: center; padding: 14px 18px; margin-top: 16px; border: 1px solid #dfe2e7; background: #f5f6f8; font-size: 14px; }
.cart-secure svg { width: 30px; height: 30px; flex-shrink: 0; }
.cart-secure strong { font-weight: 600; }
.cart-secure p { color: #6b7280; font-size: 13px; margin-top: 2px; }
.cart-empty p { margin-bottom: 20px; }
.cart-page :is(input, button, a):focus-visible { outline: 2px solid #111; outline-offset: 3px; }
@media (max-width: 1100px) {
  .cart-page { padding-inline: 28px; }
  .cart-layout { gap: 20px; grid-template-columns: minmax(0, 1fr) 320px; }
  .cart-item { grid-template-columns: 90px minmax(0, 1fr); }
  .cart-item-actions { grid-column: 2; justify-items: start; gap: 10px; }
  .cart-heading { flex-wrap: wrap; }
}
@media (max-width: 800px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-item { grid-template-columns: 110px minmax(0, 1fr) auto; }
  .cart-item-actions { grid-column: auto; justify-items: end; }
}
@media (max-width: 560px) {
  .cart-page { padding: 24px 16px 48px; }
  .cart-panel { padding: 18px 16px; }
  .cart-heading h1 { font-size: 28px; }
  .cart-heading p { font-size: 14px; }
  .cart-item { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .cart-image { height: 90px; }
  .cart-item-detail h2 { font-size: 16px; }
  .cart-item-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .cart-item-controls { gap: 16px; }
  .cart-half, .cart-third { grid-column: 1 / -1; }
  .cart-section-heading { gap: 12px; }
  .cart-section-heading h2 { font-size: 18px; }
}
