/* ===================================
   Seoul Shine Beauty - Professional CSS
   =================================== */

:root {
    --primary-color: #FFB6C1;
    --secondary-color: #FF69B4;
    --accent-color: #FF1493;
    --dark-color: #2C2C2C;
    --light-bg: #FFF5F7;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E5E5E5;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo a i {
    color: var(--secondary-color);
    font-size: 24px;
}

.logo span {
    color: var(--secondary-color);
}

.logo a:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--secondary-color);
    background: var(--light-bg);
}

.cart-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

#cart-count {
    background: var(--white);
    color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */

#hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFF5F7 0%, #FFE4E9 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

#hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

#hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-content h1 span {
    display: block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 500px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.hero-features {
    display: flex;
    gap: 25px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 20px;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

/* ===================================
   FEATURED PRODUCTS SECTION
   =================================== */

#featured-products {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.section-title span {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: var(--light-bg);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 105, 180, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.btn-white {
    background: var(--white);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-white:hover {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.product-card .price {
    padding: 0 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 20px 20px;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 12px;
}

/* ===================================
   EMPTY STATE
   =================================== */

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: var(--light-bg);
    border-radius: 30px;
}

.empty-state::before {
    content: '\f290';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 80px;
    display: block;
    margin-bottom: 25px;
    color: var(--secondary-color);
    opacity: 0.5;
}

.empty-state p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ===================================
   FOOTER
   =================================== */

#main-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info .logo a {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 20px 0;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-links h4,
.footer-social h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 10px;
    color: var(--secondary-color);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon.facebook:hover {
    background: #1877F2;
    transform: translateY(-5px);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    transform: translateY(-5px);
}

.social-icon.twitter:hover {
    background: #1DA1F2;
    transform: translateY(-5px);
}

.social-icon.youtube:hover {
    background: #FF0000;
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-methods i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--white);
    transform: scale(1.1);
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.2s;
}

.fade-in.delay-2 {
    animation-delay: 0.4s;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
    }

    #hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ===================================
   ICON FIXES & ENHANCEMENTS
   =================================== */

/* Ensure Font Awesome icons load properly */
i.fas,
i.fab,
i.far {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

i.fab {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400;
}

i.fas,
i.far {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
}

/* Social Icons Enhanced Styling */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-icon i {
    font-size: 20px;
}

.social-icon.facebook {
    background: rgba(24, 119, 242, 0.2);
}

.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram {
    background: rgba(225, 48, 108, 0.2);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    border-color: #DD2A7B;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.social-icon.twitter {
    background: rgba(29, 161, 242, 0.2);
}

.social-icon.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.social-icon.youtube {
    background: rgba(255, 0, 0, 0.2);
}

.social-icon.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

/* Payment Icons Enhanced */
.payment-methods {
    display: flex;
    gap: 20px;
    align-items: center;
}

.payment-methods i {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--white);
    transform: scale(1.15) translateY(-3px);
}

/* Newsletter Form Enhanced */
.newsletter {
    margin-top: 30px;
}

.newsletter h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 14px 24px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
}

.newsletter-form button i {
    font-size: 16px;
}

/* Footer Contact Icons */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 16px;
    width: 20px;
}

/* Footer Links Icons */
.footer-links a i {
    font-size: 10px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Logo Icon */
.logo a i {
    font-size: 24px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.logo a:hover i {
    transform: rotate(360deg);
}

/* Navigation Icons */
.nav-links a i {
    font-size: 16px;
    transition: var(--transition);
}

.nav-links a:hover i {
    transform: scale(1.1);
}

/* Cart Icon Animation */
.cart-btn i {
    animation: cartBounce 2s infinite;
}

@keyframes cartBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Hero Features Icons */
.feature-item i {
    color: var(--secondary-color);
    font-size: 22px;
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Button Icons */
.btn i {
    font-size: 16px;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(5px);
}

/* ===================================
   EMOJI ICONS STYLING
   =================================== */

/* Social Icons with Emojis */
.social-icons .social-icon {
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
}

/* Payment Icons with Emojis */
.payment-methods .payment-icon {
    font-size: 32px;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.payment-methods .payment-icon:hover {
    transform: scale(1.2) translateY(-3px);
}

/* Newsletter Button Emoji */
.newsletter-form button {
    font-size: 20px;
    padding: 14px 20px;
}

/* ===================================
   CLEAN TEXT-BASED DESIGN (NO ICONS)
   =================================== */

/* Social Links - Text Based */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    display: inline-block;
    width: fit-content;
}

.social-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    transform: translateX(5px);
}

/* Payment Text */
.payment-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.payment-text span {
    display: inline-block;
}

/* Footer Contact - Clean Text */
.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0;
    font-size: 15px;
}

/* Footer Links - Clean */
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 0;
    display: inline-block;
    border-left: 3px solid transparent;
    padding-left: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 15px;
}

/* Newsletter Button - Text Based */
.newsletter-form button {
    padding: 14px 28px;
    font-weight: 600;
    font-size: 14px;
}

/* Feature Items - Clean */
.feature-item {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Button - Clean */
.btn-primary {
    padding: 16px 40px;
}

/* ===================================
   PRODUCTS PAGE STYLING
   =================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #FFF5F7 0%, #FFE4E9 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-header h1 span {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Shop Section */
.shop-section {
    padding: 60px 0 100px;
    background: var(--white);
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

/* Shop Sidebar */
.shop-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-link {
    display: block;
    padding: 14px 20px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
    border-left: 4px solid transparent;
}

.category-link:hover {
    background: var(--white);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.category-link.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    border-left-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

/* Shop Main Content */
.shop-main {
    width: 100%;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.products-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

/* Product Grid for Shop Page */
.shop-main .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

/* Product Card Enhanced */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-info .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.product-info .btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.product-info .btn-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Empty State for Products */
.shop-main .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 40px;
    background: var(--light-bg);
    border-radius: 30px;
    margin-top: 40px;
}

.shop-main .empty-state p {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Responsive for Products Page */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }

    .shop-main .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shop-sidebar {
        position: static;
    }

    .sidebar-widget {
        padding: 25px;
    }

    .shop-main .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ===================================
   CART PAGE STYLING
   =================================== */

.cart-page {
    padding: 80px 0;
    min-height: 60vh;
}

.cart-page .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.empty-cart {
    padding: 100px 40px;
    background: var(--light-bg);
    border-radius: 30px;
    margin-top: 40px;
}

.empty-cart p {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 40px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    align-items: center;
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.item-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
}

.item-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.item-info .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

.item-qty input {
    width: 80px;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.item-qty input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.remove-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #ffebee;
    color: #d32f2f;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    background: #d32f2f;
    color: var(--white);
    transform: scale(1.1);
}

.cart-summary {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-md);
}

.cart-summary h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-dark);
}

.summary-row.total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-block {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    justify-content: center;
}

/* ===================================
   CHECKOUT PAGE STYLING
   =================================== */

.checkout-page {
    padding: 80px 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-top: 40px;
}

.checkout-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.premium-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 20px;
    color: var(--text-dark);
}

.premium-form h3:first-child {
    margin-top: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 105, 180, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-options {
    margin: 20px 0 30px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    background: var(--light-bg);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.payment-option:hover {
    border-color: var(--secondary-color);
}

.payment-option.active {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
    border-color: var(--secondary-color);
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--secondary-color);
}

.payment-option span {
    font-weight: 600;
    color: var(--text-dark);
}

.order-summary {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-md);
}

.order-summary h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

/* ===================================
   PRODUCT DETAIL PAGE STYLING
   =================================== */

.product-detail {
    padding: 80px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-image {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: var(--transition);
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-info {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.category-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 105, 180, 0.3));
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-info h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.product-info .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: block;
}

.product-info .description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 35px;
}

.add-to-cart-box {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart-box input[type="number"] {
    width: 100px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.add-to-cart-box input[type="number"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 105, 180, 0.1);
}

.add-to-cart-box .btn {
    flex: 1;
}

.product-meta {
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.product-meta p {
    font-size: 16px;
    color: var(--text-dark);
    margin: 10px 0;
}

.product-meta strong {
    font-weight: 700;
    color: var(--text-dark);
}

/* ===================================
   RESPONSIVE FOR ALL PAGES
   =================================== */

@media (max-width: 768px) {

    .cart-layout,
    .checkout-layout,
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .item-img img {
        width: 80px;
        height: 80px;
    }

    .item-qty,
    .item-remove {
        grid-column: 2;
    }

    .cart-summary,
    .order-summary {
        position: static;
    }

    .checkout-form {
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        position: static;
        padding: 25px;
    }

    .product-info {
        padding: 25px;
    }

    .product-info h1 {
        font-size: 28px;
    }

    .product-info .price {
        font-size: 28px;
    }

    .add-to-cart-box {
        flex-direction: column;
    }

    .add-to-cart-box input[type="number"] {
        width: 100%;
    }
}

/* ===================================
   BOOTSTRAP ICONS STYLING
   =================================== */

/* Logo Icon */
.logo a i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 8px;
    transition: var(--transition);
}

.logo a:hover i {
    transform: rotate(360deg);
}

/* Navigation Icons */
.nav-links a i {
    font-size: 18px;
    margin-right: 6px;
    transition: var(--transition);
}

.nav-links a:hover i {
    transform: scale(1.1);
}

/* Cart Button Icon */
.cart-btn i {
    font-size: 18px;
    margin-right: 6px;
}

/* Hero Features Icons */
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    font-size: 24px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Button Icons */
.btn i {
    font-size: 16px;
    margin-left: 8px;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(5px);
}

/* Footer Contact Icons */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    font-size: 18px;
    color: var(--secondary-color);
}

/* Footer Links Icons */
.footer-links a i {
    font-size: 12px;
    color: var(--secondary-color);
    margin-right: 8px;
    transition: var(--transition);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Social Icons with Bootstrap Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 22px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-icon i {
    font-size: 22px;
}

.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    border-color: #DD2A7B;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.social-icon.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.social-icon.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

/* Newsletter Button Icon */
.newsletter-form button i {
    font-size: 18px;
}

/* Payment Methods Icons */
.payment-methods {
    display: flex;
    gap: 20px;
    align-items: center;
}

.payment-methods i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--white);
    transform: scale(1.15) translateY(-3px);
}

/* Empty State Icon */
.empty-state::before {
    content: '\F236';
    font-family: 'bootstrap-icons';
    font-size: 80px;
    display: block;
    margin-bottom: 25px;
    color: var(--secondary-color);
    opacity: 0.5;
}

/* Order Summary Items Styling */
.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 500;
    color: var(--text-dark);
    display: block;
}

.item-price {
    font-weight: 600;
    color: var(--secondary-color);
}

.summary-divider {
    height: 2px;
    background: var(--border-color);
    margin: 20px 0;
}

/* ===================================
   ENHANCED RESPONSIVE — ALL PAGES
   =================================== */

/* ── Mobile (768px) Enhancements ── */
@media (max-width: 768px) {

    /* Header */
    header {
        padding: 12px 0;
    }

    .logo a {
        font-size: 22px;
    }

    /* Hero */
    #hero {
        min-height: auto;
        padding: 50px 0 40px;
    }

    .hero-content h1 {
        font-size: 34px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .hero-features {
        gap: 12px;
        margin-top: 30px;
    }

    .feature-item {
        padding: 10px 18px;
        font-size: 13px;
    }

    .feature-item i {
        font-size: 18px;
    }

    .image-wrapper img {
        border-radius: 20px;
    }

    .image-decoration {
        width: 100px;
        height: 100px;
        top: -10px;
        right: -10px;
    }

    /* Sections */
    .section-title {
        font-size: 32px;
        margin-bottom: 36px;
    }

    #featured-products {
        padding: 60px 0;
    }

    /* Product Cards */
    .product-image-container {
        height: 220px;
    }

    .product-card h3 {
        font-size: 16px;
        padding: 14px 14px 6px;
    }

    .product-card .price {
        font-size: 20px;
        padding: 0 14px;
        margin-bottom: 10px;
    }

    .btn-link {
        margin: 0 14px 14px;
        font-size: 14px;
    }

    /* Cart */
    .cart-page {
        padding: 50px 0;
    }

    .cart-page .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cart-item {
        padding: 16px;
        border-radius: 14px;
    }

    .item-info h3 {
        font-size: 16px;
    }

    .item-info .price {
        font-size: 18px;
    }

    .cart-summary {
        padding: 20px;
        border-radius: 16px;
    }

    .cart-summary h3 {
        font-size: 20px;
    }

    /* Checkout */
    .checkout-page {
        padding: 50px 0;
    }

    .checkout-form {
        padding: 20px;
        border-radius: 16px;
    }

    .premium-form h3 {
        font-size: 18px;
    }

    .order-summary {
        padding: 20px;
        border-radius: 16px;
    }

    .order-summary h3 {
        font-size: 20px;
    }

    /* Product Detail */
    .product-detail {
        padding: 50px 0;
    }

    .product-image {
        padding: 20px;
        border-radius: 20px;
    }

    .product-info {
        padding: 20px;
        border-radius: 20px;
    }

    /* Footer */
    .footer-grid {
        gap: 30px;
    }

    .footer-info .logo a {
        font-size: 26px;
    }

    .footer-links h4,
    .footer-social h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .social-icon {
        width: 42px;
        height: 42px;
    }

    .social-icon i {
        font-size: 18px;
    }
}

/* ── Small Phones (480px) ── */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    /* Header */
    .logo a {
        font-size: 20px;
        gap: 6px;
    }

    .logo a i {
        font-size: 18px;
    }

    /* Hero */
    #hero {
        padding: 36px 0 30px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 13px;
        border-radius: 30px;
    }

    .hero-features {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 24px;
    }

    .feature-item {
        justify-content: center;
        padding: 10px 16px;
    }

    /* Sections */
    .section-title {
        font-size: 26px;
        margin-bottom: 28px;
    }

    #featured-products {
        padding: 40px 0;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .product-image-container {
        height: 170px;
    }

    .product-card h3 {
        font-size: 14px;
        padding: 10px 10px 4px;
    }

    .product-card .price {
        font-size: 16px;
        padding: 0 10px;
        margin-bottom: 8px;
    }

    .btn-link {
        margin: 0 10px 10px;
        font-size: 12px;
    }

    .featured-badge {
        padding: 4px 10px;
        font-size: 10px;
    }

    /* Cart */
    .cart-page {
        padding: 30px 0;
    }

    .cart-page .section-title {
        font-size: 24px;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 12px;
        padding: 12px;
    }

    .item-img img {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }

    .item-info h3 {
        font-size: 14px;
    }

    .item-info .price {
        font-size: 16px;
    }

    .item-qty input {
        width: 60px;
        padding: 8px;
        font-size: 14px;
    }

    .remove-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    /* Checkout */
    .checkout-form {
        padding: 16px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }

    .payment-option {
        padding: 14px 16px;
    }

    /* Product Detail */
    .product-info h1 {
        font-size: 24px;
    }

    .product-info .price {
        font-size: 24px;
    }

    .product-info .description {
        font-size: 14px;
    }

    .add-to-cart-box input[type="number"] {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    /* Page Hero */
    .page-header {
        padding: 40px 0 30px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 14px;
    }

    /* Shop Layout */
    .sidebar-widget {
        padding: 20px;
    }

    .sidebar-widget h3 {
        font-size: 18px;
    }

    .category-link {
        padding: 10px 14px;
        font-size: 13px;
    }

    .products-header {
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    /* Footer */
    #main-footer {
        padding: 40px 0 0;
    }

    .footer-info .logo a {
        font-size: 22px;
    }

    .footer-info p {
        font-size: 13px;
    }

    .footer-links h4,
    .footer-social h4 {
        font-size: 16px;
    }

    .footer-bottom {
        padding: 16px 0;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .payment-methods i {
        font-size: 24px;
    }

    /* Empty State */
    .empty-state {
        padding: 50px 20px;
        border-radius: 20px;
    }

    .empty-state p {
        font-size: 16px;
    }

    .empty-cart {
        padding: 50px 20px;
        border-radius: 20px;
    }

    .empty-cart p {
        font-size: 16px;
    }
}

/* ── Very Small (360px) ── */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .product-grid {
        grid-template-columns: 1fr !important;
    }

    .product-image-container {
        height: 220px;
    }
}