/* === SHOP — MW Butik Luxury === */

/* ── Announcement Bar ── */
.announcement-bar {
  width: 100%;
  overflow: hidden;
}
.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-main {
  padding: var(--space-8) 0 var(--space-16);
  min-height: 60vh;
}

/* ── Section Head ── */
.section-head {
  margin-bottom: var(--space-6);
}

.section-head h1 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-base);
}

/* ── Catalog Layout ── */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-6);
  scroll-margin-top: calc(var(--header-h) + var(--space-6));
}

.filters-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
  align-self: start;
}

.filters-card h2 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
}

.filters-form .form-row {
  margin-bottom: var(--space-4);
}

.filters-form .btn {
  width: 100%;
  margin-bottom: var(--space-2);
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo),
              border-color var(--duration-normal) var(--ease-out-expo);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--border-gold);
}

.product-thumb {
  display: block;
  aspect-ratio: 0.78;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

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

.product-body {
  padding: var(--space-5);
}

.product-category,
.product-stock {
  margin: 0 0 var(--space-2);
  color: var(--text-subtle);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.product-body h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-base);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.product-body h3 a {
  color: var(--text);
  transition: color var(--transition);
}

.product-body h3 a:hover {
  color: var(--gold);
}

.inline-form {
  margin-top: var(--space-3);
}

/* ── Product Detail ── */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.product-detail-media {
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 1px var(--border), 0 0 40px rgba(212, 168, 75, 0.06);
  transition: box-shadow 0.4s ease;
}

.product-detail-media:hover {
  box-shadow: 0 0 0 1px var(--border-soft), 0 0 60px rgba(212, 168, 75, 0.1);
}

.main-image {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
}

.thumb-grid {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  padding: 0 var(--space-3) var(--space-3);
}

.thumb-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}

.thumb-grid img:hover {
  opacity: 0.8;
}

.thumb-grid img.is-active {
  border-color: var(--gold);
  opacity: 1;
}

.product-detail-info {
  padding: var(--space-2) 0;
}

.product-detail-info .product-category {
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-size: var(--text-xs);
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.product-detail-info h1 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  margin: 0 0 var(--space-5);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.product-detail-info .product-rating {
  margin-bottom: var(--space-5);
  font-size: var(--text-lg);
}

.product-rating .rating-count {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-left: var(--space-2);
}

.product-description {
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.detail-price {
  margin: var(--space-6) 0;
}

.detail-price strong {
  font-size: var(--text-3xl);
  color: var(--gold);
  font-weight: 600;
}

.product-stock {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.product-buy-form {
  margin: var(--space-6) 0;
}

.product-buy-form .btn {
  width: 100%;
}

.product-buy-form .form-row {
  margin-bottom: var(--space-4);
}

.product-buy-form select,
.product-buy-form input[type="number"] {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  color: var(--text);
  font-size: var(--text-sm);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.product-buy-form select:focus,
.product-buy-form input[type="number"]:focus {
  border-color: var(--gold);
}

/* ── Cart ── */
.cart-list {
  display: grid;
  gap: var(--space-3);
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr 180px;
  gap: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color var(--transition);
}

.cart-item:hover {
  border-color: var(--border-soft);
}

.cart-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
}

.cart-item h3 a {
  color: var(--text);
}

.cart-meta {
  color: var(--text-subtle);
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
}

.cart-controls {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}

.cart-controls label {
  font-size: var(--text-xs);
  margin-bottom: var(--space-1);
}

.cart-controls input {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  text-align: center;
}

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cart-summary p {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
}

.cart-summary-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ── Checkout ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-6);
  align-items: start;
}

.checkout-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.checkout-form .btn {
  margin-top: var(--space-2);
}

.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
}

.checkout-summary h2 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.checkout-summary h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  opacity: 0.35;
  margin-top: var(--space-3);
  border-radius: 2px;
}

.checkout-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.checkout-summary li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.checkout-summary li strong {
  color: var(--text);
  font-weight: 600;
}

.checkout-total {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gold);
}

.checkout-note {
  background: rgba(212, 168, 75, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.checkout-note a {
  color: var(--gold);
  font-weight: 600;
}

.checkout-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.checkout-form legend {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  display: block;
  color: var(--text);
}

/* ── Product Rating ── */
.product-rating {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  color: var(--gold);
}

.rating-count {
  color: var(--text-muted);
}

/* ── Review List ── */
.review-list {
  display: grid;
  gap: var(--space-3);
}

/* ── Related Products ── */
.related-section {
  margin-top: var(--space-14);
}

.related-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.related-section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  opacity: 0.35;
  margin-top: var(--space-4);
  border-radius: 2px;
}

.related-section .products-grid {
  margin-top: var(--space-6);
}

/* ── Bank Details ── */
.bank-details {
  max-width: 500px;
  margin: var(--space-4) auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: left;
}

.bank-details h3 {
  margin-top: 0;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.bank-details p {
  margin: 0 0 var(--space-1);
}

.order-confirm-note {
  margin-top: var(--space-3);
}

/* ── Account ── */
.account-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.account-header {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}

.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.account-header h1 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
}

.account-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.account-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.account-card h2 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.account-empty {
  text-align: center;
  padding: var(--space-6) 0;
  color: var(--text-muted);
}

.account-empty .btn {
  margin-top: var(--space-3);
}

.order-list {
  display: grid;
  gap: var(--space-3);
}

.order-card {
  display: block;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}

.order-card:hover {
  border-color: var(--border-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.order-card-top strong {
  font-size: var(--text-base);
  font-weight: 600;
}

.order-status {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.order-new { background: rgba(212, 168, 75, 0.12); color: var(--gold); }
.order-processing { background: rgba(90, 143, 90, 0.12); color: var(--success); }
.order-shipped { background: rgba(90, 143, 90, 0.12); color: var(--success); }
.order-completed { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }
.order-cancelled { background: rgba(139, 58, 58, 0.15); color: #e8a0a0; }

.order-card-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-subtle);
  margin-bottom: var(--space-2);
}

.order-card-bottom {
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}

.order-price {
  font-size: var(--text-base);
  color: var(--gold);
  font-weight: 600;
}

/* ── Order Detail ── */
.order-detail-item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.order-detail-item:last-child {
  border-bottom: 0;
}

.order-detail-item > a strong,
.order-detail-item > strong {
  font-weight: 600;
  font-size: var(--text-base);
}

.order-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.order-detail-price {
  margin-left: auto;
  font-weight: 600;
  color: var(--text);
}

.order-detail-address {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.order-detail-address h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin: 0 0 var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.order-detail-address p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text);
  line-height: var(--leading-relaxed);
}

.account-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

@media (max-width: 700px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-header {
    flex-direction: column;
    text-align: center;
  }

  .account-actions {
    flex-wrap: wrap;
  }
}

/* ── Auth Pages ── */
.auth-layout {
  grid-template-columns: 1fr !important;
}

.auth-form {
  max-width: 620px;
}

.auth-note {
  margin: var(--space-3) 0 0;
}

/* ── Checkout ── */
.checkout-note {
  margin: 0 0 var(--space-4);
}

.checkout-divider {
  border-top: 1px solid var(--border);
  padding-top: var(--space-2);
  margin-top: var(--space-2);
}

/* ── Lookbook ── */
.lookbook-wrap {
  max-width: 100%;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

/* ── Search ── */
.shop-search {
  display: flex;
  align-items: center;
}

.shop-search input {
  width: 140px;
  padding: 8px 12px;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  transition: border-color var(--transition), width var(--transition);
}

.shop-search input:focus {
  width: 180px;
}

/* ── Reviews ── */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  transition: border-color var(--transition), box-shadow 0.3s ease;
}

.review-card:hover {
  border-color: var(--border-soft);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.review-header strong {
  font-weight: 600;
  font-size: var(--text-sm);
}

.review-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: var(--text-base);
}

.review-content {
  margin: 0;
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  font-size: var(--text-sm);
}

.review-date {
  color: var(--text-subtle);
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
}

.review-section {
  margin-top: var(--space-14);
}

.review-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.review-section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  opacity: 0.35;
  margin-top: var(--space-3);
  margin-bottom: var(--space-5);
  border-radius: 2px;
}

.review-form {
  max-width: 500px;
  margin-top: var(--space-5);
}

.review-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  color: var(--text);
  font-size: var(--text-sm);
  width: 100%;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}

.review-form textarea:focus {
  border-color: var(--gold);
}

.review-form select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  color: var(--text);
  font-size: var(--text-sm);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.review-form select:focus {
  border-color: var(--gold);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters-card {
    position: static;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .product-detail-media {
    position: static;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item img {
    height: 200px;
  }
}

@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .two-inline {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cart-summary-actions {
    justify-content: center;
  }

  .shop-search input {
    width: 100px;
  }

  .shop-search input:focus {
    width: 130px;
  }

  .section-head h1 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .cart-item img {
    height: 260px;
  }

  .product-detail-info h1 {
    font-size: var(--text-2xl);
  }

  .checkout-form {
    padding: var(--space-4);
  }

  .checkout-summary {
    padding: var(--space-4);
  }
}

/* ── Empty state with icon ── */
.empty-state {
  text-align: center;
  padding: var(--space-10) var(--space-6);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  color: var(--text-subtle);
  opacity: 0.5;
}

.empty-state h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.empty-state p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-5);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Card hover lift ── */
.card-accent {
  transition: transform 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo),
              border-color 0.35s ease;
}

.card-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-color: var(--border-soft);
}

/* ── Product grid card reveal in shop ── */
.products-grid .product-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.products-grid .product-card.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo);
}

/* ── Newsletter Form ── */
.newsletter-form {
  margin-top: var(--space-4);
}

.newsletter-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.newsletter-row {
  display: flex;
  gap: var(--space-2);
  max-width: 320px;
}

.newsletter-row input {
  flex: 1;
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-row input:focus {
  border-color: var(--gold);
}

.newsletter-row button {
  padding: var(--space-2) var(--space-4);
  background: var(--gold);
  color: var(--black);
  border: 0;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.newsletter-row button:hover {
  background: var(--gold-hover);
}

/* ── Lightbox ── */
.main-image {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1001;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1001;
}

.lightbox-arrow:hover {
  background: rgba(255,255,255,0.18);
}

.lightbox-arrow.prev {
  left: var(--space-6);
}

.lightbox-arrow.next {
  right: var(--space-6);
}

.lightbox-counter {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  z-index: 1001;
}

@media (max-width: 640px) {
  .lightbox {
    padding: var(--space-2);
  }

  .lightbox-close {
    top: var(--space-3);
    right: var(--space-3);
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .lightbox-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .lightbox-arrow.prev {
    left: var(--space-2);
  }

  .lightbox-arrow.next {
    right: var(--space-2);
  }
}
