/* Extracted styles from collection-products.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Hide removed header remnants */
    margin-top: 0;
}
.site-header, .nav-left, .nav-right, .nav-logo { display:none !important; }

/* Tailwind placeholder - existing classes */
.locked{opacity:0.4;pointer-events:none;transition:opacity .3s ease;}

/* original body styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
}

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}
.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}
.nav-left a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
}
.nav-left a:hover {
    color: #667eea;
}
.nav-logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1px;
}
.nav-logo .sub {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 2px;
}
.icon-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.icon-btn:hover {
    color: #667eea;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: -20px -20px 40px -20px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
    line-height: 1.3;
}

.product-vendor {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-calendar-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-calendar-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
}

.add-to-calendar-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #718096;
}

.error {
    text-align: center;
    padding: 40px;
    color: #e53e3e;
    font-size: 1.1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button {
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination button:hover {
    background: #f7fafc;
    border-color: #667eea;
}

.pagination button:disabled {
    background: #f7fafc;
    color: #cbd5e0;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-info {
    padding: 10px 20px;
    color: #4a5568;
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* Toast */
.toast {
    background: #38a169; /* green */
    color: white;
    padding: 12px 18px;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.modal h3 {
    margin-bottom: 20px;
    color: #2d3748;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal input {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}
    /* Toast slide-in animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slideIn {
    animation: slideInRight 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Hide removed header remnants */
    margin-top: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
}

.site-header, .nav-left, .nav-right, .nav-logo, .icon-btn {
    display: none !important;
}

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}
.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}
.nav-left a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
}
.nav-left a:hover {
    color: #667eea;
}
.nav-logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1px;
}
.nav-logo .sub {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 2px;
}
.icon-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.icon-btn:hover {
    color: #667eea;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: -20px -20px 40px -20px;
}
.header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}
.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px;
}
.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
    line-height: 1.3;
}
.product-vendor {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-calendar-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.add-to-calendar-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
}
.add-to-calendar-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #718096;
}
.error {
    text-align: center;
    padding: 40px;
    color: #e53e3e;
    font-size: 1.1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination button {
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
.pagination button:hover {
    background: #f7fafc;
    border-color: #667eea;
}
.pagination button:disabled {
    background: #f7fafc;
    color: #cbd5e0;
    cursor: not-allowed;
    border-color: #e2e8f0;
}
.pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}
.page-info {
    padding: 10px 20px;
    color: #4a5568;
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* Toast */
.toast {
    background: #38a169; /* green */
    color: white;
    padding: 12px 18px;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.modal h3 { margin-bottom: 20px; color: #2d3748; }
.modal-form { display: flex; flex-direction: column; gap: 15px; }
.modal input { padding: 10px; border: 1px solid #e2e8f0; border-radius: 4px; font-size: 14px; }
.modal-buttons { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* Toast slide-in animation */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);   opacity: 1; }
}
.animate-slideIn { animation: slideInRight 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) both; }

/* Override Tailwind utility for specific layout tweak */
.items-end {
  align-items: center !important;
  padding-top: 20% !important;
}

/* Authentication styles */
button[aria-label="Account"].authenticated {
  background-color: #ebf5ff;
  border-color: #3b82f6;
  border-width: 2px;
  position: relative;
  color: #1e40af;
}

button[aria-label="Account"].authenticated::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  border: 1px solid white;
}

/* Account dropdown styles */
.account-dropdown {
  position: absolute;
  right: 4px;
  top: 100%;
  margin-top: 8px;
  padding: 8px 0;
  width: 220px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 50;
  border: 1px solid #e5e7eb;
}

.account-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 4px;
}

.account-dropdown-header .user-name {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}

.account-dropdown-header .user-email {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.account-dropdown a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #4b5563;
  font-size: 14px;
  transition: background-color 0.2s;
  text-decoration: none;
}

.account-dropdown a:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.account-dropdown a.calendar-link {
  color: #1e40af;
  font-weight: 500;
}

.account-dropdown a.calendar-link:hover {
  background-color: #ebf5ff;
}

.account-dropdown a.logout-link {
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
  color: #ef4444;
}

.account-dropdown a.logout-link:hover {
  background-color: #fef2f2;
}

.account-dropdown .icon {
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
