/* 
* SR Hair Feelers - Luxury Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-color: #D4AF37;
    /* Gold */
    --secondary-color: #1a1a1a;
    /* Dark */
    --light-bg: #f8f9fa;
    --text-color: #333;
    --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html,
body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}


.nav-link:hover::after {
    width: 100%;
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInUp 0.3s ease;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 30px;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Shoppable Videos Section */
.video-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-color) #f1f1f1;
}

.video-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.video-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--gold-color);
    background-color: var(--gold-color);
    border-radius: 10px;
}

/* Social Feed */
.social-feed-img {
    width: 100%;
    height: 300px;
    /* Fixed height */
    object-fit: cover;
    border-radius: 12px;
}

.video-card {
    min-width: 200px;
    max-width: 200px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    /* 9:16 Aspect Ratio approx */
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.video-info i {
    margin-right: 5px;
}

.video-details {
    padding: 15px;
    text-align: center;
}

.video-details h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    /* Fallback image if AI one hasn't loaded logic yet, but inline style will override */
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Featured Products Section */
.featured-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.featured-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.featured-product-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 4/5;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-product-image img,
.featured-product-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-product-card:hover .featured-product-image img {
    transform: scale(1.05);
}

.featured-product-card:hover .featured-product-image video {
    transform: scale(1.05);
}

.featured-product-title {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.featured-product-title h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 768px) {
    .featured-product-title h5 {
        font-size: 0.9rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Subtle overlay for text readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1.1s;
}

/* Product Card */
.product-card {
    border: none;
    border-radius: var(--border-radius);
    /* overflow: hidden; Removed to prevent clipping content */
    background: #fff;
    transition: var(--transition);
    box-shadow: var(--soft-shadow);
    min-height: 100%;
    /* Changed from height:100% to allow growth */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    /* Match card radius */
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Product Image Hover Effect */
.product-image .img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease;
    opacity: 1;
    z-index: 1;
}

.product-image .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.product-card:hover .product-image .img-main {
    opacity: 0;
}

.product-card:hover .product-image .img-hover {
    opacity: 1;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.badge-custom {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-sale {
    background-color: #ff4d4d;
    color: #fff;
}

.product-info {
    padding: 10px;
    /* Reduced from 20px */
    text-align: center;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.0rem;
}

.product-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Popup Modal */
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.custom-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transform: scale(0.7);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.custom-modal-backdrop.show .custom-modal {
    transform: scale(1);
}

.gender-select-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: transparent;
    transition: var(--transition);
}

.gender-select-btn:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background-color: #111;
    /* Darker background for luxury */
    color: #fff;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.letter-spacing-2 {
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon-circle:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-newsletter .form-control {
    border-radius: 30px 0 0 30px;
    padding-left: 20px;
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-newsletter .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.footer-newsletter .btn {
    border-radius: 0 30px 30px 0;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 600;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.5;
}

/* Form Controls General Override */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.text-gold {
    color: var(--primary-color) !important;
}

.bg-gold {
    background-color: var(--primary-color) !important;
}

.btn-gold {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.btn-gold:hover {
    background-color: #b5932a;
    border-color: #b5932a;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 135px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-banner img {
        height: auto;
        min-height: auto;
        object-fit: unset;
    }

    .custom-modal {
        padding: 30px 20px;
    }

    footer {
        padding: 50px 0 20px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        display: flex;
        margin-bottom: 20px;
    }

    .footer-newsletter .input-group {
        justify-content: center;
    }
}

/* FAQ Accordion */
.custom-accordion .accordion-button {
    font-size: 1.1rem;
    box-shadow: none;
    transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--secondary-color) !important;
    font-weight: 700;
}

.custom-accordion .accordion-button:not(.collapsed) .fas {
    color: var(--primary-color) !important;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-button::after {
    display: none;
    /* Hide default bootstrap arrow */
}

.custom-accordion .accordion-button .fas {
    transition: transform 0.3s ease;
}

.custom-accordion .accordion-item {
    background: transparent;
}

/* Force 2 columns on mobile */
@media (max-width: 768px) {
    .mobile-half-width {
        width: 50% !important;
        flex: 0 0 auto !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* Product Details UI Refinements */
.price-section {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-old {
    color: #888;
    text-decoration: line-through;
    font-size: 0.9rem;
    font-weight: 400;
}

.price-new {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 500;
}

.sale-badge {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.size-pill {
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    min-width: 70px;
    text-align: center;
}

.size-pill:hover {
    border-color: #1a1a1a;
}

.size-pill.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.size-pill.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    width: fit-content;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    font-size: 1rem;
    color: #333;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #f8f9fa;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none !important;
    background: none !important;
    font-weight: 600;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Chrome, Safari, Edge, Opera */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Firefox */
.qty-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.tax-shipping-label {
    color: #888;
    font-size: 0.85rem;
    margin-top: 5px;
}

.tax-shipping-label a {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Card Price Styles */
.card-price-container {
    font-family: 'Inter', sans-serif !important;
    margin-bottom: 12px;
}

.card-price-old {
    color: #888 !important;
    text-decoration: line-through !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    margin-right: 8px;
}

.card-price-new {
    color: #1a1a1a !important;
    font-size: 1.0rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px;
}