@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Roboto+Slab:wght@400;500;600;700&display=swap");
@import url("theme/line-awesome.min.css");

:root {
  --main-color-one: rgb(30, 136, 229);
  --main-color-four: #1e88e5;
  --section-bg-3: #F4F8FB;
  --section-bg-6: #E5EFF8;
  --heading-color: #333333;
  --body-color: #666666;
  --extra-light-color: #888888;
  --heading-font: "Roboto Slab", serif;
  --body-font: "Manrope", sans-serif;
  --line: #e8eef4;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--body-color);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--heading-color); font-weight: 500; }
.container-one { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.linkish { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font: inherit; }

/* ========== Header（对齐现站：Logo | 居中导航 | 右侧方框图标） ========== */
.header-style-01 {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky; top: 0; z-index: 100;
}
.navbar-area { padding: 10px 0; }
.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}
.logo-wrapper { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; display: block; }

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-nav a {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
}
.navbar-nav a:hover { color: var(--main-color-one); }

.navbar-right-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.track-icon-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 方框图标 */
.icon-box {
  width: 42px; height: 42px;
  border: 1px solid #e5e5e5;
  display: inline-grid; place-items: center;
  color: var(--heading-color);
  font-size: 18px;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: .2s ease;
}
.icon-box:hover {
  border-color: var(--main-color-one);
  color: var(--main-color-one);
}
.icon-notification {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--main-color-one);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid; place-items: center;
  line-height: 1;
}

/* 搜索下拉 */
.search-icon-wrap { position: relative; }
.search-dropdown {
  display: none;
  position: absolute;
  right: 0; top: calc(100% + 8px);
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 10px;
  z-index: 120;
}
.search-icon-wrap.open .search-dropdown { display: block; }
.search-open-form { display: flex; align-items: center; gap: 6px; }
.search-open-form input {
  flex: 1; border: 1px solid var(--line); padding: 10px 12px; outline: none;
}
.search-open-form button {
  border: 0; background: var(--main-color-one); color: #fff;
  width: 40px; height: 40px; cursor: pointer;
}
.search-open-form .search-close { background: #eee; color: #333; }

.account-wrap { position: relative; }
.account-menu {
  display: none;
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 140px; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  list-style: none; margin: 0; padding: 8px 0; z-index: 120;
}
.account-wrap:hover .account-menu { display: block; }
.account-menu a, .account-menu span, .account-menu button {
  display: block; width: 100%; text-align: left;
  padding: 8px 14px; color: var(--heading-color); font-size: 14px;
}
.account-menu a:hover { background: #f7fafc; color: var(--main-color-one); }

main.page-main { min-height: 40vh; }
.flash.ok {
  background: #e8f5e9; border: 1px solid #a5d6a7;
  padding: 10px 12px; margin: 16px auto; max-width: 1200px;
}

/* ========== Banner（现站 banner-two + section-bg-6） ========== */
.banner-area {
  background: #fff;
  padding: 28px 0 10px;
}
.banner-content-wrapper {
  background: var(--section-bg-6);
  padding: 36px 40px;
  position: relative;
}
.banner-slider { position: relative; }
.banner-image {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: center;
}
.banner-image-content-title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.2;
  font-weight: 400;
  color: var(--heading-color);
}
.banner-image-content-title span {
  color: var(--main-color-one);
}
.banner-image-content-para {
  margin: 0 0 28px;
  max-width: 420px;
  color: var(--body-color);
  font-size: 15px;
  line-height: 1.8;
}
.banner-image-thumb img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: transparent;
}
.banner-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border: 0; background: #fff;
  color: var(--heading-color);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  cursor: pointer; z-index: 2;
  display: grid; place-items: center;
  font-size: 18px;
}
.banner-nav:hover { color: var(--main-color-one); }
.banner-nav.prev { left: -8px; }
.banner-nav.next { right: -8px; }

.cmn-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--main-color-one); color: #fff !important;
  padding: 12px 28px; font-weight: 700; border: 0; cursor: pointer;
  border-radius: 0; font-size: 14px;
}
.cmn-btn:hover { filter: brightness(.96); }
.cmn-btn-dark { background: #333 !important; }
.cmn-btn-outline {
  background: #fff; color: var(--heading-color) !important;
  border: 1px solid #d9e2ec;
}

/* ========== Featured 轮播 ========== */
.featured-area { padding: 70px 0 30px; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title .title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.featured-slider { position: relative; overflow: hidden; }
.featured-track {
  display: flex;
  transition: transform .45s ease;
}
.featured-item {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 10px;
}
.global-card {
  display: block;
  text-align: center;
  background: #fff;
  padding-bottom: 12px;
}
.global-card-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #f2f2f2;
}
.global-card-thumb img {
  width: 100%; height: 100%;
  object-fit: contain; background: #fff;
  transition: transform .35s ease;
}
.global-card:hover .global-card-thumb img { transform: scale(1.04); }
.global-card-thumb-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: var(--main-color-one); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 8px;
}
.global-card-thumb-icons {
  position: absolute; right: 10px; top: 10px;
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(8px);
  transition: .25s ease; z-index: 2;
}
.global-card:hover .global-card-thumb-icons {
  opacity: 1; transform: translateX(0);
}
.global-card-thumb-icons .icon {
  width: 34px; height: 34px;
  background: #fff; border: 1px solid #eee;
  display: grid; place-items: center;
  color: var(--heading-color); font-size: 15px;
}
.global-card-thumb-icons .icon:hover {
  background: var(--main-color-one); color: #fff; border-color: var(--main-color-one);
}
.global-card-contents-title {
  font-family: var(--body-font);
  font-size: 14px; font-weight: 600; color: var(--heading-color);
  margin: 0 10px 10px; min-height: 42px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.price-update-through {
  display: flex; justify-content: center; align-items: baseline; gap: 8px;
}
.flash-prices { color: var(--main-color-one); font-weight: 700; font-size: 16px; }
.flash-old-prices { color: var(--extra-light-color); font-size: 13px; text-decoration: line-through; }
.featured-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 22px;
}
.featured-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; background: #d0d7de; cursor: pointer; padding: 0;
}
.featured-dots button.active { background: var(--main-color-one); }

/* Promo tiles */
.promo-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: 20px 0 50px;
}
.promo-tile {
  min-height: 210px; color: #fff;
  display: flex; align-items: flex-end; padding: 28px;
  background: #333 center/cover no-repeat; position: relative;
}
.promo-tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.12));
}
.promo-tile > div { position: relative; z-index: 1; }
.promo-tile.fan { background-image: url("/uploads/brand/promo-fan.jpg"); }
.promo-tile.lamp { background-image: url("/uploads/brand/promo-lamp.jpg"); }
.promo-tile h3 { margin: 0 0 12px; font-size: 30px; line-height: 1.15; color: #fff; }
.promo-tile .cmn-btn { padding: 9px 18px; font-size: 13px; }

/* Benefits */
.promo-info-area { padding: 10px 0 40px; }
.promo-info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.single-promo {
  border: 1px solid var(--line); padding: 22px 18px;
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
}
.single-promo .ico {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--section-bg-6); color: var(--main-color-one);
  display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.single-promo strong { display: block; color: var(--heading-color); margin-bottom: 4px; }
.single-promo span { font-size: 13px; color: var(--extra-light-color); }

/* Shop */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 28px 0; }
.side-filter {
  border: 1px solid var(--line); padding: 18px; background: #fff; height: fit-content;
}
.side-filter h5 {
  margin: 0 0 12px; font-size: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.side-filter a {
  display: block; padding: 9px 0; color: var(--body-color);
  border-bottom: 1px dashed #f0f0f0; font-size: 14px;
}
.side-filter a:hover, .side-filter a.active { color: var(--main-color-one); font-weight: 600; }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; border: 1px solid var(--line); padding: 12px 14px; background: #fff;
}
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.pager { margin-top: 18px; color: var(--extra-light-color); }

/* ========== Detail gallery ========== */
.detail-breadcrumb {
  background: var(--section-bg-3);
  padding: 22px 0;
  margin-bottom: 8px;
}
.detail-breadcrumb h1 {
  margin: 0; font-size: 22px; line-height: 1.4; font-weight: 500;
}
.single-shop-details-wrapper {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px;
  padding: 24px 0 10px;
}
.shop-details-left { min-width: 0; }
.shop-details-thumb-wrapper {
  border: 1px solid var(--line);
  background: #fff;
  min-height: 420px;
  display: grid; place-items: center;
  padding: 18px;
}
.shop-details-main-img {
  max-height: 440px; width: auto; max-width: 100%;
  object-fit: contain;
}

/* 主图下方缩略图：始终可见 */
.shop-details-bottom-slider-area {
  margin-top: 16px;
  padding: 12px 4px 4px;
  border-top: 0;
}
.shop-details-thumbs-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.shop-small-thumb {
  width: 90px; height: 90px;
  border: 1px solid #e5e5e5;
  background: #fff center/contain no-repeat;
  cursor: pointer;
  padding: 0;
  flex: 0 0 90px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.shop-small-thumb:hover,
.shop-small-thumb.active {
  border-color: var(--main-color-one);
  box-shadow: 0 0 0 1px var(--main-color-one);
}
.gallery-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--extra-light-color);
}

.detail-side-title {
  margin: 0 0 14px; font-size: 22px; line-height: 1.35; font-weight: 500;
}
.detail-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.detail-price .now { color: var(--main-color-one); font-size: 28px; font-weight: 700; }
.detail-price s { color: var(--extra-light-color); }
.stock-line { margin: 0 0 10px; }
.in-stock {
  display: inline-block; background: #e8f5e9; color: #2e7d32;
  font-size: 12px; font-weight: 700; padding: 4px 10px;
}
.qty-row { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.qty-row input { width: 80px; padding: 10px; border: 1px solid var(--line); }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.btn-wishlist {
  border: 1px solid var(--line); background: #fff; padding: 12px 16px; cursor: pointer;
  font-weight: 600;
}
.btn-wishlist:hover { border-color: var(--main-color-one); color: var(--main-color-one); }
.detail-tabs {
  margin: 24px 0 40px; border: 1px solid var(--line); padding: 22px; background: #fff;
}
.detail-tabs h3 { margin: 0 0 14px; font-size: 20px; }
.safe-checkout { margin-top: 18px; color: var(--extra-light-color); font-size: 13px; }

/* Footer */
.site-footer { background: #1b2430; color: #c9d1d9; margin-top: 10px; }
.footer-grid {
  display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 28px; padding: 40px 15px;
}
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
.site-footer a { display: block; color: #b7c0c9; margin: 8px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 8px; line-height: 1.7; font-size: 14px; }
.copy {
  text-align: center; border-top: 1px solid #2a3441;
  padding: 14px; color: #8b95a1; font-size: 13px;
}

.float-dock {
  position: fixed; right: 0; top: 40%; z-index: 60;
  display: flex; flex-direction: column;
  box-shadow: -2px 2px 12px rgba(0,0,0,.1);
}
.float-dock a {
  background: #fff; border: 1px solid var(--line); border-right: 0;
  min-width: 74px; padding: 10px 8px; text-align: center;
  font-size: 12px; color: var(--heading-color);
  display: flex; flex-direction: column; gap: 2px;
}
.float-dock a + a { border-top: 0; }
.float-dock a:hover { color: var(--main-color-one); }
.float-dock em { font-style: normal; color: var(--main-color-one); font-weight: 700; }
.float-dock i { font-size: 18px; }

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(20,20,20,.96); color: #eee; padding: 16px;
}
.cookie-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 18px; align-items: center; justify-content: space-between;
}
.cookie-bar strong { display: block; margin-bottom: 4px; color: #fff; }
.cookie-bar p { margin: 0; font-size: 13px; color: #ccc; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.cms, .auth-box {
  background: #fff; border: 1px solid var(--line); padding: 24px; margin: 24px 0;
}
.auth-box { max-width: 440px; margin: 28px auto; }
.auth-box label, .checkout-form label { display: block; margin: 12px 0 6px; }
.auth-box input, .checkout-form input, .checkout-form textarea {
  width: 100%; border: 1px solid var(--line); padding: 11px;
}

/* ========== Auth (Login / Register) — align Electro ========== */
.auth-breadcrumb { text-align: center; }
.auth-breadcrumb h1 { text-align: center; }
.auth-crumb {
  display: flex; gap: 10px; justify-content: center; align-items: center;
  margin-top: 8px; font-size: 14px; color: #666;
}
.auth-crumb a { color: #666; text-decoration: none; }
.auth-crumb a:hover { color: var(--main-color-one); }
.auth-page { padding: 36px 0 56px; background: #fff; }

/* ========== My Orders ========== */
.account-orders-area { padding: 36px 0 64px; background: #fff; }
.account-orders-empty { text-align: center; padding: 48px 0; }
.account-orders-empty h2 {
  font-family: var(--heading-font);
  margin: 0 0 18px;
  color: var(--heading-color);
}
.account-order-list { display: grid; gap: 18px; }
.account-order-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
}
.account-order-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #f7f9fb;
  border-bottom: 1px solid #eee;
}
.account-order-no {
  font-weight: 700;
  color: var(--heading-color);
  font-size: 16px;
}
.account-order-date { margin-top: 4px; color: #888; font-size: 13px; }
.account-order-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.order-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f0f0f0;
  color: #555;
}
.order-tag.is-ok { background: #e8f5e9; color: #2e7d32; }
.order-tag.is-warn { background: #fff8e1; color: #f57c00; }
.order-tag.is-info { background: #e3f2fd; color: #1565c0; }
.account-order-items { padding: 8px 18px; }
.account-order-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.account-order-item:last-child { border-bottom: 0; }
.account-order-thumb {
  width: 72px; height: 72px;
  border: 1px solid #eee;
  background: #fff;
  overflow: hidden;
}
.account-order-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.account-order-item-meta .name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.account-order-item-meta .sub { margin-top: 4px; color: #888; font-size: 13px; }
.account-order-item-amount {
  font-weight: 700;
  color: var(--heading-color);
  white-space: nowrap;
}
.account-order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px 16px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.account-order-total { font-size: 15px; color: #555; }
.account-order-total strong {
  margin-left: 6px;
  font-size: 18px;
  color: var(--heading-color);
}
.account-order-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.account-pay-btn {
  min-width: 120px;
  text-align: center;
  border: 0;
  cursor: pointer;
}
.track-tip, .paid-tip { font-size: 13px; color: #666; }
.account-orders-pager {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 14px;
}
.account-orders-pager a { color: var(--main-color-one); margin-left: 10px; }
@media (max-width: 700px) {
  .account-order-item { grid-template-columns: 64px 1fr; }
  .account-order-item-amount { grid-column: 2; justify-self: start; }
}
.auth-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 8px 8px 24px;
}
.auth-card--wide { max-width: 640px; }
.auth-title {
  margin: 0 0 22px;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #222;
}
.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.auth-field .req { color: #e53935; }
.auth-field input,
.auth-field select {
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color .2s ease;
}
.auth-field input:focus,
.auth-field select:focus { border-color: var(--main-color-one); }
.auth-field input::placeholder { color: #b0b0b0; }
.auth-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 8px 0 18px; flex-wrap: wrap;
}
.auth-check {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: #444; cursor: pointer; user-select: none;
}
.auth-check input { width: 16px; height: 16px; accent-color: var(--main-color-one); }
.auth-check--block { display: flex; margin: 8px 0 18px; }
.auth-check a { color: var(--main-color-one); }
.auth-link { font-size: 14px; color: #333; text-decoration: none; }
.auth-link:hover { color: var(--main-color-one); }
.auth-submit {
  width: 100%;
  border: 0;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  cursor: pointer;
}
.auth-switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: #555;
}
.auth-switch a {
  color: #222;
  font-weight: 700;
  text-decoration: none;
}
.auth-switch a:hover { color: var(--main-color-one); }
.auth-error {
  background: #fff2f0;
  border: 1px solid #ffccc7;
  color: #cf1322;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
}
.auth-help {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* ========== Checkout (/s/checkout) — align Electro ========== */
.checkout-empty-area { padding: 72px 0 96px; }
.checkout-empty-box {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.checkout-empty-box h2 {
  font-family: var(--heading-font);
  font-size: 28px;
  color: var(--heading-color);
  margin: 0 0 22px;
}
.checkout-area { padding: 32px 0 64px; background: #fff; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.checkout-inner-title,
.summery-title {
  font-family: var(--heading-font);
  font-size: 26px;
  color: var(--heading-color);
  margin: 0 0 20px;
}
.checkout-billing .single-input { margin-bottom: 14px; }
.checkout-billing .label-title {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.checkout-billing .req { color: #e53935; }
.checkout-billing .form--control {
  width: 100%;
  height: 50px;
  border: 1px solid #e5e5e5;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
}
.checkout-billing textarea.form--control {
  height: auto;
  min-height: 96px;
  resize: vertical;
}
.checkout-billing .form--control:focus { border-color: var(--main-color-one); }
.checkout-form-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checkout-order-summery {
  background: var(--section-bg-3);
  border: 1px solid var(--line);
  padding: 28px 24px;
  position: sticky;
  top: 88px;
}
.single-check-carts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}
.check-cart-flex-contents {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.checkout-cart-thumb {
  width: 72px; height: 72px;
  background: #fff;
  border: 1px solid #eee;
  flex: 0 0 72px;
  overflow: hidden;
}
.checkout-cart-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.checkout-cart-img-contents .product-name {
  font-size: 14px;
  color: var(--heading-color);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.checkout-cart-img-contents .product-items {
  margin-top: 4px;
  font-size: 13px;
  color: var(--extra-light-color);
}
.checkout-cart-price {
  font-weight: 700;
  color: var(--heading-color);
  white-space: nowrap;
}
.checkout-totals {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.checkout-totals li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
}
.checkout-totals li.grand {
  border-bottom: 0;
  font-size: 18px;
  color: var(--heading-color);
  margin-top: 4px;
}
.checkout-pay-method { margin-top: 18px; }
.checkout-pay-method h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--heading-color);
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e5e5e5;
  cursor: pointer;
}
.pay-option.selected { border-color: var(--main-color-one); }
.checkout-terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 14px;
  color: #444;
}
.checkout-terms a { color: var(--main-color-one); }
.checkout-place-btn {
  width: 100%;
  border: 0;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.checkout-back { margin: 14px 0 0; text-align: center; font-size: 14px; }
.checkout-back a { color: #555; }
.checkout-success-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
@media (max-width: 992px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-order-summery { position: static; }
  .checkout-form-flex { grid-template-columns: 1fr; }
}
.shop-table { width: 100%; border-collapse: collapse; background: #fff; }
.shop-table th, .shop-table td { border-bottom: 1px solid #eee; padding: 12px 10px; text-align: left; }
.thumb-empty {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: #bbb; font-size: 13px; background: #f5f5f5;
}

.auth-success, .auth-info {
  padding: 12px 14px;
  border-radius: 2px;
  font-size: 14px;
}
.auth-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.auth-info { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }

/* ========== Cart (/s/cart) — align Electro ========== */
.cart-empty-area { padding: 72px 0 96px; }
.cart-empty-box { text-align: center; max-width: 520px; margin: 0 auto; }
.cart-empty-icon {
  width: 96px; height: 96px; margin: 0 auto 18px;
  border-radius: 50%; background: #f4f7f9;
  display: grid; place-items: center;
  color: var(--main-color-one); font-size: 42px;
}
.cart-empty-box h2 {
  font-family: var(--heading-font);
  font-size: 28px;
  color: var(--heading-color);
  margin: 0 0 22px;
}
.cart-area { padding: 36px 0 72px; background: #fff; }
.cart-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}
.table-list-content { overflow-x: auto; }
.cart-custom-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.cart-custom-table thead.head-bg { background: rgba(221, 221, 221, 0.4); }
.cart-custom-table thead tr th {
  padding: 18px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  text-align: left;
  white-space: nowrap;
}
.cart-custom-table thead tr th:first-child { padding-left: 20px; }
.cart-custom-table tbody tr { border-bottom: 1px solid rgba(221, 221, 221, 0.4); }
.cart-custom-table tbody tr td {
  padding: 18px 12px;
  vertical-align: middle;
  font-size: 15px;
  color: #444;
}
.cart-custom-table tbody tr td:first-child { padding-left: 20px; }
.cart-custom-table .price-td { font-weight: 600; color: var(--heading-color); white-space: nowrap; }
.product-name-table {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
}
.product-name-table .thumbs {
  width: 96px; height: 96px; flex: 0 0 96px;
  border: 1px solid #eee; background: #fff; overflow: hidden;
  display: block;
}
.product-name-table .thumbs img {
  width: 100%; height: 100%; object-fit: contain;
}
.carts-contents .name-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carts-contents .name-title:hover { color: var(--main-color-one); }
.product-quantity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
}
.product-quantity .quantity-input {
  width: 52px; height: 36px;
  border: 1px solid rgba(221, 221, 221, 0.8);
  background: rgba(221, 221, 221, 0.35);
  text-align: center;
  font-size: 14px;
  outline: none;
}
.product-quantity .substract,
.product-quantity .plus {
  width: 36px; height: 36px;
  border: 1px solid rgba(221, 221, 221, 0.8);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #333;
}
.product-quantity .substract:hover,
.product-quantity .plus:hover {
  border-color: var(--main-color-one);
  color: var(--main-color-one);
}
.close-table-cart {
  border: 0; background: transparent;
  font-size: 20px; cursor: pointer; color: #777;
  padding: 4px;
}
.close-table-cart:hover { color: var(--main-color-one); transform: scale(1.15); }
.cart-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.btn-table {
  display: inline-block;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #444;
  background: #fff;
  border: 1px solid rgba(221, 221, 221, 0.7);
  cursor: pointer;
  transition: all .2s;
}
.btn-table:hover {
  background: var(--main-color-one);
  border-color: var(--main-color-one);
  color: #fff;
}
.cart-summery-panel .coupon-wrapper {
  border: 1px solid rgba(221, 221, 221, 0.55);
  background: #fff;
  position: sticky;
  top: 88px;
}
.cart-summery-panel .coupon-contents { padding: 28px 24px; }
.cart-summery-panel .coupon-contents-title {
  margin: 0 0 16px;
  font-family: var(--heading-font);
  font-size: 22px;
  color: var(--heading-color);
}
.cart-summery-panel .coupon-contents-form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cart-summery-panel .coupon-contents-form .single-input { flex: 1; }
.cart-summery-panel .coupon-contents-form .form--control {
  width: 100%; height: 46px;
  border: 1px solid #e5e5e5;
  padding: 8px 12px;
  font-size: 14px;
}
.cart-summery-panel .btn-submit {
  height: 46px;
  padding: 0 16px;
  border: 2px solid rgba(33, 140, 224, 0.45);
  background: #fff;
  color: var(--main-color-one);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cart-summery-panel .btn-submit:hover {
  background: var(--main-color-one);
  color: #fff;
  border-color: var(--main-color-one);
}
.cart-summery-panel .coupon-border {
  border-top: 1px solid rgba(221, 221, 221, 0.55);
}
.cart-summery-panel .coupon-contents-details-list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}
.cart-summery-panel .coupon-contents-details-list-item.cart-grand {
  border-bottom: 0;
  margin-top: 6px;
  font-size: 18px;
  color: var(--heading-color);
}
.cart-checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  margin-top: 18px;
  box-sizing: border-box;
}
@media (max-width: 992px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summery-panel .coupon-wrapper { position: static; }
  .product-name-table { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 992px) {
  .nav-container { grid-template-columns: auto auto; }
  .navbar-nav { display: none; }
  .banner-image, .single-shop-details-wrapper, .shop-layout,
  .promo-row, .promo-info-grid, .footer-grid { grid-template-columns: 1fr; }
  .featured-item { flex: 0 0 50%; max-width: 50%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-content-wrapper { padding: 24px 18px; }
}
@media (max-width: 560px) {
  .featured-item { flex: 0 0 100%; max-width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .float-dock { display: none; }
}
