* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: var(--text-color);
  background: #fff;
  font-family: var(--font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  border-radius: 16px;
}

img.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.list-grid img.product-image {
  aspect-ratio: 4 / 3;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-width-box .container {
  width: min(1280px, 92%);
}

.site-width-wide .container {
  width: min(1600px, 96%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--theme-color);
  color: var(--theme-color);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--theme-color);
  color: #fff;
}

.btn.danger {
  border-color: #d74b4b;
  color: #d74b4b;
}

.section {
  padding: 25px 0 40px;
}

.framed-section .container {
  background: #fff;
  border-radius: var(--framed-section-radius, 24px);
  border: var(--framed-section-border, 1px solid var(--border-color));
  padding: var(--framed-section-padding, 32px);
  box-shadow: none;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
}

.section.alt {
  background: var(--light-bg);
}

.section-divider {
  width: 120px;
  height: 3px;
  background: var(--theme-color);
  border: none;
  border-radius: 999px;
  margin: 12px 0 0;
}

.content-body {
  line-height: 1.7;
}

.content-body p {
  margin: 0 0 1rem;
}

.content-body p:last-child {
  margin-bottom: 0;
}

.content-body br {
  display: block;
  content: "";
  margin-top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--site-header-bg, #fff);
  color: var(--site-header-text-color, var(--text-color));
  box-shadow: var(--shadow);
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--theme-color);
}

.logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 20px;
}

.nav-user {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.nav-user-info {
  display: grid;
  gap: 4px;
  color: var(--mobile-menu-text-color, #fff);
}

.main-nav a,
.nav-dropdown span {
  touch-action: manipulation;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cart-count-bg, var(--theme-color));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  min-width: 120px;
}

.nav-dropdown span::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.8rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dropdown-menu-bg, #fff);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
  display: none;
  min-width: 180px;
  z-index: 10;
  white-space: nowrap;
}

.dropdown-menu a {
  color: var(--site-header-text-color, var(--text-color));
}

.nav-child {
  padding-left: 12px;
  font-size: 0.95rem;
  color: #5b5b5b;
}

.nav-dropdown:hover .dropdown-menu {
  display: grid;
  gap: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--mobile-menu-toggle-color, var(--theme-color));
}

.header-html {
  margin-left: 16px;
  color: #5b5b5b;
  font-size: 0.95rem;
}

.hero {
  padding: 30px 0 0;
}

.hero-slide {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--gradient-start, #ffe1e7), var(--gradient-end, #fff8fa));
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.hero-slide.image-left .hero-content {
  order: 2;
  text-align: right;
  align-items: flex-end;
}

.hero-slide.image-left .hero-image {
  order: 1;
}

.hero-slide.image-left .hero-image {
  justify-content: flex-start;
}

.hero-slide.image-right .hero-image {
  justify-content: flex-end;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-slide h1 {
  color: var(--title-color, #2c2c2c);
}

.hero-slide p {
  color: var(--description-color, #5b5b5b);
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.hero-image {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-image img {
  border-radius: 24px;
  box-shadow: none;
  width: 100%;
  max-width: 420px;
}

.hero h1 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
}

.hero .btn {
  margin-top: 16px;
  align-self: flex-start;
  width: fit-content;
}

.splide__slide.is-active .hero-content,
.splide__slide.is-active .hero-image {
  animation-duration: 0.7s;
  animation-fill-mode: both;
}

.splide__slide.is-active[data-effect="fade-up"] .hero-content,
.splide__slide.is-active[data-effect="fade-up"] .hero-image {
  animation-name: heroFadeUp;
}

.splide__slide.is-active[data-effect="slide-left"] .hero-content,
.splide__slide.is-active[data-effect="slide-left"] .hero-image {
  animation-name: heroSlideLeft;
}

.splide__slide.is-active[data-effect="slide-right"] .hero-content,
.splide__slide.is-active[data-effect="slide-right"] .hero-image {
  animation-name: heroSlideRight;
}

.splide__slide.is-active[data-effect="zoom-in"] .hero-content,
.splide__slide.is-active[data-effect="zoom-in"] .hero-image {
  animation-name: heroZoomIn;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroZoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 25px;
  margin-top: 24px;
  align-items: stretch;
}

.site-width-wide .grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.list-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.list-grid .card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
}

.list-grid img {
  border-radius: 16px;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}

.card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #e8f7ec;
  color: #2f8b3a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.discount-badge {
  background: #ffe8f0;
  color: #d64161;
  left: auto;
  right: 12px;
  bottom: 12px;
}

.card-fav {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: var(--shadow);
  cursor: pointer;
  color: #e85d75;
  font-size: 1rem;
}

.card-fav.is-active {
  background: #e85d75;
  color: #fff;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.grid .card-body .price {
  margin-top: auto;
}

.price-old {
  text-decoration: line-through;
  color: #9a9a9a;
  margin-right: 8px;
  font-weight: 500;
}

.price-new {
  color: var(--theme-color);
  font-weight: 700;
}

.grid .card-body .btn {
  margin-top: 12px;
}

.card p {
  color: #5b5b5b;
}

.card h3 {
  margin-bottom: 8px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #f2a93b;
}

.product-tabs {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.tab-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.tab-button {
  border: 1px solid #eee;
  background: #f8f8f8;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}

.tab-button.is-active {
  background: var(--theme-color);
  color: var(--site-header-text-color, var(--text-color));
  border-color: var(--theme-color);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel ul,
.tab-panel ol {
  padding-left: 20px;
  margin-left: 0;
}

.tab-panel li {
  margin-bottom: 6px;
}

.favorites-list {
  display: grid;
  gap: 20px;
}

.favorite-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  align-items: center;
}

.favorite-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.favorite-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.category-description {
  border: 1px solid var(--border-color);
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  margin: 20px 0 32px;
  box-shadow: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.category-header .category-icon {
  margin: 0;
}

.category-header img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: none;
  border: 1px solid var(--theme-color);
  display: grid;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.category-card h3 {
  color: #2c2c2c;
}

.category-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f7f7f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--theme-color);
  margin: 0 auto;
}

.category-count {
  font-size: 0.9rem;
  color: #4a4a4a;
}

.subcategory-slider {
  margin: 16px 0 24px;
}

.subcategory-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: none;
  border: 1px solid var(--theme-color);
  display: grid;
  gap: 8px;
  align-items: center;
  text-align: center;
  height: 100%;
}

.subcategory-card h4 {
  color: #2c2c2c;
}

.subcategory-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.price-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 220px;
}

.price-field {
  display: grid;
  gap: 8px;
}

.price-field label {
  font-size: 0.9rem;
}

.price-range input[type="range"] {
  width: 100%;
}

.stars {
  letter-spacing: 2px;
}

.stars {
  display: inline-flex;
  gap: 4px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: #e0e0e0;
}

.star-icon.filled {
  fill: #f2a93b;
}

.product-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 40px 0;
}

.product-gallery .thumbnail-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.product-gallery .product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 16px;
}

.product-info .price {
  font-size: 1.4rem;
  margin: 16px 0;
  color: var(--theme-color);
}

.product-info {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.product-info .button-row {
  flex-wrap: wrap;
  margin-top: 10px;
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffe8f0;
  color: #d64161;
  font-weight: 600;
  font-size: 0.85rem;
}

.product-purchase {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .product-purchase {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-quantity {
    width: 100%;
    max-width: 220px;
  }
}

.text-muted {
  color: #8a8a8a;
}

.product-quantity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 160px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: #fff;
}

.product-quantity input {
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 6px 10px;
}

.order-summary-list {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
  color: #5b5b5b;
}

.similar-products .card {
  box-shadow: none;
  border: 1px solid var(--border-color);
  height: 100%;
}

.similar-products .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.similar-products .card-body .btn {
  margin-top: auto;
}

.similar-products .splide__slide {
  height: auto;
  display: flex;
}

.similar-products .card {
  width: 100%;
}

.product-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.order-form,
.contact-form,
.auth-form,
.profile-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.auth {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 0;
}

.form-grid {
  display: grid;
  gap: 12px;
}

input,
textarea,
select {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-size: 1rem;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .filter-search {
    max-width: 100%;
    flex: 1 1 100%;
  }

  table thead {
    display: none;
  }

  table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
  }

  table td {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-bottom: none;
  }
}

.site-footer {
  padding: 40px 0;
  background: var(--site-footer-bg, #fdf2f4);
  color: var(--site-footer-text-color, #5b5b5b);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-brand strong {
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 8px 0 0;
}

.footer-links a {
  color: var(--site-footer-text-color, #5b5b5b);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--theme-color);
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 24px;
  text-align: center;
  color: var(--site-footer-text-color, #5b5b5b);
  font-size: 0.9rem;
}

.footer-html {
  margin-top: 16px;
}

.faq details {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--light-bg);
}

.feature-list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.reviews {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-form {
  display: grid;
  gap: 12px;
}

.review-summary {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 24px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.rating-big {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 8px 0;
}

.rating-bars {
  display: grid;
  gap: 8px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 20px 1fr 40px;
  gap: 8px;
  align-items: center;
}

.rating-bar .bar {
  background: #f2f2f2;
  border-radius: 999px;
  overflow: hidden;
  height: 8px;
}

.rating-bar .bar span {
  display: block;
  height: 100%;
  background: #f2a93b;
}

.review-user {
  display: flex;
  gap: 12px;
  align-items: center;
}

.review-date {
  display: block;
  font-size: 0.8rem;
  color: #888;
}

.empty-state {
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  color: #5b5b5b;
}

.reviews-empty {
  margin-top: 16px;
  margin-bottom: 10px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f2f2f2;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.avatar-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 12px 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.review-filter {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-color);
}

.filter-bar {
  margin: 16px 0 24px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-row input:not(.filter-search),
.filter-row select {
  max-width: 180px;
}

.filter-search {
  flex: 1;
  min-width: 220px;
}

.contact-page {
  padding: 40px 0;
}

.contact-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  margin-bottom: 24px;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.map-embed iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 16px;
}

.account-info {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 16px;
}

.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.account-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fff;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-channel {
  background: #eef2ff;
  color: #3b4cca;
}

.link-button {
  border: none;
  padding: 0;
  background: none;
  color: var(--theme-color);
  font-weight: 600;
  margin-left: 8px;
  cursor: pointer;
}

.badge-pending {
  background: #fff4e5;
  color: #b76e00;
}

.badge-approved {
  background: #e8f7ec;
  color: #2f8b3a;
}

.badge-preparing {
  background: #e9f1ff;
  color: #2a6fd3;
}

.badge-shipping {
  background: #f0e9ff;
  color: #7a4bd3;
}

.badge-delivered {
  background: #e7f9f0;
  color: #2a8d5c;
}

.button-row {
  display: flex;
  gap: 12px;
}

.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0;
  align-items: center;
}

.pagination-ellipsis {
  padding: 0 6px;
  color: #8a8a8a;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 20;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: min(520px, 100%);
  position: relative;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 16px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #f5f5f5;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
}

.bank-transfer-form {
  display: grid;
  gap: 12px;
}

.checkout .step {
  display: none;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.checkout .step.active {
  display: block;
}

.auth-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.auth-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.auth-header h3 {
  margin: 0;
}

.checkout-steps h2 {
  margin-bottom: 16px;
}

.order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 16px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.panel {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.table-section table,
.panel table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--theme-color);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    display: none;
    color: #fff;
    z-index: 20;
  }

  .nav-dropdown {
    flex-direction: column;
    align-items: flex-start;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 12px;
    background: var(--dropdown-menu-bg, #fff);
    border-radius: 12px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    z-index: 21;
  }

  .main-nav a,
  .nav-dropdown span {
    color: var(--mobile-menu-text-color, #fff);
    font-size: 1.05rem;
    font-weight: 600;
  }

  .nav-child {
    color: #2c2c2c;
  }

  .nav-user {
    display: flex;
    background: rgba(255, 255, 255, 0.14);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .auth-split {
    grid-template-columns: 1fr;
  }


  .favorite-item {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .list-grid .card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
  }

  .list-grid .card-media {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .list-grid .card-body {
    padding: 0;
  }

  .list-grid .card-body .btn {
    width: fit-content;
  }

  .list-grid .card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-slide {
    flex-direction: column;
    text-align: left;
  }

  .hero-image {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .review-summary {
    grid-template-columns: 1fr;
  }

  .rating-bar {
    grid-template-columns: 24px 1fr 32px;
  }

  .price-range {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .site-width-wide .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
