/* ===================================================================
   Three Palm Designs — Main Stylesheet
   Professional E-commerce Design
   =================================================================== */

/* --- CSS Variables --- */
:root {
    --primary: #ff1493;
    --primary-light: #ff69b4;
    --primary-dark: #cc0077;
    --accent: #ff85c0;
    --accent-light: #ffb6d9;
    --blue: #1e90ff;
    --blue-dark: #0066cc;
    --blue-light: #5cacff;
    --dark: #1a1a2e;
    --dark-light: #2d2d4a;
    --gray-900: #212529;
    --gray-700: #555566;
    --gray-500: #8e8e9e;
    --gray-300: #f0e0ea;
    --gray-100: #fff0f5;
    --white: #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: .3s ease;
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; pointer-events: auto; }
img::selection { background: transparent; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-3 { margin-top: 2.5rem; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 34px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: .3px;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-sm {
    padding: 10px 24px;
    font-size: .85rem;
    background: var(--white);
    color: var(--primary);
}
.btn-sm:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.btn-dark:hover {
    background: var(--dark-light);
    border-color: var(--dark-light);
    transform: translateY(-2px);
}

/* --- Top Bar --- */
.top-bar {
    background: var(--dark);
    color: var(--gray-300);
    font-size: .82rem;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.top-bar i { margin-right: 6px; color: var(--blue-light); }
.top-social { display: flex; gap: 14px; }
.top-social a { color: var(--gray-300); }
.top-social a:hover { color: var(--blue-light); }

/* --- Promo Banner --- */
.promo-banner {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .3px;
}
.promo-banner a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
}
.promo-banner a:hover { opacity: .85; }

/* --- Header / Navigation --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: none;
    border-bottom: 1px solid var(--gray-300);
    transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon { font-size: 1.5rem; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--dark);
}
.logo-accent { color: var(--primary); }

.main-nav ul {
    display: flex;
    gap: 2.2rem;
}
.main-nav a {
    font-weight: 500;
    font-size: .95rem;
    color: var(--gray-700);
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}
.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
    color: var(--dark);
}
.cart-icon:hover { color: var(--primary); }
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--blue);
    color: var(--white);
    font-size: .65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Header Search Bar --- */
.header-search {
    flex: 1;
    max-width: 480px;
    margin: 0 2rem;
}
.search-form {
    display: flex;
    border: 2px solid var(--gray-300);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--transition);
}
.search-form:focus-within { border-color: var(--blue); }
.search-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 18px;
    font-size: .9rem;
    font-family: var(--font-body);
    background: var(--white);
}
.search-form button {
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 1rem;
    transition: background var(--transition);
}
.search-form button:hover { background: var(--blue-dark); }

.nav-icon-link {
    font-size: 1.2rem;
    color: var(--dark);
    transition: color var(--transition);
}
.nav-icon-link:hover { color: var(--primary); }

/* --- Category Nav Bar --- */
.category-nav {
    background: var(--white);
    border-bottom: 2px solid var(--gray-300);
    overflow-x: auto;
}
.category-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}
.category-nav-list li a {
    display: block;
    padding: 12px 18px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}
.category-nav-list li a:hover,
.category-nav-list li a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* --- Info Strip --- */
.info-strip {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
    padding: 10px 0;
}
.info-strip-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.info-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
}
.info-strip-item i {
    font-size: 1.3rem;
    color: var(--blue);
}
.info-strip-item strong {
    display: block;
    font-size: .78rem;
    color: var(--dark);
    letter-spacing: .3px;
}
.info-strip-item span {
    font-size: .75rem;
    color: var(--gray-500);
}

/* --- Hero Banner Carousel --- */
.hero-banners {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 480px;
}
.hero-banner-track {
    display: flex;
    transition: transform 0.6s ease;
    height: 100%;
}
.hero-banner-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-banner-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,30,46,.35) 0%, rgba(30,144,255,.15) 100%);
}
.hero-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}
.hero-banner-content h2 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: .5rem;
}
.hero-banner-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: .3rem;
    letter-spacing: 1px;
}
.hero-banner-desc {
    font-size: .95rem;
    margin-bottom: 1.5rem;
    opacity: .9;
}
.hero-banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.85);
    color: var(--dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}
.hero-banner-btn:hover { background: var(--white); }
.hero-banner-prev { left: 20px; }
.hero-banner-next { right: 20px; }
.hero-banner-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}
.hero-banner-dot.active {
    background: var(--white);
}

/* --- Shop by Category --- */
.shop-categories {
    padding: 3.5rem 0;
    background: var(--white);
}
.shop-categories-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-300);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}
.category-card {
    text-align: center;
    transition: transform var(--transition);
}
.category-card:hover { transform: translateY(-4px); }
.category-img {
    width: 100%;
    padding-bottom: 130%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    margin-bottom: .8rem;
    border: 2px solid var(--gray-300);
    transition: border-color var(--transition);
}
.category-card:hover .category-img { border-color: var(--primary); }
.category-card p {
    font-size: .88rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,59,36,.85) 0%, rgba(26,26,46,.75) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.hero-sub {
    font-size: .44rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: .5rem;
    color: var(--accent-light);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero-desc {
    font-size: .46rem;
    line-height: 1.8;
    margin-bottom: 2.2rem;
    color: rgba(255,255,255,.88);
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll a {
    color: rgba(255,255,255,.6);
    font-size: 1.4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- Section Styling --- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tag {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: .5rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .8rem;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 1rem;
    border-radius: 2px;
}
.section-divider.left { margin-left: 0; }
.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Services --- */
.services {
    padding: 6rem 0;
    background: var(--gray-100);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: .8rem;
}
.service-card p {
    font-size: .95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- Featured Products --- */
.featured-products {
    padding: 6rem 0;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    background: var(--white);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.product-image {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
}
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-badge.sale { background: #e74c3c; }
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-info {
    padding: 1.2rem 1.5rem;
}
.product-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: .4rem;
}
.product-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
}
.old-price {
    text-decoration: line-through;
    color: var(--gray-500);
    font-weight: 400;
    margin-right: 6px;
}

/* --- Why Choose Us --- */
.why-us {
    padding: 6rem 0;
    background: var(--gray-100);
}
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.why-us-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}
.check-list {
    margin-bottom: 2rem;
}
.check-list li {
    margin-bottom: .8rem;
    font-size: .98rem;
    color: var(--gray-700);
}
.check-list i {
    color: var(--primary);
    margin-right: 10px;
}
.why-us-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* --- Testimonials --- */
.testimonials {
    padding: 6rem 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-300);
    transition: all var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.stars {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: .95rem;
    display: flex;
    gap: 3px;
}
.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: .95rem;
}
.testimonial-author span {
    font-size: .82rem;
    color: var(--gray-500);
}

/* --- Newsletter --- */
.newsletter {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--dark) 100%);
    color: var(--white);
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: .5rem;
}
.newsletter-content p {
    color: rgba(255,255,255,.8);
    font-size: 1.02rem;
}
.newsletter-form {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}
.newsletter-form input {
    padding: 14px 22px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50px;
    background: rgba(255,255,255,.15);
    color: var(--white);
    font-size: .95rem;
    font-family: var(--font-body);
    min-width: 280px;
    outline: none;
    transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { border-color: var(--blue-light); }
.newsletter-form .btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.newsletter-form .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* --- Footer --- */
.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.footer-logo .logo-text { color: var(--white); }
.footer-about p {
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: .9rem;
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 1.2rem;
}
.footer-col ul li {
    margin-bottom: .65rem;
}
.footer-col ul li a {
    font-size: .92rem;
    color: var(--gray-300);
    transition: color var(--transition);
}
.footer-col ul li a:hover {
    color: var(--accent);
}
.contact-info li {
    font-size: .92rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.contact-info i {
    color: var(--accent);
    margin-top: 4px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: .85rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-payments {
    display: flex;
    gap: 14px;
    font-size: 1.6rem;
    color: var(--gray-500);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* --- Page Header (inner pages) --- */
.page-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: .6rem;
}
.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
}
.breadcrumb {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: .88rem;
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* --- About Page --- */
.about-section {
    padding: 5rem 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.2rem;
}
.about-content p {
    margin-bottom: 1.2rem;
    font-size: 1.02rem;
    line-height: 1.8;
}
.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.values-section {
    padding: 5rem 0;
    background: var(--gray-100);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.value-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}
.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: .8rem;
}
.value-card p {
    font-size: .95rem;
    color: var(--gray-500);
}

/* --- Shop Page --- */
.shop-section {
    padding: 5rem 0;
}
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.shop-toolbar p { color: var(--gray-500); font-size: .92rem; }
.shop-filters {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    background: var(--white);
    font-family: var(--font-body);
    font-size: .88rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.shop-product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    min-width: 0;
    width: 100%;
}
.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.shop-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f8fa;
    overflow: hidden;
}
.shop-product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    display: flex;
    justify-content: center;
    gap: .6rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
}
.shop-product-card:hover .shop-product-actions {
    opacity: 1;
    transform: translateY(0);
}
.action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    transition: all var(--transition);
}
.action-btn:hover {
    background: var(--primary);
    color: var(--white);
}
.shop-product-info {
    padding: 1rem 1.2rem;
}
.shop-product-info .product-category {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    margin-bottom: .3rem;
}
.shop-product-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: .4rem;
}
.shop-product-info .product-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}
.shop-product-info .stars {
    font-size: .75rem;
    margin-bottom: .4rem;
}

/* --- Contact Page --- */
.contact-section {
    padding: 5rem 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}
.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 1rem;
}
.contact-details > p {
    margin-bottom: 2rem;
    font-size: 1.02rem;
    line-height: 1.8;
}
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-item h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: .2rem;
}
.contact-item p {
    font-size: .92rem;
    color: var(--gray-500);
}
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--dark);
    outline: none;
    transition: border-color var(--transition);
    background: var(--white);
    box-sizing: border-box;
}
.form-group select {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    cursor: pointer;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}
.form-group textarea {
    height: 130px;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* --- Shop Loading State --- */
.shop-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--gray-500);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.shop-product-image .product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}
.product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Cart Drawer --- */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 1200;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
    display: flex;
    flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-300);
}
.cart-drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark);
}
.cart-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--gray-500);
    cursor: pointer;
}
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}
.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}
.cart-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-300);
}
.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: .95rem; color: var(--dark); margin-bottom: .2rem; }
.cart-item-details .cart-item-price { font-weight: 600; color: var(--primary); font-size: .9rem; }
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .5rem;
}
.cart-item-qty button {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    cursor: pointer;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-qty span { font-size: .9rem; min-width: 20px; text-align: center; }
.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: .85rem;
    align-self: flex-start;
}
.cart-item-remove:hover { color: #e74c3c; }
.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-300);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}
.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.cart-checkout-btn:hover { background: var(--primary-dark); }

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: .92rem;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    opacity: 0;
    transition: all .4s ease;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast i { margin-right: 8px; color: var(--accent); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .why-us-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
    .top-bar-inner { justify-content: center; text-align: center; }

    .mobile-toggle { display: flex; }

    .header-search { display: none; }

    .category-nav { display: none; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        z-index: 1050;
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li a {
        display: block;
        padding: 14px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--gray-300);
    }

    .info-strip-inner { flex-direction: column; gap: .5rem; }

    .hero-banners { height: 300px; }
    .hero-banner-content h2 { font-size: 2rem; }
    .hero-banner-subtitle { font-size: 1rem; }
    .hero-banner-btn { width: 36px; height: 36px; font-size: .85rem; }
    .hero-banner-prev { left: 10px; }
    .hero-banner-next { right: 10px; }

    .category-grid { grid-template-columns: repeat(3, 1fr); }

    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; }

    .section-title { font-size: 2rem; }

    .why-us-grid,
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { justify-content: center; }
    .newsletter-form input { min-width: 220px; }

    .form-row { grid-template-columns: 1fr; }
}

/* --- New Arrivals Carousel --- */
.new-arrivals {
    padding: 5rem 0;
    background: var(--gray-100);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.carousel-slide .product-card {
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.8rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.15);
}

@media (max-width: 900px) {
    .carousel-slide { min-width: 50%; }
    .carousel-prev { left: -10px; }
    .carousel-next { right: -10px; }
}

@media (max-width: 600px) {
    .carousel-slide { min-width: 100%; }
    .carousel-btn { width: 36px; height: 36px; font-size: .9rem; }
    .carousel-prev { left: -5px; }
    .carousel-next { right: -5px; }
}

@media (max-width: 480px) {
    .hero { min-height: 80vh; }
    .hero-title { font-size: 1.6rem; }
    .btn { padding: 12px 26px; font-size: .9rem; }
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-banners { height: 240px; }
    .hero-banner-content h2 { font-size: 1.5rem; letter-spacing: 1px; }
    .hero-banner-subtitle { font-size: .85rem; }
    .hero-banner-desc { font-size: .8rem; }
    .promo-banner { font-size: .75rem; }
}
