/* ==========================================================================
   Fan Shop Catalog & Product Pages
   Mobile-first approach
   ========================================================================== */

/* Shop Page Container */
.shop-page {
  min-height: 100vh;
  padding: var(--space-2xl) clamp(1rem, 3vw, 2rem);
  background: var(--gradient-hero), url('/images/Banner_background_main.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-attachment: fixed;
  color: var(--white);
}

.shop-page .container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Section Header */
.shop-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.shop-header__title {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 clamp(0.5rem, 1.5vw, 0.75rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.shop-header__subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ==========================================================================
   Toolbar (Search + Sort + Category Filters)
   ========================================================================== */

.shop-toolbar {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  position: relative;
}

.shop-sort__select {
  padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1.25rem);
  padding-right: clamp(1.5rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right clamp(0.6rem, 1.5vw, 0.85rem) center;
  flex-shrink: 0;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.shop-sort__select:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.shop-sort__select:focus {
  outline: none;
  border-color: var(--secondary-orange);
}

.shop-sort__select option {
  background: var(--dark-gray);
  color: var(--white);
}

/* Category Pills */
.shop-categories {
  display: flex;
  gap: clamp(0.4rem, 1vw, 0.5rem);
  flex-wrap: wrap;
  justify-content: center;
}

.shop-categories__pill {
  padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1.25rem);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.shop-categories__pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.shop-categories__pill--active {
  background: var(--secondary-orange);
  border-color: var(--secondary-orange);
  color: var(--white);
  font-weight: 600;
}

.shop-categories__pill--active:hover {
  background: var(--secondary-orange-dark);
  border-color: var(--secondary-orange-dark);
}

/* ==========================================================================
   Product Grid
   ========================================================================== */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.shop-grid.shop-grid--empty {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: clamp(16rem, 45vh, 32rem);
  padding: clamp(3rem, 8vw, 5rem) 1rem;
}

.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.shop-empty__icon {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  opacity: 0.5;
}

.shop-empty__text {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
}

/* Loading Skeleton */
.shop-grid--loading .shop-card {
  pointer-events: none;
}

.shop-skeleton {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.shop-skeleton__image {
  width: 100%;
  padding-top: 100%;
}

.shop-skeleton__body {
  padding: 1rem;
}

.shop-skeleton__line {
  height: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.shop-skeleton__line--short {
  width: 60%;
}

.shop-skeleton__line--price {
  width: 40%;
  height: 1rem;
  margin-top: 0.75rem;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Product Count */
.shop-count {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

/* ==========================================================================
   Product Card
   ========================================================================== */

.shop-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(0.75rem, 2vw, 1rem);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
  cursor: pointer;
}

/* Invisible overlay link — makes entire card clickable and accessible */
.shop-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Lift button above the overlay link so it remains independently clickable */
.shop-card__quick-add {
  position: relative;
  z-index: 2;
}

.shop-card__name a {
  color: inherit;
  text-decoration: none;
}

.shop-card__name a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(243, 156, 18, 0.4);
}

/* Image */
.shop-card__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 125%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

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

.shop-card:hover .shop-card__image {
  transform: scale(1.06);
}

.shop-card__badge {
  position: absolute;
  top: clamp(0.4rem, 1vw, 0.6rem);
  left: clamp(0.4rem, 1vw, 0.6rem);
  padding: 0.2rem 0.6rem;
  background: var(--secondary-orange);
  color: var(--white);
  font-size: clamp(0.6rem, 1.5vw, 0.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.35rem;
}

/* Card Body */
.shop-card__body {
  padding: clamp(0.6rem, 1.5vw, 1rem);
  display: flex;
  flex-direction: column;
}

.shop-card__category {
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  color: var(--secondary-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: clamp(0.2rem, 0.5vw, 0.35rem);
}

.shop-card__name {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 clamp(0.3rem, 1vw, 0.5rem);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card__price {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--white);
  margin-top: clamp(0.25rem, 0.8vw, 0.4rem);
}

.shop-card__price-currency {
  font-size: 0.8em;
  font-weight: 500;
  opacity: 0.8;
  margin-left: 0.15em;
}

/* Quick Add Button (visible on hover on desktop) */
.shop-card__quick-add {
  display: none;
  width: 100%;
  padding: clamp(0.5rem, 1.5vw, 0.6rem);
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  background: var(--secondary-orange);
  border: none;
  border-radius: 0.5rem;
  color: var(--white);
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shop-card__quick-add:hover {
  background: var(--secondary-orange-dark);
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */

.product-page {
  min-height: 100vh;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  padding-top: clamp(6rem, 12vw, 8rem);
  background: var(--gradient-hero), url('/images/Banner_background_main.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-attachment: fixed;
  color: var(--white);
}

.product-page .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Breadcrumb */
.product-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.product-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.product-breadcrumb a:hover {
  color: var(--secondary-orange-light);
}

.product-breadcrumb__sep {
  font-size: 0.7em;
}

.product-breadcrumb__current {
  color: var(--white);
  font-weight: 500;
}

/* Detail Layout */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.product-gallery__main {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: clamp(0.75rem, 2vw, 1rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-gallery__main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-gallery__main-img--zoomable {
  cursor: zoom-in;
}

.product-gallery__main-img--zoomable:hover {
  opacity: 0.92;
}

.product-gallery__thumbs {
  display: flex;
  gap: clamp(0.4rem, 1vw, 0.6rem);
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.product-gallery__thumb {
  width: clamp(48px, 12vw, 72px);
  height: clamp(48px, 12vw, 72px);
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
}

.product-gallery__thumb:hover,
.product-gallery__thumb--active {
  border-color: var(--secondary-orange);
  opacity: 1;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info Panel */
.product-info {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.product-info__category {
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: var(--secondary-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.product-info__name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin: 0;
}

.product-info__price {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
}

.product-info__price-currency {
  font-size: 0.7em;
  font-weight: 500;
  opacity: 0.7;
}

.product-info__description {
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Size Selector */
.product-sizes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-sizes__label {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-sizes__options {
  display: flex;
  gap: clamp(0.4rem, 1vw, 0.5rem);
  flex-wrap: wrap;
}

.product-sizes__btn {
  min-width: clamp(40px, 10vw, 48px);
  padding: clamp(0.4rem, 1vw, 0.55rem) clamp(0.75rem, 2vw, 1rem);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.product-sizes__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.product-sizes__btn--active {
  background: var(--secondary-orange);
  border-color: var(--secondary-orange);
  color: var(--white);
  font-weight: 600;
}

.product-sizes__btn--one-size {
  cursor: default;
  pointer-events: none;
  background: var(--secondary-orange);
  border-color: var(--secondary-orange);
  color: var(--white);
  font-weight: 600;
  opacity: 1;
}

/* Quantity & Add to Cart */
.product-actions {
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  align-items: stretch;
}

.product-quantity {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
}

.product-quantity__btn {
  width: clamp(36px, 9vw, 44px);
  height: clamp(40px, 10vw, 48px);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-quantity__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.product-quantity__value {
  width: clamp(32px, 8vw, 40px);
  text-align: center;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-primary);
  background: none;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.product-add-btn {
  flex: 1;
  padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  background: var(--secondary-orange);
  border: none;
  border-radius: 0.5rem;
  color: var(--white);
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: clamp(44px, 10vw, 48px);
}

.product-add-btn:hover {
  background: var(--secondary-orange-dark);
}

.product-add-btn:active {
  transform: scale(0.97);
}

.product-add-btn--added {
  background: #27ae60;
}

.product-add-btn--added:hover {
  background: #219a52;
}

/* ==========================================================================
   Related Products
   ========================================================================== */

.shop-related {
  margin-top: clamp(2rem, 6vw, 4rem);
}

.shop-related__title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

/* ==========================================================================
   Cart Drawer
   ========================================================================== */

/* ==========================================================================
   Checkout Page
   ========================================================================== */

.checkout-page {
  min-height: 100vh;
  padding: var(--space-2xl) clamp(1rem, 3vw, 2rem);
  background: var(--gradient-hero), url('/images/Banner_background_main.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-attachment: fixed;
  color: var(--white);
}

.checkout-page .container {
  max-width: 800px;
  margin: 0 auto;
}

.checkout-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.checkout-header__title {
  font-family: var(--font-hero);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.checkout-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.checkout-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  margin: 0 0 clamp(0.75rem, 2vw, 1.25rem);
  padding-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-form__group {
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.checkout-form__label {
  display: block;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.35rem;
}

.checkout-form__input,
.checkout-form__textarea {
  width: 100%;
  padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.6rem;
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-primary);
  transition: border-color 0.25s ease;
  box-sizing: border-box;
}

.checkout-form__input::placeholder,
.checkout-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.checkout-form__input:focus,
.checkout-form__textarea:focus {
  outline: none;
  border-color: var(--secondary-orange);
}

.checkout-form__textarea {
  resize: vertical;
  min-height: 80px;
}

/* Order Summary in Checkout */
.checkout-summary__item {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 0.875rem);
  padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-summary__item:last-child {
  border-bottom: none;
}

.checkout-summary__item-img-link {
  flex-shrink: 0;
  display: block;
  border-radius: 0.4rem;
  overflow: hidden;
  transition: opacity var(--transition-fast);
}

.checkout-summary__item-img-link:hover,
.checkout-summary__item-img-link:focus-visible {
  opacity: 0.85;
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.checkout-summary__item-img {
  width: clamp(44px, 10vw, 56px);
  height: clamp(44px, 10vw, 56px);
  border-radius: 0.4rem;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.05);
}

a.checkout-summary__item-name {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

a.checkout-summary__item-name:hover,
a.checkout-summary__item-name:focus-visible {
  color: var(--secondary-orange-light);
  text-decoration: underline;
  outline: none;
}

.checkout-summary__item-info {
  flex: 1;
  min-width: 0;
}

.checkout-summary__item-qty-price {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  flex-shrink: 0;
}

.checkout-summary__item-price-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.checkout-summary__item-price {
  flex-shrink: 0;
  font-weight: 600;
}

.checkout-summary__item-detail {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85em;
}

.checkout-summary__item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.35rem;
  overflow: hidden;
  flex-shrink: 0;
}

.checkout-summary__qty-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.checkout-summary__qty-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.checkout-summary__qty-val {
  width: 36px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.checkout-summary__item-remove {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.checkout-summary__item-remove:hover {
  color: #e74c3c;
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(0.75rem, 2vw, 1rem);
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 700;
}

/* Pickup checkbox */
.checkout-pickup {
  margin-bottom: 0;
}

.checkout-pickup--summary {
  padding: 0.75rem 0;
}

.checkout-pickup__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: default;
  user-select: none;
  color: var(--white);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 600;
}

.checkout-pickup__checkbox {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--secondary-orange);
  cursor: default;
}

.checkout-submit {
  width: 100%;
  padding: clamp(0.8rem, 2vw, 1rem);
  background: var(--secondary-orange);
  border: none;
  border-radius: 0.75rem;
  color: var(--white);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  min-height: 52px;
  margin-top: clamp(0.75rem, 2vw, 1rem);
}

.checkout-submit:hover {
  background: var(--secondary-orange-dark);
}

.checkout-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Order Confirmation */
.order-confirmation {
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
}

.order-confirmation__icon {
  font-size: clamp(3rem, 8vw, 4.5rem);
  margin-bottom: 1rem;
}

.order-confirmation__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.order-confirmation__number {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--secondary-orange-light);
  margin-bottom: 1.5rem;
}

.order-confirmation__text {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.order-confirmation__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1.5rem, 4vw, 2rem);
  background: var(--secondary-orange);
  border: none;
  border-radius: 0.6rem;
  color: var(--white);
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.order-confirmation__btn:hover {
  background: var(--secondary-orange-dark);
  color: var(--white);
}

/* ==========================================================================
   Mobile Filter Trigger & Drawer
   ========================================================================== */

/* Trigger — show only on mobile, hidden by default */
.shop-filter-trigger {
  display: none;
}

/* Overlay */
.shop-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 8998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shop-filter-overlay--open {
  opacity: 1;
  visibility: visible;
}

/* Drawer — slides up from bottom */
.shop-filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 88vh;
  background: linear-gradient(180deg, #4a2512 0%, #2e1508 100%);
  border-radius: 1.25rem 1.25rem 0 0;
  z-index: 8999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  color: var(--white);
  overflow: hidden;
}

/* Drag handle pill */
.shop-filter-drawer::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  margin: 0.65rem auto 0;
  flex-shrink: 0;
}

.shop-filter-drawer--open {
  transform: translateY(0);
}

.shop-filter-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.shop-filter-drawer__header-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.shop-filter-drawer__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.shop-filter-drawer__count {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.shop-filter-drawer__close {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.shop-filter-drawer__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Scrollable body */
.shop-filter-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.25rem 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* Filter section */
.shop-filter-section {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-filter-section:last-child {
  border-bottom: none;
}

.shop-filter-section__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.7rem;
}

.shop-filter-section__content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Sort options: full-width list, column direction */
.shop-filter-section__content--sort {
  flex-direction: column;
  gap: 0;
}

/* Mobile category pills */
.shop-filter-pill {
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 44px;
}

.shop-filter-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.shop-filter-pill--active {
  background: var(--secondary-orange);
  border-color: var(--secondary-orange);
  color: var(--white);
  font-weight: 600;
}

.shop-filter-pill--active:hover {
  background: var(--secondary-orange-dark);
  border-color: var(--secondary-orange-dark);
}

/* Sort option rows with checkmark */
.shop-filter-sort-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.9rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
  min-height: 44px;
}

.shop-filter-sort-opt:last-child {
  border-bottom: none;
}

.shop-filter-sort-opt:hover {
  color: var(--white);
}

.shop-filter-sort-opt--active {
  color: var(--white);
  font-weight: 600;
}

.shop-filter-sort-opt--active::after {
  content: '\2713'; /* ✓ */
  color: var(--secondary-orange);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Footer with Reset + Apply */
.shop-filter-drawer__footer {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.shop-filter-drawer__reset {
  flex: 1;
  padding: 0.75rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 48px;
}

.shop-filter-drawer__reset:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.shop-filter-drawer__apply {
  flex: 1.5;
  padding: 0.75rem;
  background: var(--secondary-orange);
  border: none;
  border-radius: 0.6rem;
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 48px;
}

.shop-filter-drawer__apply:hover {
  background: var(--secondary-orange-dark);
}

/* Mobile breakpoint: show trigger, hide desktop toolbar */
@media (max-width: 767px) {
  .shop-page,
  .product-page,
  .checkout-page {
    padding-top: var(--space-xl);
  }

  .shop-toolbar {
    display: none;
  }

  .shop-filter-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--white);
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    margin-bottom: clamp(0.75rem, 3vw, 1rem);
    transition: background 0.2s;
    min-height: 48px;
  }

  .shop-filter-trigger:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .checkout-summary__item-qty-price {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
  }
}

/* ==========================================================================
   Responsive: Tablet & Desktop
   ========================================================================== */

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

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

  .shop-card__quick-add {
    display: block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  }

  .shop-card:hover .shop-card__quick-add {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .product-gallery__main {
    padding-top: 85%;
  }

  /* 4-column full-width grid for desktop */
  .shop-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2px;
    row-gap: 10px;
  }

  .shop-page {
    padding-left: 0;
    padding-right: 0;
  }

  .shop-page .container {
    max-width: 100%;
    padding: 0 clamp(0.5rem, 1.5vw, 1rem);
  }

  .shop-card {
    border-radius: 4px;
  }

  .shop-card:hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 1280px) {
  .shop-grid {
    column-gap: 2px;
    row-gap: 10px;
  }
}

/* Mobile background fix */
@media (max-width: 1024px) {
  .shop-page,
  .product-page,
  .checkout-page {
    background: none;
  }
}
