:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --bg: #f8f5ff;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --success: #16a34a;
  --shadow: 0 10px 30px rgba(40, 15, 90, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(130deg, #f5f0ff, #eef4ff 50%, #fef6fb);
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Navigation Sections */
.nav-section {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-section-main {
  /* Main menu items */
}

.nav-section-content {
  /* Content section with Gallery and Workshop */
  padding-left: 0.75rem;
  border-left: 1px solid #e9ddff;
  margin-left: 0.25rem;
}

.nav-section-admin {
  /* Admin items */
  padding-left: 0.75rem;
  border-left: 1px solid #e9ddff;
  margin-left: 0.25rem;
}

.nav-main-item {
  color: var(--text);
  text-decoration: none;
  margin-left: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-weight: 500;
  transition: 0.2s ease;
}

.nav-main-item:hover,
.nav-main-item.active {
  background: #ede9fe;
  color: var(--primary-dark);
}

.nav-new-badge::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ff6b6b;
  border-radius: 50%;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.nav-workshop-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
}

.nav-workshop-item:hover,
.nav-workshop-item.active {
  background: #ede9fe;
  color: var(--primary-dark);
}

.nav-admin-item {
  color: var(--text);
  text-decoration: none;
  margin-left: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-weight: 500;
  transition: 0.2s ease;
  font-size: 0.92rem;
}

.nav-admin-item:hover,
.nav-admin-item.active {
  background: #ddd0ff;
  color: #2f1a63;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #e9ddff;
  border-radius: 12px;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 26px rgba(40, 15, 90, 0.1);
  cursor: pointer;
}

.nav-toggle i {
  font-size: 1.1rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 1.1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  transition: 0.2s ease;
}

.nav-google {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-google i {
  color: #ea4335;
}

nav a:hover,
nav a.active {
  background: #ede9fe;
  color: var(--primary-dark);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 19;
}

.nav-dropdown > .nav-dropbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-left: 1.1rem;
  padding: 0.45rem 0.78rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 238, 255, 0.9));
  border: 1px solid #eadfff;
  color: #2f1a63;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(40, 15, 90, 0.08);
  transition: 0.22s ease;
}

.nav-dropbtn i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.nav-dropdown > .nav-dropbtn:hover,
.nav-dropdown:focus-within > .nav-dropbtn {
  background: linear-gradient(135deg, #efe8ff, #e8deff);
  border-color: #d8c8ff;
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(40, 15, 90, 0.14);
}

.nav-dropdown:hover > .nav-dropbtn i,
.nav-dropdown:focus-within > .nav-dropbtn i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 250px;
  padding: 0.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 243, 255, 0.99));
  border: 1px solid #e1d2ff;
  box-shadow: 0 24px 48px rgba(40, 15, 90, 0.2);
  display: none;
  z-index: 20;
  transform: translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 0.25rem;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  margin-left: 0;
  padding: 0.68rem 0.78rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: #efe7ff;
  color: #3d1f82;
  border-color: #dcc8ff;
  transform: translateX(2px);
}

.nav-dropdown-menu .sub-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #ece4ff, #ddd0ff);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.nav-studio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1.1rem;
  padding: 0.35rem 0.65rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.nav-studio-btn:hover,
.nav-studio-btn.active {
  background: #ede9fe;
  color: var(--primary-dark);
}

.workshop-page {
  padding-bottom: 3rem;
}

.workshop-page-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.workshop-page-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c84e89;
  margin-bottom: 0.6rem;
}

.workshop-page-intro h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.workshop-page-intro .workshop-lead {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.workshop-page-desc {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.workshop-page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  text-decoration: none;
}

.workshop-page-back:hover {
  color: #c84e89;
}

.workshop-page-icons {
  margin-bottom: 1.75rem;
}

.workshop-featured {
  margin: 0 0 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9ddff;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.workshop-featured img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.workshop-featured figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.workshop-page-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .workshop-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}

.nav-studio-icon {
  display: flex;
  color: var(--primary-dark);
}

.studio-spotlight {
  padding: 0.85rem 4% 0;
}

.studio-spotlight--prefooter {
  padding: 2rem 4% 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.workshop-live-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
}

.workshop-live-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.15rem;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  animation: workshop-icon-glow 2.8s ease-in-out infinite;
}

.workshop-live-icon:nth-child(2) {
  animation-delay: 0.4s;
}

.workshop-live-icon:nth-child(3) {
  animation-delay: 0.8s;
}

.workshop-live-icon:nth-child(4) {
  animation-delay: 1.2s;
}

.workshop-live-icon:nth-child(5) {
  animation-delay: 1.6s;
}

.workshop-live-icon--1 {
  background: linear-gradient(145deg, #f43f5e, #fb7185);
}

.workshop-live-icon--2 {
  background: linear-gradient(145deg, #8b5cf6, #a78bfa);
}

.workshop-live-icon--3 {
  background: linear-gradient(145deg, #0d9488, #2dd4bf);
}

.workshop-live-icon--4 {
  background: linear-gradient(145deg, #d97706, #fbbf24);
}

.workshop-live-icon--5 {
  background: linear-gradient(145deg, #2563eb, #60a5fa);
}

@keyframes workshop-icon-glow {
  0%,
  100% {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(124, 58, 237, 0.25);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14), 0 0 0 10px rgba(124, 58, 237, 0);
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .workshop-live-icon {
    animation: none;
  }

  .workshop-live-icons i {
    --fa-animation-duration: 0.01ms !important;
    --fa-animation-iteration-count: 1 !important;
  }
}

.studio-card {
  width: 100%;
  max-width: min(1140px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border: 1px solid #e9ddff;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f8f5ff);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.studio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(40, 15, 90, 0.14);
}

.studio-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ede9fe, #ddd6fe);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.studio-card-text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.studio-card-text strong {
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.studio-card-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

.studio-card-cta {
  flex-shrink: 0;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #070512;
  transition: opacity 900ms ease;
  opacity: 1;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(10, 6, 22, 0.35), rgba(10, 6, 22, 0.35)), var(--hero-img);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.08);
  filter: blur(18px) saturate(1.1) contrast(1.05) brightness(0.95);
  opacity: 0.92;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-bg.is-hidden {
  opacity: 0;
}

.hero-overlay {
  width: min(860px, 92%);
  color: #fff;
  background: rgba(20, 14, 41, 0.53);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2.2rem;
  position: relative;
  z-index: 1;
}

.hero-overlay-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.hero-overlay-left .btn {
  margin-top: 0.9rem;
}

.hero-overlay-right p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

@media (min-width: 760px) {
  .hero-overlay-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .hero-overlay-left {
    flex: 1.2;
  }

  .hero-overlay-right {
    flex: 1;
  }
}

.section {
  padding: 3rem 0;
}

.section-subtitle {
  color: var(--muted);
  margin-top: -0.2rem;
  margin-bottom: 1.2rem;
}

.carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.carousel.carousel-text-top .showcase-panel {
  /* no-op (previously for flex layout) */
}

.carousel.carousel-text-center .showcase-panel {
  /* no-op (previously for flex layout) */
}

.carousel-track {
  position: relative;
  min-height: clamp(460px, 68vh, 860px);
}

.showcase-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  opacity: 0;
  transition: opacity 0.45s ease;
  cursor: pointer;
}

.showcase-slide.active {
  opacity: 1;
  z-index: 1;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  min-height: clamp(460px, 68vh, 860px);
  object-fit: contain;
  object-position: center top;
  display: block;
}

.showcase-panel {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #4a1b2f, #7a2d4a 55%, #4b1830);
  color: #fff;
  padding: clamp(1.1rem, 2vw, 2rem);
  display: block;
}

.showcase-kicker {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

.showcase-badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  margin: 0 0 0.6rem;
}

.showcase-panel h3 {
  margin: 0 0 0.8rem;
  line-height: 1.1;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 2.9vw, 2.85rem);
  letter-spacing: 0.02rem;
}

.showcase-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0 0 1rem;
}

.showcase-sku {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.12rem;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.showcase-price {
  margin: 0;
  color: #f6d54a;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

.showcase-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.showcase-points li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.showcase-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.9);
}

.showcase-image {
  background: #fff;
  display: grid;
  place-items: center;
}

.showcase-image img {
  background: #fff;
}

@media (max-width: 860px) {
  .carousel-track {
    min-height: 700px;
  }

  .showcase-slide {
    grid-template-columns: 1fr;
  }

  .showcase-image img {
    min-height: 460px;
    object-position: center top;
  }

  .showcase-kicker {
    text-align: left;
  }
}

.workshop-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 5, 14, 0.62);
  backdrop-filter: blur(4px);
  z-index: 60;
  padding: 1rem;
  overflow-y: auto;
}

.workshop-popup.open {
  display: flex;
}

.workshop-popup-card {
  position: relative;
  width: min(920px, 96vw);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--surface);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.workshop-popup-card .popup-close {
  color: var(--text);
}

.workshop-popup-card h3 {
  margin: 0 2rem 0.35rem 0;
  font-size: 1.35rem;
  color: var(--primary-dark);
}

.workshop-lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.workshop-thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.workshop-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(40, 15, 90, 0.12);
}

.workshop-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.product-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 5, 14, 0.62);
  backdrop-filter: blur(10px);
  z-index: 50;
  padding: 1rem;
  overflow: hidden;
}

.product-popup.open {
  display: flex;
}

.product-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(7, 5, 14, 0.75), rgba(7, 5, 14, 0.75)), var(--popup-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(12px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.9;
}

.popup-paused {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  background: #b91c1c;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.product-popup-card {
  width: min(480px, 94vw);
  position: relative;
  z-index: 1;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #0b0714, #1a0830 60%, #12051f);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.6rem 1.3rem 1.35rem;
  text-align: center;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
}

.product-popup-card h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.1;
  font-family: "Playfair Display", serif;
}

.popup-brand {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
}

.popup-sku {
  margin: 0.3rem 0 0.55rem;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.popup-price {
  margin: 0 0 0.75rem;
  color: #f6d54a;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.popup-desc,
.popup-size {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.popup-desc {
  margin-bottom: 0.25rem;
}

.popup-hint {
  margin: 1.1rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.popup-close {
  float: right;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  margin-top: -0.3rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 14, 41, 0.55);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

.carousel-btn.carousel-btn--toggle {
  top: 12px;
  right: 12px;
  transform: none;
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02rem;
  background: rgba(20, 14, 41, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.carousel-toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.carousel-toggle-label {
  line-height: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(20, 14, 41, 0.75);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.category-card {
  background: var(--surface);
  border: 1px solid #e9ddff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

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

.category-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #f8f5ff;
  display: block;
}

.category-card h3 {
  margin: 0;
  padding: 0.85rem 0.9rem 0.95rem;
  color: var(--primary-dark);
  font-size: 1rem;
}

.category-link {
  display: inline-block;
  margin: 0 0.9rem 0.95rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  color: var(--primary-dark);
  background: #ede9fe;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.blouse-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 0.6rem;
  scroll-snap-type: x mandatory;
}

.blouse-item {
  min-width: min(88vw, 350px);
  background: var(--surface);
  border: 1px solid #e6e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.blouse-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-brand {
  background: var(--surface);
  border-radius: 16px;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  box-shadow: var(--shadow);
}

.about-brand h2 {
  margin-top: 0;
}

.about-brand p {
  margin-bottom: 0.75rem;
  color: #374151;
  line-height: 1.7;
}

.card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

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

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  margin: 0 0 0.35rem;
}

.price {
  font-weight: 700;
  color: var(--primary-dark);
}

.btn {
  display: inline-block;
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #ef4444;
}

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

.full-width {
  width: 100%;
}

.checkout-layout,
.admin-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
}

.checkout-card {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.cart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.cart-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #d1d5db;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.price-row.total {
  font-size: 1.08rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.6rem;
}

.mini-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.mini-item {
  padding: 0.55rem 0.7rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.success-msg {
  min-height: 1.4rem;
  color: var(--success);
  font-weight: 500;
  margin-top: 0.7rem;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 1.2rem 0 1.6rem;
}

.footer-visit {
  max-width: 32rem;
  margin: 0 auto 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-visit-title {
  margin: 0 0 0.35rem;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.footer-address {
  margin: 0 0 0.5rem;
  font-style: normal;
  color: var(--muted);
}

.footer-directions {
  margin: 0;
}

.footer-directions a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.footer-directions a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 4%;
    left: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e9ddff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(40, 15, 90, 0.16);
    backdrop-filter: blur(8px);
  }

  .site-nav.is-open {
    display: flex;
  }

  /* Mobile nav sections */
  .nav-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
    padding: 0.5rem 0;
  }

  .nav-section-content,
  .nav-section-admin {
    border-left: none;
    border-top: 1px solid #e9ddff;
    padding-left: 0;
    margin-left: 0;
    padding-top: 0.5rem;
  }

  .nav-main-item,
  .nav-admin-item,
  .nav-workshop-item,
  .site-nav a,
  .site-nav .nav-studio-btn {
    margin-left: 0;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    justify-content: flex-start;
  }

  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .nav-dropdown > .nav-dropbtn {
    margin-left: 0;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 0.35rem;
    background: rgba(237, 233, 254, 0.45);
    border-color: rgba(220, 203, 255, 0.9);
    min-width: 100%;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

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

  .showcase-slide {
    grid-template-columns: 1fr;
  }

  .showcase-panel h3 {
    font-size: 1.55rem;
  }

  .blouse-item {
    min-width: 86vw;
  }

  .nav-studio-btn {
    font-size: 0.8rem;
  }
}
