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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    background-color: #2c3e50;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.store-link {
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.store-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.store-link.active {
    background-color: #d4a574;
    color: #2c3e50;
    font-weight: bold;
}

header {
    background-color: #f5ede3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.search-bar {
    flex: 1;
    max-width: 600px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    border-color: #2c3e50;
}

.header-auth-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 2px solid #b3793c;
    background: #fff;
    color: #b3793c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.header-auth-cta:hover {
    background: #b3793c;
    color: #fff;
}

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

.header-actions a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.header-actions a:hover {
    color: #d4a574;
}

.cart {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Slide-down Cart Panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cart-panel.active {
    pointer-events: all;
    opacity: 1;
}

/* Global auth popup */
.auth-modal[hidden] {
    display: none !important;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
}

.auth-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 18, 24, 0.52);
    backdrop-filter: blur(2px);
}

.auth-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 430px);
    margin: 8vh auto 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

.auth-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #7b7f86;
    cursor: pointer;
}

.auth-title {
    margin: 0 0 12px;
    color: #223047;
    font-size: 26px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.auth-tab {
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    padding: 9px 10px;
    background: #fff;
    color: #495362;
    font-weight: 700;
    cursor: pointer;
}

.auth-tab.is-active {
    border-color: #b3793c;
    color: #b3793c;
    background: #fcf6ef;
}

.auth-form {
    display: grid;
    gap: 8px;
}

.auth-form label {
    color: #2c3e50;
    font-size: 13px;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

.auth-form input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.2);
}

.auth-submit {
    margin-top: 6px;
    border: none;
    border-radius: 9px;
    padding: 11px 14px;
    background: #d4a574;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.auth-submit:hover {
    background: #c39463;
}

.auth-helper-link-wrap {
    text-align: right;
    margin-top: -2px;
    margin-bottom: 2px;
}

.auth-helper-link {
    color: #8f6a42;
    font-size: 12px;
    text-decoration: none;
}

.auth-helper-link:hover {
    text-decoration: underline;
}

.cart-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-panel.active .cart-panel-overlay {
    opacity: 1;
}

.cart-panel-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 90%;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-panel.active .cart-panel-content {
    transform: translateX(0);
}

.cart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #e0e0e0;
    background-color: #f8f9fa;
}

.cart-panel-header h2 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
}

.cart-panel-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.cart-panel-close:hover {
    color: #2c3e50;
}

.cart-panel-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-panel-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.cart-panel-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-panel-item-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    flex-shrink: 0;
}

.cart-panel-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.cart-panel-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-panel-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.cart-panel-item-price {
    font-size: 16px;
    color: #27ae60;
    font-weight: bold;
}

.cart-panel-item-qty {
    font-size: 12px;
    color: #7f8c8d;
}

.cart-panel-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-top: auto;
}

.cart-panel-item-remove:hover {
    color: #c0392b;
}

.cart-panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #7f8c8d;
}

.cart-panel-empty .empty-icon {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.cart-panel-empty p {
    font-size: 16px;
}

.cart-panel-footer {
    border-top: 2px solid #e0e0e0;
    padding: 20px;
    background-color: #f8f9fa;
}

.cart-panel-summary {
    margin-bottom: 20px;
}

.cart-panel-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.cart-panel-summary .summary-total {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #d0d0d0;
}

.cart-panel-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-view-cart {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    color: #d4a574;
    text-decoration: none;
    border: 2px solid #d4a574;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-cart:hover {
    background-color: #d4a574;
    color: white;
}

.btn-checkout-panel {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background-color: #d4a574;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-checkout-panel:hover {
    background-color: #c4915f;
}

/* Navigation */
nav {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: #2c3e50;
    text-decoration: none;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
    display: block;
}

.nav-item > a:hover {
    color: #d4a574;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4a574;
    transition: width 0.3s;
}

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

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    margin-top: 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    transition: background-color 0.2s, color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

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

.dropdown a:hover {
    background-color: #f8f9fa;
    color: #d4a574;
}

/* Main Content */
main {
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
    
}

.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* Products Grid */
.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.products-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
}


.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.products-grid .add-to-cart {
    margin-top: auto;
}

.product-category {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-price-stock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-price {
    font-size: 22px;
    color: #27ae60;
    font-weight: bold;
}

.product-stock {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
    background-color: #ecf0f1;
    padding: 4px 10px;
    border-radius: 12px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background-color: #d4a574;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.add-to-cart:hover {
    background-color: #c4915f;
}

/* Home page */
.home-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 10px;
}

.home-slider {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 430px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

.home-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
}

.home-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(16, 22, 31, 0.72) 0%, rgba(16, 22, 31, 0.35) 45%, rgba(16, 22, 31, 0.1) 100%);
}

.home-slide-content {
    position: absolute;
    left: 40px;
    bottom: 44px;
    color: #fff;
    z-index: 2;
    max-width: 560px;
}

.home-slide-content h1,
.home-slide-content h2 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.15;
}

.home-slide-content p {
    margin: 0;
    font-size: 18px;
    opacity: 0.95;
}

.home-slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: #1f2937;
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
}

.home-slider-control.prev { left: 14px; }
.home-slider-control.next { right: 14px; }

.home-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.home-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}

.home-dot.is-active {
    background: #fff;
}

.home-categories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 20px 44px;
}

.home-categories h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 30px;
}

.home-categories-subtitle {
    margin: 8px 0 18px;
    color: #6b7280;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    background: linear-gradient(135deg, #f7f4ef 0%, #fff 100%);
    border: 1px solid #ece7df;
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 126px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(44, 62, 80, 0.14);
}

.home-category-title {
    color: #223047;
    font-weight: 700;
    line-height: 1.25;
}

.home-category-cta {
    margin-top: auto;
    color: #b3793c;
    font-weight: 700;
    font-size: 14px;
}

/* Newsletter */
.newsletter {
    background-color: #f8f9fa;
    padding: 60px 40px;
    text-align: center;
    border-radius: 10px;
    margin: 60px 0;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #2c3e50;
}

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

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    outline: none;
}

.newsletter-form button {
    padding: 15px 35px;
    background-color: #d4a574;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, #d4a574 0%, #c89a65 100%);
    color: white;
    padding: 40px 20px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.company-info {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 500;
}

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

.social-link, .whatsapp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover, .whatsapp-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #2c3e50;
    transform: translateX(5px);
}

.social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.payment-icon {
    width: 50px;
    height: 32px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #2c3e50;
}

/* Floating WhatsApp help widget */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 11000;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-float.is-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.wa-float-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.wa-help-bubble {
    background: #ffffff;
    color: #1f2937;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.wa-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.wa-float-btn svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .wa-float {
        right: 12px;
        bottom: 12px;
    }

    .wa-help-bubble {
        font-size: 12px;
        padding: 7px 10px;
    }

    .wa-float-btn {
        width: 50px;
        height: 50px;
    }

    .wa-float-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Page Specific Styles */
.page-title {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.title-underline {
    height: 4px;
    width: 80px;
    background-color: #d4a574;
    margin-bottom: 40px;
}

.content-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.content-card h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.content-card h3 {
    color: #2c3e50;
    font-size: 20px;
    margin: 25px 0 15px 0;
}

.content-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
}

.content-card ul li {
    margin-bottom: 10px;
}

/* Login Page */
body.login-page {
    background-color: #f5ede3;
    position: relative;
    min-height: 100vh;
}

body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('/image/new_logo.jpeg') center/contain no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

body.login-page main {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-card {
    max-width: 520px;
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

/* Slightly softer opacity for signup */
.signup-card {
    background: rgba(255, 255, 255, 0.48);
}

.login-card h2 {
    text-align: center;
}

.login-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.login-switch {
    margin: 0;
    color: #2c3e50;
}

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

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-card p {
    color: #555;
    line-height: 1.6;
}

.highlight-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.checkmark-list {
    display: grid;
    gap: 20px;
}

.checkmark-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.checkmark {
    color: #d4a574;
    font-size: 24px;
    font-weight: bold;
}

.checkmark-item h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.checkmark-item p {
    color: #555;
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
}

.form-group textarea {
    resize: vertical;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: #d4a574;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #c4915f;
}

.hours-table {
    display: grid;
    gap: 15px;
    color: #555;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: white;
    border-radius: 5px;
}

.hours-row span:first-child {
    font-weight: 600;
}

/* Admin Dashboard Styles */
.admin-container {
    width: 100%;
    margin: 0;
    padding: 40px;
    background: #f9f7f4;
    min-height: 100vh;
    box-sizing: border-box;
}

.admin-container h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.admin-tabs {
    display: flex;
    gap: 0;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.admin-tab {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.admin-tab:hover {
    color: #2c3e50;
    background: #f9f7f4;
}

.admin-tab.active {
    color: white;
    background: linear-gradient(135deg, #d4a574 0%, #c89a65 100%);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.admin-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-container .card {
    background: white;
    border: none;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.admin-container .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.admin-container .card h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    border-bottom: 3px solid #d4a574;
    padding-bottom: 12px;
}

.admin-container .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-container .form-row input,
.admin-container .form-row select,
.admin-container .form-row textarea {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e8e6e3;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fafaf9;
}

.admin-container .form-row input:focus,
.admin-container .form-row select:focus,
.admin-container .form-row textarea:focus {
    outline: none;
    border-color: #d4a574;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.admin-container button[type="submit"],
.admin-container .actions button,
.admin-container button[type="button"] {
    padding: 12px 24px;
    background: linear-gradient(135deg, #d4a574 0%, #c89a65 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.admin-container button[type="submit"]:hover,
.admin-container .actions button:hover,
.admin-container button[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.admin-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
    margin-top: 20px;
}

.admin-container table thead {
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f3f0 100%);
}

.admin-container table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid #d4a574;
}

.admin-container table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f0ede8;
    text-align: left;
}

.admin-container table tbody tr {
    transition: background 0.2s;
}

.admin-container table tbody tr:hover {
    background: #fafaf9;
}

.admin-container .actions button {
    margin-right: 8px;
    padding: 8px 16px;
    font-size: 14px;
}

.admin-container .actions button:last-child {
    margin-right: 0;
}

.admin-container .full-width {
    grid-column: 1 / -1;
.admin-container #closeModal {
    background: linear-gradient(135deg, #d4a574 0%, #c89a65 100%);
    color: white;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.admin-container #closeModal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

}

@media (max-width: 900px) {
    .admin-container .grid {
        grid-template-columns: 1fr;
    }
    
    .admin-container {
        padding: 20px 15px;
    }
    
    .admin-container h1 {
        font-size: 2rem;
    }
}

/* Cart Page Styles */
.cart-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 20px;
}

.cart-main {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.cart-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.cart-item-category {
    font-size: 13px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 20px;
    color: #27ae60;
    font-weight: bold;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 18px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #c0392b;
}

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

.empty-cart-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-cart h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

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

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-summary h2 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
}

.summary-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 20px 0;
}

.summary-total {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 10px;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background-color: #d4a574;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-checkout:hover {
    background-color: #c4915f;
}

.btn-continue {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    color: #d4a574;
    text-decoration: none;
    border: 2px solid #d4a574;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-continue:hover {
    border-color: #d4a574;
    background-color: #f8f9fa;
}

.cart-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.cart-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 16px;
}

.cart-info p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Checkout Page Styles */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 20px;
}

.checkout-main {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-section {
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.checkout-section:last-of-type {
    border-bottom: none;
}

.checkout-section h2 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #2c3e50;
    background-color: #f8f9fa;
}

.payment-method input[type="radio"] {
    margin-right: 10px;
}

.payment-method span {
    font-weight: 600;
    color: #2c3e50;
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.btn-back {
    padding: 15px 30px;
    background: white;
    color: #d4a574;
    border: 2px solid #d4a574;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-back:hover {
    border-color: #d4a574;
    background-color: #f8f9fa;
}

.btn-place-order {
    flex: 1;
    padding: 15px 40px;
    background-color: #d4a574;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-place-order:hover {
    background-color: #c4915f;
}

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

.order-review {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-review h2 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.review-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.review-item-info {
    flex: 1;
}

.review-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.review-item-qty {
    font-size: 12px;
    color: #7f8c8d;
}

.review-item-price {
    font-size: 15px;
    font-weight: bold;
    color: #27ae60;
}

.checkout-security {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.checkout-security h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 16px;
}

.checkout-security ul {
    list-style: none;
    padding: 0;
}

.checkout-security ul li {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 5px;
}

@media (max-width: 1024px) {
    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .cart-container,
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .cart-sidebar,
    .checkout-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .home-slider {
        height: 300px;
    }

    .home-slide-content {
        left: 18px;
        bottom: 20px;
        right: 18px;
    }

    .home-slide-content h1,
    .home-slide-content h2 {
        font-size: 28px;
    }

    .home-slide-content p {
        font-size: 15px;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
    }

    /* Enhanced Header for Mobile */
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .logo {
        font-size: 24px;
        width: 100%;
        justify-content: center;
    }

    .logo-img {
        height: 50px !important;
    }

    .search-bar {
        width: 100%;
        max-width: 100%;
        order: 2;
    }

    .header-auth-cta {
        order: 3;
        width: 100%;
    }

    .search-bar input {
        padding: 10px 15px;
        font-size: 14px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        order: 1;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 13px;
    }

    .welcome {
        font-size: 12px !important;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .btn-orders, .btn-logout {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    /* Enhanced Navigation for Mobile */
    nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-content {
        flex-wrap: nowrap;
        gap: 0;
        padding: 0 10px;
        justify-content: flex-start;
        min-width: min-content;
    }

    .nav-item {
        flex-shrink: 0;
    }

    .nav-item > a {
        padding: 12px 15px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* 2 Products Per Row on Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card {
        margin: 0;
    }

    .product-image {
        height: 160px;
    }


    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-category {
        font-size: 11px;
    }

    .product-desc {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .add-to-cart {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero h1, .page-title {
        font-size: 28px;
    }

    /* Admin Dashboard Mobile */
    .admin-container {
        padding: 15px;
        max-width: 100%;
    }

    .admin-container h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .admin-container h1 + p {
        font-size: 13px;
    }

    .tabs {
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5px 0;
    }

    .tab-btn {
        padding: 10px 15px !important;
        font-size: 13px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .admin-container .card {
        padding: 15px;
    }

    .admin-container .card h2 {
        font-size: 18px;
    }

    .admin-container .form-row {
        flex-direction: column;
        gap: 5px;
    }

    .admin-container .form-row input,
    .admin-container .form-row select,
    .admin-container .form-row textarea {
        font-size: 14px;
        padding: 10px;
    }

    .admin-container button[type="submit"],
    .admin-container .actions button,
    .admin-container button[type="button"] {
        padding: 10px 16px;
        font-size: 13px;
    }

    .admin-container table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 12px;
    }

    .admin-container table thead {
        font-size: 11px;
    }

    .admin-container table th,
    .admin-container table td {
        padding: 8px 6px;
        min-width: 80px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }

    .action-buttons button {
        width: 100%;
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 10px;
    }

    .quantity-controls {
        justify-content: center;
    }

    .remove-item {
        text-align: center;
        width: 100%;
    }

    .checkout-main {
        padding: 20px;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .btn-back {
        text-align: center;
    }

    .payment-methods {
        flex-direction: column;
    }
}

/* ========================================
   ORDERS PAGE STYLES
   ======================================== */

.orders-section {
    min-height: 60vh;
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.orders-container {
    max-width: 900px;
    margin: 0 auto;
}

.orders-container h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

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

.order-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    margin-bottom: 15px;
}

.order-info h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.order-date {
    font-size: 14px;
    color: #7f8c8d;
}

.order-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cfe2ff;
    color: #084298;
}

.status-shipped {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.order-items {
    margin: 15px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
}

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

.item-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-name {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.item-qty {
    font-size: 13px;
    color: #7f8c8d;
}

.item-price {
    font-size: 16px;
    color: #27ae60;
    font-weight: 600;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ecf0f1;
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-total span:first-child {
    font-size: 14px;
    color: #7f8c8d;
    text-transform: uppercase;
}

.total-amount {
    font-size: 24px;
    color: #2c3e50;
    font-weight: bold;
}

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

.btn-cancel-order {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cancel-order:hover {
    background-color: #c0392b;
}

.btn-orders {
    padding: 8px 16px;
    background-color: #d4a574;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.btn-orders:hover {
    background-color: #c4915f;
}

.no-orders {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-orders-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-orders h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.no-orders p {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.btn-shop-now {
    display: inline-block;
    padding: 12px 30px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-shop-now:hover {
    background-color: #229954;
}

.no-items {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 20px;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-actions {
        width: 100%;
    }
    
    .btn-cancel-order {
        width: 100%;
    }
}