/* Store buy row and inline controls for new layout */
.store-buy-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}
.store-buy-form {
  width: 100%;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}
.store-qty-inline {
  width: 48px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ddd;
  text-align: center;
}
.store-code-inline {
  width: 110px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.store-buy-btn-inline {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.store-buy-btn-inline:hover {
  background: #c32020;
}
/* Store grid and card styles for new layout */
.store-grid {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin: 0px 0;
  align-items: center;
}
.store-card {
  margin-bottom: 0;
}
.store-card {
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 18px 12px 12px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.store-card {
  width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 18px 12px 12px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.store-image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.store-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #222;
}
.store-price {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #c32020;
}
.store-buy-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}
.store-buy-form {
  width: 100%;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}
.store-qty-inline {
  width: 36px;
  padding: 4px;
  border-radius: 6px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 0.95rem;
}
.store-code-inline {
  width: 80px;
  padding: 4px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}
.store-buy-btn-inline {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.store-buy-btn-inline:hover {
  background: #c32020;
}
.store-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 24px 18px 18px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.store-image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.store-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}
.store-price {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #c32020;
}
.store-rating {
  margin-bottom: 8px;
}
.star {
  color: #ccc;
  font-size: 1.1rem;
  margin: 0 1px;
}
.star.filled {
  color: #f5b301;
}
.store-buy-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.store-qty {
  width: 60px;
  margin-bottom: 8px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.store-code {
  width: 120px;
  margin-bottom: 8px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.store-buy-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.store-buy-btn:hover {
  background: #c32020;
}
/* Popup notification for flash messages */
.popup-notice {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 9999;
  background: #222;
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  font-size: 1.1rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.popup-notice.success {
  background: #2e7d32;
  color: #fff;
}
.popup-notice.error {
  background: #c32020;
  color: #fff;
}
/* TSHEN Global Styles - Premium Edition */
:root {
  /* Premium theme tokens */
  --bg: #ffffff;
  --surface: #f8f8f8;
  --card: #ffffff;
  --hero: transparent;
  --text: #111111;
  --muted: #6e6e73;
  --border: #e5e5e7;
  --bg-invert: #000000;
  --text-invert: #ffffff;
  --accent: #c32020; /* subtle red accent for CTAs */
  --accent-light: rgba(195, 32, 32, 0.1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --anim-dur: .6s;
  --anim-stagger-step: 90ms;
}

.cta-btn, .gallery img {
        transition: none;
        margin-bottom: 60px;
}

* {
   box-sizing: border-box;
   }
/* GTSectraFine-Book font */
@font-face {
  font-family: 'GTSectraFine-Book';
  src: url('fonts/GTSectraFine-Book.woff2') format('woff2'),
       url('fonts/GTSectraFine-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body { 
  margin:0; 
  font-family: 'GTSectraFine-Book', Georgia, serif; 
  background:var(--bg-invert); 
  color:var(--text); 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top:80px; /* Added padding to account for fixed header */
}
/* Site Header (black background with navigation) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #000;
  z-index: 1000;
  box-shadow: var(--shadow);
}

/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  min-width: 160px;
  box-shadow: var(--shadow);
  z-index: 1001;
  border-radius: 8px;
  overflow: hidden;
}

.dropdown-content a {
  color: var(--text);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s;
}

.dropdown-content a:hover {
  background-color: var(--accent-light);
  color: var(--accent);
}

.profile-dropdown:hover .dropdown-content {
  display: block;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  background-color: #8b0000;
  padding: 5px 10px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0 15px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.main-nav a:hover, 
.main-nav a.active {
  color: #e63946;
}

.auth-container {
  display: flex;
  align-items: center;
}

.auth-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* Inspiring Classes Section - Third Space London Style */
.inspiring-classes-section {
     width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(40% - 40vw);
  padding: 80px 0;
  background-color: transparent;
  text-align: left;
  
}

.inspiring-classes-header {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
   
}

.inspiring-classes-header h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}

.inspiring-classes-header p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--bg);
}

.class-slider-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.class-cards-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 80%;
  margin: 0 auto;
}

.class-cards-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.class-card-horizontal {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 0;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

.class-card-horizontal.animate-in {
  animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.class-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.class-card-horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.class-card-horizontal:hover img {
  transform: scale(1.05);
}

.class-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  transform: translateY(0);
  transition: transform 0.4s ease;
  height: 100%;
}

.class-info {
  max-width: 80%;
  transform: translateY(calc(100% - 40px));
  transition: transform 0.5s ease;
}

.class-card-horizontal:hover .class-info {
  transform: translateY(0);
}

.class-card-horizontal:hover .class-card-overlay {
  transform: translateY(-5px);
}

.class-card-overlay h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.class-description {
  color: white;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.5s ease;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.class-card-horizontal:hover .class-description {
  opacity: 1;
  max-height: 200px;
}

.class-card-horizontal:hover .class-card-overlay h3 {
  transform: translateY(-5px);
}

.class-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: black;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  transform: scale(1);
  align-self: flex-end;
  z-index: 2;
}

.class-card-btn:hover {
  background-color: var(--accent);
  color: white;
  transform: scale(1.1);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-nav:hover {
  background-color: white;
  color: black;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

@media (max-width: 992px) {
  .class-card-horizontal {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .class-card-horizontal {
    min-width: 250px;
    height: 250px;
  }
  
  .class-info {
    max-width: 70%;
  }
  
  .class-description {
    font-size: 0.8rem;
  }
  
  .class-card-horizontal:hover .class-description {
    opacity: 1;
    max-height: 200px;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .class-card-horizontal {
    width: 100%;
  }
}

/* Contact Form Styles */
.contact-section {
  padding: 60px ;
}

.black-overlay {
  background-color: var(--bg-invert);
  color: white;
  position: relative;
  padding: 100px 0;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}
.contact-form { 
  background: var(--card); 
  padding: 40px; 
  border-radius: 4px; 
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, 
.form-group select,
.form-group textarea { 
  width: 100%; 
  padding: 16px; 
  border: 1px solid var(--border); 
  border-radius: 2px; 
  background: var(--bg);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease;
}
.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .cta-btn { 
  margin-top: 20px; 
  width: 100%; 
  background: var(--accent);
  color: var(--text-invert);
  border: none;
  padding: 16px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border-radius: 30px;
  transition: background 0.2s ease;
}
.contact-form .cta-btn:hover {
  background: var(--bg-invert);
  color:#fff;
  border-radius: 30px;
}
.primary-nav { display:flex; gap:22px; justify-content:start; margin-left: 100px; color:var(--accent);} 
