/* Shop Hero - Premium Redesign */
.shop-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  max-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin-top: 0;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0a0f1c 0%, #03060c 100%), url('https://picsum.photos/id/20/1920/700') center/cover no-repeat;
  background-blend-mode: overlay;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.shop-hero:hover .shop-hero-bg {
  transform: scale(1.1);
}

.shop-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(3, 8, 18, 0.92) 0%, rgba(3, 8, 18, 0.5) 55%, rgba(3, 8, 18, 0.2) 100%);
  z-index: 1;
}

.shop-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 48px 80px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shop-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 24px;
  background: rgba(248, 153, 29, 0.12);
  border: 1px solid rgba(248, 153, 29, 0.5);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.shop-hero-pill:hover {
  background: rgba(248, 153, 29, 0.25);
  border-color: var(--orange);
  letter-spacing: 0.3em;
}

.shop-hero h1 {
  font-family: 'Space Grotesk', 'Outfit', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin: 0;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.shop-hero h1 .accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.shop-hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--orange);
  opacity: 0.3;
  border-radius: 3px;
  pointer-events: none;
}

.shop-hero-desc {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  line-height: 1.7;
  backdrop-filter: blur(4px);
}

.shop-hero-curve {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.shop-hero-curve svg {
  display: block;
  width: 100%;
}

/* Shop Main Container */
.shop-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 48px 100px;
}

/* Shop Header with gradient border */
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 2px solid transparent;
  background: linear-gradient(90deg, var(--orange), transparent 70%) bottom left no-repeat;
  background-size: 120px 2px;
}

.shop-header-left h2 {
  font-family: 'Space Grotesk', 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #F8991D 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.shop-header-left p {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.shop-cart-icon {
  position: relative;
  cursor: pointer;
  background: rgba(10, 17, 31, 0.8);
  backdrop-filter: blur(12px);
  padding: 14px 26px;
  border-radius: 80px;
  border: 1px solid rgba(248, 153, 29, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.shop-cart-icon:hover {
  border-color: var(--orange);
  background: rgba(248, 153, 29, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(248, 153, 29, 0.2);
}

.shop-cart-icon .material-icons {
  font-size: 28px;
  color: var(--orange);
  transition: transform 0.2s;
}

.shop-cart-icon:hover .material-icons {
  transform: scale(1.08);
}

.cart-count {
  background: linear-gradient(135deg, var(--orange), #f5b041);
  color: #000;
  border-radius: 40px;
  padding: 4px 11px;
  font-size: 14px;
  font-weight: 800;
  min-width: 32px;
  text-align: center;
  box-shadow: 0 0 8px rgba(248, 153, 29, 0.6);
}

/* Filters Bar - Glass Morphism */
.shop-filters-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  padding: 10px 16px;
  position: sticky;
  top: 72px;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
  margin-left: -16px;
  margin-right: -16px;
}

.shop-search {
  display: flex;
  align-items: center;
  background: rgba(10, 17, 31, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 60px;
  border: 1px solid rgba(248, 153, 29, 0.25);
  padding: 6px 22px;
  gap: 12px;
  flex: 1;
  max-width: 340px;
  transition: all 0.3s;
}

.shop-search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(248, 153, 29, 0.15);
  background: rgba(10, 17, 31, 0.95);
}

.shop-search .material-icons {
  color: var(--orange);
  font-size: 20px;
}

.shop-search input {
  background: transparent;
  border: none;
  padding: 12px 0;
  color: #ffffff;
  font-size: 14px;
  width: 100%;
  outline: none;
  font-weight: 400;
}

.shop-search input::placeholder {
  color: rgba(138, 153, 180, 0.6);
}

.shop-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cat-btn {
  background: transparent;
  border: 1px solid rgba(248, 153, 29, 0.3);
  color: var(--muted);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.cat-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.cat-btn.active {
  background: linear-gradient(135deg, var(--orange), #f5b041);
  border-color: transparent;
  color: #f1c605;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(248, 153, 29, 0.4);
}

/* Product Grid - Modern Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 36px;
}

.product-card {
  background: linear-gradient(145deg, #0d1524, #080e1a);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(248, 153, 29, 0.15);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(4px);
  color: #fff;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(248, 153, 29, 0.3), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-12px);
  border-color: rgba(248, 153, 29, 0.4);
  box-shadow: 0 35px 45px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(248, 153, 29, 0.2);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #03060c;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--orange), #f5b041);
  color: #000;
  padding: 5px 14px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.product-content {
  padding: 26px 26px 30px;
}

.product-title {
  font-family: 'Space Grotesk', 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.product-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.product-price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.product-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.add-to-cart-btn {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  padding: 13px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
  background: var(--orange);
  color: #000;
  gap: 14px;
  box-shadow: 0 5px 20px rgba(248, 153, 29, 0.4);
  transform: translateY(-2px);
}

.empty-products {
  grid-column: 1/-1;
  text-align: center;
  padding: 90px 40px;
  background: rgba(10, 17, 31, 0.6);
  border-radius: 48px;
  border: 1px dashed rgba(248, 153, 29, 0.4);
}

.empty-products .material-icons {
  font-size: 72px;
  color: var(--muted2);
  margin-bottom: 24px;
  opacity: 0.6;
}

/* Cart Modal - Premium */
.cart-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 16, 0.96);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.cart-modal.open {
  display: flex;
  animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cart-modal-content {
  max-width: 580px;
  width: 100%;
  background: linear-gradient(145deg, #0f1829, #080e1a);
  border-radius: 40px;
  border: 1px solid rgba(248, 153, 29, 0.3);
  overflow: hidden;
  animation: modalSlideUp 0.35s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cart-header {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(248, 153, 29, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
}

.cart-header h3 {
  font-family: 'Space Grotesk', 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-header h3 .material-icons {
  color: var(--orange);
}

.cart-close {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close:hover {
  background: var(--orange);
  color: #000;
  transform: rotate(90deg);
}

.cart-items {
  max-height: 420px;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-items::-webkit-scrollbar {
  width: 4px;
}

.cart-items::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.cart-items::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 4px;
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(248, 153, 29, 0.1);
  transition: background 0.2s;
}

.cart-item:hover {
  background: rgba(248, 153, 29, 0.03);
  margin: 0 -8px;
  padding: 18px 8px;
  border-radius: 20px;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  background: var(--surface2);
  border: 1px solid rgba(248, 153, 29, 0.2);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 5px;
}

.cart-item-price {
  color: var(--orange);
  font-size: 15px;
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.ctrl-btn {
  background: rgba(248, 153, 29, 0.1);
  border: 1px solid rgba(248, 153, 29, 0.4);
  color: var(--orange);
  width: 32px;
  height: 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 700;
  font-size: 16px;
}

.ctrl-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
  transform: scale(1.05);
}

.cart-item-qty {
  font-size: 15px;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
  color: #fff;
}

.cart-item-remove {
  background: rgba(255, 68, 68, 0.1);
  border: none;
  color: #ff6868;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  background: #ff4444;
  color: #fff;
}

.cart-footer {
  padding: 28px 32px;
  border-top: 1px solid rgba(248, 153, 29, 0.2);
  background: rgba(0, 0, 0, 0.3);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.cart-total span:last-child {
  color: var(--orange);
  font-size: 28px;
  font-weight: 800;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--orange), #f5b041);
  border: none;
  padding: 18px;
  border-radius: 60px;
  font-weight: 800;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #e07c0a, #F8991D);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(248, 153, 29, 0.4);
}

.empty-cart {
  text-align: center;
  padding: 60px 30px;
  color: var(--muted);
}

.empty-cart .material-icons {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* Toast Notification Premium */
.toast {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: linear-gradient(135deg, var(--orange), #f5b041);
  color: #000;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 14px;
  z-index: 10001;
  transform: translateX(450px);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}

.toast.show {
  transform: translateX(0);
}

/* Responsive refinements */
@media (max-width: 768px) {
  /* HERO */
  .shop-hero {
    height: auto;
    min-height: unset;
  }
  .shop-hero-content {
    padding: 56px 16px 32px;
  }
  .shop-hero-pill {
    font-size: 9px;
    padding: 4px 12px;
    margin-bottom: 10px;
    letter-spacing: .15em;
  }
  .shop-hero h1 {
    font-size: 1.5rem;
    letter-spacing: -.01em;
    line-height: 1.1;
  }
  .shop-hero-desc {
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.55;
  }

  /* SECTION HEADER */
  .shop-main {
    padding: 20px 16px 60px;
  }
  .shop-header {
    margin-bottom: 24px;
    padding-bottom: 14px;
    gap: 10px;
  }
  .shop-header-left h2 {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }
  .shop-header-left p {
    font-size: 12px;
  }
  
  .shop-filters-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    top: 60px;
    margin-bottom: 24px;
  }

  .shop-search {
    max-width: 140px;
    min-width: unset;
    flex: 0 0 auto;
    padding: 5px 12px;
    gap: 6px;
  }
  .shop-search .material-icons { font-size: 16px; }
  .shop-search input { font-size: 12px; padding: 6px 0; }

  .shop-categories {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    flex: 1;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .shop-categories::-webkit-scrollbar { display: none; }
  .cat-btn {
    flex-shrink: 0;
    padding: 5px 13px;
    font-size: 11px;
    white-space: nowrap;
  }
  
  .product-grid {
    gap: 24px;
  }
  
  .cart-modal {
    padding: 20px;
  }
  
  .cart-modal-content {
    max-width: 95%;
  }
  
  .cart-header h3 {
    font-size: 20px;
  }
  
  .cart-total span:last-child {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .product-card {
    border-radius: 24px;
  }
  
  .product-img-wrapper {
    height: 240px;
  }
  
  .product-content {
    padding: 20px;
  }
  
  .product-title {
    font-size: 18px;
  }
  
  .product-price {
    font-size: 22px;
  }
  
  .cat-btn {
    padding: 6px 18px;
    font-size: 12px;
  }
  
  .shop-cart-icon {
    display: none;
  }
  
  .toast {
    bottom: 80px;
    right: 16px;
    left: 16px;
    text-align: center;
    transform: translateY(100px);
  }
  
  .toast.show {
    transform: translateY(0);
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Loading shimmer for images */
.product-img {
  background: linear-gradient(110deg, #0f1829 8%, #162136 18%, #0f1829 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.product-img[src] {
  animation: none;
  background: none;
}