:root {
  --r: 10px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --bg: #f5f7fb;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lift: 0 12px 28px -8px rgba(16, 24, 40, .18), 0 4px 10px -4px rgba(16, 24, 40, .08);
  --ring: 0 0 0 3px rgba(40, 116, 240, .18);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
.text-success { color: var(--accent-green) !important; }
.text-danger { color: #d32f2f !important; }
.nav-emoji { display: inline-block; margin-right: .1rem; }

/* Buttons */
.btn { border-radius: var(--r); font-weight: 600; letter-spacing: .01em; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:not(:disabled):active { transform: translateY(1px) scale(.99); }
.btn--primary { background: linear-gradient(180deg, #3a86ff, #2468e0); color: #fff; box-shadow: 0 2px 6px rgba(36, 104, 224, .35); border: 0; }
.btn--primary:hover { background: linear-gradient(180deg, #2f7bf5, #1d5bcc); box-shadow: 0 6px 16px rgba(36, 104, 224, .38); color: #fff; }
.btn--secondary { background: #ffb800; color: #1b1b1b; border: 0; box-shadow: 0 2px 6px rgba(255, 184, 0, .4); }
.btn--secondary:hover { background: #ffc633; color: #1b1b1b; }
.btn--outline { background: #fff; border: 1.5px solid #cfd8ea; color: #1f2d4d; }
.btn--outline:hover { border-color: var(--accent-blue); color: var(--accent-blue); background: #f4f8ff; }
.btn--ghost { background: transparent; border: 0; color: #55627d; }
.btn--ghost:hover { background: #eef2fa; color: #1f2d4d; }
.btn:disabled, .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: #7a869f; cursor: pointer; transition: .15s; }
.icon-btn:hover { background: #f1f4fa; color: #1f2d4d; }
.icon-btn--danger:hover { background: #fdecec; color: #d32f2f; }

/* Forms */
.form-control { border-radius: var(--r); border: 1.5px solid #d6deee; background: #fff; transition: border-color .15s, box-shadow .15s; }
.form-control:focus { border-color: var(--accent-blue); box-shadow: var(--ring); outline: 0; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: #3b4660; margin-bottom: .35rem; }
.form-group .req { color: #d32f2f; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Alerts */
.alert { border-radius: var(--r); padding: .85rem 1.1rem; margin: 1rem 0; border: 1px solid transparent; font-size: .92rem; }
.alert p { margin: .15rem 0; }
.alert--error { background: #fff1f1; border-color: #ffd0d0; color: #a42222; }
.alert--success { background: #effaf1; border-color: #bfe6c7; color: #1e6b2c; }
.alert--warning { background: #fff8e6; border-color: #ffe2a3; color: #8a5a00; }
.alert a { color: inherit; font-weight: 700; text-decoration: underline; }

/* Toasts */
.toast { border-radius: var(--r); box-shadow: var(--shadow-lift); transition: opacity .3s, transform .3s; }
.toast--out { opacity: 0; transform: translateX(120%); }
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* Header */
#mainHeader { backdrop-filter: saturate(1.4) blur(8px); }
#mainHeader.scrolled { box-shadow: 0 6px 20px -10px rgba(16, 24, 40, .35); }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #0f2a5e 0%, #1a5fcc 55%, #2f86ff 100%); }
.hero__slides { display: flex; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.hero__slide { min-width: 100%; position: relative; background: none !important; }
.hero__slide-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; min-height: 360px; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.hero__content { color: #fff; position: relative; z-index: 1; }
.hero__title { font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .8rem; color: #fff; }
.hero__sub { font-size: clamp(.95rem, 1.5vw, 1.1rem); opacity: .9; max-width: 34rem; margin: 0 0 1.4rem; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: .2s; }
.hero__btn.btn--primary { background: #ffb800; color: #1b1b1b; box-shadow: 0 8px 20px rgba(255, 184, 0, .4); }
.hero__btn.btn--primary:hover { background: #ffc633; transform: translateY(-2px); }
.hero__btn.btn--white { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(4px); }
.hero__btn.btn--white:hover { background: #fff; color: #1a5fcc; }
.hero__img { position: relative; display: grid; place-items: center; min-height: 260px; }
.hero__img-bg { position: absolute; width: min(380px, 80%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), rgba(255, 255, 255, .06)); filter: blur(2px); }
.hero__product-img { position: relative; max-height: 320px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.hero__fallback-icon { position: relative; width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .35); }
.hero__fallback-icon span { font-size: 3.4rem; font-weight: 800; color: #fff; letter-spacing: .04em; }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #1a5fcc; cursor: pointer; box-shadow: var(--shadow-md); transition: .2s; }
.hero__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero__arrow--prev { left: 1rem; } .hero__arrow--next { right: 1rem; }
.hero__controls { position: absolute; bottom: .9rem; left: 0; right: 0; display: flex; justify-content: center; gap: .45rem; z-index: 3; }
.hero__dot { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: .25s; }
.hero__dot.active { width: 26px; background: #ffb800; }
@media (max-width: 800px) {
  .hero__slide-inner { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 1.8rem; padding-bottom: 3rem; gap: 1rem; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__img { order: -1; min-height: 160px; }
  .hero__product-img { max-height: 180px; }
  .hero__fallback-icon { width: 120px; height: 120px; } .hero__fallback-icon span { font-size: 2.2rem; }
  .hero__arrow { display: none; }
}

/* Section headers */
.section-hdr { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; }
.section-hdr__accent { width: 5px; height: 26px; border-radius: 4px; background: linear-gradient(#ffb800, #ff8a00); }
.section-hdr__title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.section-hdr__badge { margin-left: .25rem; background: #fff2d6; color: #8a5a00; padding: .2rem .65rem; border-radius: 99px; font-size: .72rem; font-weight: 700; }
.section-hdr__link { margin-left: auto; font-weight: 700; color: var(--accent-blue); text-decoration: none; }

/* Product grid and card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.1rem; }
@media (max-width: 600px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-md); border: 1px solid #e6ebf5; box-shadow: var(--shadow-card); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #cfdcf5; }
.product-card.is-removing { opacity: 0; transform: scale(.95); }
.product-card__img-wrap { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #fff, #f4f7fc); }
.product-card__img-link { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; }
.product-card__img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-card__img { transform: scale(1.06); }
.product-card__badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; z-index: 2; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .68rem; font-weight: 700; padding: .22rem .55rem; border-radius: 99px; letter-spacing: .02em; }
.badge--sale { background: #e53935; color: #fff; }
.badge--featured { background: #fff4d1; color: #8a5a00; }
.badge--low { background: #fff0e0; color: #b45309; }
.badge--oos { background: #eceff4; color: #5b667d; }
.badge--soon { background: #e8f0ff; color: #1a5fcc; }
.product-card__wishlist { position: absolute; top: .55rem; right: .55rem; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: #8b96ad; box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; opacity: 1; transform: none; transition: .18s; }
.product-card__wishlist:hover { color: #e53935; transform: scale(1.1); }
.product-card__wishlist.active { color: #e53935; }
.product-card__body { display: flex; flex-direction: column; flex: 1; gap: .3rem; padding: .85rem .95rem 1rem; }
.product-card__brand { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #7a869f; }
.product-card__name { font-size: .93rem; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.product-card__name a { color: #1b2540; text-decoration: none; }
.product-card__name a:hover { color: var(--accent-blue); }
.product-card__rating { display: flex; align-items: center; gap: .4rem; min-height: 1.4rem; }
.rating-badge { background: #2e9e4f; color: #fff; font-size: .72rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; }
.rating-badge i { font-size: .6rem; }
.rating-count { font-size: .75rem; color: #8590a8; }
.rating-count--new { background: #eef3ff; color: #1a5fcc; font-weight: 700; padding: .12rem .5rem; border-radius: 6px; }
.product-card__pricing { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.product-card__price { font-size: 1.18rem; font-weight: 800; color: #111a30; }
.product-card__mrp { font-size: .82rem; color: #98a2b8; text-decoration: line-through; }
.product-card__delivery { font-size: .74rem; color: #7a869f; }
.product-card__delivery.is-free { color: var(--accent-green); font-weight: 600; }
.product-card__actions { margin-top: auto; padding-top: .55rem; }
.product-card__actions form { margin: 0; }
.product-card .btn { padding: .6rem .8rem; font-size: .85rem; }

/* Deal card */
.deal-card { display: grid; grid-template-columns: 150px 1fr auto; gap: 1.5rem; align-items: center; background: linear-gradient(120deg, #fff7e0, #fff); border: 1px solid #ffe2a3; border-radius: var(--r-lg); padding: 1.1rem 1.5rem; box-shadow: var(--shadow-card); }
.deal-card__img { display: grid; place-items: center; background: #fff; border-radius: var(--r-md); padding: .6rem; aspect-ratio: 1; }
.deal-card__img img { max-height: 120px; width: 100%; object-fit: contain; }
.deal-card h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.deal-card__name { color: #55627d; margin: 0 0 .5rem; }
.deal-card__price { display: flex; align-items: center; gap: .7rem; margin: 0 0 .4rem; }
.deal-card__price strong { font-size: 1.6rem; color: #111a30; }
.deal-card__price s { color: #98a2b8; }
.deal-card__timer { margin: 0; font-weight: 700; color: #b45309; }
@media (max-width: 700px) { .deal-card { grid-template-columns: 90px 1fr; } .deal-card .btn { grid-column: 1 / -1; } }

/* Page banner & breadcrumb */
.page-banner--slim { padding: 1.6rem 0; }
.page-banner--slim .page-banner__title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.breadcrumb { font-size: .82rem; }
.breadcrumb span { margin: 0 .35rem; color: #9aa5bc; }

/* Filter bar, pagination, empty */
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .9rem 1.1rem; background: #fff; border: 1px solid #e6ebf5; border-radius: var(--r-md); padding: .9rem 1.1rem; margin-bottom: 1.1rem; box-shadow: var(--shadow-card); }
.filter-bar__group { display: flex; flex-direction: column; gap: .25rem; }
.filter-bar__group label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #7a869f; }
.filter-bar__group--price { flex-direction: row; align-items: flex-end; gap: .4rem; flex-wrap: wrap; }
.filter-bar__group--price label { width: 100%; }
.filter-bar__group--price input { width: 90px; }
.filter-bar__check { display: flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: #3b4660; padding-bottom: .45rem; cursor: pointer; }
.filter-bar__actions { display: flex; gap: .4rem; margin-left: auto; }
.form-control--sm { padding: .5rem .7rem; font-size: .88rem; }
.storefront-toolbar__count { margin: 0 0 .9rem; color: #66738f; font-size: .88rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .4rem; margin: 2rem 0 1rem; flex-wrap: wrap; }
.pagination__link { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); background: #fff; border: 1px solid #dfe6f3; color: #3b4660; font-weight: 600; text-decoration: none; transition: .15s; }
.pagination__link:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.pagination__link.active { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
.pagination__gap { color: #9aa5bc; }
.empty-state { text-align: center; background: #fff; border: 1px dashed #cfd8ea; border-radius: var(--r-lg); padding: 3.5rem 1.5rem; margin: 1.5rem 0; }
.empty-state > i { font-size: 3rem; color: #b5c3de; margin-bottom: 1rem; }
.empty-state h2 { margin: 0 0 .4rem; font-size: 1.3rem; }
.empty-state p { color: #66738f; margin: 0 0 1.2rem; }

/* Panels (account, checkout) */
.panel { background: #fff; border: 1px solid #e6ebf5; border-radius: var(--r-md); padding: 1.3rem 1.4rem; margin-bottom: 1.1rem; box-shadow: var(--shadow-card); }
.panel__title { font-size: 1.05rem; font-weight: 800; margin: 0 0 1rem; display: flex; align-items: center; gap: .55rem; }
.panel__title i { color: var(--accent-blue); }

/* Checkout */
.checkout { padding-top: 1rem; padding-bottom: 3rem; }
.checkout__layout, .cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1.4rem; align-items: start; }
@media (max-width: 960px) { .checkout__layout, .cart-layout { grid-template-columns: 1fr; } }
.checkout-steps { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; font-size: .82rem; flex-wrap: wrap; }
.checkout-steps__item { display: inline-flex; align-items: center; gap: .4rem; opacity: .65; }
.checkout-steps__item.done, .checkout-steps__item.active { opacity: 1; font-weight: 700; }
.checkout-steps__line { width: 32px; height: 2px; background: currentColor; opacity: .3; }
.coupon-row { display: flex; gap: .6rem; }
.coupon-row .form-control { flex: 1; letter-spacing: .06em; }
.coupon-note { margin: .7rem 0 0; font-size: .86rem; font-weight: 600; }
.coupon-note--success { color: var(--accent-green); } .coupon-note--error { color: #d32f2f; }
.pay-option { display: flex; align-items: center; gap: .9rem; border: 1.5px solid #dbe3f3; border-radius: var(--r-md); padding: .9rem 1rem; margin-bottom: .6rem; cursor: pointer; transition: .15s; }
.pay-option:hover { border-color: #9db9ee; background: #f8faff; }
.pay-option:has(input:checked) { border-color: var(--accent-blue); background: #f2f7ff; box-shadow: var(--ring); }
.pay-option__body { flex: 1; display: flex; flex-direction: column; }
.pay-option__body small { color: #7a869f; }
.pay-option__icon { font-size: 1.3rem; color: #7f93bd; }

/* Cart + summary */
.cart-page { padding-bottom: 3rem; padding-top: 1rem; }
.cart-summary { background: #fff; border: 1px solid #e6ebf5; border-radius: var(--r-md); padding: 1.3rem; box-shadow: var(--shadow-card); }
.cart-summary--sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.cart-summary__title { font-size: 1.05rem; font-weight: 800; margin: 0 0 1rem; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .93rem; color: #3b4660; }
.cart-summary__row--total { border-top: 1px dashed #d3dcee; margin-top: .4rem; padding-top: .9rem; font-size: 1.15rem; font-weight: 800; color: #111a30; }
.cart-summary .btn { margin-top: .75rem; }
.summary-hint { font-size: .8rem; color: #7a869f; margin: .3rem 0; }
.summary-hint--warn { color: #b45309; font-weight: 600; }
.summary-secure { text-align: center; font-size: .78rem; color: #7a869f; margin: .9rem 0 0; }
.summary-items { list-style: none; padding: 0; margin: 0 0 .8rem; max-height: 280px; overflow: auto; }
.summary-item { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid #eef1f7; }
.summary-item__img { position: relative; width: 52px; height: 52px; flex: none; border: 1px solid #e6ebf5; border-radius: var(--r-sm); background: #fff; padding: 4px; }
.summary-item__img img { width: 100%; height: 100%; object-fit: contain; }
.summary-item__qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 99px; background: #55627d; color: #fff; font-size: .7rem; display: grid; place-items: center; }
.summary-item__name { flex: 1; font-size: .85rem; font-weight: 600; line-height: 1.3; }
.summary-item__name small { display: block; color: #7a869f; font-weight: 500; }
.summary-item__price { font-weight: 700; font-size: .88rem; }
.ship-progress { background: #fff; border: 1px solid #e6ebf5; border-radius: var(--r-md); padding: .9rem 1.2rem; margin-bottom: 1.1rem; box-shadow: var(--shadow-card); }
.ship-progress p { margin: 0 0 .5rem; font-size: .92rem; }
.ship-progress p i { color: var(--accent-blue); margin-right: .3rem; }
.ship-progress__bar { height: 8px; background: #e8eef9; border-radius: 99px; overflow: hidden; }
.ship-progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, #3a86ff, #2e9e4f); border-radius: 99px; transition: width .5s ease; }
.ship-progress--done { background: #effaf1; border-color: #bfe6c7; } .ship-progress--done p { margin: 0; color: #1e6b2c; } .ship-progress--done i { color: #2e9e4f; }
.cart-items { display: flex; flex-direction: column; gap: .8rem; }
.cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto auto; gap: 1rem; align-items: center; background: #fff; border: 1px solid #e6ebf5; border-radius: var(--r-md); padding: .9rem 1rem; box-shadow: var(--shadow-card); }
.cart-item--problem { border-color: #ffc9c9; background: #fffafa; }
.cart-item__img { display: grid; place-items: center; width: 88px; height: 88px; background: #f6f8fc; border-radius: var(--r-sm); padding: 6px; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__name { font-weight: 700; color: #1b2540; text-decoration: none; display: block; line-height: 1.3; }
.cart-item__name:hover { color: var(--accent-blue); }
.cart-item__meta, .cart-item__unit { font-size: .8rem; color: #7a869f; margin-top: .2rem; }
.cart-item__warn { font-size: .8rem; font-weight: 700; color: #d32f2f; margin-top: .3rem; }
.cart-item__total { font-weight: 800; font-size: 1.05rem; min-width: 84px; text-align: right; }
.cart-item__qty.is-updating { opacity: .55; pointer-events: none; }
.qty-input { display: inline-flex; align-items: center; border: 1.5px solid #d6deee; border-radius: var(--r); overflow: hidden; background: #fff; }
.qty-input input, .qty-input .qty-num { width: 44px; text-align: center; border: 0; font-weight: 700; font-size: .95rem; background: transparent; -moz-appearance: textfield; }
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step, .qty-input .qty-btn { width: 36px; height: 38px; border: 0; background: #f4f7fc; font-size: 1.1rem; cursor: pointer; color: #3b4660; transition: .12s; }
.qty-step:hover, .qty-input .qty-btn:hover { background: #e4ecfb; color: var(--accent-blue); }
.cart-actions { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info rm" "img qty total"; row-gap: .6rem; }
  .cart-item__img { grid-area: img; width: 72px; height: 72px; } .cart-item__info { grid-area: info; }
  .cart-item__remove { grid-area: rm; } .cart-item__qty { grid-area: qty; } .cart-item__total { grid-area: total; }
}

/* Account */
.account-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.4rem; padding-top: 1rem; padding-bottom: 3rem; align-items: start; }
@media (max-width: 860px) { .account-layout { grid-template-columns: 1fr; } }
.account-sidebar { background: #fff; border: 1px solid #e6ebf5; border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 860px) { .account-sidebar { position: static; } }
.account-sidebar__user { padding: 1.3rem 1.2rem; text-align: center; background: linear-gradient(135deg, #0f2a5e, #2468e0); color: #fff; }
.account-sidebar__avatar { width: 56px; height: 56px; border-radius: 50%; background: #ffb800; color: #1b1b1b; display: inline-grid; place-items: center; font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.account-sidebar__name { font-weight: 700; } .account-sidebar__email { font-size: .78rem; opacity: .8; word-break: break-all; }
.account-sidebar__nav a { display: flex; align-items: center; gap: .7rem; padding: .8rem 1.2rem; color: #3b4660; text-decoration: none; font-weight: 600; font-size: .9rem; border-left: 3px solid transparent; transition: .15s; }
.account-sidebar__nav a i { width: 18px; color: #8a97b3; }
.account-sidebar__nav a:hover { background: #f4f8ff; }
.account-sidebar__nav a.active { background: #eef4ff; border-left-color: var(--accent-blue); color: var(--accent-blue); }
.account-heading { font-size: 1.4rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }

/* Orders */
.orders-list { display: flex; flex-direction: column; gap: 1.1rem; }
.order-box { background: #fff; border: 1px solid #e6ebf5; border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
.order-box__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.2rem; background: #f7f9fd; border-bottom: 1px solid #e6ebf5; }
.order-box__date { display: block; font-size: .78rem; color: #7a869f; }
.order-box__head-right { display: flex; align-items: center; gap: .8rem; }
.order-steps { list-style: none; display: flex; padding: 1rem 1.2rem .3rem; margin: 0; }
.order-steps li { flex: 1; text-align: center; font-size: .75rem; font-weight: 600; color: #98a2b8; position: relative; }
.order-steps li span { display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto .35rem; border-radius: 50%; background: #e8eef9; font-size: .72rem; position: relative; z-index: 1; }
.order-steps li::before { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: #e1e8f5; }
.order-steps li:first-child::before { display: none; }
.order-steps li.done { color: #1e6b2c; } .order-steps li.done span { background: #2e9e4f; color: #fff; } .order-steps li.done::before { background: #2e9e4f; }
.order-box__items { padding: .4rem 1.2rem; }
.order-line { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid #f0f3f9; text-decoration: none; color: inherit; }
.order-line:last-child { border-bottom: 0; }
.order-line__img { width: 56px; height: 56px; flex: none; background: #f6f8fc; border-radius: var(--r-sm); padding: 4px; }
.order-line__img img { width: 100%; height: 100%; object-fit: contain; }
.order-line__info { flex: 1; display: flex; flex-direction: column; font-size: .9rem; } .order-line__info small { color: #7a869f; }
.order-line__price { font-weight: 700; }
.order-box__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .85rem 1.2rem; border-top: 1px solid #eef1f7; background: #fbfcfe; }
.order-box__note { margin: 0; font-size: .84rem; color: #66738f; }
.order-box__actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; } .order-box__actions form { margin: 0; }
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #eef1f7; }
.ticket-list li:last-child { border-bottom: 0; } .ticket-list small { display: block; color: #7a869f; }

/* Product detail */
.product-detail__main-img { border-radius: var(--r-lg); background: linear-gradient(180deg, #fff, #f4f7fc); border: 1px solid #e6ebf5; cursor: zoom-in; overflow: hidden; }
.product-detail__main-img img { width: 100%; max-height: 520px; object-fit: contain; padding: 1.2rem; }
.product-detail__thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.product-detail__thumb { width: 72px; height: 72px; padding: 5px; border: 2px solid #e1e8f5; border-radius: var(--r-sm); background: #fff; cursor: pointer; transition: .15s; }
.product-detail__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__thumb:hover { border-color: #9db9ee; } .product-detail__thumb.active { border-color: var(--accent-blue); box-shadow: var(--ring); }
.product-detail__brand-link { font-size: .78rem; color: var(--accent-blue); margin-left: .6rem; }
.product-detail__price-current { font-weight: 800; letter-spacing: -.01em; }
.tab-btn { border-radius: 99px; } .tab-panel { background: #fff; border-radius: var(--r-md); }
.lightbox__close { border-radius: 50%; }

/* Suggestions */
.suggest-item__img { object-fit: contain; background: #fff; border-radius: 6px; }

/* Footer */
.footer a { transition: color .15s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
