/* Beauty Page Styles */

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Active Nav Link */
.main-nav .active {
    border-bottom: 2px solid #000;
    font-weight: 600;
}
.popup-content {
width: 100%!important;
}

/* Beauty Page Layout */
.beauty-page {
    background: #fff;
    padding-bottom: 60px;
}

/* Two Column Layout */
.beauty-layout {
    display: flex;
    gap: 40px;
    padding-top: 30px;
}

/* Sidebar Styles */
.sidebar {
    flex: 0 0 280px;
    width: 280px;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
}

.sidebar-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-link {
    display: block;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 500;
}

.sidebar-link:hover {
    text-decoration: underline;
}

.sidebar-heading {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sidebar-heading i {
    font-size: 12px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 10px;
}

.sidebar-list a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-list a:hover {
    color: #000;
}

/* Explore Section */
.explore-section {
    border-bottom: none;
}

.sidebar-heading-bold {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.explore-text {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 10px 0;
}

.explore-text a {
    color: #000;
    text-decoration: underline;
}

.more-link {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    text-decoration: underline;
}

/* Main Content Area */
.main-content {
    flex: 1;
    min-width: 0;
}

/* Section Styles */
.section-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header .section-title {
    margin: 0;
    text-align: left;
}

.see-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: underline;
}

.see-all-link:hover {
    color: #666;
}

/* Shop Must-Have Beauty Section */
.must-have-section {
    padding: 0 0 40px 0;
}

.must-have-slider {
    position: relative;
    margin: 0 60px;
}

.must-have-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.must-have-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3/4;
}

.must-have-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.must-have-card:hover img {
    transform: scale(1.05);
}

.card-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-btn.prev {
    left: -50px;
}

.slider-btn.next {
    right: -50px;
}

.slider-btn i {
    font-size: 14px;
    color: #333;
}

/* Hero Banner */
.hero-banner {
    padding: 20px 0 40px;
}

.hero-banner img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* Clean Routine Section */
.clean-routine-section {
    padding: 40px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* Product Card */
.product-card {
    background: #fff;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 12px;
    border-radius: 6px;
}

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

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 5;
}

.wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 16px;
    color: #333;
}

.wishlist-btn.active i {
    color: #ff0000;
}

.product-info {
    padding: 0 5px;
}

.product-brand {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
}

.product-name {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

/* Valentine's Day Banner */
.valentines-banner {
    padding: 40px 0;
}

.valentines-banner img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* Crush Section */
.crush-section {
    padding: 40px 0;
}

/* Category Grid Section */
.category-grid-section {
    padding: 40px 0;
}

.category-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3/4;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .beauty-layout {
        gap: 30px;
    }

    .sidebar {
        flex: 0 0 240px;
        width: 240px;
    }

    .must-have-grid,
    .category-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .must-have-slider {
        margin: 0 40px;
    }

    .slider-btn.prev {
        left: -35px;
    }

    .slider-btn.next {
        right: -35px;
    }
}

@media (max-width: 992px) {
    .beauty-layout {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar {
        flex: none;
        width: 100%;
        border-bottom: 2px solid #e5e5e5;
        padding-bottom: 20px;
    }

    .main-content {
        width: 100%;
    }

    .must-have-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .must-have-slider {
        margin: 0 20px;
    }

    .slider-btn.prev {
        left: -25px;
    }

    .slider-btn.next {
        right: -25px;
    }
}

@media (max-width: 768px) {
    .container-full {
        padding: 0 15px;
    }

    .beauty-layout {
        padding-top: 20px;
    }

    .sidebar-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 14px;
    }

    .must-have-grid,
    .category-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .must-have-slider {
        margin: 0;
    }

    .slider-btn {
        display: none;
    }

    .must-have-section,
    .clean-routine-section,
    .crush-section,
    .category-grid-section {
        padding: 30px 0;
    }

    .hero-banner {
        padding: 15px 0 30px;
    }

    .valentines-banner {
        padding: 30px 0;
    }
}

@media (max-width: 576px) {
    .must-have-grid,
    .products-grid,
    .category-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-name {
        font-size: 12px;
    }

    .product-price {
        font-size: 13px;
    }

    .sidebar-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}

.popup-content 
{
    width: 100%!important;

}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.4s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Floating Hearts Animation */
.hearts-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    bottom: -50px;
    font-size: 30px;
    opacity: 0.3;
    animation: floatHeart 8s infinite ease-in;
}

@keyframes floatHeart {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Popup Container */
.popup-container {
    background: #ffffff;
    width: 90%;
    max-width: 550px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s forwards;
    z-index: 2;
}

@keyframes popIn {
    to {
        transform: scale(1);
    }
}

/* Gradient Header */
.popup-gradient-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 40px 40px 60px;
    border-radius: 24px 24px 0 0;
    position: relative;
    overflow: hidden;
}

.popup-gradient-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Popup Content */
.popup-content {
    padding: 0;
}

/* Header */
.popup-header {
    text-align: center;
    position: relative;
    z-index: 1;
}

.popup-header .heart-icon {
    font-size: 50px;
    margin-bottom: 15px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

.popup-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.popup-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 500;
    max-width: 400px;
    margin: 0 auto;
}

/* Quiz Form */
.quiz-form {
    display: block;
    padding: 40px;
    background: #ffffff;
}

.question {
    margin-bottom: 32px;
}

.question-label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

.question-label::before {
    content: '💝';
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* Radio Buttons */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: block;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    color: #4a5568;
    background: #f7fafc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.radio-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(245, 87, 108, 0.3);
}

.radio-option label:hover {
    border-color: #f5576c;
    background: #fff;
    transform: translateY(-2px);
}

.radio-option input[type="radio"]:checked + label:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Select Dropdown */
.select-wrapper {
    position: relative;
}

select {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f7fafc;
    color: #4a5568;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #a0aec0;
    transition: all 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #f5576c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245, 87, 108, 0.1);
}

select:focus + .select-wrapper::after {
    color: #f5576c;
}

/* CTA Button */
.cta-button {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.3);
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(245, 87, 108, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    box-shadow: none;
}

/* Success Screen */
.success-screen {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 0 0 24px 24px;
}

.success-screen.active {
    display: block;
    animation: successFadeIn 0.5s ease-in forwards;
}

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

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.success-screen h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-screen p {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.shop-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
}

.shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

/* Hide quiz when success is shown */
.quiz-form.hidden {
    display: none;
}

/* Progress Indicator */
.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-top: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .popup-container {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px;
    }

    .popup-gradient-header {
        padding: 30px 25px 50px;
        border-radius: 20px 20px 0 0;
    }

    .quiz-form {
        padding: 30px 25px;
    }

    .popup-header h1 {
        font-size: 32px;
    }

    .popup-header p {
        font-size: 14px;
    }

    .popup-header .heart-icon {
        font-size: 40px;
    }

    .radio-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .question-label {
        font-size: 15px;
    }

    .success-screen h2 {
        font-size: 28px;
    }

    .success-screen {
        padding: 50px 30px;
    }
}

/* Scrollbar Styling */
.popup-container::-webkit-scrollbar {
    width: 8px;
}

.popup-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.popup-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 4px;
}

.popup-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

div#successScreen {
    background-image: url(https://experiencenetcorecloud.com/finserv/assets/images/gamification_confetti1.gif);
    background-size: 100%;
}

/* Sparkle Effect */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}