/**
 * Holiday Giveaway Garden - Front-end Styles
 * Festive Holiday Theme with Clean, Accessible Design
 *
 * @package HolidayGiveawayGarden
 */

/* Variables */
:root {
    --hgg-red: #c41e3a;
    --hgg-green: #165b33;
    --hgg-gold: #d4af37;
    --hgg-white: #ffffff;
    --hgg-cream: #fef9f3;
    --hgg-gray: #6b7280;
    --hgg-dark: #1f2937;
    --hgg-radius: 12px;
    --hgg-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hgg-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Base Container Styles */
.hgg-journey-container,
.hgg-register-container,
.hgg-my-gifts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
}

.hgg-version {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
    z-index: 9999;
}

/* Badge Collection */
.hgg-badge-collection {
    margin-bottom: 2rem;
}

.hgg-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--hgg-cream);
    border-radius: var(--hgg-radius);
}

.hgg-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: help;
}

.hgg-badge.earned {
    background: rgba(22, 91, 51, 0.05);
}

.hgg-badge.locked {
    opacity: 0.3;
    filter: grayscale(1);
}

.hgg-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hgg-badge-emoji {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.hgg-badge-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hgg-dark);
    display: block;
}

/* Old Badge Bar (deprecated but kept for compatibility) */
.hgg-badge-bar {
    display: none;
}

/* Progress Section */
.hgg-progress-section {
    background: var(--hgg-cream);
    padding: 2rem;
    border-radius: var(--hgg-radius);
    margin-bottom: 2rem;
    border: 2px solid var(--hgg-gold);
}

.hgg-progress-section h3 {
    margin: 0 0 1rem 0;
    color: var(--hgg-dark);
}

.hgg-progress-text {
    font-size: 1.1rem;
    color: var(--hgg-gray);
    margin-bottom: 1rem;
}

.hgg-progress-bar {
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.hgg-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hgg-green), var(--hgg-gold));
    transition: width 0.5s ease;
    position: relative;
}

/* Gifts Grid */
.hgg-gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hgg-gift-card {
    background: var(--hgg-white);
    border-radius: var(--hgg-radius);
    overflow: hidden;
    box-shadow: var(--hgg-shadow);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hgg-gift-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hgg-shadow-lg);
}

.hgg-gift-card.hgg-vip {
    border: 3px solid var(--hgg-gold);
    animation: sparkle 2s infinite;
}

.hgg-gift-card.hgg-claimed {
    cursor: pointer;
    border: 2px solid var(--hgg-green);
}

.hgg-gift-card.hgg-claimed:hover {
    border-color: var(--hgg-gold);
}

.hgg-gift-card.hgg-gift-new {
    border: 3px solid var(--hgg-red);
    animation: hgg-pulse 2s ease-in-out 3;
}

.hgg-new-badge {
    display: none;
}

.hgg-gift-card.hgg-gift-new .hgg-new-badge {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--hgg-red);
    color: var(--hgg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
    animation: hgg-badge-pop 0.5s ease-out;
}

/* Debug: show tiny ID chip on cards when HGG_DEBUG is enabled */
.hgg-id-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(17, 24, 39, 0.9);
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    z-index: 11;
}

@keyframes hgg-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(196, 30, 58, 0.6); }
}

@keyframes hgg-badge-pop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes sparkle {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.6); }
}

.hgg-gift-image {
    width: 100%;
    height: 200px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f3f4f6;
}

.hgg-gift-content {
    padding: 1.5rem;
}

.hgg-gift-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--hgg-dark);
}

.hgg-gift-desc {
    color: var(--hgg-gray);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.hgg-gift-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.hgg-tag {
    display: inline-block;
    background: var(--hgg-cream);
    color: var(--hgg-green);
    padding: 0.1rem 0.3rem;
    border-radius: 8px;
    font-size: 0.625rem;
    font-weight: 500;
    border: 1px solid var(--hgg-gold);
}

/* Claim modal description formatting */
.hgg-claim-desc {
    line-height: 1.6;
}

.hgg-claim-desc p {
    margin: 0 0 1rem 0;
}

.hgg-claim-desc p:last-child {
    margin-bottom: 0;
}

.hgg-gift-partner {
    font-size: 0.85rem;
    color: var(--hgg-green);
    font-weight: 600;
}

.hgg-tier-badge {
    display: inline-block;
    background: var(--hgg-red);
    color: var(--hgg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hgg-vip-badge {
    display: inline-block;
    background: var(--hgg-gold);
    color: var(--hgg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.hgg-gift-actions {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

/* When rating sits inside actions, keep it tight above buttons */
.hgg-gift-actions .hgg-rating-container {
    padding: 0;
}

.hgg-gift-card.hgg-claimed .hgg-gift-content {
    padding-bottom: 1rem;
}

.hgg-gift-card.hgg-claimed .hgg-gift-actions {
    padding-top: 0;
}

.hgg-rating-hint {
    margin: 0.5rem 0 0 0;
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* Buttons */
.hgg-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.hgg-btn-primary {
    background: var(--hgg-red);
    color: var(--hgg-white);
}

.hgg-btn-primary:hover {
    background: #a01729;
}

.hgg-btn-secondary {
    background: var(--hgg-green);
    color: var(--hgg-white);
}

.hgg-btn-secondary:hover {
    background: #0f4526;
}

.hgg-btn-text {
    background: transparent;
    color: #666;
    border: none;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    text-decoration: underline;
}

.hgg-btn-text:hover {
    color: #333;
}

.hgg-btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    width: 100%;
}

/* Modal */
.hgg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.hgg-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hgg-modal-content {
    position: relative;
    background: var(--hgg-white);
    max-width: 600px;
    margin: 5% auto;
    border-radius: var(--hgg-radius);
    padding: 2rem;
    box-shadow: var(--hgg-shadow-lg);
    max-height: 85vh;
    overflow-y: auto;
}

.hgg-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--hgg-gray);
}

.hgg-modal-close:hover {
    color: var(--hgg-dark);
}

/* Forms */
.hgg-form-group {
    margin-bottom: 1.5rem;
}

.hgg-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--hgg-dark);
}

.hgg-form-group input[type="text"],
.hgg-form-group input[type="email"],
.hgg-form-group input[type="tel"],
.hgg-form-group input[type="url"],
.hgg-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

.hgg-form-group input:focus,
.hgg-form-group textarea:focus {
    outline: none;
    border-color: var(--hgg-green);
}

.hgg-form-group.hgg-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.hgg-form-group.hgg-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
}

#hgg-consent-text {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--hgg-gray);
    line-height: 1.4;
}

.hgg-rating-stars {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
}

.hgg-star,
.hgg-rating-star {
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.2s ease;
}

.hgg-star.active,
.hgg-star:hover,
.hgg-rating-star.active,
.hgg-rating-star.hover {
    opacity: 1;
    color: #ffd700;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5));
}

.hgg-char-count {
    font-size: 0.85rem;
    color: var(--hgg-gray);
    margin-top: 0.25rem;
}

.hgg-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hgg-form-actions .hgg-btn {
    flex: 1;
}

.hgg-form-message {
    margin-top: 1rem;
}

.hgg-error {
    background: #fee;
    color: #c41e3a;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #c41e3a;
}

.hgg-success {
    background: #efe;
    color: #165b33;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #165b33;
}

/* Debug Panel */
.hgg-debug-panel {
    position: fixed;
    bottom: 12px;
    left: 12px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 280px;
    max-width: 360px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.hgg-debug-header {
    font-weight: 700;
    margin-bottom: 6px;
    color: #111827;
}
.hgg-debug-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 8px;
    font-size: 12px;
    color: #374151;
    padding: 2px 0;
}
.hgg-debug-row .k { color: #6b7280; }
.hgg-debug-row .v { color: #111827; word-break: break-all; }
.hgg-debug-actions { margin-top: 8px; display: flex; gap: 6px; }
.hgg-btn-mini {
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    border-radius: 6px;
    cursor: pointer;
}

/* Referral Section */
.hgg-referral-section {
    background: var(--hgg-cream);
    padding: 2rem;
    border-radius: var(--hgg-radius);
    margin-top: 2rem;
}

.hgg-referral-url-box {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.hgg-referral-url-box input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--hgg-gold);
    border-radius: 8px;
    font-size: 1rem;
}

/* Registration Card */
.hgg-register-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--hgg-white);
    padding: 2rem;
    border-radius: var(--hgg-radius);
    box-shadow: var(--hgg-shadow-lg);
    font-size: 0.95rem; /* Slightly smaller base text */
}

/* Registration Layout Enhancements */
.hgg-register-layout {
    display: flex;
    gap: 2.5rem;
    align-items: stretch;
}

.hgg-register-promo {
    flex: 1 1 50%;
    background: linear-gradient(165deg, var(--hgg-cream) 0%, #fff 60%);
    padding: 2.25rem 2rem 2.5rem;
    border-radius: var(--hgg-radius);
    position: relative;
    box-shadow: var(--hgg-shadow);
    border: 3px solid rgba(212, 175, 55, 0.25);
}

.hgg-register-promo:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--hgg-radius);
    pointer-events: none;
    background: radial-gradient(circle at 20% 15%, rgba(212,175,55,0.25), transparent 60%),
                radial-gradient(circle at 85% 80%, rgba(22,91,51,0.18), transparent 65%);
}

.hgg-promo-title {
    margin-top: 0;
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
    line-height: 1.15;
    color: var(--hgg-green);
    text-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.hgg-promo-lead {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--hgg-dark);
    background: #fffbea;
    padding: 0.9rem 1rem;
    border-left: 5px solid var(--hgg-gold);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hgg-promo-points {
    list-style: none;
    margin: 1.25rem 0 1.75rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1rem;
}

.hgg-promo-points li {
    background: var(--hgg-cream);
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(22,91,51,0.12);
    position: relative;
}

.hgg-promo-points li:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4);
}

.hgg-promo-cta-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--hgg-gray);
    margin-top: 0.5rem;
    margin-bottom: 1.75rem;
}

.hgg-promo-accent {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(90deg, var(--hgg-green), var(--hgg-gold));
    padding: 0.75rem 1rem;
    border-radius: 50px;
    color: var(--hgg-white);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hgg-accent-icon {
    font-size: 1.4rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.hgg-register-card {
    flex: 1 1 50%;
    margin: 0 auto; /* center horizontally within its column */
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.hgg-promo-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    box-shadow: var(--hgg-shadow);
}

@media (max-width: 960px) {
    .hgg-register-layout {
        flex-direction: column;
    }
    .hgg-register-card, .hgg-register-promo {
        flex: 1 1 auto;
    }
}

/* Tag Selector */
.hgg-tag-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.hgg-tag-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    background: var(--hgg-cream);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.hgg-tag-option:hover {
    background: var(--hgg-white);
    border-color: var(--hgg-gold);
}

.hgg-tag-option input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--hgg-green);
}

.hgg-tag-option input[type="checkbox"] {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hgg-badge-bar {
        gap: 1rem;
        padding: 1rem;
    }
    
    .hgg-badge-icon {
        font-size: 1.5rem;
    }
    
    .hgg-gifts-grid {
        grid-template-columns: 1fr;
    }
    
    .hgg-form-actions {
        flex-direction: column;
    }
}

/* Loading State */
.hgg-loading {
    text-align: center;
    padding: 3rem;
    color: var(--hgg-gray);
}

.hgg-empty {
    text-align: center;
    padding: 2rem;
    color: var(--hgg-gray);
    font-style: italic;
}

/* Contributor Tier Options */
.hgg-tier-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 0.75rem 0 1.5rem;
}

.hgg-tier-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: var(--hgg-radius);
    padding: 1rem;
    box-shadow: var(--hgg-shadow);
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hgg-tier-card:hover {
    box-shadow: var(--hgg-shadow-lg);
    transform: translateY(-2px);
}

.hgg-tier-card input[type="radio"] {
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.hgg-tier-card .tier-details {
    width: 100%;
}

.hgg-tier-card .tier-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem; /* smaller heading */
    color: var(--hgg-dark);
}

.hgg-tier-card .tier-price {
    margin: 0 0 0.5rem 0;
    color: var(--hgg-green);
    font-weight: 700;
    font-size: 1.05rem; /* slightly reduced */
}

.hgg-tier-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--hgg-gray);
    font-size: 0.9rem; /* smaller bullet text */
}

/* Selected state accent without :has() */
.hgg-tier-card input[type="radio"]:checked + .tier-details {
    border-left: 4px solid var(--hgg-red);
    padding-left: 0.75rem;
}

/* Headings inside the card */
.hgg-register-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/* Reveal Animation Overlay */
.hgg-reveal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity 200ms ease;
}

.hgg-reveal-hide {
    opacity: 0;
}

.hgg-reveal-box {
    background: var(--hgg-white);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: var(--hgg-shadow-lg);
    text-align: center;
    border: 3px solid var(--hgg-gold);
    animation: hgg-pop 300ms ease;
}

.hgg-reveal-icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hgg-reveal-text {
    font-weight: 700;
    color: var(--hgg-dark);
}

.hgg-reveal-video {
    max-width: min(420px, 80vw);
    max-height: 50vh;
    border-radius: 12px;
    display: block;
}

@keyframes hgg-pop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.hgg-confetti {
    position: absolute;
    top: -10px;
    width: 8px;
    height: 14px;
    opacity: 0.9;
    border-radius: 2px;
    animation: hgg-fall 900ms linear forwards;
}

@keyframes hgg-fall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0.9; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0.3; }
}

/* Rating Container and Badges */
.hgg-rating-container {
    padding: 0 1.5rem;
    margin-bottom: 0;
}

.hgg-rating-badge {
    display: block;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, var(--hgg-gold), #f59e0b);
    color: var(--hgg-dark);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border: 2px solid transparent;
}

.hgg-rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
    border-color: var(--hgg-gold);
}

.hgg-rating-display {
    display: block;
    padding: 0.6rem 1rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--hgg-gold);
    border-radius: 8px;
    font-size: 1rem;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
    font-weight: 600;
}

.hgg-rating-display:hover {
    background: rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
    border-color: var(--hgg-gold);
}

/* All Gifts Catalog Styles */
.hgg-all-gifts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hgg-catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.hgg-catalog-header h2 {
    margin: 0;
    color: var(--hgg-green);
    font-size: 2rem;
}

.hgg-back-to-journey {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
}

.hgg-back-to-journey:hover {
    transform: translateX(-4px);
}

.hgg-filters {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--hgg-cream);
    border-radius: var(--hgg-radius);
}

.hgg-filters label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}

.hgg-filters label:hover {
    color: var(--hgg-green);
}
