/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --secondary: #1e293b;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    background: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--secondary);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 5px;
    color: var(--primary);
}

.top-bar-right a {
    color: white;
    margin-left: 20px;
    font-weight: 500;
}

.top-bar-right a:hover {
    color: var(--primary);
}

/* ===== HEADER ===== */
.main-header {
    background: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    flex: 1;
    max-width: 500px;
    display: flex;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.search-bar:focus-within {
    border-color: var(--primary);
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.search-bar button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* ===== CART BUTTON ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    position: relative;
    font-size: 22px;
    color: var(--secondary);
    padding: 10px;
}

.cart-btn:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger);
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--primary);
    padding: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links li a {
    display: block;
    padding: 14px 20px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s;
}

.nav-links li a:hover {
    background: var(--primary-dark);
}

.nav-links li a i {
    margin-right: 6px;
}

/* ===== HERO / BANNER SLIDER ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin: 30px auto;
    max-width: 1280px;
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13,148,136,0.85) 0%, rgba(30,41,59,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    border-radius: var(--radius);
}

.banner-overlay h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.banner-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 500px;
}

.banner-btn {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.banner-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
    font-size: 16px;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.product-price span {
    font-size: 14px;
    color: var(--gray);
    font-weight: 400;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: #d97706;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===== CATEGORIES SECTION ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.category-card i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
}

.category-card h4 {
    font-size: 14px;
    color: var(--secondary);
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary);
}

.auth-card .subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
}

.auth-card .auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

.auth-card .auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* ===== CART PAGE ===== */
.cart-page {
    padding: 40px 0;
}

.cart-table {
    width: 100%;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.cart-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: middle;
}

.cart-table .cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-table .cart-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-summary {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.cart-summary .summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 2px solid var(--gray-light);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-control button {
    background: var(--light);
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.quantity-control button:hover {
    background: var(--primary-light);
}

.quantity-control span {
    padding: 8px 16px;
    font-weight: 600;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page {
    padding: 40px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.checkout-form h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
    color: var(--primary);
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-option {
    flex: 1;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover,
.payment-option.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-option i {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--primary);
}

.payment-option h5 {
    font-size: 14px;
}

.bkash-field {
    display: none;
    background: #fef2f2;
    border: 2px solid #e11d48;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-top: 15px;
}

.bkash-field.show {
    display: block;
}

.bkash-field p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #e11d48;
    font-weight: 600;
}

.order-summary-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.order-summary-card h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.order-item:last-child {
    border-bottom: none;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
    padding: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.product-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: #f1f5f9;
}

.product-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-detail-info .price {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.product-detail-info .description {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.product-detail-info .details-section {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 25px;
}

.product-detail-info .details-section h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===== ACCOUNT PAGE ===== */
.account-page {
    padding: 40px 0;
}

.account-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.account-sidebar {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.account-sidebar .user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 15px;
}

.account-sidebar .user-info i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 10px;
}

.account-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 5px;
}

.account-sidebar nav a:hover,
.account-sidebar nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.account-content {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    background: var(--light);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--gray);
}

.orders-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gray-light);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-processing { background: #e0e7ff; color: #3730a3; }
.status-shipped { background: #cffafe; color: #155e75; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col .contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col .contact-info li i {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-bottom .payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cod-badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.bkash-badge {
    background: #e2136e;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: white;
    color: var(--secondary);
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.pagination a:hover, .pagination .active {
    background: var(--primary);
    color: white;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
}

/* ===== TRACK ORDER ===== */
.track-order-page {
    padding: 40px 0;
    max-width: 600px;
    margin: 0 auto;
}

.order-timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
}

.timeline-item.completed::before {
    background: var(--success);
}

.timeline-item.current::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .account-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Top Bar Mobile */
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 4px;
    }
    
    .top-bar-left span {
        margin-right: 12px;
        font-size: 11px;
    }
    
    .top-bar-right a {
        margin-left: 12px;
        font-size: 11px;
    }
    
    /* Header Mobile */
    .main-header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        flex: 1 1 100%;
        margin-top: 10px;
    }
    
    .search-bar input {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Navigation Mobile */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Banner Mobile */
    .hero-section {
        margin: 15px auto;
        border-radius: 8px;
    }
    
    .banner-slide img {
        height: 200px;
    }
    
    .banner-overlay {
        padding: 25px;
    }
    
    .banner-overlay h1 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .banner-overlay p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .banner-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    /* Sections Mobile */
    .section {
        padding: 30px 0;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .section-header p {
        font-size: 13px;
    }
    
    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-card i {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .feature-card h4 {
        font-size: 14px;
    }
    
    .feature-card p {
        font-size: 12px;
    }
    
    /* Categories Mobile */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .category-card {
        padding: 18px 10px;
    }
    
    .category-card i {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .category-card h4 {
        font-size: 11px;
    }
    
    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-info h3 {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .product-price {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .product-price span {
        font-size: 12px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .product-actions .btn {
        font-size: 12px;
        padding: 7px 10px;
        width: 100%;
        justify-content: center;
    }
    
    /* Shop Page Sidebar Mobile */
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    /* Cart Mobile */
    .cart-table {
        font-size: 12px;
    }
    
    .cart-table th, .cart-table td {
        padding: 10px 8px;
    }
    
    .cart-table .cart-product {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .cart-table .cart-product img {
        width: 40px;
        height: 40px;
    }
    
    .cart-summary {
        max-width: 100%;
    }
    
    /* Checkout Mobile */
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-form {
        padding: 20px;
    }
    
    .payment-methods {
        flex-direction: column;
    }
    
    .order-summary-card {
        position: static;
        padding: 20px;
    }
    
    /* Product Detail Mobile */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .product-detail-image img {
        height: 280px;
    }
    
    .product-detail-info h1 {
        font-size: 22px;
    }
    
    .product-detail-info .price {
        font-size: 26px;
    }
    
    /* Account Mobile */
    .account-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .account-sidebar {
        order: -1;
    }
    
    .orders-table {
        font-size: 12px;
    }
    
    .orders-table th, .orders-table td {
        padding: 8px 10px;
    }
    
    /* Auth Pages Mobile */
    .auth-card {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .auth-card h2 {
        font-size: 22px;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom .payment-methods {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Buttons Mobile */
    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb {
        font-size: 12px;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-info h3 {
        font-size: 12px;
    }
    
    .product-price {
        font-size: 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .banner-overlay h1 {
        font-size: 18px;
    }
    
    .banner-slide img {
        height: 180px;
    }
    
    /* Hide some table columns on very small screens */
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) {
        display: none;
    }
}

/* ===== SOCIAL FLOATING BUTTONS ===== */
.social-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.social-float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-float-btn:hover {
    transform: scale(1.05);
    color: white;
}

.social-float-btn i {
    font-size: 20px;
}

.whatsapp-btn {
    background: #25d366;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.facebook-btn {
    background: #1877f2;
}

.facebook-btn:hover {
    background: #0d65d9;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.instagram-btn:hover {
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
}

@media (max-width: 768px) {
    .social-float {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .social-float-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .social-float-btn i {
        font-size: 18px;
    }
    
    .social-float-btn span {
        display: none;
    }
    
    .social-float-btn {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}

/* ===== SHOP LAYOUT GRID ===== */
.shop-layout-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .shop-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
}
