:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #f97316;
  --accent-text: #ffffff;
  --accent-light: #fed7aa;
  --stroke: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--card);
  border-bottom: 1px solid var(--stroke);
  padding: 16px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 24px;
  color: var(--accent);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

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

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

/* Cart Icon Styles */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.cart-link:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.cart-link svg {
  flex-shrink: 0;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.cart-link.has-items {
  color: var(--accent);
}

/* Mobile Dropdown Menu Styles */
.dropdown-toggle {
  border: 1px solid var(--stroke) !important;
  background: var(--card) !important;
  color: var(--text) !important;
  padding: 8px 12px !important;
}

.dropdown-toggle:hover {
  background: var(--accent-light) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25) !important;
  border-color: var(--accent) !important;
}

.dropdown-menu {
  border: 1px solid var(--stroke) !important;
  box-shadow: var(--shadow-lg) !important;
  border-radius: var(--radius) !important;
  margin-top: 8px !important;
}

.dropdown-item {
  color: var(--text) !important;
  padding: 12px 16px !important;
  font-weight: 500 !important;
}

.dropdown-item:hover {
  background: var(--accent-light) !important;
  color: var(--accent) !important;
}

.dropdown-item.active {
  background: var(--accent) !important;
  color: var(--accent-text) !important;
}

.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.search-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: var(--accent);
}

.login-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-link:hover {
  color: var(--accent);
}

.signup-btn {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: var(--radius);
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.signup-btn:hover {
  background: #ea580c;
}

/* Hero Section */
.hero {
  background: #f8f9fa;
  padding: 80px 0;
  position: relative;
}

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

.hero-text {
  max-width: 500px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--text);
}

.highlight {
  color: var(--accent);
}

.hero-description {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.6;
}

.cta-button {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: var(--radius);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background: #ea580c;
}

.hero-decoration {
  position: relative;
  margin-top: 40px;
}

.flight-path {
  width: 200px;
  height: 2px;
  background: var(--accent);
  position: relative;
  border-radius: 1px;
}

.flight-path::after {
  content: '';
  position: absolute;
  right: -10px;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 10px solid var(--accent);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.plane-icon {
  position: absolute;
  right: -20px;
  top: -8px;
  font-size: 16px;
  color: var(--accent);
}

.hero-images {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.main-image {
  flex: 1;
}

.main-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.side-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 200px;
}

.side-image {
  position: relative;
}

.side-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Destinations Section */
.destinations {
  padding: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.section-filters {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.filter-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.filter-link:hover,
.filter-link.active {
  color: var(--accent);
}

.filter-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.view-all-btn {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-all-btn:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.destination-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.destination-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
}

.premium-badge {
  background: var(--accent);
  color: var(--accent-text);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.destination-info {
  padding: 20px;
}

.destination-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.destination-location {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 14px;
}

.destination-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.destination-date {
  color: var(--muted);
  font-size: 12px;
}

.destination-price {
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
}

.destination-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.destination-link:hover {
  color: #ea580c;
  text-decoration: underline;
}

/* Stories Section */
.stories {
  padding: 80px 0;
  background: #f8f9fa;
}

.stories-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.main-story {
  display: flex;
  gap: 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.story-image {
  flex: 1;
  min-width: 200px;
}

.story-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.story-content {
  flex: 1;
}

.story-category {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.story-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.3;
}

.story-excerpt {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.story-meta {
  display: flex;
  gap: 16px;
}

.story-date {
  color: var(--muted);
  font-size: 14px;
}

.side-stories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-story {
  display: flex;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  transition: transform 0.2s ease;
}

.side-story:hover {
  transform: translateY(-2px);
}

.side-story-image {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
}

.side-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.side-story-content {
  flex: 1;
}

.side-story-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.3;
}

/* Highlights Section */
.highlights {
  padding: 80px 0;
}

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

.testimonial {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}

.testimonial-rating {
  color: var(--accent);
  font-size: 16px;
}

.testimonial-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.testimonial-text {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.highlight-images {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.main-highlight-image {
  flex: 1;
}

.main-highlight-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.side-highlight {
  width: 200px;
}

.side-highlight-image {
  position: relative;
  margin-bottom: 16px;
}

.side-highlight-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.play-button:hover {
  background: rgba(0, 0, 0, 0.9);
}

.highlight-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.see-more-btn {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.see-more-btn:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

/* Newsletter */
.newsletter {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.newsletter-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.newsletter-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 32px;
  color: white;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 16px;
}

.newsletter-input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  background: white;
  color: var(--text);
}

.newsletter-button {
  background: #ff6b35;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.newsletter-button:hover {
  background: #e55a2b;
  transform: translateY(-1px);
}

.newsletter-text {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--card);
  border-top: 1px solid var(--stroke);
  padding: 40px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--stroke);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-text {
  color: var(--muted);
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.social-icon:hover {
  background: var(--accent);
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 20px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
}

.footer-copyright p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* Admin Panel Styles */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.login-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--stroke);
  max-width: 400px;
  width: 100%;
}

.login-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  text-align: center;
}

.login-subtitle {
  color: var(--muted);
  text-align: center;
  margin: 0 0 32px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.login-button {
  background: var(--accent);
  color: var(--accent-text);
  border: 0;
  border-radius: var(--radius);
  padding: 14px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.login-button:hover {
  background: #ea580c;
}

.login-info {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 16px;
  margin: 24px 0;
  font-size: 14px;
}

.login-info code {
  background: var(--card);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.back-link {
  text-align: center;
  margin-top: 24px;
}

.back-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Admin Header */
.admin-header {
  border-bottom: 2px solid var(--stroke);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.admin-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

.logout-form {
  margin-left: auto;
}

.logout-button {
  background: #dc2626;
  color: white;
  border: 0;
  border-radius: var(--radius);
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.logout-button:hover {
  background: #b91c1c;
}

/* Admin Main */
.admin-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  text-align: center;
}

.stat-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.stat-link:hover {
  text-decoration: underline;
}

.stat-subtitle {
  color: var(--muted);
  font-size: 14px;
}

/* Admin Sections */
.admin-sections {
  display: grid;
  gap: 32px;
}

.admin-section h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background: #ea580c;
}

.btn-secondary {
  background: var(--stroke);
  color: var(--text);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

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

/* Tables */
.table-container {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--accent-light);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--stroke);
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--stroke);
  vertical-align: top;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background: #f8fafc;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge.premium {
  background: var(--accent);
  color: var(--accent-text);
}

.badge.free {
  background: #10b981;
  color: white;
}

.badge.success {
  background: #10b981;
  color: white;
}

.badge.pending {
  background: #f59e0b;
  color: white;
}

.badge.failed {
  background: #ef4444;
  color: white;
}

/* Article form */
.article-form {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
}

.checkbox-group {
  margin: 16px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.checkbox-text {
  font-weight: 500;
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.actions {
  display: flex;
  gap: 8px;
}

.btn-edit {
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

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

.btn-delete {
  background: #ef4444;
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

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

.article-excerpt {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.no-data {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  padding: 32px;
}

/* Purchases stats */
.purchases-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-info {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
}

.admin-info h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.admin-info ul {
  margin: 0;
  padding-left: 20px;
}

.admin-info li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Article Page Styles */
.article-main {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 48px 0;
}

.breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #ea580c;
  text-decoration: underline;
}

.article-content {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.article-header {
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.article-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

.article-image {
  position: relative;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.premium-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}

.premium-notice {
  background: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  text-align: center;
}

.premium-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--accent);
}

.premium-content p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
}

.premium-form {
  max-width: 400px;
  margin: 0 auto;
}

.premium-form .form-group {
  display: flex;
  gap: 12px;
  margin: 0;
}

.premium-form input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  font-size: 16px;
}

.premium-form .cta {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.premium-form .cta:hover {
  background: #ea580c;
}

.article-text {
  line-height: 1.8;
  font-size: 16px;
}

.article-text h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--text);
}

.article-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text);
}

.article-text p {
  margin: 0 0 16px;
  color: var(--text);
}

.article-text ul {
  margin: 16px 0;
  padding-left: 24px;
}

.article-text li {
  margin-bottom: 8px;
  color: var(--text);
}

.article-text strong {
  font-weight: 600;
  color: var(--text);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.related-articles {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.related-articles h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text);
}

.related-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--stroke);
}

.related-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.related-info h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.related-info h4 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-info h4 a:hover {
  color: var(--accent);
}

.related-info p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-images {
    order: -1;
  }
  
  .stories-content {
    grid-template-columns: 1fr;
  }
  
  .highlights-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .admin-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .logout-form {
    margin-left: 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .actions {
    flex-direction: column;
  }
  
  .table-container {
    overflow-x: auto;
  }
  
  .admin-table {
    min-width: 600px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section-filters {
    width: 100%;
    overflow-x: auto;
  }
  
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  
  .article-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .article-title {
    font-size: 28px;
  }
  
  .article-image img {
    height: 250px;
  }
  
  .premium-form .form-group {
    flex-direction: column;
  }
  
  .related-item {
    flex-direction: column;
  }
  
  .related-item img {
    width: 100%;
    height: 120px;
  }

  /* Smaller buttons on mobile */
  .btn-primary {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .btn-secondary {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Shop Styles */
.shop-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.shop-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.shop-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.shop-hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.6;
}

.ebooks-section {
  padding: 80px 0;
}

.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.ebook-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.ebook-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.ebook-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ebook-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.ebook-info {
  padding: 24px;
}

.ebook-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.ebook-excerpt {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.ebook-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}

.ebook-price {
  text-align: center;
  margin-bottom: 20px;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.ebook-buy-btn {
  display: block;
  width: 100%;
  background: var(--accent);
  color: var(--accent-text);
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: background 0.3s ease;
}

.ebook-buy-btn:hover {
  background: #ea580c;
}

/* Features Section */
.features {
  background: var(--card);
  padding: 80px 0;
}

.features-content {
  text-align: center;
}

.features-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
}

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

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-description {
  color: var(--muted);
  line-height: 1.6;
}

/* Ebook Detail Page */
.ebook-detail {
  padding: 80px 0;
}

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

.ebook-detail-image {
  position: relative;
  text-align: center;
}

.ebook-detail-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.ebook-format-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}

.ebook-breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.875rem;
}

.ebook-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.ebook-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.ebook-detail-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--muted);
}

.ebook-price-section {
  background: var(--accent-light);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 32px;
}

.ebook-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.ebook-price-note {
  font-size: 0.875rem;
  color: var(--muted);
}

.ebook-description,
.ebook-content {
  margin-bottom: 32px;
}

.ebook-description h3,
.ebook-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.ebook-features {
  margin-bottom: 32px;
}

.ebook-features h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.ebook-features ul {
  list-style: none;
  padding: 0;
}

.ebook-features li {
  padding: 8px 0;
  color: var(--muted);
}

.ebook-purchase-form {
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  font-size: 1rem;
}

.purchase-btn {
  width: 100%;
  background: var(--accent);
  color: var(--accent-text);
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.purchase-btn:hover {
  background: #ea580c;
}

.purchase-icon {
  font-size: 1.25rem;
}

.ebook-guarantee {
  background: #f0f9ff;
  padding: 20px;
  border-radius: var(--radius);
  border-left: 4px solid #0ea5e9;
}

.ebook-guarantee h4 {
  color: var(--text);
  margin-bottom: 8px;
}

.ebook-guarantee p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Related Ebooks */
.related-ebooks {
  padding: 80px 0;
  background: var(--bg);
}

.related-ebooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.related-ebook-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.related-ebook-image {
  height: 150px;
  overflow: hidden;
}

.related-ebook-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-ebook-info {
  padding: 16px;
}

.related-ebook-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.related-ebook-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.cta-button.secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.cta-button.secondary:hover {
  background: var(--accent);
  color: var(--accent-text);
}

/* Destination free badge */
.destination-free {
  background: #10b981;
  color: white;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Nav active state */
.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

/* Mobile responsive for shop */
@media (max-width: 768px) {
  .ebook-detail-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .ebooks-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .related-ebooks-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Payment Pages */
.payment-success,
.payment-error {
  padding: 80px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.success-content,
.error-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-icon,
.error-icon {
  margin-bottom: 32px;
}

.checkmark,
.error-mark {
  font-size: 4rem;
  display: block;
}

.success-title,
.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}

.error-title {
  color: #dc2626;
}

.success-details {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  text-align: left;
}

.success-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--stroke);
}

.success-item:last-child {
  border-bottom: none;
}

.success-label {
  font-weight: 600;
  color: var(--text);
}

.success-value {
  color: var(--muted);
}

.success-message,
.error-message {
  margin-bottom: 32px;
}

.success-message h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.success-message p,
.error-message p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.error-message ul {
  text-align: left;
  margin: 16px 0;
  padding-left: 24px;
}

.error-message li {
  color: var(--muted);
  margin-bottom: 8px;
}

.error-details {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 32px;
  text-align: left;
}

.error-details h3 {
  color: #dc2626;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.error-details p {
  color: #991b1b;
  font-family: monospace;
  font-size: 0.875rem;
}

.success-actions,
.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: #ea580c;
}

.btn-secondary {
  background: var(--muted);
  color: white;
}

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

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--accent-text);
}

.success-help,
.error-help {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  text-align: left;
}

.success-help h4,
.error-help h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.success-help p,
.error-help p {
  color: var(--muted);
  margin-bottom: 12px;
}

.success-help ul,
.error-help ul {
  list-style: none;
  padding: 0;
}

.success-help li,
.error-help li {
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 0;
}

.error-note {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 16px;
  font-size: 0.875rem;
}

.error-note strong {
  color: #92400e;
}

/* Mobile responsive for payment pages */
@media (max-width: 768px) {
  .success-content,
  .error-content {
    padding: 24px;
    margin: 0 16px;
  }
  
  .success-title,
  .error-title {
    font-size: 2rem;
  }
  
  .success-actions,
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Newsletter Popup Styles */
.newsletter-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.newsletter-popup-container {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s ease-out;
}

.newsletter-popup-content {
  position: relative;
}

.newsletter-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--muted);
}

.newsletter-popup-close:hover {
  background: var(--accent);
  color: var(--accent-text);
  transform: scale(1.1);
}

.newsletter-popup-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.newsletter-popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.newsletter-popup-container:hover .newsletter-popup-img {
  transform: scale(1.05);
}

.newsletter-popup-text {
  padding: 32px;
}

.newsletter-popup-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

.newsletter-popup-description {
  color: var(--muted);
  margin: 0 0 20px;
  text-align: center;
  font-size: 16px;
}

.newsletter-popup-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.newsletter-popup-features li {
  padding: 8px 0;
  color: var(--text);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-popup-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.newsletter-popup-form {
  margin-bottom: 16px;
}

.newsletter-popup-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.newsletter-popup-input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  font-size: 16px;
  transition: border-color 0.2s ease;
  background: var(--bg);
}

.newsletter-popup-input:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.newsletter-popup-submit {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: var(--radius);
  padding: 14px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.newsletter-popup-submit:hover {
  background: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.newsletter-popup-submit:active {
  transform: translateY(0);
}

.newsletter-popup-privacy {
  text-align: center;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.newsletter-popup-privacy a {
  color: var(--accent);
  text-decoration: none;
}

.newsletter-popup-privacy a:hover {
  text-decoration: underline;
}

.newsletter-popup-message {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
}

.newsletter-popup-success {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.newsletter-popup-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
}

/* Mobile responsive for popup */
@media (max-width: 768px) {
  .newsletter-popup-overlay {
    padding: 16px;
  }
  
  .newsletter-popup-container {
    max-width: 100%;
  }
  
  .newsletter-popup-text {
    padding: 24px;
  }
  
  .newsletter-popup-title {
    font-size: 20px;
  }
  
  .newsletter-popup-input-group {
    flex-direction: column;
  }
  
  .newsletter-popup-submit {
    width: 100%;
  }
  
  .newsletter-popup-image {
    height: 160px;
  }
}

/* HTML Editor Styles */
.form-group textarea[rows="12"] {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
  background: #f8f9fa;
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px;
  resize: vertical;
  min-height: 200px;
}

.form-group textarea[rows="12"]:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* HTML Examples */
.html-example {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--text);
}

.html-example h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--accent);
}

.html-example code {
  background: white;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 12px;
}

/* Available images grid */
.html-example div[style*="grid"] {
  background: white;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 8px;
}

.html-example div[style*="grid"] code {
  display: block;
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 11px;
  word-break: break-all;
  border: 1px solid var(--stroke);
}

/* Shop Page Styles */
.products {
  padding: 40px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card.tall {
  display: flex;
  flex-direction: column;
}

.product-card .media {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.product-card:hover .media img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-card .body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.3;
}

.product-card .excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 16px;
  flex: 1;
}

.product-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-card .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.product-card .format {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* Shop page header */
.shop-header {
  background: var(--card);
  border-bottom: 1px solid var(--stroke);
  padding: 40px 0;
  text-align: center;
}

.shop-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
}

.shop-description {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Empty state */
.empty-shop {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}

.empty-shop-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-shop h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text);
}

.empty-shop p {
  font-size: 16px;
  margin: 0 0 32px;
  line-height: 1.6;
}

/* Responsive shop */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .shop-title {
    font-size: 28px;
  }
  
  .shop-description {
    font-size: 16px;
  }
  
  .product-card .body {
    padding: 16px;
  }
  
  .product-card .title {
    font-size: 16px;
  }
  
  .product-card .price {
    font-size: 18px;
  }
}