/* WiseShoppingPro - Premium Smart Commerce CSS */

/* CSS Variables */
:root {
    --primary-color: #16A34A;
    --primary-dark: #166534;
    --primary-light: #86EFAC;
    --secondary-color: #65A30D;
    --background-light: #F0FDF4;
    --background-white: #FFFFFF;
    --text-dark: #052E16;
    --text-gray: #4B5563;
    --text-light: #9CA3AF;
    --success: #22C55E;
    --warning: #EAB308;
    --danger: #DC2626;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--background-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

.announcement-bar p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Middle Bar */
.middle-bar {
    background: white;
    padding: 15px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 42px;
    z-index: 999;
}

.middle-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-accent {
    color: var(--primary-color);
}

/* Search */
.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-wrapper {
    display: flex;
    background: var(--background-light);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.search-wrapper input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}

.search-btn {
    padding: 14px 24px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--background-light);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.search-result-info p {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.search-no-result {
    padding: 30px;
    text-align: center;
    color: var(--text-gray);
}

.search-no-result i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 20px;
}

.action-icon {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-size: 20px;
    color: var(--text-dark);
}

.action-icon:hover {
    background: var(--primary-color);
    color: white;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mega Menu */
.mega-menu {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 118px;
    z-index: 998;
}

.menu-list {
    display: flex;
    gap: 5px;
}

.menu-list > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.menu-list > li > a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.menu-list > li.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 10px;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-content a:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.dropdown-content i {
    width: 20px;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F0FDF4 0%, #f4faf6 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 56px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 10px;
    animation: float 6s ease-in-out infinite;
}

.floating-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: var(--background-light);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: var(--text-dark);
}

.product-action-btn:hover {
    background: var(--primary-color);
    color: white;
}

.product-action-btn.wishlist-btn.active {
    background: var(--danger);
    color: white;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-description {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.add-to-cart-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Reasons Section */
.reasons-section {
    padding: 100px 0;
    background: white;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.reason-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.reason-card:hover {
    background: white;
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.reason-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.reason-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.reason-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Persuasive Section */
.persuasive-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.persuasive-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.persuasive-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.persuasive-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.persuasive-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary-color);
}

.persuasive-item h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 20px;
}

.persuasive-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 15px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--background-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.newsletter-text h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 10px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.newsletter-form {
    flex: 1;
    max-width: 600px;
}

.newsletter-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-form .form-group input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-group input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.modal-close {
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    color: var(--text-dark);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.modal-body {
    padding: 30px;
}

/* Wishlist Modal */
.wishlist-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
}

.wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.wishlist-item-info {
    flex: 1;
}

.wishlist-item-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.wishlist-item-info p {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wishlist-item-actions button {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.wishlist-item-actions .add-cart-btn {
    background: var(--primary-color);
    color: white;
}

.wishlist-item-actions .add-cart-btn:hover {
    background: var(--primary-dark);
}

.wishlist-item-actions .remove-btn {
    background: transparent;
    border: 2px solid var(--danger);
    color: var(--danger);
}

.wishlist-item-actions .remove-btn:hover {
    background: var(--danger);
    color: white;
}

.wishlist-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-gray);
}

.wishlist-empty i {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

/* Cart Modal */
.cart-modal {
    max-width: 700px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.cart-item-info .price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.quantity-selector button {
    width: 32px;
    height: 32px;
    background: var(--background-light);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-selector span {
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    color: var(--danger);
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-summary {
    padding: 25px 30px;
    background: var(--background-light);
    border-top: 1px solid #e5e7eb;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.cart-summary-row.total {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    padding-top: 15px;
    border-top: 2px solid #e5e7eb;
    margin-top: 15px;
}

.cart-summary-row.total span:last-child {
    color: var(--primary-color);
}

.free-delivery-badge {
    background: var(--success);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}

.checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.cart-empty i {
    font-size: 70px;
    margin-bottom: 20px;
    display: block;
}

/* Checkout Modal */
.checkout-modal {
    max-width: 600px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--background-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    background: #e5e7eb;
}

.payment-option input {
    accent-color: var(--primary-color);
}

.payment-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.checkout-total {
    background: var(--background-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 25px 0;
    text-align: right;
}

.checkout-total p {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Success Modal */
.success-modal {
    max-width: 450px;
    text-align: center;
}

.success-content {
    padding: 40px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--success);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    color: white;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.success-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.success-message {
    font-size: 16px !important;
    color: var(--success) !important;
    font-weight: 600;
}

/* Policy Modal */
.policy-modal {
    max-width: 600px;
}

.policy-content {
    line-height: 1.8;
    color: var(--text-gray);
}

.policy-content h3 {
    color: var(--text-dark);
    margin: 20px 0 10px;
}

.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-actions {
    padding: 20px 30px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

/* Unsubscribe Modal */
.unsubscribe-modal {
    max-width: 450px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-grid,
    .persuasive-content {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .middle-bar-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        order: 1;
    }

    .header-actions {
        order: 2;
    }

    .search-container {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .menu-list {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .newsletter-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ===============================
   PRODUCT ACTION BUTTONS
================================= */

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wishlist button */
.wishlist-btn:hover {
    background: #ff4d6d;
    color: #fff;
    transform: scale(1.1);
}

/* Cart button */
.cart-btn:hover {
    background: #0d6efd;
    color: #fff;
    transform: scale(1.1);
}
/* ===============================
   WISHLIST ITEM
================================= */

.wishlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* ===============================
   IMAGE
================================= */

.wishlist-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    background: #f5f5f5;
}

/* ===============================
   PRODUCT NAME
================================= */

.wishlist-item h4 {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #222;
    line-height: 1.4;
}

/* ===============================
   REMOVE BUTTON
================================= */

.remove-wishlist {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-wishlist:hover {
    background: #ff4d6d;
    color: #ffffff;
    transform: scale(1.1);
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 480px) {
    .wishlist-item {
        padding: 12px;
        gap: 10px;
    }

    .wishlist-item h4 {
        font-size: 14px;
    }

    .wishlist-item img {
        width: 50px;
        height: 50px;
    }
}
/* ===============================
   CART ITEM
================================= */

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* ===============================
   PRODUCT IMAGE
================================= */

.cart-item img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 12px;
    background: #f5f5f5;
}

/* ===============================
   PRODUCT INFO
================================= */

.cart-item div {
    flex: 1;
}

.cart-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #222;
}

.cart-item p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* ===============================
   REMOVE BUTTON
================================= */

.remove-cart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-cart:hover {
    background: #dc3545;
    color: #ffffff;
    transform: scale(1.1);
}

/* ===============================
   CART SUMMARY
================================= */

.cart-summary {
    margin-top: 20px;
    padding: 18px;
    border-radius: 14px;
    background: #f8f9fa;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.cart-summary .btn {
    width: 100%;
}

/* ===============================
   EMPTY STATE
================================= */

#cartItems p {
    text-align: center;
    color: #777;
    padding: 25px 0;
    font-size: 15px;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 480px) {
    .cart-item {
        padding: 12px;
        gap: 10px;
    }

    .cart-item img {
        width: 55px;
        height: 55px;
    }

    .cart-item h4 {
        font-size: 14px;
    }

    .cart-item p {
        font-size: 13px;
    }
}

/* Global Confirmation Popup */

.global-confirmation {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 16px 22px;
    transform: translateX(120%);
    transition: all 0.4s ease;
    z-index: 9999;
}

.global-confirmation.show {
    transform: translateX(0);
}

.confirm-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-content i {
    color: #28a745;
    font-size: 22px;
}

.confirm-content p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}