:root {
    --primary-color: #4ECDC4;
    --primary-dark: #3DB8AF;
    --secondary-color: #1A1A1A;
    --text-color: #2D2D2D;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #757575;
    --white: #FFFFFF;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.main-header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

/* Top Bar Styles */
.header-top {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--primary-color);
}

.user-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.top-link:hover {
    color: var(--primary-color);
}

.welcome-msg {
    color: var(--primary-color);
    font-weight: 500;
}

/* Main Header Styles */
.header-main {
    padding: 20px 0;
    background-color: var(--white);
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Logo Section */
.logo-section a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ECDC4, #3DB8AF);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-inner {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2E7D6E, #1A5C52);
    border: 2px solid var(--white);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1;
}

.logo-text span {
    font-size: 14px;
    color: var(--gray-dark);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Search Section */
.search-section {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 350px;
}

.search-bar {
    width: 100%;
}

.search-bar form {
    display: flex;
    background-color: var(--gray-light);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--gray-medium);
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    background-color: transparent;
}

.search-bar button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0 25px 25px 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background-color: var(--primary-dark);
}

/* Actions Section */
.actions-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.action-buttons-horizontal {
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-width: 140px;
}

.action-item:hover {
    background-color: var(--gray-light);
    transform: translateX(-2px);
}

.action-item i {
    font-size: 14px;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.action-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.action-text strong {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--text-color);
}

.action-text span {
    font-size: 9px;
    color: var(--gray-dark);
    line-height: 1.2;
}

.cart-item {
    background-color: var(--success);
    color: var(--white);
    border: 1px solid var(--success);
}

.cart-item i {
    color: var(--white);
}

.cart-item .action-text strong,
.cart-item .action-text span {
    color: var(--white);
}

.cart-item:hover {
    background-color: #45a049;
}

/* Responsive Header Styles */
@media (max-width: 1024px) {
    .header-main-content {
        gap: 10px;
    }
    
    .search-section {
        max-width: 300px;
    }
    
    .action-item {
        min-width: 120px;
        padding: 6px 10px;
    }
    
    .action-text strong {
        font-size: 9px;
    }
    
    .action-text span {
        font-size: 8px;
    }
    
    .action-item i {
        font-size: 12px;
        width: 14px;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .user-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .header-main-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .logo-section {
        order: 1;
    }
    
    .search-section {
        order: 2;
        max-width: 100%;
        width: 100%;
    }
    
    .actions-section {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .action-buttons-horizontal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .action-item {
        min-width: 140px;
        justify-content: center;
    }
    
    .logo-text strong {
        font-size: 18px;
    }
    
    .logo-text span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 6px 0;
    }
    
    .header-main {
        padding: 15px 0;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .logo-inner {
        width: 28px;
        height: 28px;
    }
    
    .action-buttons-horizontal {
        flex-direction: column;
        width: 100%;
        max-width: 200px;
    }
    
    .action-item {
        width: 100%;
        min-width: auto;
    }
    
    .action-text {
        align-items: center;
        text-align: center;
    }
}

.header-slider {
    background-color: var(--gray-light);
    padding: 20px 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1250px;
    height: 250px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-banner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.placeholder-banner h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(0,0,0,0.8);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background-color: var(--white);
}

.info-blocks {
    background-color: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-medium);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.info-item i {
    font-size: 32px;
    color: var(--primary-color);
}

.info-text strong {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 3px;
}

.info-text span {
    font-size: 12px;
    color: var(--gray-dark);
}

.main-content {
    padding: 40px 0;
    min-height: 60vh;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar Styles */
.sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
}

.product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-categories li {
    margin-bottom: 5px;
}

.category-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 14px;
    border-left: 3px solid transparent;
}

.category-link:hover {
    background-color: var(--gray-light);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.sidebar-ad {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sidebar-ad img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.ad-text h4 {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.ad-text p {
    font-size: 12px;
    color: var(--gray-dark);
    margin: 0;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    font-size: 14px;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Main Area Styles */
.main-area {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.new-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--danger);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--gray-light);
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-dark);
    font-size: 48px;
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.product-info h3 {
    font-size: 14px;
    font-weight: bold;
    color: #2E7D32;
    margin: 0 0 10px 0;
    line-height: 1.3;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-price {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.price-label {
    font-size: 12px;
    color: var(--gray-dark);
    font-weight: normal;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #2E7D32;
}

.details-btn {
    display: inline-block;
    background-color: transparent;
    color: #2E7D32;
    padding: 8px 16px;
    border: 2px solid #2E7D32;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: var(--transition);
    text-align: center;
    margin-top: auto;
}

.details-btn:hover {
    background-color: #2E7D32;
    color: var(--white);
}

.sidebar-menu i {
    font-size: 16px;
    width: 20px;
}

.sidebar-banner {
    margin-top: 20px;
}

.promo-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.promo-box i {
    font-size: 40px;
    margin-bottom: 10px;
}

.promo-box h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.promo-box p {
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 13px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-small:hover {
    background-color: var(--gray-light);
}

/* Footer Styles */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    min-width: 0;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--white);
    text-transform: uppercase;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-head i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.footer-contact-label {
    font-size: 12px;
    font-weight: bold;
    color: var(--white);
}

.footer-contact-body {
    padding-left: 28px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

/* Technical Info */
.technical-info {
    background-color: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.technical-info p {
    margin: 0;
    line-height: 1.5;
    font-size: 13px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Institutional Links */
.institutional-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.institutional-links li {
    margin-bottom: 8px;
}

.institutional-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.institutional-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Account Links */
.account-links {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.account-links li {
    margin-bottom: 8px;
}

.account-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.account-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.secure-purchase {
    background-color: var(--success);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
}

.secure-purchase h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--white);
}

.secure-purchase p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 35px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 20px;
}

 .payment-methods--colored .payment-icon {
     width: 44px;
     height: 44px;
     border-radius: 12px;
     color: var(--white);
     font-size: 18px;
     box-shadow: 0 6px 14px rgba(0,0,0,0.18);
 }

 .payment-methods--colored .payment-icon.pix {
     background: linear-gradient(135deg, #00b4ab, #007f7a);
 }

 .payment-methods--colored .payment-icon.dinheiro {
     background: linear-gradient(135deg, #2ecc71, #1f9d55);
 }

 .payment-methods--colored .payment-icon.cartao {
     background: linear-gradient(135deg, #3b82f6, #1d4ed8);
 }

 .payment-methods--colored .payment-icon.deposito {
     background: linear-gradient(135deg, #f59e0b, #b45309);
 }

/* Delivery Methods */
.delivery-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

 .footer-method-image {
     height: 32px;
     width: auto;
     background-color: var(--white);
     border-radius: 6px;
     padding: 6px;
 }

.delivery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 20px;
}

.delivery-icon span {
    font-size: 10px;
    font-weight: bold;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: var(--white);
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
}

.whatsapp-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.whatsapp-link i {
    font-size: 24px;
}

.whatsapp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whatsapp-text strong {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
}

.whatsapp-text span {
    font-size: 10px;
    opacity: 0.9;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-link {
        padding: 10px 15px;
        gap: 8px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-link i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-section h3 {
        font-size: 14px;
    }

    .footer-contact-body {
        padding-left: 24px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .delivery-methods {
        justify-content: center;
    }
    
    .whatsapp-float {
        bottom: 10px;
        left: 10px;
    }
    
    .whatsapp-link {
        padding: 8px 12px;
        border-radius: 25px;
    }
    
    .whatsapp-link i {
        font-size: 18px;
    }
}

.main-area {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--text-color);
}

.view-all {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    color: var(--primary-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    font-size: 48px;
    color: var(--gray-dark);
}

.product-info {
    padding: 15px;
}

.product-category {
    display: inline-block;
    font-size: 11px;
    color: var(--primary-color);
    background-color: rgba(78, 205, 196, 0.1);
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-color);
    min-height: 40px;
}

.product-description {
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: 12px;
    min-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    margin-bottom: 15px;
}

.price-label {
    display: block;
    font-size: 11px;
    color: var(--gray-dark);
    margin-bottom: 3px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--gray-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--text-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background-color: var(--gray-light);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card:hover .category-icon {
    color: var(--white);
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 13px;
    color: var(--gray-dark);
}

.category-card:hover p {
    color: rgba(255,255,255,0.9);
}

.cta-section {
    margin-top: 40px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
}

.cta-box i {
    font-size: 60px;
    margin-bottom: 20px;
}

.cta-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 25px;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
}

.no-products i {
    font-size: 80px;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.no-products h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.no-products p {
    color: var(--gray-dark);
    margin-bottom: 25px;
}

.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 450px;
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--gray-dark);
}

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

.auth-links a {
    color: var(--primary-color);
    font-weight: 500;
}

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

.auth-links span {
    margin: 0 10px;
    color: var(--gray-dark);
}

.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid var(--danger);
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid var(--success);
}

.alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196F3;
}

.customer-area, .admin-area {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.customer-sidebar, .admin-sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.customer-profile, .admin-profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-medium);
    margin-bottom: 20px;
}

.profile-icon {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.customer-profile h3, .admin-profile h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.customer-profile p, .admin-profile p {
    font-size: 13px;
    color: var(--gray-dark);
}

.customer-menu, .admin-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.customer-menu a, .admin-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.customer-menu a:hover, .admin-menu a:hover,
.customer-menu a.active, .admin-menu a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.customer-menu i, .admin-menu i {
    width: 20px;
    font-size: 16px;
}

 .customer-panel-top {
     display: flex;
     align-items: center;
     gap: 14px;
     margin-bottom: 20px;
 }

 .customer-panel-top--compact {
     margin-bottom: 10px;
 }

 .customer-panel-title h1 {
     margin: 0;
 }

 .customer-panel-title p {
     margin: 4px 0 0;
     color: var(--gray-dark);
     font-size: 14px;
 }

 .customer-panel-toggle {
     width: 42px;
     height: 42px;
     display: none;
     align-items: center;
     justify-content: center;
     border: 1px solid var(--gray-medium);
     background: var(--white);
     border-radius: 10px;
     cursor: pointer;
 }

 .customer-panel-toggle i {
     font-size: 16px;
     color: var(--text-color);
 }

 .customer-profile-simple {
     padding: 18px 0;
     border-top: 1px solid var(--gray-medium);
 }

 .customer-profile-simple h3 {
     font-size: 16px;
     font-weight: 600;
     color: var(--text-color);
     margin-bottom: 4px;
 }

 .customer-profile-simple p {
     font-size: 13px;
     color: var(--gray-dark);
 }

 .customer-sidebar--panel {
     padding: 0;
 }

 .customer-sidebar-header {
     padding: 18px 18px 0;
 }

 .customer-balance {
     background: #f0fdf4;
     border: 1px solid #bbf7d0;
     border-radius: 12px;
     padding: 14px;
     margin-bottom: 14px;
 }

 .customer-balance-label {
     font-size: 12px;
     color: #166534;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     font-weight: 700;
 }

 .customer-balance-value {
     font-size: 22px;
     font-weight: 800;
     color: #16a34a;
     margin-top: 6px;
 }

 .customer-balance-meta {
     font-size: 12px;
     color: #166534;
     margin-top: 6px;
 }

 .customer-menu--panel {
     padding: 14px 10px 16px;
 }

 .customer-menu-group {
     padding: 6px 6px 10px;
 }

 .customer-menu-title {
     font-size: 12px;
     font-weight: 800;
     color: var(--gray-dark);
     text-transform: uppercase;
     letter-spacing: 0.5px;
     padding: 10px 10px 6px;
 }

 .customer-menu-logout {
     color: var(--danger);
 }

 .customer-menu-logout:hover {
     background-color: var(--danger);
     color: var(--white);
 }

 .customer-sidebar-backdrop {
     display: none;
 }

 body.customer-sidebar-open {
     overflow: hidden;
 }

 @media (max-width: 768px) {
     .customer-panel-toggle {
         display: inline-flex;
     }

     .customer-sidebar-backdrop {
         display: none;
         position: fixed;
         top: 0;
         left: 0;
         width: 100vw;
         height: 100vh;
         background: rgba(2, 6, 23, 0.45);
         z-index: 999;
     }

     .customer-sidebar {
         position: fixed;
         top: 0;
         left: 0;
         height: 100vh;
         width: min(320px, 92vw);
         transform: translateX(-110%);
         transition: transform 0.2s ease;
         z-index: 1000;
         border-radius: 0;
         padding: 0;
         overflow-y: auto;
     }

     body.customer-sidebar-open .customer-sidebar {
         transform: translateX(0);
     }

     body.customer-sidebar-open .customer-sidebar-backdrop {
         display: block;
     }
 }

 .orders-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
     gap: 24px;
 }

 .order-card {
     background: white;
     border: 1px solid #e2e8f0;
     border-radius: 12px;
     overflow: hidden;
     transition: all 0.2s;
 }

 .order-card:hover {
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     transform: translateY(-2px);
 }

 .order-card-header {
     padding: 20px;
     border-bottom: 1px solid #e2e8f0;
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
 }

 .order-info {
     display: flex;
     flex-direction: column;
     gap: 6px;
 }

 .order-number {
     font-size: 15px;
     font-weight: 600;
     color: #0f172a;
 }

 .order-date {
     font-size: 13px;
     color: #64748b;
 }

 .order-image {
     width: 80px;
     height: 80px;
     border-radius: 8px;
     overflow: hidden;
     border: 1px solid #e2e8f0;
 }

 .order-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .order-card-body {
     padding: 20px;
     display: flex;
     flex-direction: column;
     gap: 12px;
 }

 .order-detail {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .order-detail .label {
     font-size: 14px;
     color: #64748b;
 }

 .order-detail .value {
     font-size: 14px;
     font-weight: 600;
     color: #0f172a;
 }

 .order-detail .value.total {
     font-size: 18px;
     color: #10b981;
 }

 .order-detail .value.delivery {
     color: #3b82f6;
 }

 .order-detail .value.payment-status {
     font-weight: 700;
     text-transform: uppercase;
     font-size: 12px;
 }

 .order-card-footer {
     padding: 16px 20px;
     background: #f8fafc;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .order-card-footer .status-badge {
     padding: 6px 14px;
     border-radius: 20px;
     font-size: 11px;
     font-weight: 700;
     color: white;
     letter-spacing: 0.5px;
 }

 .btn-track {
     padding: 8px 20px;
     background: #10b981;
     color: white;
     text-decoration: none;
     border-radius: 8px;
     font-size: 14px;
     font-weight: 600;
     transition: all 0.2s;
 }

 .btn-track:hover {
     background: #059669;
     transform: translateY(-1px);
 }

 .order-detail-header {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     margin-bottom: 32px;
 }

 .back-link {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     color: #64748b;
     text-decoration: none;
     font-size: 14px;
     margin-bottom: 12px;
     transition: color 0.2s;
 }

 .back-link:hover {
     color: #0f172a;
 }

 .order-detail-header h1 {
     font-size: 24px;
     font-weight: 700;
     color: #0f172a;
 }

 .status-badge-large {
     padding: 10px 20px;
     border-radius: 20px;
     font-size: 12px;
     font-weight: 700;
     color: white;
     letter-spacing: 0.5px;
 }

 .order-detail-grid {
     display: grid;
     grid-template-columns: 1fr 400px;
     gap: 24px;
 }

 .order-detail-section {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .order-item-card {
     background: white;
     border: 1px solid #e2e8f0;
     border-radius: 12px;
     padding: 24px;
     display: flex;
     gap: 20px;
 }

 .item-image {
     width: 200px;
     height: 200px;
     border-radius: 8px;
     overflow: hidden;
     border: 1px solid #e2e8f0;
     flex-shrink: 0;
 }

 .item-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .no-image {
     width: 100%;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     background: #f8fafc;
     color: #cbd5e1;
     font-size: 48px;
 }

 .item-info {
     flex: 1;
 }

 .item-info h3 {
     font-size: 18px;
     font-weight: 600;
     color: #0f172a;
     margin-bottom: 8px;
 }

 .item-description {
     font-size: 14px;
     color: #64748b;
     margin-bottom: 12px;
 }

 .item-specs {
     display: flex;
     flex-direction: column;
     gap: 4px;
     margin-bottom: 16px;
 }

 .spec-item {
     font-size: 13px;
     color: #475569;
 }

 .item-quantity-price {
     display: flex;
     gap: 24px;
     padding-top: 16px;
     border-top: 1px solid #e2e8f0;
 }

 .item-quantity-price span {
     font-size: 14px;
     color: #64748b;
 }

 .item-quantity-price strong {
     color: #0f172a;
     font-weight: 600;
 }

 .order-actions {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 12px;
 }

 .btn-action {
     padding: 12px 20px;
     border: 1px solid #e2e8f0;
     background: white;
     border-radius: 8px;
     font-size: 14px;
     font-weight: 600;
     color: #475569;
     cursor: pointer;
     transition: all 0.2s;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
 }

 .btn-action:hover {
     border-color: #10b981;
     color: #10b981;
     background: #f0fdf4;
 }

 .btn-action i {
     font-size: 16px;
 }

 .order-detail-sidebar {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .info-card, .timeline-card, .tracking-card {
     background: white;
     border: 1px solid #e2e8f0;
     border-radius: 12px;
     padding: 24px;
 }

 .info-card h3, .timeline-card h3 {
     font-size: 16px;
     font-weight: 600;
     color: #0f172a;
     margin-bottom: 20px;
 }

 .timeline-card h3 {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 14px;
     cursor: pointer;
 }

 .info-item {
     display: flex;
     justify-content: space-between;
     padding: 12px 0;
     border-bottom: 1px solid #f1f5f9;
 }

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

 .info-label {
     font-size: 14px;
     color: #64748b;
 }

 .info-value {
     font-size: 14px;
     font-weight: 600;
     color: #0f172a;
 }

 .info-link {
     color: #10b981;
     text-decoration: none;
     font-weight: 600;
 }

 .info-link:hover {
     text-decoration: underline;
 }

 .timeline {
     position: relative;
 }

 .timeline-item {
     display: flex;
     gap: 16px;
     padding-bottom: 24px;
     position: relative;
 }

 .timeline-item:last-child {
     padding-bottom: 0;
 }

 .timeline-item::before {
     content: '';
     position: absolute;
     left: 11px;
     top: 24px;
     bottom: 0;
     width: 2px;
     background: #e2e8f0;
 }

 .timeline-item:last-child::before {
     display: none;
 }

 .timeline-item.completed::before {
     background: #10b981;
 }

 .timeline-marker {
     width: 24px;
     height: 24px;
     border-radius: 50%;
     background: #e2e8f0;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     position: relative;
     z-index: 1;
 }

 .timeline-item.completed .timeline-marker {
     background: #10b981;
     color: white;
 }

 .marker-dot {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background: white;
 }

 .timeline-content {
     flex: 1;
     padding-top: 2px;
 }

 .timeline-label {
     font-size: 14px;
     color: #0f172a;
     margin-bottom: 4px;
 }

 .timeline-date {
     font-size: 12px;
     color: #64748b;
 }

 .tracking-badge {
     display: inline-block;
     padding: 8px 16px;
     background: #10b981;
     color: white;
     border-radius: 20px;
     font-size: 12px;
     font-weight: 700;
 }

.customer-content, .admin-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card i {
    font-size: 48px;
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.stat-link {
    color: var(--white);
    font-weight: bold;
    text-decoration: underline;
}

.orders-table, .table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: var(--gray-light);
}

table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid var(--gray-medium);
}

table td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-medium);
}

table tbody tr:hover {
    background-color: var(--gray-light);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fff3e0;
    color: #e65100;
}

.status-confirmed {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-processing {
    background-color: #f3e5f5;
    color: #6a1b9a;
}

.status-shipped {
    background-color: #e0f2f1;
    color: #00695c;
}

.status-delivered {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-cancelled {
    background-color: #ffebee;
    color: #c62828;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 80px;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.empty-state p {
    color: var(--gray-dark);
    margin-bottom: 25px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 20px;
}

.view-all-link:hover {
    color: var(--primary-dark);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-medium);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.form-help {
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-table {
    width: 100%;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-info-cart img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.product-info-cart h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.specifications {
    font-size: 12px;
    color: var(--gray-dark);
}

.item-total {
    font-weight: bold;
    color: var(--primary-color);
}

.btn-remove {
    background-color: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: var(--transition);
}

.btn-remove:hover {
    color: #d32f2f;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-medium);
}

.cart-summary {
    background-color: var(--gray-light);
    padding: 25px;
    border-radius: var(--border-radius);
    height: fit-content;
}

.cart-summary h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    margin: 20px 0;
    padding: 20px 0;
    border-top: 2px solid var(--text-color);
}

.payment-info {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-medium);
}

.payment-info i {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 8px;
}

.payment-info p {
    font-size: 13px;
    color: var(--gray-dark);
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart i {
    font-size: 100px;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-color);
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray-dark);
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    width: 100%;
    height: 400px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--gray-dark);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--primary-color);
}

.product-details h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--gray-light);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.price-box {
    background-color: var(--gray-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.price-box .price-label {
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.price-value {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

.product-description {
    margin-bottom: 25px;
}

.product-description h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-options {
    margin-bottom: 25px;
}

.product-options h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.options-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
}

.option-item i {
    color: var(--success);
}

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

.related-products {
    margin-top: 60px;
}

.related-products h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-color);
}

.calculator-page {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h1 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.calculator-header p {
    color: var(--gray-dark);
}

.calculator-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.calculator-form {
    display: grid;
    gap: 20px;
}

.calculator-result {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.result-header i {
    font-size: 48px;
    color: var(--success);
}

.result-header h2 {
    font-size: 24px;
    color: var(--text-color);
}

.result-details {
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-medium);
}

.result-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.result-total span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.total-price {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.success-message, .info-message {
    text-align: center;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.info-message {
    background-color: #e3f2fd;
    color: #1565c0;
}

.calculator-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.info-card ul {
    list-style: none;
}

.info-card ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.info-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-page {
    max-width: 1000px;
    margin: 0 auto;
}

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

.page-header h1 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--gray-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.contact-form-wrapper, .contact-info-wrapper {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-wrapper h2, .contact-info-wrapper h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-color);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.contact-info-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-info-card p {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.social-contact {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--gray-medium);
}

.social-contact h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.social-links-contact {
    display: flex;
    gap: 10px;
}

.social-links-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    transition: var(--transition);
}

.social-links-contact a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-medium);
}

.admin-header h1 {
    font-size: 28px;
    color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stats-grid .stat-card {
    background: var(--white);
    border: 2px solid var(--gray-medium);
    color: var(--text-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.stat-icon.products {
    background-color: #2196F3;
}

.stat-icon.orders {
    background-color: #4CAF50;
}

.stat-icon.customers {
    background-color: #FF9800;
}

.stat-icon.revenue {
    background-color: var(--primary-color);
}

.admin-section {
    margin-bottom: 40px;
}

.admin-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.admin-table {
    background-color: var(--white);
}

.table-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.no-thumb {
    width: 50px;
    height: 50px;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    color: var(--gray-dark);
}

.actions {
    display: flex;
    gap: 8px;
}

.btn-edit {
    background-color: #2196F3;
    color: var(--white);
}

.btn-edit:hover {
    background-color: #1976D2;
}

.btn-delete {
    background-color: var(--danger);
    color: var(--white);
}

.btn-delete:hover {
    background-color: #d32f2f;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.badge-secondary {
    background-color: var(--gray-light);
    color: var(--gray-dark);
}

.badge-danger {
    background-color: #ffebee;
    color: #c62828;
}

.admin-form {
    max-width: 800px;
}

.current-image {
    margin-bottom: 15px;
}

.current-image img {
    max-width: 200px;
    border-radius: var(--border-radius);
    border: 2px solid var(--gray-medium);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-label:hover {
    background-color: var(--gray-medium);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.admin-col-main, .admin-col-sidebar {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.banners-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-item {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 20px;
    padding: 20px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    align-items: center;
}

.banner-preview img {
    width: 100%;
    border-radius: var(--border-radius);
}

.banner-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.banner-info p {
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.menu-section {
    margin: 15px 0;
}

.menu-title {
    display: block;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .customer-area, .admin-area {
        grid-template-columns: 1fr;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .order-item-card {
        flex-direction: column;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
    }
    
    .order-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .calculator-info {
        grid-template-columns: 1fr;
    }
    
    .banner-item {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none;
    }
    
    .user-area span {
        display: none;
    }
}

/* Responsive Styles for New Layout */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .product-info h3 {
        font-size: 13px;
        min-height: 32px;
    }
    
    .sidebar {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .main-area {
        order: 1;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info h3 {
        font-size: 12px;
        min-height: 28px;
    }
    
    .product-price .price {
        font-size: 16px;
    }
    
    .sidebar-ad img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }
    
    .user-area span {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-info h3 {
        font-size: 14px;
        min-height: auto;
        margin-bottom: 8px;
    }
    
    .details-btn {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .auth-box {
        padding: 25px 20px;
    }
}
