@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;500;600;700;800&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Naskh Arabic', serif;
  background: #faf8f5;
  color: #2c2c2c;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  padding: 20px 0;
  border-bottom: 1px solid #eae6e1;
  position: sticky;
  top: 0;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-right a {
  font-size: 0.9rem;
  color: #6b6b6b;
  transition: color 0.2s;
}

.nav-right a:hover {
  color: #2c2c2c;
}

.nav-right .shop-link {
  background: #2c2c2c;
  color: #faf8f5;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: transform 0.25s ease, opacity 0.2s;
}

.nav-right .shop-link:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger svg {
  width: 24px;
  height: 24px;
  stroke: #2c2c2c;
}

.hero {
  padding: 80px 0 60px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #7E7AE0;
}

.hero-text p {
  font-size: 1.05rem;
  color: #7a7a7a;
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-text .cta {
  display: inline-block;
  background: #7E7AE0;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.25s ease;
}

.hero-text .cta:hover {
  background: #6C68CC;
  transform: translateY(-2px);
}

.hero-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-wrap:hover img {
  transform: scale(1.03);
}

.hero-img-wrap .float-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #2c2c2c;
  transform: translateY(60px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-img-wrap:hover .float-tag {
  transform: translateY(0);
  opacity: 1;
}

.marquee-bar {
  border-top: 1px solid #eae6e1;
  border-bottom: 1px solid #eae6e1;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: #b0a89e;
  font-weight: 500;
  flex-shrink: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.lookbook {
  padding: 80px 0;
}

.lookbook-header {
  margin-bottom: 40px;
}

.lookbook-header h2 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lookbook-header p {
  color: #7a7a7a;
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.grid-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.grid-item:hover img {
  transform: scale(1.05);
}

.grid-item .label {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.grid-item:hover .label {
  transform: translateY(-4px);
}

.grid-item .hover-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 44, 44, 0.35);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.grid-item:hover .hover-text {
  opacity: 1;
}

.grid-item .hover-text span {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  backdrop-filter: blur(2px);
}

.grid-item .price-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #2c2c2c;
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.why-section {
  padding: 80px 0;
  background: #f0eef8;
}

.why-section .wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.why-intro h2 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
}

.why-intro p {
  font-size: 0.95rem;
  color: #7a7a7a;
  line-height: 1.85;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-card {
  background: white;
  border-radius: 14px;
  padding: 28px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.why-card .why-num {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ccc9f0;
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.why-card h3 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.6;
}

.why-card p {
  font-size: 0.88rem;
  color: #7a7a7a;
  line-height: 1.8;
}

.bottom-cta {
  padding: 80px 0;
  text-align: center;
  background: #2c2c2c;
  color: #faf8f5;
}

.bottom-cta h2 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bottom-cta p {
  color: #a0a0a0;
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.8;
}

.bottom-cta .cta {
  display: inline-block;
  background: #7E7AE0;
  color: white;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.25s ease;
}

.bottom-cta .cta:hover {
  background: #6C68CC;
  transform: scale(1.05);
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2c2c2c;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s;
  z-index: 90;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: #7E7AE0;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* --- E-commerce Shared --- */

.cart-count {
  background: #7E7AE0;
  color: white;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 10px;
  margin-right: 4px;
  vertical-align: middle;
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 700;
}

.page-header {
  padding: 48px 0 40px;
}

.page-header h1 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #a0a0a0;
}

.breadcrumb a {
  color: #7a7a7a;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #7E7AE0;
}

.breadcrumb span {
  margin: 0 6px;
  color: #ccc;
}

/* --- Shop Page --- */

.shop-page {
  padding-bottom: 60px;
  min-height: 60vh;
}

.shop-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 20px;
  border: 1px solid #eae6e1;
  border-radius: 24px;
  font-size: 0.88rem;
  color: #7a7a7a;
  background: white;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: #7E7AE0;
  color: #7E7AE0;
}

.filter-btn.active {
  background: #2c2c2c;
  color: white;
  border-color: #2c2c2c;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.product-card-info {
  padding: 14px 4px 0;
}

.product-card-title {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.product-card-price {
  font-size: 0.92rem;
  color: #7E7AE0;
  font-weight: 700;
  font-family: 'Noto Kufi Arabic', sans-serif;
}

/* --- Loading Spinner & Skeletons --- */
.loading-container {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #eae6e1;
  border-top-color: #7E7AE0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 0.95rem;
  color: #7a7a7a;
  font-weight: 600;
}

.skeleton-card {
  border-radius: 10px;
  overflow: hidden;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 10px;
  background: linear-gradient(90deg, #f0ede8 25%, #f8f6f2 50%, #f0ede8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-text {
  height: 16px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0ede8 25%, #f8f6f2 50%, #f0ede8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  width: 70%;
}

.skeleton-price {
  height: 14px;
  margin-top: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0ede8 25%, #f8f6f2 50%, #f0ede8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  width: 40%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Product Detail Page --- */

.product-page {
  padding: 0 0 60px;
  min-height: 60vh;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.product-detail-info {
  padding-top: 8px;
}

.product-detail-info h1 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-detail-price {
  font-size: 1.5rem;
  color: #7E7AE0;
  font-weight: 700;
  font-family: 'Noto Kufi Arabic', sans-serif;
  margin-bottom: 20px;
}

.product-detail-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.9;
  margin-bottom: 28px;
}

.product-detail-divider {
  border: 0;
  border-top: 1px solid #eae6e1;
  margin: 0 0 24px;
}

.product-size-label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.product-size-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  margin-bottom: 20px;
  appearance: auto;
}

.product-add-btn {
  display: block;
  width: 100%;
  background: #2c2c2c;
  color: white;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 12px;
  text-align: center;
}

.product-add-btn:hover {
  background: #444;
}

.product-buy-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  background: #f0eef8;
  color: #7E7AE0;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.product-buy-link:hover {
  background: #e4e0f4;
}

.product-stock {
  color: #2e8b57;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

/* --- Cart Page --- */

.cart-page {
  padding: 0 0 60px;
  min-height: 60vh;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.cart-item-row {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #eae6e1;
  align-items: flex-start;
}

.cart-item-row:first-child {
  padding-top: 0;
}

.cart-item-img {
  width: 90px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  display: block;
  line-height: 1.5;
}

.cart-item-meta {
  color: #a0a0a0;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.cart-qty-input {
  width: 56px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-family: inherit;
  font-size: 0.9rem;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #c44;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
  padding: 0;
}

.cart-remove-btn:hover {
  text-decoration: underline;
}

.cart-sidebar {
  background: white;
  border: 1px solid #eae6e1;
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 100px;
}

.cart-sidebar-title {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cart-sidebar-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.cart-sidebar-line-label {
  color: #7a7a7a;
}

.cart-sidebar-line-value {
  font-weight: 600;
}

.cart-sidebar-divider {
  border: 0;
  border-top: 1px solid #eae6e1;
  margin: 20px 0;
}

.cart-sidebar-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cart-sidebar-total-value {
  color: #7E7AE0;
}

.cart-sidebar-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #2c2c2c;
  color: white;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  transition: background 0.2s;
}

.cart-sidebar-btn:hover {
  background: #444;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.cart-empty-msg {
  color: #a0a0a0;
  margin-bottom: 24px;
  font-size: 1rem;
}

.cart-empty-link {
  display: inline-block;
  background: #2c2c2c;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.cart-empty-link:hover {
  background: #444;
}

/* --- Checkout Page --- */

.checkout-page {
  padding: 0 0 60px;
  min-height: 60vh;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.checkout-form-title {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.checkout-field {
  margin-bottom: 18px;
}

.checkout-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #555;
}

.checkout-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  transition: border-color 0.2s;
}

.checkout-input:focus {
  outline: none;
  border-color: #7E7AE0;
}

.checkout-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}

.checkout-textarea:focus {
  outline: none;
  border-color: #7E7AE0;
}

.checkout-payment {
  margin-top: 32px;
  margin-bottom: 24px;
}

.checkout-payment-title {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.checkout-payment-option {
  padding: 16px;
  border: 2px solid #7E7AE0;
  border-radius: 10px;
  background: #f8f7fd;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.checkout-payment-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #7E7AE0;
}

.checkout-submit-btn {
  display: block;
  width: 100%;
  background: #7E7AE0;
  color: white;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.checkout-submit-btn:hover {
  background: #6C68CC;
}

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

.checkout-sidebar {
  background: white;
  border: 1px solid #eae6e1;
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 100px;
}

.checkout-sidebar-title {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.checkout-sidebar-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.88rem;
  gap: 12px;
}

.checkout-sidebar-item-name {
  color: #555;
  flex: 1;
}

.checkout-sidebar-item-price {
  font-weight: 600;
  white-space: nowrap;
}

.checkout-sidebar-divider {
  border: 0;
  border-top: 1px solid #eae6e1;
  margin: 18px 0;
}

.checkout-sidebar-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.checkout-sidebar-line-label {
  color: #7a7a7a;
}

.checkout-sidebar-line-value {
  font-weight: 600;
}

.checkout-sidebar-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  color: #7E7AE0;
  margin-top: 8px;
}

.checkout-success {
  text-align: center;
  padding: 60px 20px;
  background: #f8f7fd;
  border-radius: 14px;
  grid-column: 1 / -1;
}

.checkout-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.checkout-success-title {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 12px;
}

.checkout-success-msg {
  color: #666;
  margin-bottom: 28px;
  font-size: 1rem;
}

.checkout-success-link {
  display: inline-block;
  background: #7E7AE0;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.checkout-success-link:hover {
  background: #6C68CC;
}

/* Toast */
#cart-toast {
  position: fixed;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: #2c2c2c;
  color: white;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 0.88rem;
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}

#cart-toast.show {
  bottom: 30px;
  opacity: 1;
}

footer {
  padding: 32px 0;
  border-top: 1px solid #eae6e1;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .foot-left {
  font-size: 0.82rem;
  color: #a0a0a0;
}

footer .foot-right a {
  font-size: 0.82rem;
  color: #7a7a7a;
  margin-right: 20px;
  transition: color 0.2s;
}

footer .foot-right a:hover {
  color: #2c2c2c;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 32px;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-img-wrap {
    max-width: 600px;
    margin: 0 auto;
  }
  .why-section .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-intro {
    text-align: center;
  }
  .why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail {
    gap: 36px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-sidebar {
    position: static;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .checkout-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
  .product-detail-img {
    max-width: 320px;
    margin: 0 auto;
  }
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
    max-width: 100%;
  }

  .hero {
    padding: 40px 0;
  }
  .lookbook, .why-section, .bottom-cta {
    padding: 60px 0;
  }

  .nav-right {
    position: fixed;
    top: 0;
    left: -100%;
    right: auto;
    width: 280px;
    height: 100dvh;
    background: #faf8f5;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 32px;
    gap: 8px;
    z-index: 100;
    border-right: 1px solid #eae6e1;
    border-left: none;
    transition: left 0.35s ease;
  }

  .nav-right.open {
    left: 0;
  }

  .nav-right a {
    font-size: 1.1rem;
    padding: 16px 8px;
    width: 100%;
    border-bottom: 1px solid #eae6e1;
    text-align: right;
  }

  .nav-right .shop-link {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
    padding: 14px;
  }

  .burger {
    display: block;
    z-index: 101;
    position: relative;
  }

  .overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
  }

  .overlay.show {
    display: block;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
    max-width: 100%;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }

  .why-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 32px 24px;
  }

  footer .wrap {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .bottom-cta h2 {
    font-size: 1.8rem;
  }

  .back-to-top {
    bottom: 20px;
    left: 20px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.1rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .lookbook-header h2 {
    font-size: 1.6rem;
  }
  .why-intro h2 {
    font-size: 1.6rem;
  }
  .bottom-cta h2 {
    font-size: 1.6rem;
  }
  .page-header h1 {
    font-size: 1.6rem;
  }
}

