.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 18px auto;
  padding: 14px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  width: 85.5%;
  max-width: 1296px;
  min-width: 540px;
  box-sizing: border-box;
}
.shop-title-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shop-logo {
  height: 40px;
  width: auto;
}
.shop-title {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.store-link {
  font-size: 13px;
  color:rgb(247, 86, 193);
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  margin-left: 7px;
  padding: 5px 11px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 11px;
  border: 1px solid rgba(234, 90, 244, 0.3);
  transition: all 0.3s ease;
}
.store-link:hover {
  color: #66BB6A;
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  border-color: rgba(76, 175, 80, 0.5);
  box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}
.shop-controls-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.shop-switcher {
  display: flex;
  gap: 10px;
}
.view-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
}
.view-btn {
  padding: 7px 11px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0.5px 0px 0.5px rgba(255,255,255,0.1), 0px 4px 0px 0.5px rgba(50,50,50,0.8);
}
.view-btn:hover {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  border-color: rgba(255,255,255,0.2);
}
.view-btn.active {
  background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
  border-color: rgba(0, 122, 255, 0.3);
  box-shadow: 0px 0.5px 0px 0.5px rgba(0, 122, 255, 0.3), 0px 4px 0px 0.5px rgba(0, 86, 204, 0.8);
}
.view-btn:active {
  transform: translateY(2px);
  box-shadow: 0px 0px 0px 0.5px rgba(0, 122, 255, 0.3), 0px 2px 0px 0.5px rgba(0, 86, 204, 0.8);
}
.shop-btn {
  padding: 9px 18px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: bold;
  font-size: 14px;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  box-shadow: 0px 0.5px 0px 0.5px rgba(255,255,255,0.1), 0px 4px 0px 0.5px rgba(50,50,50,0.8);
  transition: all 0.1s ease;
  display: inline-block;
  cursor: pointer;
}
.shop-btn:active {
  transform: translateY(2px);
}
.shop-btn:hover {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #ffe066;
  box-shadow: 0px 0.5px 0px 0.5px rgba(255,255,255,0.2), 0px 4px 0px 0.5px rgba(70,70,70,0.8);
}
.shop-btn.active {
  background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
  color: #fff;
  box-shadow: 0px 0.5px 0px 0.5px rgba(0, 122, 255, 0.3), 0px 4px 0px 0.5px rgba(0, 86, 204, 0.8);
}
.shop-btn.active:active {
  box-shadow: 0px 0px 0px 0.5px rgba(0, 122, 255, 0.3), 0px 2px 0px 0.5px rgba(0, 86, 204, 0.8);
}
.shop-btn[href*="stable"].active {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  color: #fff;
  box-shadow: 0px 0.5px 0px 0.5px rgba(76, 175, 80, 0.3), 0px 4px 0px 0.5px rgba(46, 125, 50, 0.8);
}
.shop-btn[href*="stable"].active:active {
  box-shadow: 0px 0px 0px 0.5px rgba(76, 175, 80, 0.3), 0px 2px 0px 0.5px rgba(46, 125, 50, 0.8);
}
.section-title {
  text-align: center;
  margin: 14px 0 7px;
  font-size: 16px;
  color: #fff;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.shop-table {
  width: 85.5%;
  max-width: 1296px;
  margin: 0 auto 18px auto;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
  font-size: 14px;
  min-width: 540px;
  box-sizing: border-box;
}
.shop-table th {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 9px;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0,86,122,0.25);
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.shop-table td {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 9px;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 100%);
}
.shop-name-cell {
  text-align: left;
  vertical-align: top;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.shop-preview {
  width: 15%;
  text-align: center;
}
.shop-name {
  width: 60%;
  text-align: left;
}
.shop-price {
  width: 25%;
  text-align: center;
}
.shop-preview-cell {
  text-align: center;
  vertical-align: middle;
}
.shop-price-cell {
  text-align: center;
  vertical-align: middle;
}
.shop-table tbody tr:hover {
  background-color: rgba(0,86,122,0.2);
}
.shop-item-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 11px;
  background: rgba(255,255,255,0.1);
  padding: 4px;
}
.shop-no-image {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 11px;
  color: #ccc;
  font-size: 13px;
  margin: 0 auto;
}
.shop-item-name {
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
  font-size: 13px;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}
.shop-item-description {
  color: #ccc;
  font-size: 11px;
  line-height: 1.3;
  margin-top: 4px;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}
.availability-periods {
  color: #4CAF50;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 6px;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  font-weight: bold;
}
.error-message {
  text-align: center;
  padding: 18px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ff6b6b;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  font-size: 14px;
  width: 85.5%;
  max-width: 1296px;
  margin: 0 auto;
}
.shop-loading {
  text-align: center;
  color: #ccc;
  font-style: italic;
  padding: 36px;
  font-size: 14px;
}
.shop-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 18px;
  width: 85.5%;
  max-width: 1296px;
  margin: 0 auto 18px auto;
  min-width: 540px;
  box-sizing: border-box;
}
.shop-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.shop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.3);
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
}
.shop-card.promo-card:hover {
  background-color: rgba(255, 193, 7, 0.1) !important;
}
.shop-card-image-container {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.shop-card-image {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 11px;
  background: rgba(255,255,255,0.1);
  padding: 7px;
}
.shop-card-no-image {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 11px;
  color: #ccc;
  font-size: 13px;
}
.shop-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-card-name {
  font-weight: bold;
  color: #fff;
  font-size: 13px;
  margin-bottom: 4px;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.shop-card-description {
  color: #ccc;
  font-size: 11px;
  line-height: 1.3;
  margin-top: 4px;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}
.shop-card-content .availability-periods {
  color: #4CAF50;
  font-size: 10px;
  line-height: 1.4;
  margin-top: 5px;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  font-weight: bold;
}
.shop-card-price {
  margin-top: 7px;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}
.shop-card-price .price-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.shop-card-price .discount-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  flex-wrap: wrap;
}
.shop-card-price .new-price {
  font-size: 16px;
  font-weight: bold;
  color: #4CAF50;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.shop-card-price .old-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.shop-card-price .price-value {
  font-size: 16px;
  font-weight: bold;
  color: #4CAF50;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.shop-card-price .discount-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 30px;
  z-index: 10;
}
.shop-card-price .discount-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.shop-card-price .discount-text {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.5px;
  font-family: Arial, sans-serif;
}
.shop-card-price .promotion-info {
  font-size: 10px;
  color: #ccc;
  text-align: center;
  margin-top: 4px;
  line-height: 1.3;
  word-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.shop-card-price .promotion-info:hover {
  color: #fff;
}
.shop-table-wrapper {
  display: block;
}
.shop-cards-wrapper {
  display: none;
}
.shop-table-wrapper.hidden {
  display: none;
}
.shop-cards-wrapper.visible {
  display: block;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.25s ease-out;
}
.modal.modal-show {
  background-color: rgba(0,0,0,0.8);
}
.modal-content {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  margin: 5% auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  color: #fff;
  position: relative;
  transform: scale(0.96) translateY(-10px);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.modal-content.modal-bounce {
  animation: modalBounce 0.4s ease-out forwards;
}
@keyframes modalBounce {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(-10px);
  }
  70% {
    opacity: 1;
    transform: scale(1.01) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-content::-webkit-scrollbar {
  width: 10px;
}
.modal-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
}
.modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.2);
  border-radius: 6px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255,255,255,0.3);
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}
.close:hover {
  color: #fff;
}
.promo-detail-header {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.promo-detail-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  padding: 8px;
}
.promo-detail-info h2 {
  margin: 0 0 9px 0;
  color: #fff;
  font-size: 22px;
}
.promo-detail-price {
  font-size: 18px;
  font-weight: bold;
  color: #4CAF50;
  margin-bottom: 9px;
}
.promo-detail-description {
  color: #ccc;
  line-height: 1.4;
  margin: 0;
}
.promo-detail-info .availability-periods {
  color: #4CAF50;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 8px;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  font-weight: bold;
}
.promo-content-section {
  margin-top: 18px;
}
.promo-content-section h3 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 16px;
}
.promo-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.promo-content-item {
  background: rgba(255,255,255,0.05);
  border-radius: 11px;
  padding: 9px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.promo-content-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 11px;
  background: rgba(255,255,255,0.1);
  padding: 4px;
  margin-bottom: 7px;
}
.promo-content-name {
  font-weight: bold;
  color: #fff;
  font-size: 13px;
  margin-bottom: 4px;
}
.promo-content-quantity {
  color: #4CAF50;
  font-weight: bold;
  font-size: 11px;
  margin-bottom: 4px;
}
.promo-content-description {
  color: #ccc;
  font-size: 10px;
  line-height: 1.3;
}
.promo-row {
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.promo-row:hover {
  background-color: rgba(255, 193, 7, 0.1) !important;
}
.promo-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}
.category-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}
.price-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.discount-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  position: relative;
}
.new-price {
  font-size: 16px;
  font-weight: bold;
  color: #4CAF50;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.old-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.discount-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 35px;
  z-index: 10;
}
.discount-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.discount-text {
  position: relative;
  z-index: 2;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.5px;
  font-family: Arial, sans-serif;
}
.promo-detail-price .discount-price {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
}
.promo-detail-price .new-price {
  font-size: 18px;
}
.promo-detail-price .old-price {
  font-size: 14px;
}
.promo-detail-price .discount-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 50px;
  z-index: 10;
}
.promo-detail-price .discount-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.promo-detail-price .discount-text {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.5px;
  font-family: Arial, sans-serif;
}
.promotion-info {
  font-size: 10px;
  color: #ccc;
  text-align: center;
  margin-top: 5px;
  line-height: 1.3;
  word-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.promotion-info:hover {
  color: #fff;
}
.promotion-info-full {
  font-size: 10px;
  color: #4CAF50;
  text-align: center;
  margin-top: 5px;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }
  button, button:active, a:active {
    box-shadow: none !important;
    transform: none !important;
  }
  .shop-controls {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    box-sizing: border-box;
  }
  .shop-title-container {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
  }
  .shop-logo {
    height: 32px;
  }
  .shop-title {
    font-size: 16px;
    color: #3390ec;
    text-shadow: none;
    font-weight: 500;
  }
  .store-link {
    font-size: 12px;
    padding: 6px 12px;
    margin-left: 0;
    background: rgba(51, 144, 236, 0.15);
    border: 1px solid rgba(51, 144, 236, 0.3);
    border-radius: 8px;
    color: #3390ec;
    text-shadow: none;
    box-shadow: none;
  }
  .store-link:hover {
    background: rgba(51, 144, 236, 0.2);
    border-color: rgba(51, 144, 236, 0.4);
    box-shadow: none;
    color: #3390ec;
  }
  .shop-controls-right {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .shop-switcher {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .shop-btn {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    box-sizing: border-box;
    background: rgba(30, 39, 50, 0.6);
    border: 1px solid rgba(51, 144, 236, 0.3);
    border-radius: 8px;
    color: #e4e4e4;
    box-shadow: none !important;
    text-shadow: none;
    font-weight: 500;
  }
  .shop-btn:hover {
    background: rgba(51, 144, 236, 0.1);
    border-color: rgba(51, 144, 236, 0.4);
    box-shadow: none !important;
    color: #3390ec;
  }
  .shop-btn.active {
    background: rgba(51, 144, 236, 0.15);
    border-color: rgba(51, 144, 236, 0.4);
    color: #3390ec;
    box-shadow: none !important;
  }
  .shop-btn[href*="stable"].active {
    background: rgba(51, 144, 236, 0.15);
    border-color: rgba(51, 144, 236, 0.4);
    color: #3390ec;
    box-shadow: none !important;
  }
  .view-switcher {
    width: 100%;
    justify-content: stretch;
    gap: 8px;
    margin-top: 0;
  }
  .view-btn {
    flex: 1;
    background: rgba(30, 39, 50, 0.6);
    border: 1px solid rgba(51, 144, 236, 0.3);
    border-radius: 8px;
    color: #e4e4e4;
    box-shadow: none !important;
    text-shadow: none;
  }
  .view-btn:hover {
    background: rgba(51, 144, 236, 0.1);
    border-color: rgba(51, 144, 236, 0.4);
    box-shadow: none !important;
  }
  .view-btn.active {
    background: rgba(51, 144, 236, 0.15);
    border-color: rgba(51, 144, 236, 0.4);
    color: #3390ec;
    box-shadow: none !important;
  }
  .shop-table {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    font-size: 12px;
    display: table;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .shop-table th {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15);
    color: #3390ec;
    font-weight: 500;
    padding: 12px 8px;
    font-size: 13px;
    text-shadow: none;
  }
  .shop-table td {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15);
    color: #e4e4e4;
    padding: 12px 8px;
    font-size: 13px;
    text-shadow: none;
  }
  .shop-table tr:last-child td {
    border-bottom: none;
  }
  .shop-table tbody tr:hover {
    background-color: rgba(51, 144, 236, 0.05);
  }
  .shop-preview-cell {
    overflow: visible;
    position: relative;
    padding: 8px;
  }
  .shop-price-cell {
    overflow: visible;
    position: relative;
    padding: 8px;
  }
  .shop-item-image,
  .shop-no-image {
    width: 50px;
    height: 50px;
  }
  .price-container {
    overflow: visible;
    position: relative;
    padding: 4px;
    min-width: 80px;
  }
  .discount-price {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .new-price {
    font-size: 14px;
    color: #4CAF50;
    text-shadow: none;
  }
  .old-price {
    font-size: 12px;
    color: #8e9297;
    text-shadow: none;
  }
  .discount-badge {
    position: relative;
    top: 0;
    right: 0;
    width: 50px;
    height: 30px;
    margin-top: 4px;
  }
  .discount-text {
    font-size: 10px;
  }
  .shop-item-name {
    font-size: 13px;
    color: #e4e4e4;
    text-shadow: none;
  }
  .shop-item-description {
    font-size: 12px;
    color: #8e9297;
  }
  .availability-periods {
    color: #4CAF50;
    font-size: 11px;
  }
  .section-title {
    font-size: 16px;
    margin: 12px 0 6px;
    color: #3390ec;
    text-shadow: none;
    font-weight: 500;
    padding: 0 16px;
  }
  .section-title .promo-icon,
  .section-title .category-icon {
    filter: none;
  }
  .modal {
    z-index: 1000000;
    background-color: rgba(0,0,0,0.7);
  }
  .modal-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px;
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    background: #17212B;
    border: none;
    box-shadow: none;
    box-sizing: border-box;
    transform: none;
    opacity: 1;
  }
  .modal-content.modal-bounce {
    animation: none;
  }
  .close {
    color: #3390ec;
    font-size: 28px;
  }
  .close:hover {
    color: #3390ec;
  }
  .promo-detail-header {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .promo-detail-image {
    width: 100px;
    height: 100px;
  }
  .promo-detail-info h2 {
    font-size: 18px;
    text-align: center;
    color: #e4e4e4;
  }
  .promo-detail-price {
    font-size: 16px;
    text-align: center;
    color: #4CAF50;
  }
  .promo-detail-description {
    color: #8e9297;
  }
  .promo-content-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
  .promo-content-item {
    background: rgba(30, 39, 50, 0.6);
    border: 1px solid rgba(51, 144, 236, 0.2);
    border-radius: 8px;
  }
  .promo-content-image {
    width: 50px;
    height: 50px;
  }
  .promo-content-name {
    font-size: 12px;
    color: #e4e4e4;
  }
  .promo-content-quantity {
    font-size: 11px;
    color: #4CAF50;
  }
  .promo-content-description {
    font-size: 10px;
    color: #8e9297;
  }
  .error-message {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 15px 16px;
    font-size: 14px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: #f87171;
    text-shadow: none;
    box-sizing: border-box;
  }
  .shop-loading {
    padding: 40px 20px;
    font-size: 16px;
    color: #8e9297;
  }
  .shop-cards-grid {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0;
    margin: 0;
    padding: 0 16px;
  }
  .shop-card {
    padding: 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15);
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
  }
  .shop-card:last-child {
    border-bottom: none;
  }
  .shop-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(51, 144, 236, 0.15);
    background: transparent;
  }
  .shop-card.promo-card:hover {
    background: transparent !important;
  }
  .shop-card-image,
  .shop-card-no-image {
    width: 80px;
    height: 80px;
  }
  .shop-card-name {
    font-size: 13px;
    color: #e4e4e4;
    text-shadow: none;
  }
  .shop-card-description {
    font-size: 12px;
    color: #8e9297;
  }
  .shop-card-content .availability-periods {
    color: #4CAF50;
  }
  .shop-card-price {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(51, 144, 236, 0.15);
  }
  .shop-card-price .new-price,
  .shop-card-price .price-value {
    font-size: 16px;
    color: #4CAF50;
    text-shadow: none;
  }
  .shop-card-price .old-price {
    font-size: 12px;
    color: #8e9297;
    text-shadow: none;
  }
  .shop-card-price .discount-badge {
    width: 45px;
    height: 28px;
    top: -10px;
    right: -10px;
  }
  .shop-card-price .discount-text {
    font-size: 9px;
  }
  .shop-card-price .promotion-info {
    font-size: 9px;
    color: #8e9297;
  }
  .shop-card-price .promotion-info:hover {
    color: #e4e4e4;
  }
  .price-value {
    color: #4CAF50;
    text-shadow: none;
  }
}
.promo-checker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 18px auto;
  padding: 14px 18px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  width: 85.5%;
  max-width: 1296px;
  min-width: 540px;
  box-sizing: border-box;
}
.promo-checker-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.promo-checker-icon {
  color: rgba(255,255,255,0.5);
  font-size: 18px;
}
.promo-checker-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 11px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.promo-checker-input::placeholder {
  color: rgba(255,255,255,0.35);
}
.promo-checker-input:focus {
  border-color: rgba(0, 122, 255, 0.5);
}
.promo-checker-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
  color: #fff;
  border: 1px solid rgba(0, 122, 255, 0.3);
  border-radius: 11px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0px 0.5px 0px 0.5px rgba(0, 122, 255, 0.3), 0px 4px 0px 0.5px rgba(0, 86, 204, 0.8);
}
.promo-checker-btn:hover {
  background: linear-gradient(135deg, #0088ff 0%, #0066ee 100%);
}
.promo-checker-btn:active {
  transform: translateY(2px);
  box-shadow: 0px 0px 0px 0.5px rgba(0, 122, 255, 0.3), 0px 2px 0px 0.5px rgba(0, 86, 204, 0.8);
}
.promo-checker-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.promo-checker-btn-redeem {
  background: linear-gradient(135deg, #39b56b 0%, #2a8f55 100%);
  border: 1px solid rgba(57, 181, 107, 0.35);
  box-shadow: 0px 0.5px 0px 0.5px rgba(57, 181, 107, 0.35), 0px 4px 0px 0.5px rgba(29, 104, 61, 0.8);
}
.promo-checker-btn-redeem:hover {
  background: linear-gradient(135deg, #44c978 0%, #309f60 100%);
}
.promo-checker-btn-redeem:active {
  box-shadow: 0px 0px 0px 0.5px rgba(57, 181, 107, 0.35), 0px 2px 0px 0.5px rgba(29, 104, 61, 0.8);
}
.promo-result {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  box-sizing: border-box;
  align-self: stretch;
}
.promo-result-success {
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #81C784;
}
.promo-result-error {
  background: rgba(244, 67, 54, 0.12);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #E57373;
}
.promo-result-header {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 15px;
}
.promo-result-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
}
.promo-result-item-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}
.promo-result-item-name {
  font-weight: bold;
  color: #fff;
}
.promo-result-item-qty {
  color: #FFD54F;
  font-weight: bold;
}
.promo-result-item-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
.promo-result-discount {
  margin-top: 8px;
  font-weight: bold;
  color: #FFD54F;
}
@media (max-width: 700px) {
  .promo-checker {
    width: 95%;
    min-width: unset;
    padding: 10px 12px;
  }
  .promo-checker-input-group {
    flex-wrap: wrap;
  }
  .promo-checker-btn {
    width: 100%;
  }
}
}
