/**
 * Instant Event Images - Material Design 3 Styles
 * Production-ready CSS with responsive design
 */

/* ===============================
   VARIABLES & RESET
   =============================== */

:root {
  /* Instant Event Images Brand Colors - Vintage Palette */
  --md-primary: #6d4c41;
  --md-primary-dark: #4e342e;
  --md-primary-light: #8d6e63;
  --md-secondary: #d7ccc8;
  --md-secondary-dark: #a1887f;
  --md-error: #cf6679;
  --md-error-dark: #b84a5e;
  --md-success: #4caf50;
  --md-warning: #ff9800;
  
  /* Vintage Color Additions */
  --brown-900: #3e2723;
  --brown-800: #4e342e;
  --brown-700: #5d4037;
  --brown-600: #6d4c41;
  --brown-500: #795548;
  --brown-400: #8d6e63;
  --burnt-orange: #cd7f32;
  --vintage-yellow: #f4a460;
  --vintage-cream: #faf0e6;
  
  /* Neutrals */
  --md-surface: #ffffff;
  --md-background: #fafafa;
  --md-surface-variant: #f5f5f5;
  --md-outline: #ddd;
  --md-outline-variant: #eee;
  
  /* Text */
  --md-on-primary: #ffffff;
  --md-on-surface: #3e2723;
  --md-on-surface-variant: #666;
  --md-on-background: #3e2723;
  
  /* Shadows */
  --md-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.1);
  --md-shadow-2: 0 1px 4px rgba(0, 0, 0, 0.1);
  --md-shadow-3: 0 2px 8px rgba(0, 0, 0, 0.15);
  --md-shadow-4: 0 4px 16px rgba(0, 0, 0, 0.2);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--md-background);
  color: var(--md-on-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===============================
   TYPOGRAPHY
   =============================== */

h1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 var(--spacing-md);
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

h4 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.text-muted {
  color: var(--md-on-surface-variant);
  font-size: 0.875rem;
}

code {
  font-family: 'Courier New', monospace;
  background: var(--md-surface-variant);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

/* ===============================
   HEADER
   =============================== */

.app-header {
  background: var(--md-primary);
  color: var(--md-on-primary);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--md-shadow-2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  height: 50px;
  width: auto;
  transition: opacity 0.3s ease;
}

.header-logo:hover {
  opacity: 0.8;
}

.user-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 0.875rem;
}

/* ===============================
   LAYOUT
   =============================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.admin-container {
  max-width: 1600px;
}

/* ===============================
   BUTTONS
   =============================== */

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--md-primary);
  color: var(--md-on-primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  box-shadow: var(--md-shadow-1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--md-primary-dark);
  box-shadow: var(--md-shadow-2);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  background: var(--md-outline);
  color: var(--md-on-surface-variant);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background: var(--md-surface);
  color: var(--md-primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 1px solid var(--md-outline);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: var(--md-surface-variant);
  border-color: var(--md-primary);
}

.btn-text {
  background: transparent;
  color: inherit;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
}

.btn-text:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-icon {
  background: transparent;
  color: var(--md-primary);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: var(--md-surface-variant);
}

.btn-icon .material-icons {
  font-size: 1.25rem;
}

.btn-danger {
  color: var(--md-error);
}

.btn-danger:hover {
  background: rgba(207, 102, 121, 0.1);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-approve {
  background: var(--md-secondary);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
}

.btn-approve:hover {
  background: var(--md-secondary-dark);
}

.btn-decline {
  background: var(--md-error);
  color: var(--md-on-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
}

.btn-decline:hover {
  background: var(--md-error-dark);
}

/* ===============================
   CARDS
   =============================== */

.shoot-card {
  background: var(--md-surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--md-shadow-2);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.shoot-card:hover {
  box-shadow: var(--md-shadow-3);
  transform: translateY(-2px);
}

.shoot-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-sm);
}

.shoot-icon {
  font-size: 3rem !important;
  color: var(--md-primary);
}

.photo-card {
  background: var(--md-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--md-shadow-2);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.photo-card:hover {
  box-shadow: var(--md-shadow-3);
}

.photo-card.photo-processed {
  opacity: 0.7;
}

.photo-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--md-surface-variant);
}

.photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.photo-card:hover .photo-image {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.photo-content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  flex: 1;
}

.photo-title {
  font-size: 0.9375rem;
  color: var(--md-on-surface);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.photo-status {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  text-align: center;
}

.status-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--md-on-surface-variant);
}

.status-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-weight: 500;
}

.status-approved {
  color: var(--md-success);
}

.status-declined {
  color: var(--md-error);
}

.status-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  color: var(--md-error);
}

/* ===============================
   GRIDS
   =============================== */

.shoots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

@media (max-width: 768px) {
  .shoots-grid,
  .photos-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   FORMS
   =============================== */

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--md-on-surface);
}

.form-group small {
  display: block;
  margin-top: var(--spacing-xs);
  color: var(--md-on-surface-variant);
  font-size: 0.75rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--md-outline);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--md-surface);
  color: var(--md-on-surface);
  transition: border-color var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--md-primary);
  box-shadow: 0 0 0 2px rgba(98, 0, 238, 0.1);
}

input:disabled,
select:disabled,
textarea:disabled {
  background: var(--md-surface-variant);
  color: var(--md-on-surface-variant);
  cursor: not-allowed;
}

.comment-box {
  resize: vertical;
  min-height: 60px;
  font-size: 0.875rem;
}

/* ===============================
   LOADING & EMPTY STATES
   =============================== */

.loading-container,
.error-container,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  text-align: center;
  min-height: 400px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--md-outline);
  border-top-color: var(--md-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid var(--md-outline);
  border-top-color: var(--md-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.rotating {
  animation: spin 1s linear infinite;
}

.empty-state .material-icons {
  font-size: 4rem;
  color: var(--md-on-surface-variant);
  margin-bottom: var(--spacing-md);
}

.error-container .material-icons {
  font-size: 4rem;
  color: var(--md-error);
  margin-bottom: var(--spacing-md);
}

/* ===============================
   PROGRESS INDICATOR
   =============================== */

.gallery-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--md-outline);
}

.progress-indicator {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--md-surface-variant);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--md-primary);
  transition: width var(--transition-normal);
  border-radius: 4px;
}

#progressText {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--md-on-surface-variant);
}

/* ===============================
   SNACKBAR
   =============================== */

.snackbar {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #323232;
  color: white;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--md-shadow-4);
  z-index: 1000;
  transition: bottom var(--transition-normal);
  max-width: 90%;
  text-align: center;
}

.snackbar.show {
  bottom: var(--spacing-xl);
}

.snackbar-success {
  background: var(--md-success);
}

.snackbar-error {
  background: var(--md-error);
}

.snackbar-warning {
  background: var(--md-warning);
}

/* ===============================
   AUTH PAGES
   =============================== */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--md-primary) 0%, var(--md-primary-dark) 100%);
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: var(--spacing-lg);
}

.auth-card {
  background: var(--md-surface);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--md-shadow-4);
}

.auth-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.auth-icon {
  font-size: 4rem !important;
  color: var(--md-primary);
  margin-bottom: var(--spacing-md);
}

.auth-form {
  margin-top: var(--spacing-lg);
}

.auth-links {
  text-align: center;
  margin-top: var(--spacing-lg);
}

.auth-links a {
  color: var(--md-primary);
  text-decoration: none;
  font-size: 0.875rem;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-toggle {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--md-outline);
}

.auth-toggle p {
  margin: 0;
  color: var(--md-on-surface-variant);
  font-size: 0.875rem;
}

.auth-toggle a {
  color: var(--md-primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-toggle a:hover {
  text-decoration: underline;
}

.error-message,
.success-message {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
  font-size: 0.875rem;
}

.error-message {
  background: rgba(207, 102, 121, 0.1);
  color: var(--md-error);
  border: 1px solid var(--md-error);
}

.success-message {
  background: rgba(76, 175, 80, 0.1);
  color: var(--md-success);
  border: 1px solid var(--md-success);
}

/* ===============================
   ADMIN DASHBOARD
   =============================== */

.admin-header {
  background: linear-gradient(135deg, var(--md-primary) 0%, var(--md-primary-dark) 100%);
}

.tabs {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  border-bottom: 2px solid var(--md-outline);
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  color: var(--md-on-surface-variant);
  padding: var(--spacing-md) var(--spacing-lg);
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--md-primary);
  background: var(--md-surface-variant);
}

.tab-btn.active {
  color: var(--md-primary);
  border-bottom-color: var(--md-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.section-header > div {
  display: flex;
  gap: var(--spacing-sm);
}

/* ===============================
   TABLES
   =============================== */

.table-container {
  background: var(--md-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--md-shadow-2);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: var(--md-surface-variant);
}

.data-table th {
  padding: var(--spacing-md);
  text-align: left;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  border-bottom: 1px solid var(--md-outline);
}

.data-table td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--md-outline-variant);
  font-size: 0.9375rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover {
  background: var(--md-surface-variant);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--md-surface-variant);
  color: var(--md-on-surface);
}

.badge-admin {
  background: rgba(98, 0, 238, 0.1);
  color: var(--md-primary);
}

.badge-client {
  background: rgba(3, 218, 197, 0.1);
  color: var(--md-secondary-dark);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.folder-id {
  font-size: 0.75rem;
  max-width: 200px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===============================
   FILTERS
   =============================== */

.filters {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-select {
  min-width: 200px;
}

/* ===============================
   MODALS
   =============================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.modal-content {
  background: var(--md-surface);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--md-shadow-4);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--md-outline);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--md-on-surface-variant);
  padding: 0.25rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--md-on-surface);
}

.modal-content form {
  padding: var(--spacing-lg);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .container {
    padding: var(--spacing-md);
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .data-table {
    font-size: 0.875rem;
  }
  
  .data-table th,
  .data-table td {
    padding: var(--spacing-sm);
  }
  
  .tabs {
    overflow-x: auto;
  }
}

/* ===============================
   INDEX PAGE
   =============================== */

.index-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--md-primary) 0%, var(--md-primary-dark) 100%);
  text-align: center;
  padding: var(--spacing-lg);
}

.index-content {
  background: var(--md-surface);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--md-shadow-4);
  max-width: 600px;
}

.index-content .material-icons {
  font-size: 5rem;
  color: var(--md-primary);
  margin-bottom: var(--spacing-lg);
}

.index-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

/* ===============================
   SHOPPING CART
   =============================== */

.cart-content {
  padding: var(--spacing-xl) 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--spacing-xl);
  align-items: start;
}

.cart-items h2 {
  margin-bottom: var(--spacing-lg);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--md-surface);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--md-shadow-1);
  margin-bottom: var(--spacing-md);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  background: var(--md-surface-variant);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image .material-icons {
  font-size: 2.5rem;
  color: var(--md-on-surface-variant);
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 500;
}

.cart-item-shoot {
  margin: 0;
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
}

.cart-item-price {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--md-primary);
  margin-right: var(--spacing-md);
}

.cart-item-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--md-error);
  padding: var(--spacing-sm);
  border-radius: 50%;
  transition: background-color 0.2s;
}

.cart-item-remove:hover {
  background: rgba(207, 102, 121, 0.1);
}

.cart-summary {
  position: sticky;
  top: var(--spacing-xl);
}

.summary-card {
  background: var(--md-surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--md-shadow-2);
}

.summary-card h3 {
  margin: 0 0 var(--spacing-lg) 0;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--md-outline);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
  color: var(--md-on-surface-variant);
}

.summary-total {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--md-on-surface);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
  border-top: 2px solid var(--md-outline);
}

@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  
  .cart-summary {
    position: static;
  }
}

/* ===============================
   CART ICON & BADGE
   =============================== */

.cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--md-on-surface);
  text-decoration: none;
  margin-right: var(--spacing-md);
  padding: var(--spacing-sm);
  border-radius: 50%;
  transition: background-color 0.2s;
}

.cart-icon-link:hover {
  background-color: rgba(109, 76, 65, 0.1);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--md-error);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* ===============================
   FULL SHOOT CARD
   =============================== */

.full-shoot-card {
  background: linear-gradient(135deg, var(--md-primary-light), var(--md-primary));
  color: white;
  grid-column: 1 / -1;
  margin-bottom: var(--spacing-lg);
}

.full-shoot-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl);
  gap: var(--spacing-md);
}

.full-shoot-content h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 500;
}

.full-shoot-content .text-muted {
  color: rgba(255, 255, 255, 0.8);
}

.price-tag {
  font-size: 2rem;
  font-weight: 700;
  margin: var(--spacing-sm) 0;
}

.full-shoot-content .btn-primary {
  background: white;
  color: var(--md-primary);
}

.full-shoot-content .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ===============================
   ADD TO CART BUTTON
   =============================== */

.btn-add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--md-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: var(--spacing-sm);
  transition: background-color 0.2s;
}

.btn-add-to-cart:hover {
  background: var(--md-primary-dark);
}

.btn-add-to-cart .material-icons {
  font-size: 1.25rem;
}

.pricing-info {
  font-size: 0.875rem;
  color: var(--md-primary);
  font-weight: 500;
  margin: 0.25rem 0;
}

/* ===============================
   CHECKOUT PAGE
   =============================== */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--spacing-xl);
  align-items: start;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.checkout-section {
  background: var(--md-surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--md-shadow-1);
}

.checkout-section h2 {
  margin: 0 0 var(--spacing-lg) 0;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--md-outline);
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm);
  background: var(--md-surface-variant);
  border-radius: var(--radius-sm);
}

.order-item-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.order-item-details .text-muted {
  font-size: 0.75rem;
}

.order-item-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--md-primary);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--md-outline);
  border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--md-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-md);
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.delivery-option {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  border: 2px solid var(--md-outline);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.delivery-option:hover {
  border-color: var(--md-primary);
  background: rgba(109, 76, 65, 0.05);
}

.delivery-option input[type="radio"] {
  margin-right: var(--spacing-md);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.delivery-option input[type="radio"]:checked + .option-content {
  color: var(--md-primary);
}

.delivery-option:has(input[type="radio"]:checked) {
  border-color: var(--md-primary);
  background: rgba(109, 76, 65, 0.1);
}

.option-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 1;
}

.option-content .material-icons {
  font-size: 2rem;
}

.option-content strong {
  display: block;
  margin-bottom: 0.25rem;
}

.option-content p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
}

.shipping-form {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--md-outline);
}

.shipping-form h3 {
  margin: 0 0 var(--spacing-md) 0;
  font-size: 1rem;
  font-weight: 500;
}

.payment-notice {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--md-surface-variant);
  border-radius: var(--radius-sm);
  align-items: flex-start;
}

.payment-notice .material-icons {
  color: var(--md-primary);
}

.payment-notice p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
}

.checkout-sidebar {
  position: sticky;
  top: var(--spacing-xl);
}

.btn-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  width: 100%;
}

.success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xxl);
}

.success-icon {
  font-size: 5rem;
  color: var(--md-success);
  margin-bottom: var(--spacing-lg);
}

.success-container h2 {
  margin: 0 0 var(--spacing-md) 0;
}

.order-number {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--md-primary);
  margin: var(--spacing-lg) 0;
}

.success-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  
  .checkout-sidebar {
    position: static;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .success-actions {
    flex-direction: column;
    width: 100%;
  }
}

/* ===============================
   ADMIN ORDERS & COUPONS
   =============================== */

.status-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--md-outline);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.875rem;
  cursor: pointer;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.badge-pending {
  background: #fff3cd;
  color: #856404;
}

.badge-processing {
  background: #cfe2ff;
  color: #084298;
}

.badge-completed {
  background: #d1e7dd;
  color: #0f5132;
}

.badge-cancelled {
  background: #f8d7da;
  color: #842029;
}

.badge-digital {
  background: #e7f3ff;
  color: #0969da;
}

.badge-polaroid {
  background: #fff0e7;
  color: #c44606;
}

.badge-shipping {
  background: #f0e7ff;
  color: #6c11c4;
}

.badge-percentage {
  background: #e7f5ff;
  color: #0550ae;
}

.badge-fixed {
  background: #eff8ff;
  color: #0969da;
}

.badge-active {
  background: #dafbe1;
  color: #1a7f37;
}

.badge-inactive {
  background: #eaeef2;
  color: #57606a;
}

.modal-large {
  max-width: 700px;
}

.order-details {
  padding: var(--spacing-md);
}

.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--md-outline);
}

.order-detail-header h4 {
  margin: 0 0 0.25rem 0;
}

.order-detail-section {
  margin-bottom: var(--spacing-lg);
}

.order-detail-section h4 {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--md-on-surface-variant);
}

.order-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm);
  background: var(--md-surface-variant);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-xs);
}

.order-detail-item small {
  display: block;
  color: var(--md-on-surface-variant);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.order-detail-total {
  background: var(--md-primary-light);
  color: var(--md-on-primary);
  font-size: 1.125rem;
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: var(--spacing-sm);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: var(--md-on-surface-variant);
  font-size: 0.875rem;
}

/* ===============================
   COUPON SECTION
   =============================== */

.coupon-section {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--md-outline);
}

.coupon-input-group {
  display: flex;
  gap: var(--spacing-sm);
}

.coupon-input-group input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--md-outline);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-transform: uppercase;
}

.coupon-input-group input:focus {
  outline: none;
  border-color: var(--md-primary);
}

.coupon-input-group button {
  padding: var(--spacing-sm) var(--spacing-md);
  white-space: nowrap;
}

.coupon-message {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.coupon-success {
  background: #d1e7dd;
  color: #0f5132;
  border: 1px solid #a3cfbb;
}

.coupon-error {
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f1aeb5;
}

.summary-discount {
  color: var(--md-success);
  font-weight: 500;
}

.summary-discount span {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.btn-icon-small {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  color: var(--md-error);
  border-radius: 50%;
  transition: background-color 0.2s;
}

.btn-icon-small:hover {
  background: rgba(207, 102, 121, 0.1);
}

.btn-icon-small .material-icons {
  font-size: 1rem;
}

/* ===============================
   GALLERY FILTER CONTROLS
   =============================== */

.gallery-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-sm);
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--md-surface-variant);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

.filter-checkbox:hover {
  background: var(--md-primary-light);
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

.filter-checkbox span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--md-on-surface);
}

.photo-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
  .gallery-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .gallery-controls {
    align-items: stretch;
  }
  
  .filter-checkbox {
    justify-content: center;
  }
}

/* ===============================
   CAROUSEL ADMIN
   =============================== */

.carousel-instructions {
  padding: var(--spacing-md);
  background: var(--md-surface-variant);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
}

.carousel-instructions p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
}

.carousel-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.carousel-photo-card {
  background: var(--md-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--md-shadow-2);
  transition: all var(--transition-normal);
}

.carousel-photo-card:hover {
  box-shadow: var(--md-shadow-3);
  transform: translateY(-2px);
}

.carousel-photo-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #2c1810;
}

.carousel-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-photo-order {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  background: var(--md-primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.carousel-photo-info {
  padding: var(--spacing-md);
}

.carousel-photo-info h4 {
  margin: 0 0 var(--spacing-xs) 0;
  font-size: 1rem;
  color: var(--md-on-surface);
}

.carousel-photo-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  line-height: 1.4;
}

.carousel-photo-actions {
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
  display: flex;
  gap: var(--spacing-sm);
}

.carousel-photo-actions button {
  flex: 1;
  padding: var(--spacing-sm);
  font-size: 0.875rem;
}

/* Public Gallery Navigation */
.gallery-nav {
  background: var(--md-surface);
  border-bottom: 1px solid var(--md-outline);
  box-shadow: var(--md-shadow-1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.gallery-nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-nav-logo {
  display: block;
  line-height: 0;
}

.gallery-nav-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.gallery-nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.gallery-nav-links a {
  color: var(--md-on-surface);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.gallery-nav-links a:hover {
  color: var(--md-primary);
}

.gallery-nav-links svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .gallery-nav-logo img {
    height: 40px;
  }
  
  .gallery-nav-links {
    gap: var(--spacing-md);
    font-size: 0.9rem;
  }
  
  .gallery-nav-links a span {
    display: none;
  }
}

/* Public Gallery Styles */
.public-gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

.loading-state,
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  color: var(--md-on-surface-variant);
}

.error-state .material-symbols-outlined {
  font-size: 4rem;
  color: var(--md-error);
  margin-bottom: var(--spacing-md);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-xl);
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.gallery-info h1 {
  margin: 0 0 var(--spacing-sm) 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--md-on-surface);
}

.gallery-date {
  color: var(--md-on-surface-variant);
  margin: 0 0 var(--spacing-xs) 0;
}

.photo-count {
  color: var(--md-on-surface-variant);
  font-weight: 500;
  margin: 0;
}

.gallery-actions {
  display: flex;
  gap: var(--spacing-md);
}

/* Highlighted Section */
.highlighted-section {
  margin-bottom: var(--spacing-xxl);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin: 0;
  font-size: 1.5rem;
  color: var(--md-on-surface);
}

.section-header h2 .material-symbols-outlined {
  color: var(--md-primary);
}

.view-controls {
  display: flex;
  gap: var(--spacing-xs);
}

.view-btn {
  padding: var(--spacing-sm);
  background: transparent;
  border: 1px solid var(--md-outline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  background: var(--md-surface-variant);
}

.view-btn.active {
  background: var(--md-primary);
  color: white;
  border-color: var(--md-primary);
}

.highlighted-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.highlighted-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.highlighted-photo:hover {
  transform: scale(1.02);
}

.highlighted-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.highlighted-photo:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay .material-symbols-outlined {
  font-size: 3rem;
  color: white;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.photo-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.photo-card:hover {
  transform: scale(1.05);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card-overlay {
  position: absolute;
  top: 0;
  right: 0;
  padding: var(--spacing-sm);
  opacity: 0;
  transition: opacity 0.3s;
}

.photo-card:hover .photo-card-overlay {
  opacity: 1;
}

.photo-action-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.photo-action-btn:hover {
  background: white;
}

/* Carousel View */
.carousel-view {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  min-height: 70vh;
}

.carousel-container {
  flex: 1;
  max-width: 1000px;
  position: relative;
}

.carousel-container img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.carousel-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-md);
  padding: 0 var(--spacing-md);
}

.carousel-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.carousel-nav {
  background: var(--md-surface);
  border: 1px solid var(--md-outline);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-nav:hover {
  background: var(--md-surface-variant);
}

.carousel-nav .material-symbols-outlined {
  font-size: 2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  width: 90%;
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: var(--spacing-xl);
}

.lightbox-next {
  right: var(--spacing-xl);
}

.lightbox-nav .material-symbols-outlined {
  font-size: 2rem;
}

#lightboxImage {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-footer {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  background: rgba(0, 0, 0, 0.7);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-full);
  color: white;
}

.lightbox-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.icon-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.875rem;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Share Modal */
.share-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-md);
  padding: var(--spacing-md);
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--md-outline);
  background: var(--md-surface);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.share-btn svg {
  width: 24px;
  height: 24px;
}

.share-btn.facebook {
  color: #1877F2;
  border-color: #1877F2;
}

.share-btn.facebook:hover {
  background: #1877F2;
  color: white;
}

.share-btn.twitter {
  color: #1DA1F2;
  border-color: #1DA1F2;
}

.share-btn.twitter:hover {
  background: #1DA1F2;
  color: white;
}

.share-btn.instagram {
  color: #E4405F;
  border-color: #E4405F;
}

.share-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.share-btn.whatsapp {
  color: #25D366;
  border-color: #25D366;
}

.share-btn.whatsapp:hover {
  background: #25D366;
  color: white;
}

.share-btn.pinterest {
  color: #E60023;
  border-color: #E60023;
}

.share-btn.pinterest:hover {
  background: #E60023;
  color: white;
}

.share-btn.copy-link {
  color: var(--md-primary);
  border-color: var(--md-primary);
}

.share-btn.copy-link:hover {
  background: var(--md-primary);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-header {
    flex-direction: column;
  }
  
  .gallery-actions {
    width: 100%;
  }
  
  .gallery-actions button {
    flex: 1;
  }
  
  .highlighted-carousel {
    grid-template-columns: 1fr;
  }
  
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-sm);
  }
  
  .carousel-nav {
    width: 44px;
    height: 44px;
  }
  
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  
  .lightbox-prev {
    left: var(--spacing-sm);
  }
  
  .lightbox-next {
    right: var(--spacing-sm);
  }
  
  .share-options {
    grid-template-columns: 1fr;
  }
}

