/* ===== HORSILA SINGLE PRODUCT ===== */

.hs-product-hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 2rem 4rem;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(66, 94, 123, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(253, 212, 0, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #0a0f14 0%, #1B3B59 50%, #0a0f14 100%);
}

.hs-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hs-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(253, 212, 0, 0.6);
    border-radius: 50%;
    animation: hsFloat 8s ease-in-out infinite;
}

@keyframes hsFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 1; }
}

.hs-product-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Gallery */
.hs-gallery-wrap {
    position: sticky;
    top: 140px;
    animation: hsRevealLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hsRevealLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hs-main-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(27, 59, 89, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    aspect-ratio: 1;
}

.hs-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hs-main-image:hover img {
    transform: scale(1.05);
}

.hs-sale-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, #FDD400, #ff6b6b);
    color: #1B3B59;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(253, 212, 0, 0.4);
    animation: hsPulse 2s ease-in-out infinite;
}

@keyframes hsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hs-thumbs {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hs-thumb {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    background: rgba(27, 59, 89, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hs-thumb.active,
.hs-thumb:hover {
    border-color: #FDD400;
    box-shadow: 0 0 20px rgba(253, 212, 0, 0.3);
    transform: translateY(-4px);
}

.hs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info */
.hs-info-wrap {
    padding: 2rem;
    animation: hsRevealRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes hsRevealRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hs-breadcrumb {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #708090;
    font-size: 0.9rem;
}

.hs-breadcrumb a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s;
}

.hs-breadcrumb a:hover {
    color: #FDD400;
}

.hs-product-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #BDC3C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hs-price-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hs-regular-price {
    font-size: 1.5rem;
    color: #708090;
    text-decoration: line-through;
}

.hs-current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FDD400;
    text-shadow: 0 0 30px rgba(253, 212, 0, 0.4);
}

.hs-stock {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hs-stock.in {
    background: rgba(0, 255, 128, 0.15);
    color: #00ff80;
    border: 1px solid rgba(0, 255, 128, 0.3);
}

.hs-stock.out {
    background: rgba(255, 0, 0, 0.15);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.hs-short-desc {
    color: #BDC3C7;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hs-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.hs-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(27, 59, 89, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    color: #BDC3C7;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.hs-feature-item:hover {
    border-color: rgba(253, 212, 0, 0.3);
    transform: translateY(-2px);
}

.hs-f-icon {
    font-size: 1.5rem;
}

/* Add to cart */
.hs-add-wrap {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hs-qty-wrap {
    display: flex;
    align-items: center;
    background: rgba(27, 59, 89, 0.4);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    overflow: hidden;
}

.hs-qty-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: #BDC3C7;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.hs-qty-btn:hover {
    background: rgba(253, 212, 0, 0.15);
    color: #FDD400;
}

.hs-qty-input {
    width: 60px;
    text-align: center;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.hs-add-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #FDD400 0%, #ffe566 100%);
    color: #1B3B59;
    border: none;
    border-radius: 16px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(253, 212, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hs-add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.hs-add-btn:hover::before {
    left: 100%;
}

.hs-add-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(253, 212, 0, 0.5);
}

.hs-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #708090;
    font-size: 0.9rem;
}

.hs-meta-item strong {
    color: #BDC3C7;
}

/* Tabs */
.hs-tabs-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #0a0f14 0%, #1B3B59 100%);
}

.hs-tabs-container {
    max-width: 1280px;
    margin: 0 auto;
}

.hs-tabs-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hs-tab-btn {
    padding: 1rem 2rem;
    background: rgba(27, 59, 89, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    color: #BDC3C7;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hs-tab-btn:hover {
    border-color: rgba(253, 212, 0, 0.3);
    color: #FDD400;
}

.hs-tab-btn.active {
    background: rgba(253, 212, 0, 0.15);
    border-color: rgba(253, 212, 0, 0.3);
    color: #FDD400;
}

.hs-tabs-content {
    background: rgba(27, 59, 89, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hs-tab-panel {
    display: none;
    animation: hsFadeIn 0.5s ease;
}

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

@keyframes hsFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hs-tab-panel h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.hs-tab-panel p,
.hs-tab-panel li {
    color: #BDC3C7;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.hs-usage-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hs-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.hs-step-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #FDD400, #ffe566);
    color: #1B3B59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(253, 212, 0, 0.3);
}

.hs-step p {
    margin: 0;
    padding-top: 0.75rem;
    color: #BDC3C7;
}

/* Related */
.hs-related-section {
    padding: 4rem 2rem;
    background: #0a0f14;
}

.hs-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.hs-related-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hs-related-card {
    background: rgba(27, 59, 89, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.4s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(30px);
}

.hs-related-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.hs-related-card:hover {
    transform: translateY(-8px);
    border-color: rgba(253, 212, 0, 0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.hs-rel-img {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1B3B59, #425E7B);
}

.hs-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.hs-related-card:hover .hs-rel-img img {
    transform: scale(1.05);
}

.hs-related-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hs-rel-price {
    color: #FDD400;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hs-product-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hs-gallery-wrap {
        position: relative;
        top: 0;
    }
    
    .hs-product-title {
        font-size: 2rem;
    }
    
    .hs-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hs-product-hero {
        padding: 120px 1rem 2rem;
    }
    
    .hs-features {
        grid-template-columns: 1fr;
    }
    
    .hs-add-wrap {
        flex-direction: column;
    }
    
    .hs-tabs-content {
        padding: 1.5rem;
    }
    
    .hs-tab-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hs-related-grid {
        grid-template-columns: 1fr;
    }
    
    .hs-section-title {
        font-size: 1.75rem;
    }
}