/* ============================================================
   LEAPAO Store — DJI-style E-commerce Theme
   /store/ specific styles
   ============================================================ */

/* ---- DJI Store Light Theme Overrides ---- */
.store-dji-theme { --bg: #fff; --bg-card: #f7f8fa; --text: #1a1a1a; --text-dim: #666; --border: #e5e5e5; }
.store-dji-theme body { background: #fff; color: #1a1a1a; }

/* ---- Store Top Bar (DJI-style) ---- */
.store-topbar { background: #fff; border-bottom: 1px solid #e5e5e5; padding: 8px 0; font-size: 12px; color: #666; }
.store-topbar__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.store-topbar__left { display: flex; align-items: center; gap: 16px; }
.store-topbar__left a { color: #666; text-decoration: none; }
.store-topbar__left a:hover { color: #1a1a1a; }
.store-topbar__left a:first-child { font-weight: 600; color: #1a1a1a; }
.store-topbar__sep { color: #ddd; }
.store-topbar__right { display: flex; align-items: center; gap: 16px; color: #666; }
.store-topbar__right a { color: #666; text-decoration: none; }

/* ---- Store Header (DJI white style) ---- */
.store-header { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 100; }
.store-header__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.store-header__logo { display: flex; align-items: center; gap: 6px; text-decoration: none; color: #1a1a1a; }
.store-header__logo svg { width: 28px; height: 12px; }
.store-header__logo .cn { font-size: 10px; color: #999; margin-left: 2px; }
.store-header__logo .store-text { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-left: 6px; }
.store-header__actions { display: flex; align-items: center; gap: 12px; }
.store-header__icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; transition: background .2s; color: #1a1a1a; }
.store-header__icon:hover { background: #f5f5f5; }

/* ---- Store Nav (DJI white style) ---- */
.store-nav { display: flex; gap: 0; background: #fff; border-bottom: 1px solid #e5e5e5; padding: 0; position: sticky; top: 56px; z-index: 90; overflow-x: auto; }
.store-nav__link { padding: 14px 20px; color: #666; font-size: 14px; font-weight: 500; text-decoration: none; transition: all .2s; border-bottom: 2px solid transparent; white-space: nowrap; }
.store-nav__link:hover { color: #1a1a1a; background: #f8f8f8; }
.store-nav__link.active, .store-nav__link.is-active { color: #1a1a1a; border-bottom-color: #1a1a1a; font-weight: 600; }
.store-nav__link--badge { position: relative; }
.store-nav__link--badge::after { content: attr(data-badge); position: absolute; top: 8px; right: 4px; background: #00b4ff; color: #fff; font-size: 9px; padding: 1px 4px; border-radius: 3px; font-weight: 600; }
.store-nav__cart { margin-left: auto; padding: 14px 20px; color: #1a1a1a; font-size: 14px; font-weight: 500; text-decoration: none; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.store-nav__cart:hover { background: #f8f8f8; }
.store-nav__cart-badge { background: #00b4ff; color: #fff; font-size: 11px; font-weight: 700; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }

/* ---- Store Hero (DJI light style) ---- */
.store-hero { position: relative; overflow: hidden; background: #f0f4f8; }
.store-hero__slide { display: none; }
.store-hero__slide.active { display: flex; align-items: center; min-height: 480px; }
.store-hero__bg { width: 100%; height: 480px; object-fit: cover; display: block; }
.store-hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.3) 50%, transparent 100%); }
.store-hero__content { position: absolute; top: 50%; left: 50px; transform: translateY(-50%); max-width: 500px; }
.store-hero__label { font-size: 12px; font-weight: 600; color: #00b4ff; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.store-hero__title { font-size: 40px; font-weight: 700; color: #1a1a1a; line-height: 1.2; margin-bottom: 12px; }
.store-hero__desc { font-size: 16px; color: #666; line-height: 1.6; margin-bottom: 12px; }
.store-hero__price { font-size: 28px; font-weight: 700; color: #1a1a1a; margin-bottom: 24px; }
.store-hero__price .currency { font-size: 18px; color: #999; }
.store-hero__dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.store-hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer; transition: all .3s; }
.store-hero__dot.active { background: #1a1a1a; width: 24px; border-radius: 4px; }
.store-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid #ddd; background: rgba(255,255,255,.9); color: #1a1a1a; font-size: 20px; cursor: pointer; transition: all .3s; display: flex; align-items: center; justify-content: center; }
.store-hero__arrow:hover { background: #fff; border-color: #999; box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.store-hero__arrow--prev { left: 20px; }
.store-hero__arrow--next { right: 20px; }

/* ---- Store Product Series Carousel (DJI-style thumbnails below hero) ---- */
.store-series { background: #fff; border-bottom: 1px solid #e5e5e5; padding: 24px 0; overflow-x: auto; }
.store-series__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; gap: 0; justify-content: space-between; }
.store-series__item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 12px; text-decoration: none; color: #666; transition: all .2s; flex-shrink: 0; border-bottom: 2px solid transparent; }
.store-series__item:hover, .store-series__item.active { color: #1a1a1a; border-bottom-color: #1a1a1a; }
.store-series__img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #f5f5f5; display: flex; align-items: center; justify-content: center; }
.store-series__img img { width: 48px; height: 48px; object-fit: contain; }
.store-series__img svg { width: 48px; height: 48px; color: #ccc; }
.store-series__name { font-size: 11px; font-weight: 500; white-space: nowrap; }

/* ---- Store Category Nav ---- */
.store-categories { display: flex; gap: 0; padding: 0; background: #fff; border-bottom: 1px solid #e5e5e5; overflow-x: auto; }
.store-categories__link { padding: 16px 24px; color: #666; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; display: flex; align-items: center; gap: 6px; }
.store-categories__link:hover { color: #1a1a1a; background: #f8f8f8; }
.store-categories__link.active { color: #1a1a1a; border-bottom-color: #1a1a1a; font-weight: 600; }

/* ---- Trust Badges (DJI style) ---- */
.store-badges { display: flex; justify-content: center; gap: 48px; padding: 20px 0; border-bottom: 1px solid #e5e5e5; background: #fff; }
.store-badges__item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; }
.store-badges__icon { width: 20px; height: 20px; color: #00b4ff; }

/* ---- Store Product Grid (DJI white style) ---- */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 32px 0; max-width: 1200px; margin: 0 auto; }
.store-product { background: #fff; border-radius: 8px; overflow: hidden; transition: all .3s; cursor: pointer; text-decoration: none; display: block; border: 1px solid #f0f0f0; }
.store-product:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.store-product__img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #f5f5f5; }
.store-product__body { padding: 16px; }
.store-product__cat { font-size: 11px; color: #00b4ff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.store-product__name { font-size: 14px; font-weight: 600; color: #1a1a1a; line-height: 1.3; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-product__price { font-size: 18px; font-weight: 700; color: #1a1a1a; }
.store-product__price .currency { font-size: 13px; color: #999; }
.store-product__price .original { font-size: 13px; color: #999; text-decoration: line-through; margin-left: 8px; }
.store-product__tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-bottom: 8px; }
.store-product__tag--sale { background: #ff3d81; color: #fff; }
.store-product__tag--new { background: #00b4ff; color: #fff; }
.store-product__tag--hot { background: #ff6b35; color: #fff; }

/* ---- Store Filter Bar ---- */
.store-filter { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.store-filter__label { font-size: 13px; color: var(--text-dim); }
.store-filter__btn { padding: 6px 16px; border-radius: 4px; border: 1px solid var(--border); background: transparent; color: var(--text-dim); font-size: 13px; cursor: pointer; transition: all .2s; }
.store-filter__btn:hover { border-color: var(--cyan); color: var(--cyan); }
.store-filter__btn.active { background: var(--cyan); color: #000; border-color: var(--cyan); font-weight: 600; }
.store-filter__sort { margin-left: auto; }
.store-filter__select { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); padding: 8px 12px; border-radius: 4px; font-size: 13px; }
.store-filter__count { font-size: 13px; color: var(--text-dim); }

/* ---- Store Product Detail ---- */
.store-detail { padding: 80px 0 40px; }
.store-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.store-detail__gallery { position: sticky; top: 80px; align-self: start; }
.store-detail__main-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--bg-card); border-radius: 8px; display: block; }
.store-detail__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.store-detail__thumb { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.store-detail__thumb:hover { border-color: var(--text-dim); }
.store-detail__thumb.active { border-color: var(--cyan); }
.store-detail__thumb img { width: 100%; height: 100%; object-fit: cover; }

.store-detail__info { }
.store-detail__breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.store-detail__breadcrumb a { color: var(--text-dim); text-decoration: none; }
.store-detail__breadcrumb a:hover { color: var(--cyan); }
.store-detail__cat { font-size: 12px; color: var(--cyan); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.store-detail__title { font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 16px; }
.store-detail__price-box { background: var(--bg-card); border-radius: 8px; padding: 20px; margin-bottom: 24px; }
.store-detail__price { font-size: 32px; font-weight: 700; color: #fff; }
.store-detail__price .currency { font-size: 20px; color: var(--text-dim); }
.store-detail__price .original { font-size: 16px; color: var(--text-dim); text-decoration: line-through; margin-left: 12px; }
.store-detail__sold { font-size: 13px; color: var(--text-dim); margin-top: 8px; }

/* ---- SKU Selector ---- */
.store-sku { margin-bottom: 24px; }
.store-sku__label { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.store-sku__options { display: flex; flex-wrap: wrap; gap: 8px; }
.store-sku__option { padding: 10px 20px; border: 1px solid var(--border); border-radius: 6px; background: transparent; color: var(--text); font-size: 14px; cursor: pointer; transition: all .2s; }
.store-sku__option:hover { border-color: var(--cyan); color: var(--cyan); }
.store-sku__option.active { background: var(--cyan); color: #000; border-color: var(--cyan); font-weight: 600; }
.store-sku__option.disabled { opacity: .3; cursor: not-allowed; }

/* ---- Quantity Selector ---- */
.store-qty { display: flex; align-items: center; gap: 0; margin-bottom: 24px; }
.store-qty__label { font-size: 13px; color: var(--text-dim); margin-right: 12px; min-width: 40px; }
.store-qty__btn { width: 40px; height: 40px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 18px; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.store-qty__btn:hover { border-color: var(--cyan); color: var(--cyan); }
.store-qty__btn:first-child { border-radius: 6px 0 0 6px; }
.store-qty__btn:last-child { border-radius: 0 6px 6px 0; }
.store-qty__input { width: 60px; height: 40px; border: 1px solid var(--border); border-left: 0; border-right: 0; background: var(--bg-card); color: var(--text); text-align: center; font-size: 16px; font-weight: 600; }

/* ---- Buy Buttons ---- */
.store-buy { display: flex; gap: 12px; margin-bottom: 24px; }
.store-buy__cart { flex: 1; padding: 14px 24px; border-radius: 6px; border: 2px solid var(--cyan); background: transparent; color: var(--cyan); font-size: 16px; font-weight: 600; cursor: pointer; transition: all .3s; }
.store-buy__cart:hover { background: rgba(0,180,255,.1); }
.store-buy__buy { flex: 1; padding: 14px 24px; border-radius: 6px; border: none; background: var(--cyan); color: #000; font-size: 16px; font-weight: 700; cursor: pointer; transition: all .3s; }
.store-buy__buy:hover { background: #33c4ff; box-shadow: 0 4px 20px rgba(0,180,255,.3); }

/* ---- Product Specs Table ---- */
.store-specs { margin-bottom: 32px; }
.store-specs__title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.store-specs table { width: 100%; border-collapse: collapse; }
.store-specs tr { border-bottom: 1px solid var(--border); }
.store-specs th { text-align: left; padding: 12px 16px; font-size: 13px; color: var(--text-dim); font-weight: 400; width: 140px; background: rgba(255,255,255,.02); }
.store-specs td { padding: 12px 16px; font-size: 14px; color: var(--text); }

/* ---- Product Description ---- */
.store-desc { margin-bottom: 32px; }
.store-desc__title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.store-desc__body img { max-width: 100%; height: auto; border-radius: 4px; }

/* ---- Cart Page ---- */
.store-cart { padding: 80px 0 40px; }
.store-cart__title { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 32px; }
.store-cart__empty { text-align: center; padding: 80px 0; color: var(--text-dim); }
.store-cart__empty-icon { font-size: 64px; margin-bottom: 16px; }
.store-cart__empty-text { font-size: 18px; margin-bottom: 24px; }
.store-cart__table { width: 100%; border-collapse: collapse; }
.store-cart__table th { text-align: left; padding: 12px 16px; font-size: 13px; color: var(--text-dim); font-weight: 500; border-bottom: 1px solid var(--border); }
.store-cart__table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.store-cart__product { display: flex; align-items: center; gap: 16px; }
.store-cart__product-img { width: 80px; height: 80px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.store-cart__product-img img { width: 100%; height: 100%; object-fit: cover; }
.store-cart__product-name { font-size: 14px; color: var(--text); font-weight: 500; }
.store-cart__product-sku { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.store-cart__remove { color: var(--text-dim); font-size: 13px; cursor: pointer; transition: color .2s; background: none; border: none; }
.store-cart__remove:hover { color: var(--magenta); }
.store-cart__subtotal { font-size: 16px; font-weight: 600; color: #fff; }

/* ---- Cart Summary ---- */
.store-cart__summary { background: var(--bg-card); border-radius: 8px; padding: 24px; margin-top: 32px; display: flex; justify-content: flex-end; gap: 32px; align-items: center; }
.store-cart__total-label { font-size: 14px; color: var(--text-dim); }
.store-cart__total-price { font-size: 28px; font-weight: 700; color: var(--cyan); }
.store-cart__total-price .currency { font-size: 16px; }
.store-cart__checkout { padding: 14px 40px; border-radius: 6px; border: none; background: var(--cyan); color: #000; font-size: 16px; font-weight: 700; cursor: pointer; transition: all .3s; }
.store-cart__checkout:hover { background: #33c4ff; box-shadow: 0 4px 20px rgba(0,180,255,.3); }
.store-cart__checkout:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

/* ---- Checkout Page ---- */
.store-checkout { padding: 80px 0 40px; }
.store-checkout__grid { display: grid; grid-template-columns: 1fr 400px; gap: 32px; }
.store-checkout__title { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 32px; }
.store-checkout__section { background: var(--bg-card); border-radius: 8px; padding: 24px; margin-bottom: 24px; }
.store-checkout__section-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ---- Form Styles ---- */
.store-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.store-form__row.full { grid-template-columns: 1fr; }
.store-form__group { display: flex; flex-direction: column; gap: 6px; }
.store-form__label { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.store-form__label .required { color: var(--magenta); margin-left: 2px; }
.store-form__input { padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); font-size: 14px; transition: border-color .2s; outline: none; }
.store-form__input:focus { border-color: var(--cyan); }
.store-form__input.error { border-color: var(--magenta); }
.store-form__error { font-size: 12px; color: var(--magenta); min-height: 16px; }
.store-form__select { padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); font-size: 14px; outline: none; }
.store-form__select:focus { border-color: var(--cyan); }

/* ---- Payment Methods ---- */
.store-payment { display: flex; flex-direction: column; gap: 12px; }
.store-payment__option { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; transition: all .2s; }
.store-payment__option:hover { border-color: var(--cyan); }
.store-payment__option.active { border-color: var(--cyan); background: rgba(0,180,255,.05); }
.store-payment__radio { width: 18px; height: 18px; border: 2px solid var(--border); border-radius: 50%; position: relative; transition: all .2s; flex-shrink: 0; }
.store-payment__option.active .store-payment__radio { border-color: var(--cyan); }
.store-payment__option.active .store-payment__radio::after { content: ""; position: absolute; top: 3px; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.store-payment__icon { font-size: 24px; }
.store-payment__label { font-size: 14px; color: var(--text); font-weight: 500; }
.store-payment__desc { font-size: 12px; color: var(--text-dim); }

/* ---- Order Summary (Checkout) ---- */
.store-order { position: sticky; top: 80px; }
.store-order__card { background: var(--bg-card); border-radius: 8px; padding: 24px; }
.store-order__item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.store-order__item-img { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.store-order__item-img img { width: 100%; height: 100%; object-fit: cover; }
.store-order__item-name { font-size: 13px; color: var(--text); flex: 1; }
.store-order__item-qty { font-size: 12px; color: var(--text-dim); }
.store-order__item-price { font-size: 14px; font-weight: 600; color: #fff; }
.store-order__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.store-order__row-label { color: var(--text-dim); }
.store-order__row-value { color: var(--text); font-weight: 500; }
.store-order__row.total { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; }
.store-order__row.total .store-order__row-label { font-size: 16px; color: var(--text); font-weight: 600; }
.store-order__row.total .store-order__row-value { font-size: 20px; color: var(--cyan); font-weight: 700; }
.store-order__submit { width: 100%; padding: 16px; border-radius: 6px; border: none; background: var(--cyan); color: #000; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 20px; transition: all .3s; }
.store-order__submit:hover { background: #33c4ff; box-shadow: 0 4px 20px rgba(0,180,255,.3); }

/* ---- Order Success ---- */
.store-success { padding: 80px 0 40px; text-align: center; }
.store-success__icon { font-size: 80px; margin-bottom: 24px; }
.store-success__title { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.store-success__desc { font-size: 16px; color: var(--text-dim); margin-bottom: 8px; }
.store-success__order-id { font-size: 14px; color: var(--cyan); font-weight: 600; margin-bottom: 32px; }
.store-success__actions { display: flex; gap: 16px; justify-content: center; }

/* ---- Login/Register ---- */
.store-auth { padding: 80px 0 40px; display: flex; justify-content: center; }
.store-auth__card { width: 100%; max-width: 420px; background: var(--bg-card); border-radius: 12px; padding: 40px; }
.store-auth__title { font-size: 24px; font-weight: 700; color: var(--text); text-align: center; margin-bottom: 8px; }
.store-auth__sub { font-size: 14px; color: var(--text-dim); text-align: center; margin-bottom: 32px; }
.store-auth__divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--text-dim); font-size: 13px; }
.store-auth__divider::before, .store-auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.store-auth__switch { text-align: center; font-size: 14px; color: var(--text-dim); margin-top: 24px; }
.store-auth__switch a { color: var(--cyan); text-decoration: none; font-weight: 600; }

/* ---- Account Page ---- */
.store-account { padding: 80px 0 40px; }
.store-account__grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.store-account__sidebar { background: var(--bg-card); border-radius: 8px; padding: 24px; }
.store-account__user { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.store-account__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--cyan); color: #000; font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.store-account__name { font-size: 16px; font-weight: 600; color: var(--text); }
.store-account__email { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.store-account__nav { display: flex; flex-direction: column; gap: 4px; }
.store-account__nav-link { padding: 10px 16px; border-radius: 6px; color: var(--text-dim); font-size: 14px; text-decoration: none; transition: all .2s; }
.store-account__nav-link:hover { color: var(--text); background: rgba(255,255,255,.03); }
.store-account__nav-link.active { color: var(--cyan); background: rgba(0,180,255,.08); }
.store-account__content { }
.store-account__section-title { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 24px; }

/* ---- Order List ---- */
.store-orders__item { background: var(--bg-card); border-radius: 8px; padding: 20px; margin-bottom: 16px; }
.store-orders__item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.store-orders__item-id { font-size: 13px; color: var(--text-dim); }
.store-orders__item-status { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 4px; }
.store-orders__item-status.pending { background: rgba(255,200,0,.15); color: #ffc800; }
.store-orders__item-status.shipped { background: rgba(0,180,255,.15); color: var(--cyan); }
.store-orders__item-status.delivered { background: rgba(0,200,80,.15); color: #00c850; }
.store-orders__item-date { font-size: 12px; color: var(--text-dim); }
.store-orders__item-products { display: flex; gap: 12px; margin-bottom: 12px; }
.store-orders__item-product { width: 56px; height: 56px; border-radius: 6px; overflow: hidden; }
.store-orders__item-product img { width: 100%; height: 100%; object-fit: cover; }
.store-orders__item-total { display: flex; justify-content: space-between; font-size: 15px; }
.store-orders__item-total-label { color: var(--text-dim); }
.store-orders__item-total-value { font-weight: 700; color: var(--cyan); }

/* ---- Toast Notification ---- */
.store-toast { position: fixed; bottom: 24px; right: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 16px 24px; z-index: 1000; transform: translateY(100px); opacity: 0; transition: all .3s ease; display: flex; align-items: center; gap: 12px; max-width: 400px; box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.store-toast.show { transform: translateY(0); opacity: 1; }
.store-toast.success { border-left: 3px solid #00c850; }
.store-toast.error { border-left: 3px solid var(--magenta); }
.store-toast__icon { font-size: 20px; }
.store-toast__msg { font-size: 14px; color: var(--text); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .store-detail__grid { grid-template-columns: 1fr; }
  .store-detail__gallery { position: static; }
  .store-checkout__grid { grid-template-columns: 1fr; }
  .store-account__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .store-hero__bg { height: 300px; }
  .store-hero__content { left: 20px; right: 20px; }
  .store-hero__title { font-size: 24px; }
  .store-nav__link { padding: 12px 16px; font-size: 13px; }
  .store-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .store-buy { flex-direction: column; }
  .store-cart__table { font-size: 13px; }
  .store-cart__product-img { width: 60px; height: 60px; }
  .store-cart__summary { flex-direction: column; text-align: center; }
  .store-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .store-grid { grid-template-columns: 1fr; }
  .store-hero__bg { height: 220px; }
}

/* ---- Product Detail Page Aliases (product.html uses these) ---- */
.store-detail__main { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--bg-card); border-radius: 8px; display: block; }
.store-detail__name { font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.store-detail__slogan { font-size: 14px; color: var(--text-dim); margin-bottom: 16px; line-height: 1.5; }
.store-detail__price-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.store-detail__original { font-size: 16px; color: var(--text-dim); text-decoration: line-through; }
.store-detail__original .currency { font-size: 14px; }
.store-detail__sku { margin-bottom: 24px; }
.store-detail__sku-label { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.store-detail__sku-list { display: flex; flex-wrap: wrap; gap: 8px; }
.store-detail__sku-btn { padding: 10px 20px; border: 1px solid var(--border); border-radius: 6px; background: transparent; color: var(--text); font-size: 14px; cursor: pointer; transition: all .2s; }
.store-detail__sku-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.store-detail__sku-btn.active { background: var(--cyan); color: #000; border-color: var(--cyan); font-weight: 600; }
.store-detail__qty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
.store-detail__qty-control { display: flex; align-items: center; gap: 0; }
.store-detail__qty-btn { width: 40px; height: 40px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 18px; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.store-detail__qty-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.store-detail__qty-btn:first-child { border-radius: 6px 0 0 6px; }
.store-detail__qty-btn:last-child { border-radius: 0 6px 6px 0; }
.store-detail__qty-input { width: 60px; height: 40px; border: 1px solid var(--border); border-left: 0; border-right: 0; background: var(--bg-card); color: var(--text); text-align: center; font-size: 16px; font-weight: 600; }
.store-detail__actions { display: flex; gap: 12px; margin-bottom: 24px; }
.store-detail__buy { flex: 1; padding: 14px 24px; border-radius: 6px; border: none; background: var(--cyan); color: #000; font-size: 16px; font-weight: 700; cursor: pointer; transition: all .3s; }
.store-detail__buy:hover { background: #33c4ff; box-shadow: 0 4px 20px rgba(0,180,255,.3); }
.store-detail__cart { flex: 1; padding: 14px 24px; border-radius: 6px; border: 2px solid var(--cyan); background: transparent; color: var(--cyan); font-size: 16px; font-weight: 600; cursor: pointer; transition: all .3s; }
.store-detail__cart:hover { background: rgba(0,180,255,.1); }
.store-detail__guarantee { display: flex; gap: 24px; margin-bottom: 24px; padding: 16px 0; border-top: 1px solid var(--border); }
.store-detail__guarantee-item { font-size: 13px; color: var(--text-dim); }
.store-detail__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.store-detail__tab { padding: 14px 24px; background: none; border: none; border-bottom: 2px solid transparent; color: var(--text-dim); font-size: 15px; font-weight: 500; cursor: pointer; transition: all .2s; }
.store-detail__tab:hover { color: var(--text); }
.store-detail__tab.active { color: var(--cyan); border-bottom-color: var(--cyan); font-weight: 600; }
.store-detail__tab-panel { margin-bottom: 32px; }
.store-detail__desc img { max-width: 100%; height: auto; border-radius: 4px; }
.store-detail__related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.store-detail__related-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
