/* Grid Layout */
.exotic-ar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.exotic-ar-item {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.exotic-ar-item:hover {
    transform: translateY(-4px);
}

/* Image Container */
.exotic-ar-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

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

/* Try AR Button */
.try-ar-button {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.exotic-ar-image:hover .try-ar-button {
    opacity: 1;
}

/* Details Section */
.exotic-ar-details {
    padding: 1.5rem;
}

.exotic-ar-details h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #1a1a1a;
}

.exotic-ar-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.exotic-ar-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b46c1;
}

/* AR Modal */
.ar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.ar-modal.active {
    display: block;
}

.ar-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.close-ar-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
}

model-viewer {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    --poster-color: transparent;
}