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

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #faf7f4;
  color: #2d2a26;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.hero {
  background: linear-gradient(120deg, #ff6fb5 0%, #ffa86b 50%, #ffd56b 100%);
  color: #1a1a1a;
  padding: 1.8rem 1.5rem 1.6rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.hero .logo {
  max-width: 220px;
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto 0.6rem;
}

.hero .logo-small {
  max-width: 120px;
  margin-bottom: 0.4rem;
}

.hero .store-name {
  font-family: 'Russo One', 'Black Han Sans', 'Poppins', sans-serif;
  font-size: 3.4rem;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
  line-height: 1;
  color: #111;
  text-transform: uppercase;
}

.hero .tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 6px;
  color: #111;
  opacity: 0.85;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Russo One', 'Black Han Sans', 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.hero p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.hero a { color: #111; text-decoration: underline; font-weight: 600; }
.hero p { color: #111; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Type tabs */
.type-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: white;
  border: 2px solid #e9e2db;
  color: #555;
  padding: 0.5rem 1.4rem;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover { border-color: #d4346f; color: #d4346f; }

.tab-btn.active {
  background: linear-gradient(120deg, #ff6fb5, #ffa86b);
  color: white;
  border-color: transparent;
}

/* Image wrap with badge */
.image-wrap {
  position: relative;
}

.type-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.type-readymade { background: #e85a8c; }
.type-unstitched { background: #ff8a4c; }
.type-dupatta { background: #6a1b9a; }

/* Hero banner */
#hero-banner-section { margin-bottom: 2.5rem; }

.hero-banner-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hero-banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero-banner-track::-webkit-scrollbar { display: none; }

.hero-banner {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  aspect-ratio: 2.4 / 1;
  min-height: 260px;
  max-height: 420px;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  padding: 1.5rem 2.5rem 1.5rem 1.8rem;
  overflow: hidden;
}

.theme-maroon { background: linear-gradient(120deg, #5a0e2a 0%, #7a1a3a 60%, #8a1538 100%); color: #f5d77a; }
.theme-pink   { background: linear-gradient(120deg, #ff6fa3, #ffae8a); color: #fff; }
.theme-gold   { background: linear-gradient(120deg, #d4a017, #f5cb5c); color: #2b1810; }

.hero-images {
  position: relative;
  height: 88%;
  display: flex;
  align-items: center;
}

.hero-img {
  position: absolute;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.hero-img-0 {
  left: 0;
  z-index: 1;
  transform: rotate(-2deg);
}

.hero-img-1 {
  left: 38%;
  z-index: 2;
  transform: rotate(4deg);
  border: 4px solid rgba(255, 235, 180, 0.85);
  outline: 1px dashed rgba(255, 235, 180, 0.5);
  outline-offset: 3px;
}

.theme-pink .hero-img-1 { border-color: rgba(255,255,255,0.9); outline-color: rgba(255,255,255,0.6); }
.theme-gold .hero-img-1 { border-color: rgba(43, 24, 16, 0.85); outline-color: rgba(43, 24, 16, 0.5); }

.hero-text {
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1;
  font-style: italic;
}

.hero-script {
  font-family: 'Pinyon Script', cursive;
  font-size: 4.2rem;
  line-height: 1;
  margin: 0.1rem 0 1rem;
  font-weight: 400;
}

.hero-offer {
  background: #f5d77a;
  color: #5a0e2a;
  border-radius: 6px;
  padding: 0.7rem 1.6rem;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  border: 2px dashed #5a0e2a;
  position: relative;
}

.hero-offer::before,
.hero-offer::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: inherit;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #5a0e2a;
}
.theme-maroon .hero-offer::before,
.theme-maroon .hero-offer::after { background: #7a1a3a; }
.theme-pink   .hero-offer::before,
.theme-pink   .hero-offer::after { background: #ff8aab; }
.theme-gold   .hero-offer::before,
.theme-gold   .hero-offer::after { background: #e0b53c; }

.hero-offer::before { left: -7px; }
.hero-offer::after  { right: -7px; }

.theme-pink .hero-offer  { background: #fff; color: #c2185b; border-color: #c2185b; }
.theme-gold .hero-offer  { background: #2b1810; color: #f5cb5c; border-color: #f5cb5c; }

.hero-offer-top {
  font-size: 0.72rem;
  letter-spacing: 3px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.hero-offer-big {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  margin: 0.15rem 0;
  font-family: 'Playfair Display', serif;
}

.hero-offer-sub {
  font-size: 0.72rem;
  letter-spacing: 3px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  line-height: 1;
}

.hero-arrow:hover { background: rgba(0,0,0,0.7); }
.hero-arrow-prev { left: 0.6rem; }
.hero-arrow-next { right: 0.6rem; }

.hero-dots {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.2s;
}

.hero-dot.active { background: white; width: 22px; border-radius: 4px; }

@media (max-width: 700px) {
  .hero-banner {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    padding: 1rem 0.9rem;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    height: 220px;
  }
  .hero-images {
    height: 100%;
    overflow: hidden;
  }
  .hero-img {
    height: 86%;
    aspect-ratio: 3 / 4;
    max-width: 65%;
  }
  .hero-img-0 { left: 0; transform: rotate(-3deg); }
  .hero-img-1 { left: 32%; border-width: 2px; transform: rotate(3deg); }
  .hero-script { font-size: 1.8rem; margin: 0 0 0.5rem; }
  .hero-eyebrow { font-size: 0.85rem; }
  .hero-offer-big { font-size: 1.25rem; }
  .hero-offer-top, .hero-offer-sub { font-size: 0.55rem; letter-spacing: 1.8px; }
  .hero-offer { padding: 0.35rem 0.7rem; }
  .hero-offer::before, .hero-offer::after { width: 8px; height: 8px; }
  .hero-arrow { width: 30px; height: 30px; font-size: 1.2rem; }
  .hero-arrow-prev { left: 0.3rem; }
  .hero-arrow-next { right: 0.3rem; }
  .hero-dots { bottom: 0.4rem; }
}

@media (max-width: 480px) {
  .hero-banner { height: 180px; padding: 0.7rem 0.6rem; }
  .hero-script { font-size: 1.4rem; }
  .hero-eyebrow { font-size: 0.75rem; }
  .hero-offer-big { font-size: 1.05rem; }
}

/* Home sections */
#home-sections { margin-bottom: 2rem; }

.section-block { margin-bottom: 2.5rem; }

.section-title {
  font-family: 'Russo One', 'Poppins', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-align: center;
  color: #3d3d3d;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.circle-row, .card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

@media (max-width: 700px) {
  .circle-row, .card-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.circle-card, .category-card {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  font-family: inherit;
}

.circle-frame {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #5a0e2a;
  background: #f0eae4;
  margin-bottom: 0.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 4px 14px rgba(90, 14, 42, 0.18);
}

.circle-card:hover .circle-frame {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(106, 27, 154, 0.25);
}

.circle-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-label, .category-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1a1a1a;
  text-transform: uppercase;
  text-align: center;
}

.category-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #5a0e2a;
  background: #f0eae4;
  margin-bottom: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(90, 14, 42, 0.18);
}

.category-frame img {
  display: block;
}

.category-card:hover .category-frame {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(106, 27, 154, 0.25);
}

.category-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card .category-label {
  background: white;
  padding: 0.55rem 0.6rem;
  width: 80%;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  color: #5a0e2a;
  font-weight: 700;
}

.placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0eae4, #e0d8d0);
}

.spotlight {
  text-align: center;
  margin-bottom: 1.5rem;
}

.view-all-link {
  display: inline-block;
  text-decoration: underline;
  color: #6a1b9a;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-top: -0.6rem;
}

.view-all-link:hover { color: #d4346f; }

@media (max-width: 600px) {
  .circle-row, .card-row { gap: 0.5rem; }
  .section-title { font-size: 1.1rem; letter-spacing: 1px; }
  .circle-label, .category-label { font-size: 0.65rem; letter-spacing: 1px; }
  .circle-frame { border-width: 3px; }
  .category-frame { border-width: 3px; }
  .category-card .category-label {
    width: 86%;
    padding: 0.35rem 0.3rem;
    bottom: 8px;
  }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.dress-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.dress-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.dress-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  cursor: zoom-in;
  background: #f0eae4;
}

/* Carousel on card */
.dress-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dress-carousel::-webkit-scrollbar { display: none; }

.carousel-slide {
  width: 100%;
  flex: 0 0 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  scroll-snap-align: start;
  cursor: zoom-in;
  background: #f0eae4;
  user-select: none;
}

.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  color: #333;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}

.dress-card:hover .card-arrow { opacity: 1; }
.dress-card:active .card-arrow { opacity: 1; }

.card-arrow-prev { left: 6px; }
.card-arrow-next { right: 6px; }

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 3;
  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 12px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: white;
  width: 14px;
  border-radius: 4px;
}

.dress-info {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dress-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1rem * 1.3 * 2);
}

.dress-desc-wrap {
  margin-bottom: 0.5rem;
  min-height: calc(0.82rem * 1.4 * 2);
  flex: 1;
}

.dress-desc {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.dress-desc.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

.view-more-btn {
  background: none;
  border: none;
  color: #d4346f;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0;
  margin-top: 0.15rem;
  cursor: pointer;
  text-decoration: underline;
}

.view-more-btn:hover { color: #6a1b9a; }

.dress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0 0.8rem;
}

.dress-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
}

.dress-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
}

.dress-price-original {
  font-size: 0.9rem;
  color: #888;
  text-decoration: line-through;
}

.dress-price-discount {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff5252;
  letter-spacing: 0.3px;
}

.dress-qty {
  font-size: 0.78rem;
  color: #666;
  background: #f5efe9;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

.dress-qty.low { background: #fde8e8; color: #c53030; }
.dress-qty.zero { background: #f0f0f0; color: #999; }

.whatsapp-btn {
  background: #25d366;
  color: white;
  border: none;
  padding: 0.65rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.whatsapp-btn:hover { background: #1eb852; }

.whatsapp-btn.disabled {
  background: #ccc;
  pointer-events: none;
}

.empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #888;
  font-size: 1rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 1.5rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.15);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
}

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

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  color: white;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  line-height: 1;
}

.lightbox-arrow:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.highlight-dress {
  animation: highlight-pulse 2.2s ease-out;
}

@keyframes highlight-pulse {
  0% { box-shadow: 0 0 0 0 rgba(90, 14, 42, 0.45); }
  50% { box-shadow: 0 0 0 18px rgba(90, 14, 42, 0); }
  100% { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
}

/* Share button on card */
.share-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(255,255,255,0.95);
  color: #5a0e2a;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.15s, background 0.15s;
}

.share-btn:hover {
  background: #5a0e2a;
  color: white;
  transform: scale(1.08);
}

/* Share fallback modal */
.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.share-card {
  background: white;
  border-radius: 14px;
  padding: 1.4rem 1.5rem 1.5rem;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}

.share-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #888;
}

.share-card h3 {
  font-family: 'Russo One', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.share-opt {
  padding: 0.7rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  color: white;
  font-family: inherit;
}

.sh-wa { background: #25d366; }
.sh-tg { background: #29b6f6; }
.sh-fb { background: #1877f2; }
.sh-tw { background: #1a1a1a; }
.sh-em { background: #5a6c80; }
.sh-copy { background: #5a0e2a; }

/* Image count badge on card */
.image-count-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(0,0,0,0.65);
  color: white;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Admin file input + preview */
.file-label {
  display: block;
  padding: 0.7rem 0.9rem;
  border: 2px dashed #d4a89a;
  border-radius: 8px;
  background: #fff8f5;
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
}

.file-label input[type="file"] {
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.preview-thumb {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #e9e2db;
}

/* Settings */
.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.settings-header h2 { margin-bottom: 0; }

.settings-section-title {
  font-family: 'Russo One', 'Poppins', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  margin: 0.8rem 0 0.6rem;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-secondary {
  background: #f0eae4;
  color: #555;
}

.btn-secondary:hover { background: #e9e2db; }

/* Password show/hide */
.password-wrap {
  position: relative;
  margin-bottom: 0.6rem;
}

.password-wrap input { padding-right: 70px; margin-bottom: 0; }

.show-pwd-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #d4346f;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

.show-pwd-btn:hover { color: #6a1b9a; }

/* Admin */
.card {
  background: white;
  border-radius: 14px;
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card h2 {
  font-family: 'Russo One', 'Poppins', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #2d2a26;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid #e9e2db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  margin-bottom: 0.6rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #d4346f;
}

.btn {
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(120deg, #ff6fb5, #ffa86b);
  color: white;
}

.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }

.btn-danger {
  background: #fee;
  color: #c53030;
  border: 1px solid #fcc;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn-danger:hover { background: #fdd; }

.btn-edit {
  background: #eef4ff;
  color: #2563eb;
  border: 1px solid #c7d8ff;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn-edit:hover { background: #dde9ff; }

/* Edit modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1500;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-overlay.active { display: flex; }

.modal {
  background: white;
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-header h2 {
  font-family: 'Russo One', 'Poppins', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { color: #333; }

.form-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.6rem;
}

.error {
  color: #c53030;
  font-size: 0.88rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.admin-card {
  background: #faf7f4;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.admin-card-info {
  padding: 0.7rem 0.85rem;
}

.admin-card-info h3 {
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.admin-card-info p {
  font-size: 0.8rem;
  color: #666;
}

.admin-card-actions {
  padding: 0 0.85rem 0.85rem;
  display: flex;
  gap: 0.3rem;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #999;
  font-size: 0.85rem;
}

.site-footer {
  background: linear-gradient(120deg, #ff6fb5 0%, #ffa86b 50%, #ffd56b 100%);
  color: #1a1a1a;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  text-align: left;
}

.footer-col-brand,
.footer-col-contact {
  text-align: left;
}

.footer-col-brand .footer-logo {
  max-width: 80px;
  margin-bottom: 0.8rem;
  display: block;
}

.footer-brand {
  font-family: 'Russo One', 'Poppins', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
  text-align: left;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(17,17,17,0.78);
  line-height: 1.6;
  margin-bottom: 1.3rem;
  max-width: 460px;
  text-align: left;
}

.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #5a0e2a;
  display: inline-block;
}

.contact-line {
  font-size: 0.88rem;
  color: #1a1a1a;
  line-height: 1.55;
  margin-bottom: 0.55rem;
  text-align: left;
}

.contact-label {
  font-weight: 700;
  color: #1a1a1a;
}

.contact-line a {
  color: #5a0e2a;
  text-decoration: none;
  font-weight: 600;
}

.contact-line a:hover { text-decoration: underline; }

.social-row {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  color: white;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.social-link.wa { background: #25d366; }
.social-link.wa-channel {
  background: #075e54;
  position: relative;
}
.social-link.wa-channel .channel-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f5d77a;
  color: #5a0e2a;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.social-link.ig { background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.social-link.em { background: #5a6c80; }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(17,17,17,0.6);
  letter-spacing: 1px;
  text-align: center;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.admin-link {
  color: #999;
  text-decoration: none;
}

.admin-link:hover { color: #d4346f; }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .card-arrow { opacity: 1; }
}

@media (hover: none) {
  .card-arrow { opacity: 1; }
}
