/* Components CSS - Redesign */

/* Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
    text-align: left;
}

[dir="rtl"] .product-card {
    text-align: right;
}

.product-img-wrapper {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    background: white;
    border-radius: 16px;
    padding: var(--space-md);
    transition: var(--transition-normal);
}

.product-img-wrapper img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1) rotate(-3deg);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.2);
}

.product-card {
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card .badge-group {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    color: white;
}

.badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FF6B35;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: var(--color-dark-grey);
}

.product-card .model {
    font-size: 0.85rem;
    color: var(--color-cyan-vibrant);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-sm);
}

.product-card .specs-brief {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.spec-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    opacity: 0.6;
}

.spec-icon-item i {
    font-size: 1.1rem;
}

.spec-icon-item span {
    font-size: 0.65rem;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--color-cyan);
    border-radius: 2px;
}

[dir="rtl"] .section-header h2::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.feature-list-item i {
    color: var(--color-cyan-vibrant);
    font-size: 1.25rem;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Wizard Styles */
.wizard-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--color-cyan-vibrant);
}

.env-card {
    text-align: center;
    padding: var(--space-xl);
    cursor: pointer;
    border: 2px solid transparent !important;
}

.env-card.active {
    border-color: var(--color-cyan) !important;
    background: rgba(0, 212, 255, 0.05);
}

.env-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    transition: 0.3s;
}

.env-card:hover i {
    transform: scale(1.2);
    color: var(--color-cyan);
}

.cat-pill {
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.cat-pill.active {
    background: var(--color-cyan);
    color: white;
    border-color: var(--color-cyan) !important;
}

/* Villa Hotspots */
.hotspot {
    position: absolute;
    z-index: 10;
    cursor: pointer;
}

.zone-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: currentColor;
    display: block;
    box-shadow: 0 0 15px currentColor;
}

.zone-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

.hotspot-card {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 180px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    pointer-events: none;
    text-align: left;
}

.hotspot:hover .hotspot-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hotspot-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.7);
}

.text-xxs {
    font-size: 0.6rem;
}

@keyframes pulse {
    0% {
        scale: 1;
        opacity: 0.4;
    }

    100% {
        scale: 3;
        opacity: 0;
    }
}

/* ========== Featured Products Carousel Buttons ========== */
.products-carousel {
    position: relative;
    overflow: visible !important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--color-cyan);
    color: white;
    border-color: var(--color-cyan);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

.carousel-btn-prev {
    left: -24px;
}

.carousel-btn-next {
    right: -24px;
}

.carousel-btn i {
    width: 20px;
    height: 20px;
}