@import url('cart.css?v=1');

.shop-page { background: #080b10; }
.shop-brand { text-decoration: none; }
.icon-button { border: 0; cursor: pointer; color: #fff; background: transparent; font: inherit; }
.shop-hero { max-width: 1200px; min-height: 370px; margin: 0 auto; padding: 72px 28px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; background: linear-gradient(115deg, #071a32, #0a3d78 58%, #152b40); }
.shop-hero::after { content: ''; position: absolute; width: 520px; height: 520px; right: -170px; top: -220px; border: 1px solid rgba(216,164,81,.4); transform: rotate(28deg); }
.shop-hero > div:first-child { max-width: 730px; position: relative; z-index: 1; }
.shop-eyebrow { margin: 0 0 8px; color: #d8a451; font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.shop-hero h1 { max-width: 720px; margin: 0 0 18px; font-family: 'Playfair Display', serif; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.05; letter-spacing: 0; }
.shop-hero p:not(.shop-eyebrow) { max-width: 600px; margin: 0; color: #c7d5e6; font-size: 1.08rem; line-height: 1.7; }
.shop-hero-mark { color: #d8a451; font-size: 7rem; opacity: .55; transform: rotate(15deg); }
.shop-layout { max-width: 1200px; margin: 0 auto; padding: 68px 28px 110px; }
.shop-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.shop-controls { display: flex; align-items: end; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.shop-search { display: grid; gap: 5px; color: #c7ccd1; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.shop-search input { width: min(260px, 70vw); padding: 10px 14px; color: #fff; background: #171d26; border: 1px solid #3c4654; border-radius: 6px; font: inherit; text-transform: none; }
.shop-heading-row h2 { margin: 0; font-family: 'Playfair Display', serif; font-size: 2.3rem; letter-spacing: 0; }
.shop-filter { color: #c7ccd1; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.shop-filter select { margin-left: 8px; padding: 10px 14px; color: #fff; background: #171d26; border: 1px solid #3c4654; border-radius: 6px; font: inherit; text-transform: none; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #2c3540; border-radius: 8px; background: #121821; box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.product-image { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; background: #1b2430; }
.product-image-placeholder { display: grid; place-items: center; color: #7890ab; font-size: 2.8rem; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.product-category { margin: 0 0 7px; color: #d8a451; font-size: .7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.product-card h3 { margin: 0 0 8px; font-family: 'Playfair Display', serif; font-size: 1.35rem; letter-spacing: 0; }
.product-description { min-height: 48px; margin: 0 0 18px; color: #abb7c5; font-size: .88rem; line-height: 1.55; }
.product-readmore-button { align-self: flex-start; margin: -12px 0 18px; padding: 0; border: none; background: none; color: #d8a451; font-size: .78rem; font-weight: 700; cursor: pointer; }
.product-readmore-button:hover { text-decoration: underline; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-price { color: #fff; font-size: 1.08rem; font-weight: 800; }
.product-stock { margin: 0 0 14px; color: #82cfab; font-size: .78rem; }
.product-stock.out { color: #ef9b83; }
.product-fulfillment-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 4px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700; width: fit-content; }
.product-fulfillment-badge.in-store { color: #8fe0a0; background: rgba(90, 180, 120, .14); border: 1px solid rgba(90, 180, 120, .35); }
.product-fulfillment-badge.shipping-only { color: #e0b48f; background: rgba(200, 130, 70, .14); border: 1px solid rgba(200, 130, 70, .35); }
.shop-primary-button { width: 100%; padding: 13px 16px; border: 1px solid #9fb6d5; border-radius: 6px; color: #fff; background: linear-gradient(135deg, #0a3d78, #1e5aa8); cursor: pointer; font: inherit; font-weight: 800; }
.shop-primary-button:disabled { cursor: not-allowed; opacity: .45; }
.product-footer .shop-primary-button { width: auto; padding: 10px 13px; font-size: .78rem; }
.shop-loading, .shop-empty { grid-column: 1 / -1; padding: 60px 20px; color: #abb7c5; text-align: center; border: 1px dashed #3c4654; }
@media (max-width: 700px) { .shop-heading-row { align-items: stretch; flex-direction: column; } .shop-controls { justify-content: stretch; } .shop-search { flex: 1; } .shop-search input { width: 100%; } }
.cart-drawer { position: fixed; z-index: 300; top: 0; right: 0; width: min(430px, 100%); height: 100vh; padding: 28px; display: flex; flex-direction: column; background: #111820; box-shadow: -14px 0 40px rgba(0,0,0,.45); transform: translateX(102%); transition: transform .25s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-backdrop { position: fixed; z-index: 290; inset: 0; display: none; background: rgba(0,0,0,.62); }
.cart-drawer.is-open + .cart-backdrop { display: block; }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 20px; border-bottom: 1px solid #303943; }
.cart-drawer-header h2 { margin: 0; font-family: 'Playfair Display', serif; }
.icon-button { font-size: 2rem; line-height: 1; color: #c7ccd1; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 0; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #28313a; }
.cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 5px; background: #1b2430; }
.cart-line h3 { margin: 0 0 5px; font-size: .88rem; }
.cart-line p { margin: 0; color: #abb7c5; font-size: .78rem; }
.cart-quantity { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.cart-quantity button { width: 23px; height: 23px; border: 1px solid #52606e; border-radius: 4px; color: #fff; background: #202a35; cursor: pointer; }
.cart-line-total { white-space: nowrap; font-size: .82rem; font-weight: 800; }
.cart-remove { margin-top: 7px; padding: 0; border: 0; color: #ef9b83; background: transparent; cursor: pointer; font-size: .7rem; }
.cart-summary { display: flex; justify-content: space-between; padding: 18px 0 8px; border-top: 1px solid #303943; color: #c7ccd1; }
.cart-summary strong { color: #fff; }
.cart-shipping-note { margin: 0 0 16px; color: #8d9cac; font-size: .75rem; line-height: 1.5; }
.order-result { width: min(620px, calc(100% - 36px)); margin: 12vh auto; padding: 48px 32px; text-align: center; border: 1px solid #303943; border-top: 4px solid #82cfab; border-radius: 8px; background: #121821; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.order-result h1 { margin: 0 0 12px; font-family: 'Playfair Display', serif; font-size: 2.5rem; letter-spacing: 0; }
.order-result p:not(.shop-eyebrow) { margin: 0 auto 28px; color: #abb7c5; line-height: 1.7; }
.order-result-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; color: #0c1711; background: #82cfab; font-size: 2rem; font-weight: 800; }
.order-result-icon.warning { color: #241a0a; background: #d8a451; }
.order-result .shop-primary-button { display: inline-block; width: auto; text-decoration: none; }
@media (max-width: 700px) { .shop-hero { min-height: 330px; padding: 56px 22px; } .shop-hero-mark { position: absolute; right: 15px; bottom: 4px; } .shop-layout { padding: 48px 18px 80px; } .shop-heading-row { align-items: start; flex-direction: column; } .shop-heading-row h2 { font-size: 1.9rem; } }
@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 7px; }
  .product-image-placeholder { font-size: 1.8rem; }
  .product-card-body { padding: 11px; }
  .product-category { margin-bottom: 4px; font-size: .6rem; letter-spacing: 1px; }
  .product-card h3 { margin-bottom: 5px; font-size: .95rem; line-height: 1.25; }
  .product-description { min-height: 0; margin-bottom: 10px; font-size: .76rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .product-readmore-button { display: none; }
  .product-stock { margin-bottom: 8px; font-size: .7rem; }
  .product-fulfillment-badge { margin-bottom: 8px; padding: 3px 8px; font-size: .62rem; }
  .product-footer { flex-direction: column; align-items: stretch; gap: 8px; }
  .product-price { font-size: .95rem; }
  .product-footer .shop-primary-button { width: 100%; padding: 9px 10px; font-size: .74rem; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
}
