

:root {
  --shop-primary: #DA642A;
  --shop-primary-hover: #e0733d;
  --shop-accent: #f59e0b;
  --shop-bg: #090d16;
  --shop-card-bg: rgba(18, 24, 38, 0.7);
  --shop-border: rgba(255, 255, 255, 0.08);
  --shop-border-hover: rgba(218, 100, 42, 0.4);
  --shop-text: #f1f5f9;
  --shop-text-muted: #94a3b8;
}

#shop-section {
  width: 100%;
  box-sizing: border-box;
  color: var(--shop-text);
  font-family: 'Inter', sans-serif;
}

.shop-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px 60px 16px;
}

.shop-hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

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

.shop-hero-main {
  position: relative;
  background: linear-gradient(135deg, rgba(28, 35, 51, 0.9) 0%, rgba(15, 20, 32, 0.98) 100%);
  border: 1px solid var(--shop-border);
  border-radius: 20px;
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.shop-hero-main:hover {
  border-color: var(--shop-border-hover);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
}

.shop-hero-main-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
  opacity: 0.92;
  transition: transform 0.5s ease;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 15%, black 45%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 15%, black 45%);
}

.shop-hero-main:hover .shop-hero-main-bg {
  transform: scale(1.04);
}

.shop-hero-main-content {
  position: relative;
  z-index: 2;
  max-width: 54%;
}

@media (max-width: 768px) {
  .shop-hero-main {
    padding: 24px;
    min-height: 320px;
  }
  .shop-hero-main-content {
    max-width: 100%;
  }
  .shop-hero-main-bg {
    width: 100%;
    height: 100%;
    opacity: 0.22;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  }
}

.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(218, 100, 42, 0.18);
  color: #fb923c;
  border: 1px solid rgba(218, 100, 42, 0.35);
  margin-bottom: 16px;
}

.shop-hero-main-title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 900;
  line-height: 1.18;
  color: #ffffff;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}

.shop-hero-main-title span.highlight {
  color: #facc15;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}

.shop-hero-main-desc {
  color: var(--shop-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.shop-hero-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #DA642A 0%, #b84c1b 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(218, 100, 42, 0.4);
  transition: all 0.25s ease;
  text-decoration: none;
  width: fit-content;
}

.shop-hero-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(218, 100, 42, 0.55);
}

.shop-hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shop-side-card {
  position: relative;
  background: linear-gradient(135deg, rgba(28, 35, 51, 0.8) 0%, rgba(15, 20, 32, 0.92) 100%);
  border: 1px solid var(--shop-border);
  border-radius: 18px;
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.shop-side-card:hover {
  border-color: var(--shop-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.shop-side-card-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.9;
  pointer-events: none;
  transition: transform 0.4s ease;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 15%, black 45%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 15%, black 45%);
}

.shop-side-card:hover .shop-side-card-bg {
  transform: scale(1.05);
}

.shop-side-card-content {
  position: relative;
  z-index: 2;
  max-width: 56%;
}

@media (max-width: 768px) {
  .shop-side-card-content {
    max-width: 100%;
  }
  .shop-side-card-bg {
    width: 100%;
    height: 100%;
    opacity: 0.2;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  }
}

.shop-side-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 12px 0;
  white-space: pre-line;
}

.shop-side-card-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fb923c;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.shop-side-card:hover .shop-side-card-cta {
  gap: 8px;
  color: #fdba74;
}

.shop-nav2-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--shop-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--shop-border);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.shop-nav2-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.shop-nav2-tab.active {
  background: var(--shop-primary);
  color: #ffffff;
  border-color: var(--shop-primary);
  box-shadow: 0 4px 14px rgba(218, 100, 42, 0.35);
}

.shop-nav2-tab .tab-count {
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.shop-nav2-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
}

.shop-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.shop-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.shop-section-subtitle {
  color: var(--shop-text-muted);
  font-size: 0.88rem;
  margin: 4px 0 0 0;
}

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

@media (max-width: 640px) {
  .shop-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.shop-product-card {
  background: var(--shop-card-bg);
  border: 1px solid var(--shop-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.shop-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--shop-border-hover);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.shop-card-media {
  position: relative;
  width: 100%;
  padding-top: 62%;
  background: #0d121f;
  overflow: hidden;
}

.shop-card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shop-product-card:hover .shop-card-media img {
  transform: scale(1.06);
}

.shop-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.35);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  z-index: 2;
}

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

.shop-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.shop-card-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fb923c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-card-rating {
  font-size: 0.78rem;
  color: #facc15;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

.shop-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.shop-card-desc {
  font-size: 0.82rem;
  color: var(--shop-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.shop-include-pill {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  color: #cbd5e1;
}

.shop-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--shop-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-card-pricing {
  display: flex;
  flex-direction: column;
}

.shop-card-price {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
}

.shop-card-orig-price {
  font-size: 0.75rem;
  color: var(--shop-text-muted);
  text-decoration: line-through;
}

.shop-card-actions {
  display: flex;
  gap: 8px;
}

.shop-btn-action {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.shop-btn-detail {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border: 1px solid var(--shop-border);
}

.shop-btn-detail:hover {
  background: rgba(255, 255, 255, 0.12);
}

.shop-btn-buy {
  background: var(--shop-primary);
  color: #ffffff;
}

.shop-btn-buy:hover {
  background: var(--shop-primary-hover);
  transform: translateY(-1px);
}

.shop-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.shop-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.shop-modal-card {
  background: #0f172a;
  border: 1px solid var(--shop-border);
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.shop-modal-backdrop.active .shop-modal-card {
  transform: scale(1);
}

.shop-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.shop-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.shop-offline-container {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.shop-offline-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(218, 100, 42, 0.12);
  border: 1px solid rgba(218, 100, 42, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(218, 100, 42, 0.2);
}

.shop-offline-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.shop-offline-desc {
  color: var(--shop-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 28px 0;
}

.shop-offline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--shop-border);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shop-offline-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
