/* Smart Home Accessories E-commerce Website Styles */

/* ===== CSS VARIABLES ===== */
:root {
    --midnight-navy: #101C2C;
    --electric-teal: #27D6C5;
    --ice-blue: #C9F1F4;
    --cloud-white: #F5F8FB;
    --steel-blue: #647A91;
    --graphite: #263443;
    --pure-white: #FFFFFF;
    --soft-mint: #DDF7EF;
    --border-grey: #DFE7ED;
    --soft-coral: #FF8B78;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--cloud-white);
    color: var(--graphite);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--midnight-navy);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input, textarea {
    font-family: inherit;
}

/* ===== TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background-color: var(--midnight-navy);
    color: var(--pure-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ===== HEADER STYLES ===== */
.header {
    background-color: var(--pure-white);
    border-bottom: 1px solid var(--border-grey);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(16, 28, 44, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--midnight-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--electric-teal), var(--ice-blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--midnight-navy);
    font-size: 18px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav a {
    color: var(--graphite);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.header-nav a:hover {
    color: var(--electric-teal);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--electric-teal);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search {
    position: relative;
}

.header-search input {
    width: 200px;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-grey);
    border-radius: 25px;
    font-size: 14px;
    background-color: var(--cloud-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-search input:focus {
    border-color: var(--electric-teal);
    box-shadow: 0 0 0 3px rgba(39, 214, 197, 0.1);
    outline: none;
}

.header-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--steel-blue);
    pointer-events: none;
}

.header-icon {
    position: relative;
    color: var(--graphite);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.header-icon:hover {
    color: var(--electric-teal);
}

.header-icon-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--electric-teal);
    color: var(--midnight-navy);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    color: var(--graphite);
    font-size: 24px;
    cursor: pointer;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--pure-white);
    border-bottom: 1px solid var(--border-grey);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--graphite);
    font-weight: 500;
    border-bottom: 1px solid var(--border-grey);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--electric-teal);
}

/* ===== HERO SECTION ===== */
.hero {
    background-color: var(--cloud-white);
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--midnight-navy);
}

.hero-content p {
    font-size: 18px;
    color: var(--steel-blue);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--electric-teal);
    color: var(--midnight-navy);
}

.btn-primary:hover {
    background-color: #20b5a5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 214, 197, 0.3);
}

.btn-secondary {
    background-color: var(--pure-white);
    color: var(--midnight-navy);
    border: 2px solid var(--border-grey);
}

.btn-secondary:hover {
    border-color: var(--electric-teal);
    color: var(--electric-teal);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(16, 28, 44, 0.15);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    padding: 80px 20px;
    background-color: var(--pure-white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--steel-blue);
    font-size: 16px;
}

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

.category-card {
    background: linear-gradient(145deg, var(--pure-white), #f8fafc);
    border: 1px solid var(--border-grey);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(16, 28, 44, 0.05);
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(16, 28, 44, 0.15);
    border-color: var(--electric-teal);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 8px 16px rgba(16, 28, 44, 0.1));
}

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

.category-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--midnight-navy);
    font-weight: 700;
}

.category-card p {
    color: var(--steel-blue);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-card .btn-link {
    color: var(--electric-teal);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.category-card .btn-link:hover {
    text-decoration: none;
    transform: translateX(4px);
}

.category-card .btn-link::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.category-card:hover .btn-link::after {
    transform: translateX(4px);
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 80px 20px;
    background-color: var(--cloud-white);
}

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

.product-card {
    background: linear-gradient(145deg, var(--pure-white), #f8fafc);
    border: 1px solid var(--border-grey);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 6px rgba(16, 28, 44, 0.05);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(16, 28, 44, 0.15);
    border-color: var(--electric-teal);
}

.product-card-image {
    position: relative;
    height: 260px;
    background: linear-gradient(135deg, var(--cloud-white), #e8f4f8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    overflow: hidden;
}

.product-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(39, 214, 197, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-image::before {
    opacity: 1;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 20px rgba(16, 28, 44, 0.1));
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-grey);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(16, 28, 44, 0.1);
    z-index: 10;
}

.product-card-wishlist:hover {
    border-color: var(--soft-coral);
    color: var(--soft-coral);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 139, 120, 0.3);
}

.product-card-wishlist.active {
    background: linear-gradient(135deg, var(--soft-coral), #ff6b5b);
    border-color: var(--soft-coral);
    color: var(--pure-white);
    box-shadow: 0 6px 16px rgba(255, 139, 120, 0.4);
}

.product-card-content {
    padding: 24px;
    background: linear-gradient(180deg, var(--pure-white), #fafbfc);
}

.product-card-category {
    font-size: 11px;
    color: var(--electric-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-card-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--midnight-navy);
    line-height: 1.4;
    min-height: 48px;
}

.product-card-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--electric-teal);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-card-price::before {
    content: '$';
    font-size: 16px;
    margin-right: 2px;
}

.product-card-availability {
    font-size: 13px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.product-card-availability::before {
    content: '●';
    font-size: 10px;
}

.product-card-availability.in-stock {
    color: #27D6C5;
}

.product-card-availability.out-of-stock {
    color: var(--soft-coral);
}

.product-card-actions {
    display: flex;
    gap: 12px;
}

.product-card .btn-add-cart {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--electric-teal), #20b5a5);
    color: var(--midnight-navy);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(39, 214, 197, 0.3);
}

.product-card .btn-add-cart:hover {
    background: linear-gradient(135deg, #20b5a5, #1a9a8b);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(39, 214, 197, 0.4);
}

.product-card .btn-view {
    padding: 12px 18px;
    background: var(--pure-white);
    color: var(--graphite);
    border: 2px solid var(--border-grey);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-card .btn-view:hover {
    border-color: var(--electric-teal);
    color: var(--electric-teal);
    background: var(--cloud-white);
    transform: translateY(-2px);
}

/* ===== BANNER SECTION ===== */
.banner {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--midnight-navy), var(--graphite));
    color: var(--pure-white);
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h2 {
    color: var(--pure-white);
    font-size: 42px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 18px;
    color: var(--ice-blue);
    margin-bottom: 30px;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 20px;
    background-color: var(--soft-mint);
}

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

.feature-card {
    background-color: var(--pure-white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-grey);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--electric-teal), var(--ice-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--midnight-navy);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--steel-blue);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 80px 20px;
    background-color: var(--pure-white);
}

.faq-item {
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--cloud-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--graphite);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--ice-blue);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--pure-white);
    color: var(--steel-blue);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    padding: 60px 20px;
    background-color: var(--midnight-navy);
    text-align: center;
}

.newsletter h2 {
    color: var(--pure-white);
    margin-bottom: 15px;
}

.newsletter p {
    color: var(--ice-blue);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-grey);
    font-size: 15px;
}

.newsletter-form button {
    padding: 14px 30px;
    background-color: var(--electric-teal);
    color: var(--midnight-navy);
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #20b5a5;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--midnight-navy);
    color: var(--pure-white);
    padding: 60px 20px 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    color: var(--pure-white);
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand p {
    color: var(--steel-blue);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--graphite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--electric-teal);
    color: var(--midnight-navy);
}

.footer h4 {
    color: var(--pure-white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--steel-blue);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--electric-teal);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--graphite);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--steel-blue);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--steel-blue);
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: var(--electric-teal);
}

/* ===== PAGE STYLES ===== */
.page {
    padding: 40px 20px 80px;
    flex: 1;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--steel-blue);
}

/* ===== CART PAGE ===== */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-icon {
    font-size: 64px;
    color: var(--steel-blue);
    margin-bottom: 20px;
}

.cart-empty h2 {
    margin-bottom: 15px;
}

.cart-empty p {
    color: var(--steel-blue);
    margin-bottom: 30px;
}

.cart-items {
    margin-bottom: 40px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    margin-bottom: 15px;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cloud-white);
    border-radius: 8px;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    color: var(--electric-teal);
    font-weight: 700;
    margin-bottom: 15px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 32px;
    height: 32px;
    background-color: var(--cloud-white);
    border: 1px solid var(--border-grey);
    border-radius: 6px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-item-quantity button:hover {
    border-color: var(--electric-teal);
    color: var(--electric-teal);
}

.cart-item-quantity span {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    padding: 8px 16px;
    background-color: var(--soft-coral);
    color: var(--pure-white);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cart-item-remove:hover {
    background-color: #ff7a66;
}

.cart-summary {
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-grey);
}

.cart-summary-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-summary-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--electric-teal);
}

.cart-summary .btn {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

/* ===== WISHLIST PAGE ===== */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-detail-image {
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-detail-info h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.product-detail-category {
    color: var(--steel-blue);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--electric-teal);
    margin-bottom: 20px;
}

.product-detail-description {
    color: var(--steel-blue);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-detail-availability {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
}

.product-detail-availability.in-stock {
    background-color: var(--soft-mint);
    color: var(--electric-teal);
}

.product-detail-availability.out-of-stock {
    background-color: #FFE5E0;
    color: var(--soft-coral);
}

.product-detail-actions {
    display: flex;
    gap: 15px;
}

.product-detail-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 8px;
}

.product-detail-quantity button {
    width: 32px;
    height: 32px;
    background-color: var(--cloud-white);
    border: 1px solid var(--border-grey);
    border-radius: 6px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-detail-quantity button:hover {
    border-color: var(--electric-teal);
    color: var(--electric-teal);
}

.product-detail-quantity span {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* ===== AUTH PAGES ===== */
.auth-container {
    max-width: 450px;
    margin: 60px auto;
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 16px;
    padding: 40px;
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--electric-teal);
    outline: none;
}

.form-group input.error {
    border-color: var(--soft-coral);
}

.error-message {
    color: var(--soft-coral);
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.form-group input.error + .error-message {
    display: block;
}

.password-toggle {
    position: relative;
}

.password-toggle button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: var(--steel-blue);
    font-size: 18px;
    cursor: pointer;
}

.auth-container .btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-links a {
    color: var(--electric-teal);
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* ===== ACCOUNT PAGE ===== */
.account-container {
    max-width: 800px;
    margin: 0 auto;
}

.account-info {
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
}

.account-info h2 {
    margin-bottom: 30px;
}

.account-info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-grey);
}

.account-info-item:last-child {
    border-bottom: none;
}

.account-info-label {
    color: var(--steel-blue);
    font-weight: 500;
}

.account-info-value {
    font-weight: 600;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 16px;
    padding: 40px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--electric-teal), var(--ice-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--midnight-navy);
}

.contact-info-text h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: var(--steel-blue);
    font-size: 14px;
}

.contact-form {
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 16px;
    padding: 40px;
}

.contact-form h2 {
    margin-bottom: 30px;
}

.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.contact-form textarea:focus {
    border-color: var(--electric-teal);
    outline: none;
}

/* ===== ABOUT PAGE ===== */
.about-content {
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 16px;
    padding: 40px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--steel-blue);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    background-color: var(--pure-white);
    border: 1px solid var(--border-grey);
    border-radius: 16px;
    padding: 40px;
}

.legal-content h2 {
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
}

.legal-content p {
    color: var(--steel-blue);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-content li {
    color: var(--steel-blue);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-container,
    .categories-grid,
    .products-grid,
    .features-grid,
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .product-detail,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-search input {
        width: 150px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .categories-grid,
    .products-grid,
    .features-grid,
    .wishlist-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .header-search {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.hidden {
    display: none !important;
}
