:root {
  --red: #ed1c24;
  --red2: #ff3b42;
  --black: #171717;
  --text: #242424;
  --muted: #757575;
  --soft: #f7f7f8;
  --line: #ececee;
  --green: #27864a;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 14px;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}
.site-header {
  height: 76px;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 8px #00000010;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
}
.topbar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border: 2px solid var(--red);
  border-radius: 7px;
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.searchbox {
  height: 42px;
  flex: 1;
  max-width: 470px;
  background: #f5f5f6;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  color: #aaa;
}
.searchbox input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 12px;
}
.topnav {
  display: flex;
  gap: 30px;
  font-size: 12px;
  color: #999;
}
.topnav a:hover {
  color: var(--red);
}
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 18px;
}
.icon-link {
  color: var(--red);
  font-size: 18px;
}
.hero {
  padding-top: 45px;
}
.hero-copy {
  text-align: center;
}
.eyebrow {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}
.hero-copy h1 {
  font-size: 52px;
  line-height: 0.95;
  color: var(--red);
  margin: 8px 0 15px;
}
.hero-copy p {
  color: #494949;
  line-height: 1.6;
  font-size: 13px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 24px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: #d81219;
}
.btn-outline {
  border-color: var(--red);
  color: var(--red);
  background: #fff;
}
.btn-lg {
  height: 50px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}
.hero-copy .btn {
  margin-top: 7px;
}
.hero-banner {
  margin-top: 24px;
  height: 305px;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0d0f;
}
.hero-art {
  height: 100%;
  position: relative;
  background: radial-gradient(circle at 20% 20%, #27272a, #09090a 55%);
  overflow: hidden;
}
.hero-bag {
  position: absolute;
  left: 28%;
  top: 35px;
  width: 150px;
  height: 245px;
  background: #fff;
  border: 18px solid var(--red);
  border-radius: 20px;
  transform: rotate(16deg);
  color: var(--red);
  font-size: 72px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.hero-message {
  position: absolute;
  left: 49%;
  top: 35px;
  background: white;
  width: 180px;
  height: 235px;
  padding: 35px 24px;
  font-size: 31px;
  line-height: 0.92;
  font-weight: 800;
  transform: rotate(7deg);
}
.phone-card {
  position: absolute;
  right: 8%;
  top: -25px;
  width: 190px;
  height: 320px;
  border: 20px solid #eee;
  border-radius: 35px;
  transform: rotate(-36deg);
  box-shadow: 0 0 40px #000;
}
.tool-line {
  position: absolute;
  left: 10%;
  top: 70px;
  width: 8px;
  height: 200px;
  background: #aaa;
  transform: rotate(18deg);
  box-shadow: 20px 0 0 #444;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}
.slider-dots i {
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 99px;
}
.slider-dots .active {
  background: var(--red);
  width: 32px;
}
.finder-section {
  padding: 30px 0 0;
}
.finder {
  background: var(--black);
  color: white;
  border-radius: 16px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 30px;
  align-items: center;
}
.finder h2 {
  margin: 5px 0 8px;
  font-size: 22px;
}
.finder p {
  margin: 0;
  color: #aaa;
  font-size: 12px;
}
.kicker {
  color: var(--red);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.finder-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
}
.finder-form select {
  height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #444;
}
.section {
  padding: 52px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-heading.centered {
  display: block;
  text-align: center;
}
.section-heading h2 {
  font-size: 24px;
  color: var(--red);
  margin: 0;
}
.section-heading p {
  color: var(--muted);
  font-size: 12px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: 0.2s;
  box-shadow: 0 4px 14px #00000006;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px #0000000d;
}
.product-image {
  height: 250px;
  background: #fafafa;
  position: relative;
  display: grid;
  place-items: center;
}
.product-image img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.wishlist {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--red);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 18px;
  background: #fff;
}
.product-body {
  padding: 16px;
}
.badges {
  display: flex;
  gap: 6px;
  min-height: 22px;
}
.badge {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
}
.badge-dark {
  background: #111;
  color: #fff;
}
.badge-soft {
  background: #fff0f0;
  color: var(--red);
}
.product-name {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0;
  min-height: 35px;
}
.rating {
  font-size: 11px;
  color: #ffb000;
}
.rating span {
  color: #999;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-row strong {
  font-size: 17px;
  color: var(--red);
}
.price-row small {
  text-decoration: line-through;
  color: #aaa;
}
.discount {
  font-size: 10px;
  color: var(--red);
  font-weight: 700;
}
.center {
  text-align: center;
  margin-top: 28px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  height: 210px;
  background: #d1d1d1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}
.category-card img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: grayscale(0.15);
}
.category-card span {
  position: absolute;
  font-size: 18px;
  font-weight: 800;
  color: white;
  text-shadow: 0 1px 12px #000;
}
.promo {
  height: 240px;
  border-radius: 18px;
  background: linear-gradient(90deg, #f7f7f7, #fff 55%, #f0f0f0);
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.5fr;
  align-items: center;
  padding: 35px 50px;
  overflow: hidden;
}
.promo h2 {
  font-size: 32px;
  line-height: 1.18;
  color: var(--red);
  margin: 0 0 12px;
}
.promo p {
  font-size: 12px;
}
.promo-device {
  justify-self: center;
  width: 145px;
  height: 250px;
  background: linear-gradient(145deg, #fff, #d8d8dc);
  border: 1px solid #ddd;
  border-radius: 28px;
  transform: rotate(-20deg);
  box-shadow: inset 0 0 20px #bbb;
}
.promo-logo {
  font-size: 150px;
  font-weight: 900;
  color: var(--red);
  transform: rotate(5deg);
}
.flash-heading {
  align-items: center;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}
.countdown b {
  background: #111;
  color: #fff;
  border-radius: 7px;
  padding: 11px 13px;
}
.trust {
  padding: 48px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-grid > div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.trust-grid b {
  color: var(--red);
  font-size: 26px;
}
.trust-grid h3 {
  margin: 12px 0 7px;
}
.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.partnership {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 52px;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.partner-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.partner-card h3 {
  color: var(--red);
}
.partner-icon {
  font-size: 46px;
}
.page-hero {
  background: #fafafa;
  padding: 58px 0;
}
.page-hero.compact {
  padding: 36px 0;
}
.page-hero h1 {
  font-size: 34px;
  margin: 8px 0;
}
.page-hero p {
  color: var(--muted);
}
.catalog-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 30px;
}
.filter-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  height: max-content;
  position: sticky;
  top: 96px;
}
.filter-card h3 {
  margin-top: 0;
}
.filter-card label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 18px 0;
}
.filter-card select,
.catalog-toolbar select {
  width: 100%;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 7px;
  padding: 0 10px;
  background: #fff;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.catalog-toolbar select {
  width: 170px;
  margin: 0;
}
.catalog-grid {
  grid-template-columns: repeat(3, 1fr);
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
}
.detail-main {
  height: 520px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
}
.detail-main img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.thumbs button {
  width: 78px;
  height: 78px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 9px;
  padding: 8px;
}
.detail-info h1 {
  font-size: 30px;
  line-height: 1.2;
}
.detail-price {
  font-size: 30px;
  color: var(--red);
  font-weight: 800;
  margin-top: 20px;
}
.old-price {
  text-decoration: line-through;
  color: #aaa;
  margin-top: 4px;
}
.info-box {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.info-box p {
  margin: 5px 0 0;
  color: var(--muted);
}
.info-box.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
}
.qty {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.qty button {
  width: 36px;
  border: 0;
  background: #fff;
}
.qty input {
  width: 44px;
  text-align: center;
  border: 0;
}
.detail-actions {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 10px;
}
.wholesale-note {
  margin-top: 14px;
  background: #fff4f4;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wholesale-note span {
  font-size: 11px;
  color: #666;
}
.tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  gap: 30px;
}
.tabs button {
  border: 0;
  background: none;
  padding: 14px 0;
}
.tabs .active {
  color: var(--red);
  border-bottom: 2px solid var(--red);
  font-weight: 700;
}
.tab-content {
  padding: 25px 0;
  line-height: 1.7;
  color: #555;
}
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}
.cart-item {
  display: grid;
  grid-template-columns: 95px 1fr auto 130px 30px;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item > img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 10px;
}
.cart-product {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-product small {
  color: #999;
}
.remove {
  border: 0;
  background: none;
  font-size: 22px;
  color: #aaa;
}
.mobile-price {
  display: none;
}
.summary-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  height: max-content;
}
.summary-card h3 {
  margin-top: 0;
}
.summary-card > div:not(.mini-order) {
  display: flex;
  justify-content: space-between;
  margin: 16px 0;
  font-size: 12px;
}
.summary-total {
  font-size: 16px !important;
}
.summary-total b {
  color: var(--red);
  font-size: 20px;
}
.continue {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: #777;
  font-size: 12px;
}
.checkout-form {
  display: grid;
  gap: 18px;
}
.checkout-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.step-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.step-title > span {
  width: 32px;
  height: 32px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.step-title h3 {
  margin: 0;
}
.step-title p {
  margin: 4px 0 0;
  color: #888;
  font-size: 11px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.form-grid label {
  font-size: 12px;
  font-weight: 700;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
}
.form-grid textarea {
  min-height: 90px;
}
.payment-placeholder {
  padding: 25px;
  background: #f7f7f7;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #777;
}
.sticky {
  position: sticky;
  top: 96px;
}
.mini-order {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 12px;
  align-items: center;
}
.mini-order img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 8px;
}
.mini-order div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-order span {
  font-size: 11px;
  color: #888;
}
.footer {
  border-top: 1px solid #ddd;
  padding-top: 45px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 45px;
}
.footer p {
  font-size: 12px;
  line-height: 1.7;
  max-width: 310px;
}
.footer h4 {
  font-size: 12px;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
}
.footer-grid a:hover {
  color: var(--red);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding: 20px 0;
  text-align: right;
  font-size: 10px;
}
.footer-brand {
  margin-bottom: 15px;
}
.muted {
  color: var(--muted);
}
.mobile-bottom {
  display: none;
}
@media (max-width: 900px) {
  .topnav {
    display: none;
  }
  .container {
    width: min(100% - 28px, 1180px);
  }
  .searchbox {
    order: 4;
    flex-basis: 100%;
    max-width: none;
  }
  .topbar {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
  }
  .site-header {
    height: auto;
  }
  .hero {
    padding-top: 28px;
  }
  .hero-banner {
    height: 220px;
  }
  .hero-message {
    left: 45%;
    width: 140px;
    height: 180px;
    font-size: 23px;
  }
  .hero-bag {
    left: 18%;
    width: 110px;
    height: 180px;
  }
  .finder {
    grid-template-columns: 1fr;
  }
  .finder-form {
    grid-template-columns: 1fr 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filter-card {
    display: none;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .sticky {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  body {
    padding-bottom: 62px;
  }
  .hero-copy .eyebrow {
    font-size: 18px;
  }
  .hero-copy h1 {
    font-size: 38px;
  }
  .hero-banner {
    height: 165px;
  }
  .hero-message {
    left: 47%;
    top: 18px;
    width: 100px;
    height: 135px;
    padding: 20px 12px;
    font-size: 18px;
  }
  .hero-bag {
    left: 15%;
    top: 15px;
    width: 80px;
    height: 130px;
    border-width: 10px;
    font-size: 40px;
  }
  .phone-card {
    right: 0;
    width: 100px;
    height: 180px;
  }
  .finder {
    padding: 22px;
  }
  .finder-form {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 38px 0;
  }
  .product-grid {
    gap: 12px;
  }
  .product-image {
    height: 165px;
  }
  .product-body {
    padding: 11px;
  }
  .product-name {
    font-size: 11px;
  }
  .price-row strong {
    font-size: 14px;
  }
  .category-card {
    height: 150px;
  }
  .category-card span {
    font-size: 14px;
  }
  .promo {
    height: 180px;
    padding: 24px;
    grid-template-columns: 1fr 0.8fr;
  }
  .promo h2 {
    font-size: 22px;
  }
  .promo-logo {
    display: none;
  }
  .promo-device {
    width: 90px;
    height: 160px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    text-align: left;
  }
  .mobile-bottom {
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #fff;
    border-top: 1px solid #ddd;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  .mobile-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    gap: 3px;
  }
  .mobile-bottom span {
    font-size: 9px;
  }
  .cart-item {
    grid-template-columns: 70px 1fr auto;
  }
  .cart-item > img {
    width: 70px;
    height: 70px;
  }
  .cart-item > .qty {
    grid-column: 2;
  }
  .cart-item > strong {
    display: none;
  }
  .cart-item .remove {
    grid-column: 3;
    grid-row: 1;
  }
  .mobile-price {
    display: block;
    color: var(--red);
    font-weight: 800;
  }
  .detail-main {
    height: 350px;
  }
  .detail-actions {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .countdown {
    gap: 4px;
  }
  .countdown b {
    padding: 8px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
}

/* ===== FULL CUSTOMER UI V2 ===== */
.auth-wrap {
  min-height: 650px;
  background: #fafafa;
  display: grid;
  place-items: center;
  padding: 55px 20px;
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 14px 35px #00000008;
}
.auth-card.auth-wide {
  width: min(620px, 100%);
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
}
.auth-card h1 {
  font-size: 28px;
  margin: 0 0 8px;
}
.auth-card > p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.auth-card > label,
.join-card label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  margin: 15px 0;
}
.auth-card input,
.join-card input,
.join-card select {
  display: block;
  width: 100%;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 12px;
  margin-top: 7px;
}
.password-field {
  display: flex;
  position: relative;
}
.password-field input {
  padding-right: 60px;
}
.password-field button {
  position: absolute;
  right: 7px;
  top: 13px;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin: 16px 0;
}
.auth-row a,
.auth-switch a {
  color: var(--red);
  font-weight: 700;
}
.check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
}
.check input {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}
.terms {
  margin: 18px 0 !important;
}
.auth-divider {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  position: relative;
  margin: 10px 0;
}
.auth-divider:before {
  content: "";
  height: 1px;
  background: #eee;
  position: absolute;
  left: 0;
  right: 0;
}
.auth-divider span {
  background: #fff;
  padding: 0 10px;
  position: relative;
}
.btn-social {
  border: 1px solid #ddd;
  background: #fff;
}
.auth-switch {
  text-align: center;
  font-size: 12px;
  margin-bottom: 0 !important;
}
.account-layout {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 28px;
  align-items: start;
}
.account-sidebar {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.account-user {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
}
.account-user div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.account-user span {
  font-size: 9px;
  color: var(--red);
  font-weight: 800;
}
.account-sidebar nav {
  padding: 10px;
}
.account-sidebar nav a {
  display: block;
  padding: 12px 13px;
  border-radius: 8px;
  color: #666;
}
.account-sidebar nav a:hover {
  background: #fff2f2;
  color: var(--red);
}
.account-sidebar .danger {
  color: #b51b1b;
  border-top: 1px solid #eee;
  margin-top: 8px;
  border-radius: 0;
  padding-top: 15px;
}
.account-content {
  min-width: 0;
}
.welcome-card {
  background: linear-gradient(120deg, #191919, #2d2d30);
  color: #fff;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.welcome-card h2 {
  font-size: 28px;
  margin: 5px 0;
}
.welcome-card p {
  color: #aaa;
  margin: 0;
}
.member-badge {
  border: 1px solid #ffffff25;
  border-radius: 12px;
  padding: 18px 25px;
  background: #ffffff0e;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.account-stats > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.account-stats span {
  font-size: 11px;
  color: #888;
}
.account-stats b {
  font-size: 21px;
}
.account-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.panel-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
  margin-bottom: 16px;
}
.panel-card h3 {
  margin-top: 0;
}
.panel-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.panel-card-head h3 {
  margin: 0;
}
.panel-card-head a {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}
.mini-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding: 14px 0;
}
.mini-order-row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-order-row span {
  font-size: 10px;
  color: #888;
}
.order-pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}
.order-pill.red {
  background: #fff0f0;
  color: var(--red);
}
.order-pill.blue {
  background: #eef5ff;
  color: #2466b3;
}
.order-pill.green {
  background: #eaf8ef;
  color: #27864a;
}
.order-pill.yellow {
  background: #fff5dc;
  color: #9c7400;
}
.benefit {
  padding: 11px 0;
  border-top: 1px solid #eee;
  color: #555;
}
.account-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.account-toolbar input,
.account-toolbar select {
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 12px;
}
.account-toolbar input {
  min-width: 280px;
}
.account-toolbar h2 {
  margin: 0;
}
.account-toolbar p {
  margin: 4px 0 0;
  color: #888;
}
.order-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}
.order-card-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.7fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
}
.order-card-top > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.order-card-top span {
  font-size: 9px;
  color: #999;
  text-transform: uppercase;
}
.order-card-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  background: #fafafa;
}
.back-link {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
}
.order-summary-head {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.order-summary-head > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.order-summary-head span {
  font-size: 10px;
  color: #999;
}
.text-green {
  color: #27864a;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 25px;
}
.timeline > div {
  text-align: center;
  position: relative;
  padding-top: 34px;
  font-size: 10px;
}
.timeline > div:before {
  content: "";
  position: absolute;
  height: 2px;
  background: #ddd;
  top: 14px;
  left: 0;
  right: 0;
}
.timeline i {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #eee;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
  z-index: 2;
  display: grid;
  place-items: center;
  font-style: normal;
}
.timeline .done:before,
.timeline .current:before {
  background: var(--red);
}
.timeline .done i,
.timeline .current i {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 1px var(--red);
}
.timeline b,
.timeline span {
  display: block;
}
.timeline span {
  color: #999;
  margin-top: 5px;
}
.detail-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eee;
}
.detail-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 7px;
}
.detail-item div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.detail-item span {
  font-size: 10px;
  color: #888;
}
.kv {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eee;
}
.kv span {
  color: #888;
}
.order-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-actions > div {
  margin-right: auto;
}
.order-actions h3 {
  margin: 0;
}
.order-actions p {
  margin: 5px 0 0;
  color: #888;
}
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wish-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wish-card > img {
  height: 160px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 10px;
}
.wish-card strong {
  color: var(--red);
  font-size: 17px;
}
.wish-remove {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
}
.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.address-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  position: relative;
}
.address-card.default {
  border-color: #ffb0b3;
  background: #fffafa;
}
.default-label {
  position: absolute;
  right: 14px;
  top: 14px;
  color: var(--red);
  background: #fff0f0;
  padding: 5px 8px;
  border-radius: 99px;
  font-size: 8px;
  font-weight: 800;
}
.address-card p {
  line-height: 1.6;
  color: #666;
}
.address-card button {
  border: 0;
  background: none;
  color: var(--red);
  padding: 0;
  margin-right: 12px;
  font-size: 11px;
  font-weight: 700;
}
.return-hero {
  background: #191919;
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.return-hero h2 {
  margin: 5px 0;
}
.return-hero p {
  margin: 0;
  color: #aaa;
}
.table-like {
  padding: 0;
  overflow: auto;
}
.rma-row {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1.2fr 0.8fr 1fr;
  gap: 12px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.rma-row.head {
  background: #fafafa;
  border-top: 0;
  font-size: 9px;
  text-transform: uppercase;
  color: #999;
  font-weight: 800;
}
.rma-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.rma-process div {
  background: #fafafa;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
}
.rma-process b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  margin: auto auto 8px;
}
.rma-process span {
  font-size: 10px;
}
.form-actions {
  text-align: right;
  margin-top: 16px;
}
.partner-hero {
  padding: 90px 0;
  background: radial-gradient(circle at 80% 30%, #3b3b3f, #111 55%);
  color: #fff;
}
.partner-hero h1 {
  font-size: 46px;
  max-width: 620px;
  margin: 10px 0;
}
.partner-hero p {
  color: #bbb;
  max-width: 580px;
  font-size: 15px;
  line-height: 1.6;
}
.partner-hero .btn {
  margin-right: 8px;
}
.partner-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner-benefits > div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.partner-benefits b {
  color: var(--red);
  font-size: 22px;
}
.partner-benefits p {
  color: #777;
  line-height: 1.6;
}
.soft-section {
  background: #fafafa;
}
.partner-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.partner-choice-grid > a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 35px;
}
.partner-choice-grid span {
  font-size: 50px;
}
.partner-choice-grid h2 {
  color: var(--red);
}
.partner-choice-grid p {
  color: #777;
}
.partner-choice-grid b {
  color: var(--red);
}
.partnership-detail {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 50px;
  align-items: start;
}
.partnership-detail h2 {
  font-size: 30px;
}
.benefit-list {
  display: grid;
  gap: 12px;
}
.benefit-list div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.join-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.join-card h3 {
  margin-top: 0;
}
@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
  .account-sidebar nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .account-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .account-panels {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timeline > div {
    text-align: left;
    padding: 8px 0 8px 40px;
  }
  .timeline > div:before {
    width: 2px;
    height: 100%;
    left: 11px;
    right: auto;
    top: 0;
  }
  .timeline i {
    left: 11px;
    top: 7px;
    transform: translateX(-50%);
  }
  .order-card-top {
    grid-template-columns: 1fr 1fr;
  }
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-benefits {
    grid-template-columns: 1fr 1fr;
  }
  .partnership-detail {
    grid-template-columns: 1fr;
  }
  .order-summary-head {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .account-sidebar nav {
    grid-template-columns: 1fr 1fr;
  }
  .account-stats {
    grid-template-columns: 1fr 1fr;
  }
  .account-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .account-toolbar input {
    min-width: 0;
    width: 100%;
  }
  .order-card-top {
    grid-template-columns: 1fr 1fr;
  }
  .order-card-top > .order-pill {
    grid-column: 1/-1;
    width: max-content;
  }
  .order-card-bottom {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .wishlist-grid {
    grid-template-columns: 1fr;
  }
  .address-grid {
    grid-template-columns: 1fr;
  }
  .rma-row {
    min-width: 720px;
  }
  .rma-process {
    grid-template-columns: 1fr;
  }
  .partner-benefits {
    grid-template-columns: 1fr;
  }
  .partner-choice-grid {
    grid-template-columns: 1fr;
  }
  .partner-hero h1 {
    font-size: 32px;
  }
  .order-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .order-actions > div {
    margin-right: 0;
  }
  .auth-card {
    padding: 24px;
  }
}
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.hero-banner {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.promo {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;

  background: #f6f6f6;
  border-radius: 18px;
  overflow: hidden;

  min-height: 300px;
  padding-left: 60px;
}

.promo-text {
  position: relative;
  z-index: 2;
}

.promo-text h2 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.15;
  color: #ed1c24;
}

.promo-text p {
  margin: 0;
  font-size: 16px;
  color: #222;
}

.promo-image-wrap {
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

.promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
