@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-pink: #003F8A;
    /* TransAfrica primary navy blue */
    --primary-green: #00874e;
    /* TransAfrica accent green */
    --dark-text: #1a1a1a;
    --light-text: #666666;
    --white: #ffffff;
    --off-white: #f0f4f8;
    --icon-bg: #e8eef5;
    --border-color: #d0dce8;
    --banner-gradient: linear-gradient(90deg, #003F8A 0%, #0055bb 100%);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --header-height: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.5;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Top Banner */
.top-promo-banner {
    background-color: var(--primary-pink);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
}

/* Main Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
}

.utility-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-download,
.btn-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    cursor: pointer;
    background: var(--icon-bg);
}

.btn-delivery {
    background: #fff8eb;
    border-color: #ffd8a8;
}

.delivery-text {
    text-align: left;
}

.delivery-text span {
    display: block;
    font-size: 10px;
    color: var(--light-text);
}

.icon-group {
    display: flex;
    gap: 12px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: var(--icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-circle:hover {
    background: var(--border-color);
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-item {
    position: relative;
    padding-bottom: 10px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link i {
    font-size: 10px;
    color: var(--light-text);
}

.nav-link:hover {
    color: var(--primary-pink);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 15px 0;
    z-index: 1000;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item i {
    font-size: 10px;
    color: var(--light-text);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--off-white);
    color: var(--primary-pink);
    border-left-color: var(--primary-pink);
    padding-left: 24px;
}

.dropdown-item:hover i {
    color: var(--primary-pink);
    transform: translateX(3px);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn-black {
    background: #333;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
}

.btn-green {
    background: var(--primary-green);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
}

/* Get Started Section */
.get-started-section {
    margin-top: 150px;
    /* Space for search overlay */
    margin-bottom: 50px;
}

.get-started-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.get-started-header h2 {
    font-size: 36px;
    font-weight: 800;
}

.category-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

.category-list::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.category-card {
    flex: 0 0 140px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    color: inherit;
}

.category-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f0f0f0;
}

.category-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image-wrap img {
    transform: scale(1.1);
}

.category-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.3;
}

.category-card:hover .category-label {
    color: var(--primary-pink);
}

/* Update products section margin since get-started is now above it */
.products-section {
    margin-top: 60px;
    margin-bottom: 80px;
}

/* Hero Section */
.hero {
    margin-top: 20px;
    position: relative;
}

.flash-sale {
    background: linear-gradient(135deg, #003F8A 0%, #002560 100%);
    border-radius: 20px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    position: relative;
    overflow: hidden;
    color: white;
}

.flash-sale::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    transform: translateY(-50%) rotate(-5deg);
    opacity: 0.6;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.sale-content {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 600px;
}

.sale-content h1 {
    font-size: 82px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.sale-content h2 {
    font-size: 64px;
    margin-bottom: 10px;
    font-weight: 800;
}

.sale-content p {
    font-size: 20px;
    margin-bottom: 5px;
    max-width: 400px;
    font-weight: 500;
}

.flash-tag {
    background: white;
    color: #003F8A;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 20px;
}

.sale-content .coupon {
    font-weight: 700;
    font-size: 20px;
}

/* Search Bar Section */
.search-overlay {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 30px;
    z-index: 20;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.upload-text {
    font-size: 14px;
}

.upload-link {
    color: var(--primary-green);
    font-weight: 600;
}

.search-input-group {
    display: flex;
    background: #fcfcfc;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px;
}

.search-input-group input {
    flex: 1;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.btn-search:hover {
    background: #c01a62;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 46, 122, 0.3);
}

.animate-logo {
    transition: var(--transition);
}

.animate-logo:hover {
    transform: scale(1.02);
}

/* Products Section */
.products-section {
    margin-top: 100px;
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-text);
}

.view-all {
    color: var(--primary-pink);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Keep the pseudo-borders contained if needed, or remove if they should overlap slightly */
}

/* Border Animation Sides */
.product-card::before,
.product-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 2px solid transparent;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 10;
}

/* Top & Right */
.product-card::before {
    top: 0;
    left: 0;
}

/* Bottom & Left */
.product-card::after {
    bottom: 0;
    right: 0;
}

.product-card:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary-pink);
    border-right-color: var(--primary-pink);
    transition: width 0.15s ease-out, height 0.15s ease-out 0.1s;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.product-card:hover::after {
    width: 100%;
    height: 100%;
    border-bottom-color: var(--primary-pink);
    border-left-color: var(--primary-pink);
    transition: width 0.15s ease-out 0.2s, height 0.15s ease-out 0.3s;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.discount-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-pink);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 5;
}

.card-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.icon-btn {
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--primary-pink);
    color: white;
    border-color: var(--primary-pink);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    padding: 10px;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.price-container {
    margin-bottom: 15px;
}

.old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.new-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
}

.btn-add-cart {
    width: 100%;
    background: #f3f4ff;
    color: #4b6bfb;
    border: none;
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-add-cart:hover {
    background: #4b6bfb;
    color: white;
}

/* Promo Banners Section */
.promo-banners-section {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.promo-banner {
    flex: 1;
    background: #0050b3;
    background: linear-gradient(135deg, #0055cc 0%, #003F8A 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/crumbled-paper.png');
    opacity: 0.2;
    pointer-events: none;
}

.promo-content-left {
    position: relative;
    z-index: 2;
    max-width: 40%;
}

.reasons-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.reasons-title span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

.promo-text {
    font-size: 16px;
    font-weight: 500;
}

.promo-text strong {
    font-size: 20px;
    font-weight: 800;
}

.promo-product-showcase {
    position: relative;
    display: flex;
    align-items: center;
    gap: -20px;
    /* Overlapping images */
    z-index: 1;
}

.showcase-img {
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.showcase-img:not(:first-child) {
    margin-left: -40px;
}

.promo-banner:hover .showcase-img {
    transform: translateY(-5px) scale(1.05);
}

.btn-shop-now {
    background: white;
    color: #003F8A;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.btn-shop-now:hover {
    background: var(--off-white);
    transform: scale(1.05);
}

/* Simplified Brand Banner */
.brand-banner-section {
    margin-bottom: 80px;
}

.simplified-brand-banner {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.full-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 5;
}

.btn-shop-now-banner {
    background: white;
    color: #003F8A;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.btn-shop-now-banner:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Footer Section */
.main-footer {
    background: #f8fafb;
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer-bg-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/white-diamond.png');
    /* Pattern for depth */
    opacity: 0.5;
    pointer-events: none;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

.footer-col {
    flex: 1;
}

.footer-col h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 30px;
}

/* Contact Info */
.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    color: var(--primary-green);
    font-size: 18px;
    margin-top: 3px;
}

.contact-text {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.6;
}

.contact-text strong {
    color: var(--primary-green);
    display: block;
    margin-bottom: 5px;
}

/* Categories List */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: var(--light-text);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.btn-green-footer {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-green-footer:hover {
    background: #6ab035;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(125, 194, 66, 0.3);
}

/* Working Hours Card */
.hours-card {
    background: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #efefef;
    font-size: 14px;
}

.hours-row:last-child {
    border-bottom: none;
}

.label-day {
    color: var(--light-text);
    font-weight: 500;
}

.label-time {
    color: var(--dark-text);
    font-weight: 600;
}

/* Bottom Bar */
.footer-bottom {
    background: var(--primary-green);
    padding: 15px 0;
    color: white;
}

.bottom-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.social-icons-footer {
    display: flex;
    gap: 20px;
}

.social-icons-footer a {
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.social-icons-footer a:hover {
    opacity: 0.8;
}

/* Secondary Floating Button */
.floating-contact-box {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #00874e;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    cursor: pointer;
    transition: var(--transition);
}

.floating-contact-box:hover {
    transform: scale(1.05);
}

.phone-circle {
    width: 35px;
    height: 35px;
    background: white;
    color: #00874e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.phone-number-text {
    font-weight: 700;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {

    .nav-links,
    .header-actions {
        display: none;
    }

    .flash-sale h1 {
        font-size: 40px;
    }
}

/* =====================================================
   PREMIUM PRODUCT MODAL 
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    width: 100%;
    max-width: 950px;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.open .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: #f4f6f8;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--light-text);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    padding: 40px;
    gap: 40px;
}

/* Modal Gallery */
.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-main-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #f8fafb;
    border-radius: 20px;
    padding: 20px;
}

.modal-thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid transparent;
    object-fit: contain;
    padding: 5px;
    background: #f8fafb;
    cursor: pointer;
    transition: var(--transition);
}

.modal-thumb.active {
    border-color: var(--primary-pink);
    background: white;
}

/* Modal Info */
.modal-info {
    display: flex;
    flex-direction: column;
}

.modal-ref {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-text);
    margin-bottom: 8px;
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-pink);
    line-height: 1.2;
    margin-bottom: 5px;
}

.modal-brand {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.modal-brand:hover {
    text-decoration: underline;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.stars {
    color: #f59e0b;
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: var(--light-text);
}

.modal-price-wrap {
    margin-bottom: 25px;
}

.modal-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark-text);
}

.modal-delivery-info {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 600;
    background: #f0fdf4;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 25px;
}

.modal-desc {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-specs {
    margin-bottom: 30px;
}

.modal-specs h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
}

.spec-label {
    color: var(--light-text);
}

.spec-value {
    font-weight: 600;
}

.modal-ctas {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn-lg {
    flex: 1;
    padding: 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--dark-text);
}

.btn-outline:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
    background: var(--off-white);
}

@media (max-width: 850px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .modal {
        max-height: 95vh;
    }

    .modal-title {
        font-size: 22px;
    }
}

/* =====================================================
   SERVICES PAGE STYLES
   ===================================================== */

/* Services Grid */
.services-real-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 60px 0;
}

.service-real-card {
    background: #f8fafb;
    border: 1px solid #e2e8f0;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: var(--transition);
}

.service-real-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 63, 138, 0.08);
}

.service-real-card-full {
    grid-column: 1 / -1;
    justify-content: center;
}

.service-real-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.service-real-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.service-real-content p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.6;
}

/* Newsletter CTA */
.newsletter-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 80px;
    overflow: hidden;
    border-radius: 0;
}

.newsletter-left {
    background: var(--primary-green);
    color: white;
    padding: 60px 50px;
}

.newsletter-left h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.newsletter-left p {
    font-size: 16px;
    opacity: 0.95;
}

.newsletter-right {
    background: #25d366;
    color: white;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.newsletter-right i {
    font-size: 48px;
}

.newsletter-right h3 {
    font-size: 28px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .services-real-grid {
        grid-template-columns: 1fr;
    }

    .service-real-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .service-real-card-full {
        grid-column: 1;
    }

    .newsletter-cta {
        grid-template-columns: 1fr;
    }

    .newsletter-left,
    .newsletter-right {
        padding: 40px 30px;
    }

    .newsletter-left h2 {
        font-size: 28px;
    }

    .newsletter-right h3 {
        font-size: 22px;
    }
}

/* =====================================================
   WISHLIST FEATURES
   ===================================================== */

/* Wishlist Badge */
#wishlistCount {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc2626;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Heart Icon States */
.card-action-btn.in-wishlist {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

.card-action-btn.in-wishlist:hover {
    background: #fecaca !important;
}

/* Wishlist Page Styles */
.wishlist-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.wishlist-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-pink);
}

.wishlist-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--off-white);
    padding: 10px;
}

.wishlist-info {
    flex: 1;
}

.wishlist-brand {
    font-size: 12px;
    color: var(--light-text);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.wishlist-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.wishlist-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-pink);
}

.wishlist-actions {
    display: flex;
    gap: 10px;
}

.btn-wishlist-order {
    background: #25d366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-wishlist-order:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-wishlist-remove {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-wishlist-remove:hover {
    background: #fecaca;
    transform: translateY(-2px);
}

/* Toast Animations */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Responsive Wishlist */
@media (max-width: 768px) {
    .wishlist-item {
        flex-direction: column;
        text-align: center;
    }

    .wishlist-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-wishlist-order,
    .btn-wishlist-remove {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   PRODUCTS LISTING PAGE
   ===================================================== */

.products-listing-page {
    background: var(--off-white);
    min-height: 100vh;
    padding: 40px 0 80px;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar Filters */
.products-sidebar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
    cursor: pointer;
    user-select: none;
}

.filter-title i {
    font-size: 12px;
    transition: var(--transition);
}

.filter-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark-text);
    transition: var(--transition);
}

.filter-checkbox:hover {
    color: var(--primary-pink);
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-pink);
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.price-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.price-input:focus {
    border-color: var(--primary-pink);
}

.btn-apply-price {
    width: 100%;
    padding: 10px;
    background: var(--primary-pink);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-apply-price:hover {
    background: #c41e3a;
    transform: translateY(-1px);
}

.btn-clear-filters {
    width: 100%;
    padding: 12px;
    background: var(--off-white);
    color: var(--dark-text);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-clear-filters:hover {
    background: white;
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

/* Products Main */
.products-main {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.results-info h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.results-info p {
    font-size: 14px;
    color: var(--light-text);
}

.products-controls {
    display: flex;
    gap: 15px;
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    background: white;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary-pink);
}

/* Products Grid */
.products-grid-listing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.product-card-listing {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card-listing:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 63, 138, 0.1);
    border-color: var(--primary-pink);
}

.card-actions-listing {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.card-action-btn-listing {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-action-btn-listing:hover {
    background: var(--primary-pink);
    color: white;
    border-color: var(--primary-pink);
    transform: scale(1.1);
}

.card-image-listing {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    padding: 20px;
    overflow: hidden;
}

.card-image-listing img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-body-listing {
    padding: 16px;
    flex: 1;
}

.card-category-listing {
    font-size: 11px;
    color: var(--light-text);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.card-title-listing {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price-listing {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.card-old-price {
    font-size: 14px;
    color: var(--light-text);
    text-decoration: line-through;
}

.card-footer-listing {
    padding: 0 16px 16px;
}

.btn-order-whatsapp {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: #00874e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-order-whatsapp:hover {
    background: #006b3d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 135, 78, 0.2);
}

.btn-order-whatsapp i {
    font-size: 16px;
}

/* Loading States */
.loading-spinner,
.end-of-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--light-text);
    gap: 12px;
}

.loading-spinner i {
    font-size: 32px;
    color: var(--primary-pink);
}

.loading-spinner p,
.end-of-results p {
    font-size: 15px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .products-grid-listing {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
    }

    .products-grid-listing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .products-controls {
        width: 100%;
        flex-direction: column;
    }

    .sort-select {
        width: 100%;
    }

    .products-grid-listing {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .products-main {
        padding: 20px 15px;
    }
}