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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  transition: background-color 0.4s ease, color 0.4s ease;
}

#app .main-container {
  min-height: 100vh;
  transition: all 0.4s ease;
}
#app .main-container.theme-spring {
  --bg-color: #fff9fa;
  --header-bg: #ffeef2;
  --primary: #ffb7b2;
  --accent: #b5e5cf;
  --border: #ffb7b2;
  --text-color: #4a4a4a;
  --btn-text: #333;
}
#app .main-container.theme-summer {
  --bg-color: #f0f8ff;
  --header-bg: #e0f2fe;
  --primary: #38bdf8;
  --accent: #ffffff;
  --border: #7dd3fc;
  --text-color: #0f172a;
  --btn-text: #fff;
}
#app .main-container.theme-autumn {
  --bg-color: #fffcf5;
  --header-bg: #f3e8e0;
  --primary: #8b0000;
  --accent: #ffdb58;
  --border: #8b0000;
  --text-color: #3e2723;
  --btn-text: #fff;
}
#app .main-container.theme-winter {
  --bg-color: #f8fafc;
  --header-bg: #1e293b;
  --primary: #0f172a;
  --accent: #cbd5e1;
  --border: #334155;
  --text-color: #f1f5f9;
  --body-text: #1e293b;
  --btn-text: #fff;
}
#app .main-container {
  background-color: var(--bg-color);
  color: var(--body-text, var(--text-color));
}

.app-header {
  background-color: var(--header-bg);
  padding: 0 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.4s ease;
}
.app-header .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  color: var(--text-color);
}
.app-header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.mega-menu {
  display: flex;
  gap: 30px;
  height: 100%;
}
.mega-menu .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  height: 100%;
}
.mega-menu .nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu .dropdown {
  position: absolute;
  top: 70px;
  left: -2.2rem;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  min-width: 120px;
  z-index: 10;
}
.mega-menu .dropdown a {
  text-decoration: none;
  color: #333;
  text-align: center;
}
.mega-menu .dropdown a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-actions .icon-btn-wrap {
  position: relative;
}
.header-actions .icon-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-color);
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}
.header-actions .icon-btn:hover {
  color: var(--primary);
}
.header-actions .icon-btn .badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: bold;
}
.header-actions .theme-select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  outline: none;
}

.search-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -20px;
  width: 360px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 200;
  overflow: hidden;
}
.search-panel .search-input {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  outline: none;
  color: #333;
}
.search-panel .search-input::placeholder {
  color: #bbb;
}
.search-panel .search-results {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
}
.search-panel .search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.search-panel .search-result-item:hover {
  background: #f5f5f5;
}
.search-panel .search-result-item img {
  width: 40px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}
.search-panel .search-result-item .search-result-info {
  flex: 1;
}
.search-panel .search-result-item .search-result-info .brand {
  font-size: 0.75rem;
  color: #888;
  margin: 0;
}
.search-panel .search-result-item .search-result-info .name {
  font-size: 0.85rem;
  margin: 2px 0;
  color: #333;
}
.search-panel .search-result-item .search-result-info .price {
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0;
  color: #333;
}
.search-panel .no-results {
  padding: 20px;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

.wishlist-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -20px;
  width: 320px;
  max-height: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 200;
  overflow: hidden;
}
.wishlist-panel .wishlist-header {
  padding: 16px;
  border-bottom: 1px solid #eee;
}
.wishlist-panel .wishlist-header h3 {
  font-size: 1rem;
  margin: 0;
  color: #333;
}
.wishlist-panel .wishlist-items {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
}
.wishlist-panel .wishlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.wishlist-panel .wishlist-item:hover {
  background: #f9f9f9;
}
.wishlist-panel .wishlist-item img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}
.wishlist-panel .wishlist-item .wishlist-info {
  flex: 1;
}
.wishlist-panel .wishlist-item .wishlist-info .brand {
  font-size: 0.75rem;
  color: #888;
  margin: 0;
}
.wishlist-panel .wishlist-item .wishlist-info .name {
  font-size: 0.85rem;
  margin: 2px 0;
  color: #333;
}
.wishlist-panel .wishlist-item .wishlist-info .price {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
  color: #333;
}
.wishlist-panel .wishlist-item .del-btn {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
}
.wishlist-panel .wishlist-item .del-btn:hover {
  color: #ef4444;
}
.wishlist-panel .empty-wishlist {
  padding: 24px;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.breadcrumb .breadcrumb-item {
  color: #666;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.breadcrumb .breadcrumb-item:hover {
  color: var(--primary);
}
.breadcrumb .breadcrumb-item.home i {
  font-size: 0.85rem;
}
.breadcrumb .breadcrumb-item.active {
  color: #333;
  font-weight: 600;
}
.breadcrumb .breadcrumb-sep {
  color: #ccc;
  font-size: 0.7rem;
}
.breadcrumb .breadcrumb-close {
  background: none;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.6rem;
  color: #999;
  margin-left: 4px;
  transition: all 0.2s;
}
.breadcrumb .breadcrumb-close:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fff0f0;
}

.no-products {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 1rem;
}

.app-main {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
}

.sidebar {
  width: 25%;
  flex-shrink: 0;
}
.sidebar .filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sidebar .filter-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.sidebar .filter-header .filter-toggle {
  display: none;
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: #666;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.sidebar .filter-header .filter-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.sidebar .brand-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar .brand-list .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}
.sidebar .brand-list .checkbox-label input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.product-area {
  width: 75%;
}

.control-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.control-bar .sort-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.control-bar .grid-toggles button {
  background: none;
  border: 1px solid #ddd;
  padding: 8px 12px;
  cursor: pointer;
  color: #666;
}
.control-bar .grid-toggles button:first-child {
  border-radius: 6px 0 0 6px;
}
.control-bar .grid-toggles button:last-child {
  border-radius: 0 6px 6px 0;
}
.control-bar .grid-toggles button.active {
  background: var(--primary);
  color: var(--btn-text);
  border-color: var(--primary);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.product-card .img-wrapper {
  cursor: pointer;
  overflow: hidden;
}
.product-card .img-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.product-card .img-wrapper:hover img {
  transform: scale(1.05);
}
.product-card .card-info {
  padding: 16px;
  color: #333;
}
.product-card .card-info .brand {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}
.product-card .card-info h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card .card-info .price {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.product-card .card-info .card-actions {
  display: flex;
  gap: 10px;
}
.product-card .card-info .card-actions .wish-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
}
.product-card .card-info .card-actions .wish-btn .text-danger {
  color: #ef4444;
}
.product-card .card-info .card-actions .cart-btn {
  flex: 1;
  background: var(--primary);
  color: var(--btn-text);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}
.product-card .card-info .card-actions .cart-btn:hover {
  opacity: 0.8;
}

.overlay,
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  width: 90%;
  max-width: 800px;
  border-radius: 16px;
  position: relative;
  padding: 32px;
  color: #333;
}
.popup-content .close-btn {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
.popup-content .popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.popup-content .popup-grid img {
  width: 100%;
  border-radius: 8px;
}
.popup-content .popup-details .brand {
  color: #888;
  margin-bottom: 8px;
}
.popup-content .popup-details h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.popup-content .popup-details .price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: var(--primary);
}
.popup-content .popup-details .options {
  margin-bottom: 20px;
}
.popup-content .popup-details .options label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.popup-content .popup-details .options select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.popup-content .popup-details .options .qty-control {
  display: flex;
  align-items: center;
  gap: 0;
}
.popup-content .popup-details .options .qty-control button {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.popup-content .popup-details .options .qty-control button:hover {
  background: var(--primary);
  color: var(--btn-text);
  border-color: var(--primary);
}
.popup-content .popup-details .options .qty-control span {
  min-width: 48px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}
.popup-content .popup-details .popup-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
.popup-content .popup-details .popup-actions button {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}
.popup-content .popup-details .popup-actions .cart-btn {
  background: #eee;
  color: #333;
}
.popup-content .popup-details .popup-actions .buy-btn {
  background: var(--primary);
  color: var(--btn-text);
}

.cart-overlay {
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}
.cart-overlay.is-open {
  visibility: visible;
  opacity: 1;
}
.cart-overlay.is-open .cart-sidebar {
  transform: translateX(0);
}

.cart-sidebar {
  background: #fff;
  width: 100%;
  max-width: 400px;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  color: #333;
}
.cart-sidebar .cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}
.cart-sidebar .close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
.cart-sidebar .cart-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-sidebar .cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.cart-sidebar .cart-item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}
.cart-sidebar .cart-item .item-info {
  flex: 1;
}
.cart-sidebar .cart-item .item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.cart-sidebar .cart-item .item-info p {
  font-size: 0.85rem;
  color: #888;
}
.cart-sidebar .cart-item .item-info .qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 8px 0;
}
.cart-sidebar .cart-item .item-info .qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cart-sidebar .cart-item .item-info .qty-control button:hover {
  background: var(--primary);
  color: var(--btn-text);
  border-color: var(--primary);
}
.cart-sidebar .cart-item .item-info .qty-control span {
  min-width: 36px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.cart-sidebar .cart-item .item-info .subtotal {
  font-weight: 700;
  color: #333;
  font-size: 0.95rem;
  margin-top: 4px;
}
.cart-sidebar .cart-item .del-btn {
  color: #ccc;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color 0.2s;
}
.cart-sidebar .cart-item .del-btn:hover {
  color: #ef4444;
}
.cart-sidebar .cart-footer {
  margin-top: 24px;
  border-top: 1px solid #eee;
  padding-top: 24px;
}
.cart-sidebar .cart-footer .total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.cart-sidebar .cart-footer .checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--btn-text);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
}

.payment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.payment-panel {
  background: #fff;
  border-radius: 16px;
  width: 460px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  color: #333;
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.payment-header h2 {
  font-size: 1.2rem;
}
.payment-header h2 i {
  margin-right: 8px;
  color: #6366f1;
}
.payment-header .close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}
.payment-header .close-btn:hover {
  color: #333;
}

.payment-body {
  padding: 24px;
}

.payment-summary {
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}
.payment-summary .summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #555;
}
.payment-summary .summary-row .summary-name {
  flex: 1;
  margin-right: 16px;
}
.payment-summary .summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 1.1rem;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.card-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.card-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
}
.card-form input {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.card-form input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.card-form .card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.card-form .card-row .card-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 6rem;
}

.pay-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.pay-btn i {
  margin-right: 8px;
}
.pay-btn:hover {
  opacity: 0.9;
}

.payment-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 24px;
}
.payment-processing .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #eee;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.payment-processing p {
  font-size: 1rem;
  color: #666;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.payment-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px;
  text-align: center;
}
.payment-success .success-icon {
  font-size: 3.5rem;
  color: #22c55e;
  animation: pop-in 0.4s ease;
}
.payment-success h3 {
  font-size: 1.3rem;
}
.payment-success p {
  color: #666;
}
.payment-success .order-id {
  font-family: monospace;
  font-size: 0.95rem;
  background: #f5f5f5;
  padding: 8px 16px;
  border-radius: 6px;
  color: #333;
  margin-top: 4px;
}
.payment-success .done-btn {
  margin-top: 16px;
  padding: 12px 40px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.payment-success .done-btn:hover {
  opacity: 0.9;
}

@keyframes pop-in {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .app-main {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .sidebar .filter-header .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sidebar .brand-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
  }
  .sidebar .brand-list.is-open {
    max-height: 500px;
    opacity: 1;
    margin-top: 12px;
  }
  .product-area {
    width: 100%;
  }
  .hide-mobile {
    display: none !important;
  }
  .grid-container {
    grid-template-columns: 1fr !important;
  }
  .mega-menu {
    display: none;
  }
  .search-panel {
    width: 280px;
    right: -10px;
  }
  .wishlist-panel {
    width: 280px;
    right: -10px;
  }
  .popup-content {
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
  }
  .popup-content .close-btn {
    top: 10px;
    right: 14px;
    font-size: 1.6rem;
  }
  .popup-content .popup-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .popup-content .popup-grid img {
    max-height: 240px;
    object-fit: cover;
  }
  .popup-content .popup-details h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .popup-content .popup-details .price {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  .popup-content .popup-details .options {
    margin-bottom: 14px;
  }
  .popup-content .popup-details .popup-actions {
    margin-top: 20px;
    gap: 10px;
  }
  .popup-content .popup-details .popup-actions button {
    padding: 12px;
    font-size: 0.9rem;
  }
}
