/**
 * Alpine Gold Honey - Professional Integration Styles
 * ===================================================
 * 
 * Comprehensive CSS for all JavaScript integration components
 * Maintains Alpine Gold Honey brand identity with professional polish
 */

/* =============================================================================
   GLOBAL INTEGRATION STYLES
   ============================================================================= */

.alpine-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

.alpine-notification--success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-left: 4px solid #065f46;
}

.alpine-notification--error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-left: 4px solid #991b1b;
}

.alpine-notification--warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-left: 4px solid #92400e;
}

.alpine-notification--info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-left: 4px solid #1e40af;
}

.alpine-notification__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.alpine-notification__message {
    flex: 1;
}

.alpine-notification__close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.alpine-notification__close:hover {
    background-color: rgba(255,255,255,0.2);
}

@keyframes slideInRight {
    from { 
        transform: translateX(100%) scale(0.95); 
        opacity: 0;
    }
    to { 
        transform: translateX(0) scale(1); 
        opacity: 1;
    }
}

/* Page Transition Effects */
.page-transitioning {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================================================
   ADMIN DASHBOARD STYLES
   ============================================================================= */

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

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    border-color: #d4a574;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212,165,116,0.15);
}

.stat-card h3 {
    color: #4a7c59;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016;
    font-family: 'Playfair Display', serif;
}

.recent-orders, .low-stock-alerts, .revenue-chart {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.recent-orders h3, .low-stock-alerts h3, .revenue-chart h3 {
    color: #2d5016;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 0.5rem;
}

.order-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

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

.order-number {
    font-weight: 600;
    color: #2d5016;
}

.order-status select {
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 500;
    transition: border-color 0.2s ease;
}

.order-status select:focus {
    outline: none;
    border-color: #d4a574;
}

.stock-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: #fef9e7;
    border-left: 4px solid #f59e0b;
}

.stock-alert:last-child {
    margin-bottom: 0;
}

.out-of-stock {
    background: #fee2e2;
    border-left-color: #ef4444;
}

.low-stock {
    background: #fef3cd;
    border-left-color: #f59e0b;
}

.chart-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-bar {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.chart-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4a574, #b8860b);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.chart-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.chart-value {
    font-weight: 600;
    color: #2d5016;
    text-align: right;
}

/* =============================================================================
   CART PAGE STYLES
   ============================================================================= */

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #d4a574;
}

.cart-header h1 {
    font-family: 'Playfair Display', serif;
    color: #2d5016;
}

.item-count {
    font-size: 1.1rem;
    color: #4a7c59;
    font-weight: 500;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-cart h2 {
    color: #2d5016;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
}

.item-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.item-details h3 {
    color: #2d5016;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.item-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 0.5rem;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    background: #d4a574;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.qty-btn:hover {
    background: #b8860b;
}

.quantity-controls input {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #2d5016;
}

.item-price {
    text-align: right;
}

.unit-price {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d5016;
}

.remove-btn {
    padding: 0.75rem 1rem;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #fecaca;
    transform: scale(1.05);
}

.cart-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 2rem;
}

.summary-header h3 {
    color: #2d5016;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 0.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d5016;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #d4a574;
}

.checkout-actions {
    margin-top: 2rem;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #4a7c59;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.continue-shopping:hover {
    color: #2d5016;
}

.shipping-notice {
    margin-top: 1rem;
    padding: 1rem;
    background: #fef9e7;
    border-radius: 8px;
    border-left: 4px solid #d4a574;
}

.shipping-notice p {
    margin: 0;
    font-weight: 500;
    color: #8b6914;
}

/* =============================================================================
   PRODUCT LISTING STYLES
   ============================================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.featured-badge, .out-of-stock-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-badge {
    background: linear-gradient(135deg, #d4a574, #b8860b);
    color: white;
}

.out-of-stock-badge {
    background: #ef4444;
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-name a {
    color: #2d5016;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.product-name a:hover {
    color: #4a7c59;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
    font-size: 0.85rem;
    color: #888;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.product-rating .review-count {
    color: #666;
    font-size: 0.85rem;
}

.product-price {
    margin: 1rem 0;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d5016;
}

.product-actions {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #fef9e7;
    border-top: 1px solid #f0f0f0;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #d4a574, #b8860b);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,165,116,0.3);
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.quick-view-btn {
    background: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-view-btn:hover {
    background: #4a7c59;
    color: white;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.no-products h3 {
    color: #2d5016;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination button {
    padding: 0.75rem 1rem;
    border: 2px solid #d4a574;
    background: white;
    color: #d4a574;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination button:hover, .pagination button.active {
    background: #d4a574;
    color: white;
}

/* =============================================================================
   PRODUCT DETAIL STYLES
   ============================================================================= */

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.image-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #d4a574;
    transform: scale(1.05);
}

.product-header h1 {
    font-family: 'Playfair Display', serif;
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #fef9e7;
    border-radius: 8px;
}

.product-rating .review-count {
    color: #4a7c59;
    font-weight: 500;
}

.product-price {
    margin: 2rem 0;
}

.product-price .original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.product-price .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016;
    font-family: 'Playfair Display', serif;
}

.product-price .savings {
    display: block;
    color: #10b981;
    font-weight: 600;
    margin-top: 0.5rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin: 2rem 0;
}

.product-attributes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.attribute {
    font-size: 0.95rem;
    color: #555;
}

.attribute strong {
    color: #2d5016;
}

.purchase-section {
    border-top: 2px solid #d4a574;
    padding-top: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quantity-selector label {
    font-weight: 600;
    color: #2d5016;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.5rem;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 6px;
    background: #d4a574;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.quantity-controls button:hover {
    background: #b8860b;
}

.quantity-controls input {
    width: 80px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #2d5016;
    font-size: 1.1rem;
}

.stock-info {
    margin: 1rem 0;
}

.in-stock {
    color: #10b981;
    font-weight: 600;
}

.low-stock {
    color: #f59e0b;
    font-weight: 600;
}

.out-of-stock {
    color: #ef4444;
    font-weight: 600;
}

.purchase-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.purchase-buttons .btn-large {
    flex: 2;
}

.wishlist-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-details-tabs {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tab-buttons {
    display: flex;
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    flex: 1;
    padding: 1.5rem;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.tab-button.active {
    color: #2d5016;
    background: white;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #d4a574;
}

.tab-button:hover:not(.active) {
    color: #4a7c59;
    background: rgba(212,165,116,0.1);
}

.tab-content {
    padding: 3rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.product-long-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.floral-notes {
    margin: 2rem 0;
}

.floral-notes h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.notes-list {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.note-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #d4a574, #b8860b);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.nutritional-info h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.nutrition-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
}

.nutrition-row {
    display: flex;
    justify-content: space-between;
}

.nutrition-row span:first-child {
    font-weight: 500;
    color: #555;
}

.nutrition-row span:last-child {
    font-weight: 600;
    color: #2d5016;
}

.reviews-summary {
    background: #fef9e7;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2d5016;
    font-family: 'Playfair Display', serif;
}

.rating-stars {
    font-size: 1.5rem;
    color: #d4a574;
}

.reviews-list {
    margin-bottom: 3rem;
}

.review-item {
    padding: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-rating {
    color: #d4a574;
    font-size: 1.2rem;
}

.review-title {
    font-weight: 600;
    color: #2d5016;
}

.review-date {
    color: #888;
    font-size: 0.9rem;
    margin-left: auto;
}

.review-content {
    color: #666;
    line-height: 1.6;
}

.write-review-section {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 12px;
}

.write-review-section h4 {
    color: #2d5016;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.rating-input {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-input input:checked ~ label,
.rating-input label:hover {
    color: #d4a574;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d5016;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.shipping-info h4 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.shipping-info ul {
    list-style: none;
    padding: 0;
}

.shipping-info li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 2rem;
}

.shipping-info li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.shipping-info li:last-child {
    border-bottom: none;
}

/* =============================================================================
   BLOG PAGE STYLES
   ============================================================================= */

.blog-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.post-title a {
    color: #2d5016;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: #4a7c59;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 1rem 0;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #d4a574;
    color: white;
}

.read-more-btn {
    display: inline-block;
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.read-more-btn:hover {
    color: #2d5016;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* =============================================================================
   PROMO CODE ADMIN STYLES
   ============================================================================= */

.promo-code-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

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

.promo-codes-table {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

.promo-codes-table h3 {
    color: #2d5016;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 0.5rem;
}

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

.promo-codes-table th,
.promo-codes-table td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.promo-codes-table th {
    background: #fef9e7;
    font-weight: 600;
    color: #2d5016;
}

.create-promo-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.create-promo-form h3 {
    color: #2d5016;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 0.5rem;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 1rem;
    }
    
    .item-quantity, .item-price, .item-actions {
        grid-column: 1 / -1;
        justify-self: start;
    }
    
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .purchase-buttons {
        flex-direction: column;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .blog-posts-container {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .product-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .alpine-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .cart-container {
        padding: 1rem;
    }
    
    .cart-item {
        padding: 1rem;
    }
    
    .product-header h1 {
        font-size: 2rem;
    }
    
    .product-price .current-price {
        font-size: 2rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}