/* --- 1. DEĞİŞKENLER VE ANA AYARLAR --- */
:root {
    --hs-deep-olive: #2D3120;
    --hs-modal-bg: #F7EEE1;
    --hs-gold: #D8A967;
}

/* --- 2. PLANT GRID VE KARTLAR --- */
.hs-plant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.hs-plant-card {
    position: relative;
    min-height: 520px;
    height: 100%;
    border-radius: 40px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hs-plant-card:hover { transform: translateY(-8px); }

/* --- 3. KART İÇİNDEKİ BUZLU CAM KUTUSU --- */
.hs-card-glass-box {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 35px;
    padding: 25px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    box-sizing: border-box;
}

.hs-card-title {
    font-size: 19px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 12px 0;
    font-family: 'Jost', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hs-card-desc {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    opacity: 0.95;
}

.hs-card-btn {
    background: #fff;
    color: var(--hs-deep-olive);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    cursor: pointer;
}
.hs-card-btn:hover {
    color: var(--hs-deep-olive);
    
}

/* --- 4. PARÇACIK (SPARKLE) EFEKTİ --- */
.h-adv-btn, .hs-btn-particle-wrapper {
    position: relative;
    display: inline-block;
    overflow: visible !important; /* Parçacıkların dışarı taşması için şart */
}

.hs-particles, .hs-btn-particles {
    position: absolute;
    inset: -15px;
    pointer-events: none;
    z-index: 0;
}

.hs-p-sparkle {
    position: absolute;
    width: var(--s);
    height: var(--s);
    background: var(--hs-gold);
    opacity: 0;
    left: var(--x);
    bottom: 5px;
    z-index: 1;
    animation: hsSparkleFloat var(--dur) ease-in-out infinite var(--delay);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    filter: drop-shadow(0 0 2px rgba(216,169,103, 0.8));
}

@keyframes hsSparkleFloat {
    0%   { transform: translateY(0) scale(0); opacity: 0; }
    20%  { opacity: 0.8; }
    80%  { opacity: 0.3; }
    100% { transform: translateY(-45px) scale(0.2); opacity: 0; }
}

/* --- 5. MODAL YAPISI --- */
.hs-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hs-modal-overlay.is-open { display: flex !important; }

.hs-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 49, 32, 0.85);
    backdrop-filter: blur(8px);
}

.hs-modal-content {
    position: relative;
    background: var(--hs-modal-bg);
    width: 100%;
    max-width: 600px;
    border-radius: 30px;
    padding: 40px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    z-index: 10001;
}

/* --- 6. MODAL İÇERİK VE KAPATMA --- */
.hs-modal-close {
    position: absolute;
    top: 20px; 
    right: 20px;
    font-size: 32px;
    background: none; 
    border: none; 
    cursor: pointer;
    color: var(--hs-deep-olive);
    line-height: 1;
    transition: all 0.2s;
}

.hs-modal-close:hover {
    transform: scale(1.2);
    color: var(--hs-deep-olive);
}

#hs-modal-title { 
    font-size: 26px; 
    color: var(--hs-deep-olive); 
    margin-bottom: 15px; 
    font-weight: 700;
}

.hs-modal-divider { 
    height: 1px; 
    background: rgba(0,0,0,0.1); 
    margin-bottom: 20px; 
}

#hs-modal-inside { 
    line-height: 1.7; 
    color: #444; 
    font-size: 16px; 
}

.hs-modal-products-section { 
    margin-top: 30px; 
    padding-top: 20px; 
    border-top: 1px solid rgba(0,0,0,0.05); 
}

/* --- 7. MODAL ÜRÜN LİNKLERİ (BUTONLAR) --- */
.hs-modal-prod-link {
    position: relative;
    z-index: 2; 
    display: inline-block;
    background: var(--hs-deep-olive) !important;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 50px;
    margin: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s;
    border: none !important;
}

.hs-modal-prod-link:hover { transform: scale(1.05); }