/* ==========================================================================
   EASE CREATIVE SUITE - OFFICIAL WEB PORTAL
   Color System: Pure White (#FFFFFF), Deep Black (#111827), Greenish Navy Blue (#0B3B4A)
   Strictly NO RED across the entire application
   ========================================================================== */

:root {
  /* Brand Colors: Greenish Navy Blue, Black, White */
  --navy-dark: #072630;
  --navy-primary: #0B3B4A;
  --navy-medium: #0F4A5C;
  --navy-light: #166075;
  --navy-subtle: #EBF3F5;
  --navy-hover: #125569;
  
  --accent-teal: #0D9488;
  --accent-cyan: #06B6D4;
  --accent-emerald: #059669;
  --accent-amber: #D97706; /* For star ratings */
  
  --color-black: #0F172A;
  --color-dark: #1E293B;
  --color-gray-dark: #334155;
  --color-gray-medium: #64748B;
  --color-gray-light: #CBD5E1;
  --color-gray-subtle: #F1F5F9;
  --color-white: #FFFFFF;
  --color-offwhite: #F8FAFC;
  
  --shadow-sm: 0 1px 2px 0 rgba(11, 59, 74, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(11, 59, 74, 0.1), 0 2px 4px -2px rgba(11, 59, 74, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(11, 59, 74, 0.12), 0 4px 6px -4px rgba(11, 59, 74, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(11, 59, 74, 0.16), 0 8px 10px -6px rgba(11, 59, 74, 0.08);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-offwhite);
  color: var(--color-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy-primary) 50%, var(--navy-dark) 100%);
  color: var(--color-white);
  font-size: 0.825rem;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-badge {
  background-color: var(--accent-teal);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.725rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar-stars {
  color: #FBBF24;
  margin-right: 4px;
}

.top-bar-center {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.top-bar-center .highlight {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-link {
  color: var(--color-gray-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-link:hover {
  color: var(--color-white);
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
.main-header {
  background-color: var(--color-white);
  padding: 14px 32px;
  border-bottom: 1px solid var(--color-gray-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 50;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 540px;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 12px 48px 12px 18px;
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  transition: var(--transition);
  background-color: var(--color-offwhite);
}

.search-input:focus {
  border-color: var(--navy-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(11, 59, 74, 0.1);
}

.search-btn {
  position: absolute;
  right: 6px;
  background-color: var(--navy-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background-color: var(--navy-hover);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-light);
  max-height: 360px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-gray-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.search-result-item:hover {
  background-color: var(--navy-subtle);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-light);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--navy-subtle);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-text .contact-label {
  font-size: 0.75rem;
  color: var(--color-gray-medium);
  font-weight: 500;
}

.contact-text .contact-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-black);
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  background-color: var(--color-offwhite);
  color: var(--color-black);
  border: 1px solid var(--color-gray-light);
}

.action-btn:hover {
  background-color: var(--navy-subtle);
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

.cart-btn {
  position: relative;
  background-color: var(--navy-primary);
  color: var(--color-white);
  border: none;
}

.cart-btn:hover {
  background-color: var(--navy-hover);
  color: var(--color-white);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--accent-teal);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
}

/* ==========================================================================
   MAIN NAVIGATION BAR (CanvasChamp style)
   ========================================================================== */
.main-nav {
  background-color: var(--color-black);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 15px 22px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  background-color: var(--navy-primary);
  color: var(--color-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--accent-cyan);
}

.nav-badge-pill {
  display: inline-block;
  background: var(--accent-teal);
  color: var(--color-white);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-right-banner {
  color: var(--color-white);
  font-size: 0.825rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta-btn {
  background-color: var(--navy-primary);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--navy-light);
}

.nav-cta-btn:hover {
  background-color: var(--navy-light);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #072630 0%, #0B3B4A 60%, #166075 100%);
  color: var(--color-white);
  padding: 64px 32px 80px;
  overflow: hidden;
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 36px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.925rem;
  font-weight: 500;
  color: #F8FAFC;
}

.hero-feature-icon {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  background-color: var(--color-white);
  color: var(--navy-primary);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  background-color: var(--navy-subtle);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.hero-boxes-stage {
  --box-h: 400px;
  --box-shift: 175px;
  --box-tuck: 115px;
  position: relative;
  width: 100%;
  height: calc(var(--box-h) + 28px);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  user-select: none;
}

.hero-box-item {
  position: absolute;
  top: 50%;
  left: 50%;
  height: var(--box-h);
  width: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.38s ease, filter 0.72s ease;
  will-change: transform, opacity;
  cursor: pointer;
}

.hero-box-item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
}

.hero-box-item.pos-center {
  transform: translate(-50%, -50%) translateX(0) scale(1);
  z-index: 10;
  opacity: 1;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.55));
}

.hero-box-item.pos-left {
  transform: translate(-50%, -50%) translateX(calc(-1 * var(--box-shift))) scale(0.62);
  z-index: 4;
  opacity: 1;
  filter: brightness(0.88) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.38));
}

.hero-box-item.pos-right {
  transform: translate(-50%, -50%) translateX(var(--box-shift)) scale(0.62);
  z-index: 4;
  opacity: 1;
  filter: brightness(0.88) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.38));
}

.hero-box-item.pos-back-left {
  transform: translate(-50%, -50%) translateX(calc(-1 * var(--box-tuck))) scale(0.45);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.hero-box-item.pos-back-right {
  transform: translate(-50%, -50%) translateX(var(--box-tuck)) scale(0.45);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1180px) and (min-width: 1025px) {
  .hero-boxes-stage {
    --box-h: 345px;
    --box-shift: 148px;
    --box-tuck: 95px;
  }
}

@media (max-width: 560px) {
  .hero-boxes-stage {
    --box-h: 265px;
    --box-shift: 112px;
    --box-tuck: 72px;
  }
}

/* ==========================================================================
   APP SHOWCASE / SECTION CONTAINER
   ========================================================================== */
.section-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  background-color: var(--navy-subtle);
  color: var(--navy-primary);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  color: var(--color-black);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray-medium);
  line-height: 1.6;
}

/* ==========================================================================
   DOWNLOAD APPS TABBED SECTION (Modeled after easecreativesuite.com)
   Apps at top, images/preview at bottom
   ========================================================================== */
.download-apps-section {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-light);
  margin-bottom: 48px;
}

/* Top: Apps Selector Ribbon */
.apps-selector-ribbon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-gray-subtle);
}

.app-selector-card {
  background-color: var(--color-offwhite);
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.app-selector-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy-primary);
  box-shadow: var(--shadow-md);
}

.app-selector-card.active {
  background-color: var(--navy-primary);
  color: var(--color-white);
  border-color: var(--navy-primary);
  box-shadow: var(--shadow-lg);
}

.app-selector-card.active .app-card-title {
  color: var(--color-white);
}

.app-selector-card.active .app-card-tag {
  background-color: var(--accent-cyan);
  color: var(--color-black);
}

.app-card-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.app-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 4px;
}

.app-card-version {
  font-size: 0.75rem;
  color: var(--color-gray-medium);
  font-weight: 600;
}

.app-selector-card.active .app-card-version {
  color: #CBD5E1;
}

.app-card-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background-color: var(--navy-subtle);
  color: var(--navy-primary);
  text-transform: uppercase;
}

/* Bottom: App Preview & Download Details */
.app-detail-showcase {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.app-detail-content {
  padding-right: 20px;
}

.app-detail-badge {
  display: inline-block;
  background-color: var(--navy-subtle);
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.app-detail-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.app-detail-description {
  font-size: 1.05rem;
  color: var(--color-gray-dark);
  margin-bottom: 24px;
  line-height: 1.6;
}

.app-detail-features {
  list-style: none;
  margin-bottom: 28px;
}

.app-detail-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--color-black);
  font-weight: 500;
}

.feature-check {
  color: var(--accent-teal);
  font-weight: 900;
}

.app-download-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-btn-main {
  background-color: var(--navy-primary);
  color: var(--color-white);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.download-btn-main:hover {
  background-color: var(--navy-hover);
  transform: translateY(-2px);
}

.download-sublinks {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-gray-medium);
}

.download-sublink {
  color: var(--navy-primary);
  text-decoration: underline;
  font-weight: 600;
}

.app-detail-visual {
  background: linear-gradient(135deg, var(--navy-subtle) 0%, #FFFFFF 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-gray-light);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.app-detail-image-mockup {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(11, 59, 74, 0.15);
  display: block;
  background-color: var(--color-white);
}

/* ==========================================================================
   MEDIA SECTION (Tutorials, Flyers, Social Handles)
   ========================================================================== */
.video-showcase-section, .media-showcase-section {
  background-color: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-xl);
  border: 1px solid #1E293B;
}

.video-showcase-header, .media-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}

.media-tabs, .video-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.media-tab-btn, .video-tab-btn {
  background-color: #1E293B;
  color: #CBD5E1;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  user-select: none;
}

.media-tab-btn:hover, .video-tab-btn:hover {
  background-color: #334155;
  color: var(--color-white);
  border-color: #475569;
}

.media-tab-btn.active, .video-tab-btn.active {
  background-color: var(--navy-primary);
  color: var(--color-white);
  border-color: #d4af37;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.tutorials-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
}

.tutorials-player-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-player-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
  max-height: 495px;
}

.tutorial-series-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #0f161e;
  border: 1px solid #1E293B;
  border-radius: var(--radius-md);
}

.tutorial-series-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tutorial-series-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #d4af37;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.tutorial-series-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.tutorial-series-chip {
  text-align: left;
  background: #141a21;
  color: #cbd5e1;
  border: 1px solid #263241;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tutorial-series-chip:hover {
  border-color: #475569;
  color: #ffffff;
}

.tutorial-series-chip.active {
  background: #122830;
  color: #d4af37;
  border-color: #d4af37;
}

.tutorials-sidebar {
  background: #0f161e;
  border: 1px solid #1E293B;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  max-height: 495px;
  overflow: hidden;
}

.tutorials-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #141d26;
  border-bottom: 1px solid #1E293B;
  flex-shrink: 0;
}

.tutorials-sidebar-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tutorials-sidebar-heading {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
}

.tutorials-counter-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
}

.tutorials-nav-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tutorials-nav-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #1E293B;
  color: #e2e8f0;
  border: 1px solid #334155;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tutorials-nav-btn:hover {
  background: #0B3B4A;
  border-color: #d4af37;
  color: #d4af37;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
  display: block;
}

.tutorial-coming-soon {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0b141a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tutorial-coming-soon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(2px);
}

.tutorial-coming-soon-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 32px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  background: rgba(11, 26, 34, 0.88);
  max-width: 460px;
}

.tutorial-coming-soon-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #d4af37;
  margin-bottom: 8px;
}

.tutorial-coming-soon-overlay h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #ffffff;
}

.tutorial-coming-soon-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.media-panel {
  display: none;
  animation: fadeInMedia .25s ease forwards;
}
.media-panel.active {
  display: block;
}
@keyframes fadeInMedia {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tutorials Title List */
.media-tutorials-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.45) #0f161e;
}

.media-tutorials-list::-webkit-scrollbar {
  width: 6px;
}

.media-tutorials-list::-webkit-scrollbar-track {
  background: #0f161e;
}

.media-tutorials-list::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.45);
  border-radius: 999px;
}

.media-subtab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid #1E293B;
  border-left: 3px solid transparent;
  padding: 12px 14px;
  color: #CBD5E1;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.media-subtab-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  background: #18222c;
  border: 1px solid #263241;
  border-radius: 999px;
  padding: 2px 7px;
  flex-shrink: 0;
}

.media-subtab.active .media-subtab-count {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.35);
}

.tutorial-sector-sublist {
  display: none;
  flex-direction: column;
  background: #0b1117;
  border-bottom: 1px solid #1E293B;
}

.tutorial-sector-sublist.open {
  display: flex;
}

.tutorial-sector-video-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-left: 3px solid rgba(212, 175, 55, 0.28);
  padding: 8px 14px 8px 24px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tutorial-sector-video-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.tutorial-sector-video-btn.active {
  color: #d4af37;
  font-weight: 700;
  background: rgba(18, 40, 48, 0.5);
  border-left-color: #d4af37;
}

.media-subtab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.media-subtab.active {
  background: rgba(18, 40, 48, 0.85);
  color: #d4af37;
  border-left-color: #d4af37;
}

.tutorials-up-next-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: #122830;
  border: none;
  border-top: 1px solid #1E293B;
  cursor: pointer;
  text-align: left;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.tutorials-up-next-btn:hover {
  background: #163440;
}

.up-next-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #d4af37;
  flex-shrink: 0;
}

.up-next-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .tutorials-split-layout {
    grid-template-columns: 1fr;
  }

  .tutorials-sidebar {
    max-height: 290px;
  }
}

/* Flyers Filter Bar & Masonry Waterfall */
.media-flyers-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.media-flyer-filter-btn {
  background: #141417;
  color: #CBD5E1;
  border: 1px solid #27272a;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}

.media-flyer-filter-btn:hover {
  background: #1E293B;
  color: #ffffff;
  border-color: #3f3f46;
}

.media-flyer-filter-btn.active {
  background: var(--navy-primary);
  color: #ffffff;
  border-color: #d4af37;
}

.media-flyers-grid {
  display: block;
  width: 100%;
}

.media-flyers-waterfall {
  display: flex;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}

.media-flyers-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.media-flyer-card {
  background: #141417;
  border: 1px solid #27272a;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.media-flyer-card:hover {
  transform: translateY(-4px);
  border-color: #d4af37;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.media-flyer-thumb {
  position: relative;
  width: 100%;
  background: #09090b;
  overflow: hidden;
  cursor: pointer;
}

.media-flyer-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s ease;
}

.media-flyer-card:hover .media-flyer-thumb img {
  transform: scale(1.03);
}

.media-flyer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 26, 32, 0.9);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.media-flyer-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-flyer-body h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.media-flyer-meta {
  font-size: 0.74rem;
  color: #94A3B8;
  margin: 0;
}

.media-flyer-actions {
  display: flex;
  gap: 8px;
}

.media-flyer-action {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #0b1a20;
  border: none;
  border-radius: 7px;
  padding: 9px 12px;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.18s ease;
  flex: 1;
}

.media-flyer-action:hover {
  filter: brightness(1.12);
}

.media-flyer-preview-btn {
  background: #1E293B;
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: 7px;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all .18s ease;
}

.media-flyer-preview-btn:hover {
  background: var(--navy-primary);
  border-color: #d4af37;
}

/* Graphic Full-Size Lightbox */
.media-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 14, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.media-lightbox.active {
  display: flex;
}

.media-lightbox-dialog {
  background: #141417;
  border: 1px solid #27272a;
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.media-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  background: #18181b;
  border-bottom: 1px solid #27272a;
  flex-wrap: wrap;
}

.media-lightbox-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #d4af37;
  letter-spacing: 0.8px;
}

.media-lightbox-head h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 2px 0 0;
}

.media-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-lightbox-dl-btn {
  background: #1E293B;
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s ease;
}

.media-lightbox-dl-btn:hover {
  background: var(--navy-primary);
  border-color: #d4af37;
}

.media-lightbox-close {
  background: #27272a;
  color: #ffffff;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.media-lightbox-close:hover {
  background: #ffffff;
  color: #111111;
}

.media-lightbox-body {
  padding: 20px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #09090b;
  flex: 1;
}

.media-lightbox-body img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 8px;
}

/* Social Handles Grid */
.media-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.media-social-card {
  background: #141417;
  border: 1px solid #27272a;
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .22s ease, border-color .22s ease;
}

.media-social-card:hover {
  transform: translateY(-3px);
  border-color: #d4af37;
}

.media-social-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0B3B4A;
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-social-handle {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.media-social-platform {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #d4af37;
  letter-spacing: 0.8px;
  margin-top: 2px;
}

.media-social-info p {
  font-size: 0.78rem;
  color: #94A3B8;
  margin: 6px 0 0;
  line-height: 1.4;
}

.media-social-link {
  margin-top: auto;
  background: #1E293B;
  color: #ffffff;
  border: 1px solid #334155;
  border-radius: 7px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.media-social-link:hover {
  background: var(--navy-primary);
  border-color: #d4af37;
  color: #ffffff;
}

/* ==========================================================================
   SHOP SECTION (Photo Gifts Replacement)
   Frames, boards, flash disks, CD covers, mouse, keyboards, battery dummies,
   camera covers, lens covers, photo framing, photo boarding
   ========================================================================== */
.shop-filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-light);
  box-shadow: var(--shadow-sm);
}

.shop-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--color-offwhite);
  color: var(--color-gray-dark);
  border: 1px solid var(--color-gray-light);
}

.shop-filter-btn:hover, .shop-filter-btn.active {
  background-color: var(--navy-primary);
  color: var(--color-white);
  border-color: var(--navy-primary);
}

.shop-sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-gray-dark);
}

.shop-sort-select {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gray-light);
  background-color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-black);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-light);
}

.product-image-box {
  height: 220px;
  background: linear-gradient(135deg, var(--navy-subtle) 0%, #FFFFFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.product-image-box.has-photo {
  background: #ffffff;
  padding: 12px;
  cursor: zoom-in;
  border-bottom: 1px solid #f1f5f9;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(11, 59, 74, 0.86);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background .18s ease, transform .18s ease;
}

.product-gallery-nav:hover {
  background: var(--navy-primary);
  border-color: #d4af37;
  transform: translateY(-50%) scale(1.08);
}

.product-gallery-nav.prev { left: 8px; }
.product-gallery-nav.next { right: 8px; }

.product-photo-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(11, 59, 74, 0.88);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  z-index: 3;
}

.product-thumb-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-gray-light);
  overflow-x: auto;
}

.product-thumb-btn {
  width: 38px;
  height: 38px;
  padding: 2px;
  border-radius: 6px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition: border-color .16s ease, transform .16s ease;
}

.product-thumb-btn:hover {
  border-color: var(--navy-light);
  transform: translateY(-1px);
}

.product-thumb-btn.active {
  border-color: #0B3B4A;
  box-shadow: 0 0 0 1px #d4af37;
}

.product-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--navy-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-rating {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-details {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-black);
}

.product-description {
  font-size: 0.85rem;
  color: var(--color-gray-medium);
  margin-bottom: 16px;
  flex: 1;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-primary);
}

.product-old-price {
  font-size: 0.9rem;
  color: var(--color-gray-medium);
  text-decoration: line-through;
}

.product-btn-add {
  background-color: var(--navy-primary);
  color: var(--color-white);
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-btn-add:hover {
  background-color: var(--navy-hover);
}

/* ==========================================================================
   WEB APPS & 4% 24-HOUR PASS (Sculptures & Figurines Replacement)
   Open apps online & login, or 1-time 24h pass at 4% payment
   ========================================================================== */
.web-apps-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 70%, #166075 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-xl);
}

.web-apps-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pass-card-box {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  position: relative;
}

.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.pass-tag {
  background-color: var(--accent-cyan);
  color: var(--color-black);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pass-calc {
  margin-bottom: 24px;
}

.pass-regular-price {
  font-size: 1rem;
  color: #CBD5E1;
}

.pass-deal-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin: 6px 0;
}

.pass-deal-highlight {
  color: var(--accent-cyan);
}

.pass-terms {
  font-size: 0.85rem;
  color: #E2E8F0;
  margin-bottom: 24px;
}

.pass-activate-btn {
  background-color: var(--accent-cyan);
  color: var(--color-black);
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pass-activate-btn:hover {
  background-color: #38BDF8;
  transform: translateY(-2px);
}

/* Web App Interactive Simulator */
.web-app-simulator {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--color-gray-light);
  box-shadow: var(--shadow-lg);
  margin-bottom: 64px;
}

.simulator-nav {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--color-gray-subtle);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.sim-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  background-color: var(--color-offwhite);
  color: var(--color-gray-dark);
}

.sim-tab-btn.active {
  background-color: var(--navy-primary);
  color: var(--color-white);
}

.sim-workspace {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  background-color: var(--color-offwhite);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-gray-light);
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 6px;
}

.control-slider {
  width: 100%;
  accent-color: var(--navy-primary);
}

.sim-canvas-area {
  background-color: #000;
  border-radius: var(--radius-md);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sim-preview-image {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  transition: filter 0.1s ease;
}

/* ==========================================================================
   E-EDIT SECTION (Rugs & Floor Decor Replacement)
   Photographer sends photos to be edited:
   - Event samples
   - Whole event editing
   - Pics to be colored without skin smoothening (full or samples)
   - Pics to be made into e-photobook
   ========================================================================== */
.e-edit-hero {
  background: linear-gradient(135deg, var(--navy-primary) 0%, #072630 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-xl);
}

.e-edit-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--navy-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border-color: var(--navy-primary);
  background: linear-gradient(180deg, var(--navy-subtle) 0%, #FFFFFF 100%);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--navy-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--color-gray-medium);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.5;
}

.service-price-tag {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--color-gray-subtle);
}

/* E-Edit Live Pricing Calculator & Submission */
.e-edit-calculator-box {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-gray-light);
  box-shadow: var(--shadow-lg);
  margin-bottom: 64px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.calc-step {
  margin-bottom: 24px;
}

.calc-step-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.radio-pills-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.radio-pill {
  padding: 12px 16px;
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
}

.radio-pill.active {
  border-color: var(--navy-primary);
  background-color: var(--navy-subtle);
  color: var(--navy-primary);
}

/* E-Edit Multi-Service Checkboxes + Direct Quantity Inputs */
.eedit-multi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eedit-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  background: var(--color-offwhite);
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, background-color .18s ease;
}

.eedit-service-row:hover {
  border-color: var(--navy-light);
}

.eedit-service-row.is-checked {
  border-color: var(--navy-primary);
  background: var(--navy-subtle);
}

.eedit-service-check-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.eedit-service-chk {
  width: 20px;
  height: 20px;
  accent-color: var(--navy-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.eedit-service-check-wrap strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--color-black);
}

.eedit-service-rate {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-top: 2px;
}

.eedit-qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.eedit-qty-wrap label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gray-dark);
}

.eedit-qty-input {
  width: 96px;
  padding: 8px 10px;
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-primary);
  background: var(--color-white);
  text-align: center;
}

.eedit-qty-input:focus {
  outline: none;
  border-color: var(--navy-primary);
}

.eedit-speed-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-offwhite);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gray-light);
}

.eedit-speed-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-black);
  cursor: pointer;
}

.eedit-speed-opt input {
  width: 17px;
  height: 17px;
  accent-color: var(--navy-primary);
  cursor: pointer;
}

.quote-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(11, 59, 74, 0.2);
}

.quote-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-black);
}

.quote-breakdown-item strong {
  color: var(--navy-primary);
  white-space: nowrap;
}

.quote-empty-note {
  font-size: 0.86rem;
  color: var(--color-gray-medium);
  font-style: italic;
}

.calc-quote-summary {
  background-color: var(--navy-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 2px solid var(--navy-primary);
  display: flex;
  flex-direction: column;
}

.quote-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 18px;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}

.quote-total-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 2px dashed var(--navy-medium);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.quote-total-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy-primary);
}

.btn-submit-order {
  background-color: var(--navy-primary);
  color: var(--color-white);
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  width: 100%;
  text-align: center;
}

.btn-submit-order:hover {
  background-color: var(--navy-hover);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  border: 1px solid var(--color-gray-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 64px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-badge {
  color: var(--navy-primary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.about-title {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--color-gray-dark);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-subtle);
}

.about-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy-primary);
}

.about-stat-label {
  font-size: 0.825rem;
  color: var(--color-gray-medium);
  font-weight: 600;
}

/* ==========================================================================
   CART SLIDE-OUT DRAWER & MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 59, 74, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 540px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-gray-medium);
  cursor: pointer;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 20px 24px;
  background-color: var(--navy-primary);
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--color-gray-light);
  background-color: var(--color-offwhite);
}

.cart-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-gray-subtle);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 800;
  color: var(--navy-primary);
}

.cart-item-remove {
  color: var(--color-gray-medium);
  background: none;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--color-black);
  color: #CBD5E1;
  padding: 64px 32px 32px;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: #64748B;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-container, .app-detail-showcase, .web-apps-split, .calc-grid, .about-grid {
    grid-template-columns: 1fr;
  }
  .apps-selector-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .e-edit-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-left, .top-bar-right {
    display: none;
  }
  .main-nav {
    overflow-x: auto;
  }
  .nav-links {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .e-edit-services-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Page-based navigation */
.page { display: none; }
.page.active { display: block; animation: pageFade 0.3s ease; }
@keyframes pageFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.main-nav { position: sticky; top: 0; }

/* ===== App Download (store) page, modelled on easecreativesuite.com ===== */
.store-page { background: #fff; }
.store-bar { position: sticky; top: 52px; z-index: 30; background: #fff; border-bottom: 1px solid #e5e7eb; padding: 12px 0; }
.store-inner, .store-wrap { max-width: 830px; margin: 0 auto; padding: 0 16px; }
.store-wrap { padding-bottom: 40px; }
.store-search { display: flex; align-items: center; gap: 14px; background: #eef1f4; border-radius: 999px; padding: 0 20px; height: 48px; color: #5f6368; }
.store-search input { flex: 1; border: 0; background: transparent; font-size: 1rem; height: 100%; color: #111; }
.store-clear { display: none; background: none; color: #5f6368; }
.store-search.has-text .store-clear { display: flex; }
.store-back { display: inline-flex; align-items: center; gap: 10px; background: none; color: var(--navy-primary); font-weight: 700; font-size: 1rem; }
.store-h2 { font-size: 1.25rem; margin: 22px 0 12px; color: #111; }
.store-list { list-style: none; }
.store-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; color: inherit; }
.store-row img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.store-row-info { flex: 1; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.store-row-info b { font-size: 1.02rem; color: #111; }
.store-row-info span { flex-basis: 100%; font-size: .88rem; color: #5f6368; line-height: 1.45; }
.store-get { background: var(--navy-primary); color: #fff; font-weight: 700; padding: 9px 26px; border-radius: 10px; }
.store-row:hover .store-get { background: var(--navy-hover); }
.free-badge { background: var(--accent-teal); color: #fff; font-style: normal; font-size: .7rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.store-covers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.store-cover { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.store-cover > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.store-cover:hover > img { transform: scale(1.04); }
.store-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(7,38,48,.85)); color: #fff; }
.store-cap img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.store-cap b { display: inline; font-size: .98rem; }
.store-cap span { display: block; font-size: .8rem; opacity: .9; }
.store-empty { color: #5f6368; padding: 24px 0; }
.store-foot { margin-top: 36px; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: .85rem; color: #5f6368; line-height: 1.9; }
.store-foot a { color: #5f6368; }
.store-foot a:hover { color: var(--navy-primary); }
.store-head { display: flex; align-items: center; gap: 20px; padding: 22px 0 8px; }
.store-icon { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.store-head h1 { font-size: 1.7rem; }
.store-dev { color: var(--navy-light); font-weight: 700; margin-top: 4px; }
.store-stats { display: flex; list-style: none; margin: 18px 0; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.store-stats li { flex: 1; text-align: center; padding: 14px 6px; border-right: 1px solid #e5e7eb; }
.store-stats li:last-child { border-right: 0; }
.store-stats strong { display: block; font-size: 1.05rem; }
.store-stats span { font-size: .8rem; color: #5f6368; }
.store-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.store-btn { background: var(--navy-primary); color: #fff; font-weight: 700; padding: 13px 24px; border-radius: 10px; }
.store-btn:hover { background: var(--navy-hover); }
.store-btn.alt { background: #fff; color: var(--navy-primary); border: 2px solid var(--navy-primary); padding: 11px 22px; }
.store-banner { width: 100%; border-radius: 16px; margin: 6px 0 10px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.store-about { line-height: 1.7; color: #374151; }
.store-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.store-tags span { background: var(--navy-subtle); color: var(--navy-primary); font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 640px) { .store-covers { grid-template-columns: 1fr; } .store-get { padding: 8px 18px; } }


/* Simple footer */
.simple-footer { background: #fff; color: #5f6368; padding: 24px 16px; border-top: 1px solid #e5e7eb; }
.simple-footer-inner { max-width: 830px; margin: 0 auto; font-size: .9rem; line-height: 2; }
.simple-footer a { color: #5f6368; }
.simple-footer a:hover { color: var(--navy-primary); text-decoration: underline; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > footer { margin-top: auto; }

.simple-footer, .simple-footer a, .simple-footer-inner { color: #0B3B4A !important; }
.simple-footer a:hover { color: #166075 !important; }

.nav-cart-count { position: static; display: inline-flex; width: 20px; height: 20px; font-size: .7rem; margin-left: 6px; vertical-align: middle; border: 0; }

/* Full-width App Download page */
.store-inner, .store-wrap, .simple-footer-inner { max-width: 1320px !important; width: 100%; padding-left: 32px; padding-right: 32px; }
.store-covers { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store-row { padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.store-row img { width: 72px; height: 72px; }
@media (max-width: 1000px) { .store-covers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .store-covers { grid-template-columns: 1fr; } .store-inner, .store-wrap, .simple-footer-inner { padding-left: 16px; padding-right: 16px; } }

/* Web apps list */
.web-apps-list-box { background: #fff; border: 1px solid var(--color-gray-light); border-radius: var(--radius-lg); padding: 24px 32px; box-shadow: var(--shadow-md); margin-bottom: 48px; }
.web-apps-list-title { font-size: 1.3rem; margin-bottom: 8px; color: var(--navy-primary); }
.web-app-row { border-bottom: 1px solid #f1f5f9; }
.web-app-row:last-child { border-bottom: 0; }
.web-app-row .store-get { cursor: pointer; }

/* Floating WhatsApp button */
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 2000; transition: transform .2s, box-shadow .2s; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 22px rgba(0,0,0,.38); }
@media (max-width: 640px) { .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } }

/* Design page */
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.design-card { background: #fff; border: 2px solid var(--color-gray-light); border-radius: var(--radius-md); padding: 24px; cursor: pointer; transition: var(--transition); }
.design-card:hover, .design-card.active { border-color: var(--navy-primary); background: var(--navy-subtle); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.design-card h3 { color: var(--navy-primary); margin-bottom: 8px; }
.design-card p { color: var(--color-gray-medium); font-size: .92rem; }
.design-request { max-width: 720px; margin: 0 auto 48px; background: #fff; border: 1px solid var(--color-gray-light); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; }
.design-request h3 { color: var(--navy-primary); font-size: 1.4rem; }
.design-request label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .9rem; }
.design-request input, .design-request select, .design-request textarea { padding: 12px; border: 2px solid var(--color-gray-light); border-radius: var(--radius-sm); font-size: .95rem; font-weight: 400; }
.design-request input:focus, .design-request select:focus, .design-request textarea:focus { border-color: var(--navy-primary); }
@media (max-width: 900px) { .design-grid { grid-template-columns: 1fr; } }

/* Design workspace: Studio panel fits entire area */
.design-workspace { display: block; width: 100%; margin-bottom: 48px; }
.studio-panel { background: #111111; color: #ffffff; border: 1.5px solid #27272a; border-radius: var(--radius-lg); box-shadow: 0 16px 36px rgba(0,0,0,.45); overflow: hidden; width: 100%; }
.studio-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; background: #18181b; border-bottom: 1px solid #27272a; flex-wrap: wrap; }
.studio-title-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.studio-badge { background: var(--navy-primary); color: #ffffff; font-weight: 900; font-size: .74rem; letter-spacing: 1.4px; padding: 5px 13px; border-radius: 999px; }
.studio-title-group h3 { color: #ffffff; font-size: 1.18rem; margin: 0; }
.studio-header-selector { display: flex; align-items: center; gap: 8px; }
.studio-cat-select { background: #09090b; color: #ffffff; border: 1px solid #3f3f46; border-radius: 6px; padding: 6px 12px; font-size: .84rem; font-weight: 600; max-width: 380px; cursor: pointer; }
.studio-cat-select:focus { border-color: #d4af37; outline: none; }
.studio-cat-select optgroup { background: #18181b; color: #d4af37; font-weight: 800; font-size: .82rem; }
.studio-cat-select option { background: #18181b; color: #ffffff; font-weight: 500; font-size: .82rem; }
.studio-header-actions { display: flex; gap: 10px; }
.studio-btn-outline { background: transparent; color: #ffffff; border: 1px solid #52525b; padding: 7px 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: .82rem; }
.studio-btn-outline:hover { background: #27272a; border-color: #ffffff; }
.studio-btn-gold { background: #ffffff; color: #111111; padding: 7px 16px; border-radius: var(--radius-sm); font-weight: 800; font-size: .82rem; }
.studio-btn-gold:hover { background: #e4e4e7; }

/* Photoshop Top Options Bar (Black & White) */
.ps-options-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 10px 18px; background: #141417; border-bottom: 1px solid #27272a; }
.ps-opt-group { display: flex; align-items: center; gap: 6px; }
.ps-opt-group label { font-size: .74rem; font-weight: 700; color: #d4d4d8; text-transform: uppercase; letter-spacing: .5px; }
.ps-opt-group select, .ps-opt-group input[type="number"] { background: #09090b; color: #ffffff; border: 1px solid #3f3f46; border-radius: 5px; padding: 5px 8px; font-size: .82rem; }
.ps-opt-group input[type="number"] { width: 62px; }
.ps-opt-group input[type="color"] { width: 30px; height: 28px; background: #09090b; border: 1px solid #3f3f46; border-radius: 5px; padding: 1px; cursor: pointer; }
.ps-btn-strip { gap: 4px; }
.ps-mini-btn { background: #09090b; color: #ffffff; border: 1px solid #3f3f46; border-radius: 5px; width: 28px; height: 28px; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.ps-mini-btn:hover { background: #ffffff; color: #111111; }

/* Search Input & Button after Landscape in Studio Options Bar */
.ps-search-group { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ps-design-search-input { background: #09090b; color: #ffffff; border: 1px solid #3f3f46; border-radius: 5px; padding: 5px 10px; font-size: .82rem; width: 185px; transition: border-color .2s, width .2s; }
.ps-design-search-input:focus { border-color: #d4af37; width: 220px; outline: none; }
.ps-design-search-btn { background: var(--navy-primary); color: #ffffff; border: 1px solid #166075; border-radius: 5px; padding: 5px 12px; font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; transition: background .2s, border-color .2s; }
.ps-design-search-btn:hover { background: linear-gradient(135deg, #d4af37, #b8860b); border-color: #d4af37; color: #ffffff; }

/* Replace Photo & Cutout button in top options bar */
.ps-btn-replace-photo { background: linear-gradient(135deg, #d4af37, #b8860b); color: #ffffff; border: 1px solid #d4af37; border-radius: 5px; padding: 5px 11px; font-size: .78rem; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; transition: filter .18s; }
.ps-btn-replace-photo:hover { filter: brightness(1.1); }
.ps-btn-cutout-opt { background: #27272a; color: #ffffff; border: 1px solid #52525b; border-radius: 5px; padding: 5px 11px; font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; transition: background .18s, border-color .18s; }
.ps-btn-cutout-opt:hover, .ps-btn-cutout-opt.active { background: var(--navy-primary); border-color: #166075; color: #ffffff; }

.ps-btn-analyze-design {
  background: #1e1e24;
  color: #e4e4e7;
  border: 1px solid #3f3f46;
  border-radius: 5px;
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s ease;
}
.ps-btn-analyze-design:hover {
  background: var(--navy-primary);
  border-color: #166075;
  color: #ffffff;
}

/* Blurred Studio Workspace & Design Selection Overlay */
.ps-workspace-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 640px;
  height: 680px;
  transition: min-height .25s ease, height .25s ease;
}
.ps-workspace-container.search-active {
  min-height: calc(100vh - 130px) !important;
  height: calc(100vh - 130px) !important;
  max-height: none !important;
}
.ps-workspace { display: grid; grid-template-columns: 64px 1fr 245px; min-height: 580px; height: 100%; width: 100%; transition: filter .28s ease, opacity .28s ease; }
.ps-workspace.layers-collapsed { grid-template-columns: 64px 1fr; }
.ps-workspace.layers-collapsed .ps-layers-panel { display: none; }
.ps-workspace.is-blurred { filter: blur(9px) brightness(0.65); pointer-events: none; user-select: none; }

.ps-search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 50;
  display: none;
  align-items: stretch;
  justify-content: stretch;
  padding: 0 !important;
  margin: 0 !important;
  background: #141417;
  backdrop-filter: blur(8px);
  border: none !important;
  border-radius: 0 !important;
}
.ps-search-overlay.active { display: flex !important; }
.ps-search-modal {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  background: #141417 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ps-search-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 24px; background: #18181b; border-bottom: 1px solid #27272a; flex-shrink: 0; width: 100%; box-sizing: border-box; }
.ps-search-modal-head h4 { color: #ffffff; font-size: 1.02rem; margin: 0 0 2px; }
.ps-search-modal-head p { color: #a1a1aa; font-size: .78rem; margin: 0; }
.ps-search-close-btn { background: #27272a; color: #ffffff; border: 1px solid #3f3f46; border-radius: 6px; padding: 6px 13px; font-size: .8rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ps-search-close-btn:hover { background: #ffffff; color: #111111; }
.ps-img-lib-head-actions { display: flex; align-items: center; gap: 10px; }
.ps-cutout-toggle-label { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: #e4e4e7; cursor: pointer; background: #27272a; padding: 5px 10px; border-radius: 5px; border: 1px solid #3f3f46; user-select: none; }
.ps-cutout-toggle-label input { cursor: pointer; accent-color: #d4af37; }
.ps-img-import-btn { background: linear-gradient(135deg, #d4af37, #b8860b); color: #ffffff; border: 1px solid #d4af37; border-radius: 5px; padding: 6px 13px; font-size: .78rem; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; white-space: nowrap; }
.ps-img-import-btn:hover { filter: brightness(1.08); }
.ps-img-lib-remove { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(9, 9, 11, 0.85); color: #ffffff; border: 1px solid #3f3f46; font-size: .78rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; }
.ps-img-lib-remove:hover { background: #ffffff; color: #111111; }
/* Pinterest-Style Vertical Downward Waterfall for Search Results */
.ps-search-results-grid {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 20px 24px 80px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: block;
  box-sizing: border-box;
  width: 100% !important;
}
.ps-search-results-grid::-webkit-scrollbar {
  width: 8px;
}
.ps-search-results-grid::-webkit-scrollbar-track {
  background: #141417;
}
.ps-search-results-grid::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 4px;
}
.ps-search-results-grid::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

.ps-masonry-waterfall {
  display: flex;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  box-sizing: border-box;
}

.ps-masonry-column {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.ps-search-thumb-fallback {
  width: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #18181b 0%, #0d1e26 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px 16px 0 0;
  padding: 20px;
  box-sizing: border-box;
}
.ps-thumb-fallback-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: #d4af37;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .3px;
}

#ps-frames-grid, #ps-img-library-grid, #ps-logo-presets-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 16px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  align-content: start;
}

.ps-search-status {
  column-span: all;
  text-align: center;
  padding: 60px 18px;
  color: #e4e4e7;
  font-size: .95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ps-search-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(212,175,55,.22);
  border-top-color: #d4af37;
  border-radius: 50%;
  animation: psSpin .75s linear infinite;
}
@keyframes psSpin { to { transform: rotate(360deg); } }

/* Pinterest Pin Card */
.ps-layer.ps-is-cutout {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.ps-layer.ps-is-cutout .ps-frame-shell {
  background: transparent !important;
  overflow: visible !important;
}
.ps-layer.ps-is-cutout img {
  object-fit: contain !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.ps-search-card {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 16px;
  display: block;
  width: 100%;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform .22s cubic-bezier(.2,0,0,1), border-color .22s ease, box-shadow .22s cubic-bezier(.2,0,0,1);
  text-align: left;
  padding: 0;
  color: #ffffff;
}
.ps-search-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}

.ps-search-card-thumb {
  width: 100%;
  position: relative;
  background: #101012;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  min-height: 120px;
}
.ps-search-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
  border-radius: 16px 16px 0 0;
}
.ps-search-card:hover .ps-search-card-thumb img {
  transform: scale(1.03);
}

/* Pinterest Pin Hover Floating Overlay */
.ps-pin-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity .2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  pointer-events: none;
  z-index: 3;
}
.ps-search-card:hover .ps-pin-hover-overlay {
  opacity: 1;
}
.ps-pin-clone-badge {
  align-self: flex-end;
  background: #d4af37;
  color: #0b1a20;
  font-weight: 800;
  font-size: .78rem;
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
  letter-spacing: .3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ps-search-card-body {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #18181b;
}
.ps-search-card-title {
  font-size: .84rem;
  font-weight: 700;
  color: #f4f4f5;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ps-search-card-action {
  font-size: .72rem;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.ps-toolbar { background: #141417; border-right: 1px solid #27272a; padding: 12px 6px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ps-tool { width: 50px; padding: 8px 4px; background: #18181b; color: #d4d4d8; border: 1px solid #27272a; border-radius: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .68rem; font-weight: 600; cursor: pointer; }
.ps-tool:hover, .ps-tool.active { background: linear-gradient(135deg, #d4af37, #b8860b); color: #ffffff; border-color: #d4af37; }
.ps-tool.active-panel { border-color: #d4af37; color: #ffffff; }
.ps-tool-letter { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 900; line-height: 1; color: inherit; }

/* Crop & Patch Sub-Toolbars */
.ps-tool-subbar { width: 100%; background: #141417; border: 1px solid #27272a; border-radius: 7px; padding: 8px 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ps-subbar-label { font-size: .74rem; font-weight: 800; color: #d4af37; text-transform: uppercase; letter-spacing: .5px; margin-right: 4px; }
.ps-subbar-info { font-size: .75rem; color: #d4d4d8; flex: 1; min-width: 180px; }
.ps-crop-preset { background: #18181b; color: #d4d4d8; border: 1px solid #3f3f46; border-radius: 5px; padding: 4px 9px; font-size: .74rem; font-weight: 700; cursor: pointer; }
.ps-crop-preset:hover, .ps-crop-preset.active { background: linear-gradient(135deg, #d4af37, #b8860b); color: #ffffff; border-color: #d4af37; }
.ps-subbar-actions { margin-left: auto; display: flex; gap: 6px; }
.ps-subbar-apply { background: var(--navy-primary); color: #ffffff; border: 1px solid #166075; border-radius: 5px; padding: 4px 11px; font-size: .74rem; font-weight: 800; cursor: pointer; }
.ps-subbar-apply:hover { background: #166075; }
.ps-subbar-cancel { background: #27272a; color: #ffffff; border: 1px solid #3f3f46; border-radius: 5px; padding: 4px 10px; font-size: .74rem; font-weight: 700; cursor: pointer; }
.ps-subbar-cancel:hover { background: #3f3f46; }

.studio-canvas-wrap { background: #1c1c20; padding: 16px 20px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.ps-canvas-hint { font-size: .76rem; color: #a1a1aa; letter-spacing: .3px; text-align: center; }
.studio-stage-shell { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; }
.studio-canvas { position: relative; width: 100%; max-width: 620px; height: 370px; background: #111111; color: #ffffff; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.55); user-select: none; }
.studio-canvas.orient-portrait { max-width: 390px; height: 500px; }
.studio-canvas.orient-square { max-width: 440px; height: 440px; }
.studio-canvas.frame-double { border: 3px double #ffffff; outline: 1px solid rgba(255,255,255,.45); outline-offset: -10px; }
.studio-canvas.frame-single { border: 1.5px solid #ffffff; }
.studio-canvas.frame-none { border: 1px solid #27272a; }

/* Interactive Crop Marquee Overlay */
.ps-crop-overlay { position: absolute; z-index: 25; pointer-events: auto; overflow: hidden; }
.ps-crop-box { position: absolute; border: 2px solid #d4af37; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.62); cursor: move; }
.ps-crop-grid-h1, .ps-crop-grid-h2 { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, 0.35); pointer-events: none; }
.ps-crop-grid-h1 { top: 33.33%; }
.ps-crop-grid-h2 { top: 66.66%; }
.ps-crop-grid-v1, .ps-crop-grid-v2 { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.35); pointer-events: none; }
.ps-crop-grid-v1 { left: 33.33%; }
.ps-crop-grid-v2 { left: 66.66%; }
.ps-crop-handle { position: absolute; width: 10px; height: 10px; background: #ffffff; border: 1.5px solid #111111; }
.ps-crop-handle.nw { top: -5px; left: -5px; cursor: nwse-resize; }
.ps-crop-handle.n { top: -5px; left: calc(50% - 5px); cursor: ns-resize; }
.ps-crop-handle.ne { top: -5px; right: -5px; cursor: nesw-resize; }
.ps-crop-handle.e { top: calc(50% - 5px); right: -5px; cursor: ew-resize; }
.ps-crop-handle.se { bottom: -5px; right: -5px; cursor: nwse-resize; }
.ps-crop-handle.s { bottom: -5px; left: calc(50% - 5px); cursor: ns-resize; }
.ps-crop-handle.sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
.ps-crop-handle.w { top: calc(50% - 5px); left: -5px; cursor: ew-resize; }
.ps-crop-size-badge { position: absolute; bottom: 6px; right: 6px; background: rgba(9, 9, 11, 0.85); color: #d4af37; border: 1px solid rgba(212, 175, 55, 0.45); border-radius: 4px; padding: 2px 6px; font-size: .68rem; font-weight: 800; pointer-events: none; }

/* Interactive Patch Tool Overlay Canvas */
.ps-patch-canvas { position: absolute; z-index: 26; cursor: crosshair; touch-action: none; }

/* Photoshop Right Layers Dock Panel */
.ps-layers-panel { background: #141417; border-left: 1px solid #27272a; display: flex; flex-direction: column; min-height: 460px; max-height: 560px; }
.ps-layers-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #18181b; border-bottom: 1px solid #27272a; }
.ps-layers-title { font-size: .74rem; font-weight: 900; letter-spacing: 1.2px; color: #ffffff; }
.ps-layers-count { background: var(--navy-primary); color: #ffffff; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.ps-layers-quickbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 8px 10px; border-bottom: 1px solid #27272a; }
.ps-solid-layer { padding: 0; cursor: move; z-index: 1; }
.ps-layer-qbtn { background: #18181b; color: #d4d4d8; border: 1px solid #3f3f46; border-radius: 5px; padding: 5px 6px; font-size: .72rem; font-weight: 700; cursor: pointer; }
.ps-layer-qbtn:hover { background: linear-gradient(135deg, #d4af37, #b8860b); color: #ffffff; border-color: #d4af37; }
.ps-layers-list { flex: 1; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.ps-layer-row { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: #18181b; border: 1px solid #27272a; border-radius: 6px; cursor: pointer; transition: border-color .15s, background .15s; }
.ps-layer-row:hover { border-color: #52525b; }
.ps-layer-row.active { background: rgba(212, 175, 55, 0.14); border-color: #d4af37; }
.ps-layer-row.is-hidden { opacity: 0.45; }
.ps-layer-eye { background: none; border: 0; color: #d4d4d8; font-size: .76rem; cursor: pointer; padding: 2px 4px; border-radius: 4px; }
.ps-layer-eye:hover { background: #27272a; color: #ffffff; }
.ps-layer-badge { font-size: .64rem; font-weight: 900; padding: 2px 5px; border-radius: 4px; background: #27272a; color: #d4af37; text-transform: uppercase; flex-shrink: 0; }
.ps-layer-badge.type-img { background: rgba(11, 59, 74, 0.65); color: #ffffff; }
.ps-layer-badge.type-bg { background: #27272a; color: #a1a1aa; }
.ps-layer-name { flex: 1; font-size: .75rem; font-weight: 600; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.ps-layer-actions { display: flex; align-items: center; gap: 2px; }
.ps-layer-act { background: none; border: 0; color: #a1a1aa; font-size: .72rem; padding: 2px 4px; border-radius: 3px; cursor: pointer; }
.ps-layer-act:hover { background: #27272a; color: #ffffff; }

/* Direct-Editable Layers on Canvas (Black & White) */
.ps-layer { position: absolute; padding: 3px 7px; border: 1px dashed transparent; border-radius: 3px; text-align: center; cursor: move; transition: border-color .15s; max-width: 94%; z-index: 2; }
.ps-layer:hover { border-color: rgba(255,255,255,.55); }
.ps-layer.selected { border: 1.5px solid #ffffff; background: rgba(0,0,0,.22); z-index: 3; }
.ps-editable { outline: none; min-width: 24px; cursor: move; user-select: none; line-height: 1.18; }
.studio-canvas.tool-text { cursor: text; }
.studio-canvas.tool-text .ps-layer[data-layer-type="text"],
.studio-canvas.tool-text .ps-editable { cursor: text; user-select: text; }
.ps-layer-move { display: none; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 26px; height: 8px; background: #ffffff; border-radius: 3px; cursor: move; }
.ps-layer.selected .ps-layer-move { display: block; }
.ps-handle-se { display: none; position: absolute; right: -5px; bottom: -5px; width: 10px; height: 10px; background: #ffffff; border: 1.5px solid #111111; cursor: nwse-resize; }
.ps-layer.selected .ps-handle-se { display: block; }
.ps-layer-delete-btn { display: none; position: absolute; top: -10px; right: -10px; width: 20px; height: 20px; border-radius: 50%; background: #18181b; color: #ffffff; border: 1.5px solid #d4af37; font-size: 11px; font-weight: 900; line-height: 1; cursor: pointer; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.ps-layer-delete-btn:hover { background: #d4af37; color: #000000; }
.ps-layer.selected .ps-layer-delete-btn { display: inline-flex; }
.ps-layer-replace-btn { display: none; position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); background: #111111; color: #d4af37; border: 1.5px solid #d4af37; border-radius: 999px; padding: 2px 10px; font-size: 0.68rem; font-weight: 800; cursor: pointer; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,0.6); z-index: 10; }
.ps-layer-replace-btn:hover { background: linear-gradient(135deg, #d4af37, #b8860b); color: #ffffff; }
.ps-layer.selected.ps-img-layer .ps-layer-replace-btn { display: inline-flex; }
.ps-img-layer { cursor: move; z-index: 1; }
.ps-img-layer.ps-cloned-graphic { padding: 0; max-width: 100%; border-width: 1px; }

/* Photo Frame Shell & Template Bends / Folds */
.ps-frame-shell { width: 100%; height: 100%; overflow: hidden; border-radius: inherit; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ps-frame-shell img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ps-bend-rounded-sm { border-radius: 12px !important; }
.ps-bend-rounded-md { border-radius: 24px !important; }
.ps-bend-rounded-lg { border-radius: 40px !important; }
.ps-bend-card-bottom { border-radius: 14px 14px 44px 44px !important; }
.ps-bend-arch { border-radius: 999px 999px 10px 10px !important; }
.ps-bend-wave-bottom { border-radius: 14px 14px 56px 14px !important; }
.ps-bend-diagonal { border-radius: 44px 10px 44px 10px !important; }
.ps-bend-pill { border-radius: 9999px !important; }
.ps-bend-circle { border-radius: 50% !important; }
.ps-border-white-2 { box-shadow: 0 0 0 2px #ffffff !important; }
.ps-border-white-4 { box-shadow: 0 0 0 4px #ffffff !important; }
.ps-border-gold-2 { box-shadow: 0 0 0 2px #d4af37 !important; }
.ps-border-accent-3 { box-shadow: 0 0 0 3px var(--navy-primary) !important; }

/* Options bar Delete button */
.ps-btn-delete-opt { background: #18181b; color: #ffffff; border: 1px solid #d4af37; border-radius: 5px; padding: 5px 10px; font-size: .78rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: background .15s, color .15s; }
.ps-btn-delete-opt:hover { background: #d4af37; color: #000000; }

/* Logo & Emblem Manager Modal */
.ps-logo-modal-body { padding: 18px 24px; display: flex; flex-direction: column; gap: 18px; max-height: 72vh; overflow-y: auto; }
.ps-logo-actions-banner { display: flex; gap: 10px; flex-wrap: wrap; }
.ps-logo-delete-btn { background: #18181b; border: 1.5px solid #d4af37; color: #ffffff; border-radius: 6px; padding: 8px 14px; font-size: 0.82rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s; }
.ps-logo-delete-btn:hover { background: #d4af37; color: #000000; }
.ps-logo-patch-btn { background: #111111; border: 1px solid #3f3f46; color: #e4e4e7; border-radius: 6px; padding: 8px 14px; font-size: 0.82rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: border-color .15s, color .15s; }
.ps-logo-patch-btn:hover { border-color: #d4af37; color: #ffffff; }
.ps-logo-preset-section { display: flex; flex-direction: column; gap: 8px; }
.ps-logo-section-label { font-size: 0.76rem; font-weight: 700; color: #a1a1aa; text-transform: uppercase; letter-spacing: 0.5px; }
.ps-logo-shape-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ps-logo-pill { background: #18181b; border: 1px solid #27272a; color: #d4d4d8; border-radius: 20px; padding: 6px 14px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s; }
.ps-logo-pill:hover, .ps-logo-pill.active { border-color: #d4af37; color: #ffffff; background: #27272a; }
.ps-layer-badge.type-logo { background: rgba(212, 175, 55, 0.22); color: #d4af37; border: 1px solid rgba(212, 175, 55, 0.4); }

@media (max-width: 960px) { .design-workspace { grid-template-columns: 1fr; } .ps-workspace { grid-template-columns: 1fr; } .ps-toolbar { flex-direction: row; flex-wrap: wrap; justify-content: center; border-right: 0; border-bottom: 1px solid #27272a; } .ps-layers-panel { border-left: 0; border-top: 1px solid #27272a; max-height: 260px; } }
.ps-frame-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; z-index: 2; display: block; }
.ps-img-layer[data-frame-id] { padding: 0; border: none; }
.ps-no-frame-tile { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #d4d4d8; font-weight: 700; border: 1px dashed #52525b; border-radius: 6px; }

/* Studio Export Modal ($0.72 USD per design, max 4 exports) */
.ps-export-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 14, 0.84);
  backdrop-filter: blur(8px);
  z-index: 2600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ps-export-overlay.active { display: flex; }

.ps-export-modal {
  background: #141417;
  border: 1.5px solid #27272a;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  color: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.ps-export-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: #18181b;
  border-bottom: 1px solid #27272a;
}
.ps-export-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #d4af37;
  display: block;
}
.ps-export-head h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 2px 0 0;
}
.ps-export-close {
  background: #27272a;
  color: #ffffff;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ps-export-close:hover { background: #ffffff; color: #111111; }

.ps-export-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ps-export-license-banner {
  padding: 12px 14px;
  border-radius: 10px;
  background: #0d232c;
  border: 1px solid #166075;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #e2e8f0;
}
.ps-export-license-banner strong { color: #d4af37; }
.ps-export-license-banner.is-unlocked {
  background: #0b2e33;
  border-color: #d4af37;
}

.ps-export-section-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #a1a1aa;
}

.ps-export-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ps-export-fmt-btn {
  background: #18181b;
  border: 2px solid #27272a;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  color: #e4e4e7;
  transition: border-color .18s ease, background .18s ease;
}
.ps-export-fmt-btn strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 3px;
}
.ps-export-fmt-btn span {
  display: block;
  font-size: 0.73rem;
  color: #a1a1aa;
}
.ps-export-fmt-btn:hover { border-color: #52525b; }
.ps-export-fmt-btn.active {
  border-color: #d4af37;
  background: #102a34;
}

.ps-export-payment-panel {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ps-export-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}
.ps-export-fee-row strong {
  font-size: 1.15rem;
  color: #d4af37;
}
.ps-export-policy {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #a1a1aa;
}
.ps-export-pay-method {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ps-export-pay-method label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #d4d4d8;
}
.ps-export-pay-method select {
  background: #09090b;
  color: #ffffff;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 0.85rem;
}

.ps-export-confirm-btn {
  width: 100%;
  padding: 13px 16px;
  border-radius: 9px;
  border: none;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #0b1a20;
  font-size: 0.94rem;
  font-weight: 900;
  cursor: pointer;
  transition: filter .18s ease;
}
.ps-export-confirm-btn:hover { filter: brightness(1.1); }
.ps-export-confirm-btn:disabled { opacity: 0.6; cursor: wait; }

/* ==========================================================================
   CLOUD INTEGRATION (Render, MongoDB, LivePay, Google Sign-In)
   ========================================================================== */
.se-cloud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

.se-cloud-pill.is-online {
  color: #0B3B4A;
  border-color: #0B3B4A;
  background: #e6f4f7;
}

.se-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  background: var(--navy-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  white-space: nowrap;
}

.se-account-btn:hover {
  background: var(--navy-dark);
  border-color: #d4af37;
}

.se-livepay-section {
  margin-top: 32px;
  background: #0f161e;
  border: 1px solid #1E293B;
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.se-livepay-section .web-apps-list-title {
  color: #ffffff;
}

.se-livepay-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.se-livepay-sub {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 680px;
}

.se-cloud-action-btn {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #122830;
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.se-cloud-action-btn:hover {
  background: #0B3B4A;
  color: #ffffff;
}

.se-livepay-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.se-livepay-card {
  background: #141d26;
  border: 1px solid #263241;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.se-livepay-card.is-featured {
  border-color: #d4af37;
  background: linear-gradient(160deg, #122830 0%, #141d26 100%);
}

.se-livepay-card h4 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0 0 4px;
}

.se-livepay-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.se-livepay-price {
  font-size: 1.55rem;
  font-weight: 900;
  color: #38BDF8;
}

.se-livepay-select {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  background: #0b1117;
  color: #ffffff;
  border: 1px solid #334155;
  font-size: 0.85rem;
}

.se-livepay-pay-btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #0b1a20;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}

.se-livepay-pay-btn:hover {
  filter: brightness(1.08);
}

.se-livepay-pay-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.se-livepay-status-panel {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #122830;
  border: 1px solid #d4af37;
  color: #f8fafc;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.se-livepay-status-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.se-livepay-open-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: #d4af37;
  color: #0b1a20;
  font-weight: 800;
  font-size: 0.84rem;
}

/* Auth Modal Enhancements */
.se-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.se-auth-tab {
  padding: 9px 12px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  font-size: 0.88rem;
}

.se-auth-tab.active {
  background: var(--navy-primary);
  color: #ffffff;
}

.se-auth-msg {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  margin-bottom: 14px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #0f172a;
}

.se-auth-msg.is-warn {
  background: #fefce8;
  border-color: #d4af37;
  color: #422006;
}

.se-auth-field {
  margin-bottom: 12px;
}

.se-auth-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1e293b;
}

.se-auth-field input {
  width: 100%;
  padding: 11px 12px;
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.se-auth-divider {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-gray-medium);
  margin: 12px 0;
}

.se-google-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.se-account-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.se-account-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid #e2e8f0;
}

.se-account-row:last-child {
  border-bottom: none;
}

/* About Cloud Status */
.about-cloud-panel {
  margin-top: 32px;
  background: #0f161e;
  border: 1px solid #1E293B;
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #e2e8f0;
}

.about-cloud-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.about-cloud-head strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
}

.about-cloud-head span {
  font-size: 0.84rem;
  color: #94a3b8;
}

.about-cloud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.about-cloud-card {
  background: #141d26;
  border: 1px solid #263241;
  border-radius: 10px;
  padding: 14px;
}

.about-cloud-card span {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.about-cloud-card strong {
  font-size: 0.9rem;
  color: #38BDF8;
}

@media (max-width: 760px) {
  .se-cloud-pill {
    display: none;
  }
}
