/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #dfd8d22e;
}
/* Add these styles to your existing style.css */

/* Form inputs styling */
.form-input, .form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e9ec;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #27ae60;
    background: white;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-input.error, .form-select.error {
    border-color: #e74c3c;
}

/* Button styles */
.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.btn-secondary {
    background: #f1f2f6;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #dfe4ea;
    transform: translateY(-2px);
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #27ae60;
}

.toast-error {
    border-left: 4px solid #e74c3c;
}

.toast-close {
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .toast {
        min-width: 250px;
        max-width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        transform: translateY(-150%);
    }
    
    .toast.show {
        transform: translateY(0);
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .toast {
        min-width: auto;
        max-width: calc(100% - 30px);
        left: 15px;
        right: 15px;
        padding: 12px 15px;
    }
    
    .btn {
        width: 100%;
        padding: 14px;
    }
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
        position: relative;
    padding: 0 15px;
}

/* Language Bar / Topbar */
.language-bar, .topbar {
    background-color: #ffffff;
    padding: 5px 0;
    text-align: right;
}

/* Topbar inner layout */
.topbar .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
   
}
.logo-img:hover {     top: 8px;
    height: 190px; }


.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgb(0, 0, 0);
}

.topbar-left a, .topbar-right a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.title-wrapper {position: relative;
    left: 27%;
    font-family: 'vibe, 'Montserrat', sans-serif';
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 6px;
    margin-top: 61px;
    margin-bottom: -32px;
    background: linear-gradient(90deg, #ff4d4d, #687e13, #b1b1b1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    /* background-color: #191935; */
    padding: 12px 20px;
    display: inline-block;
    top: 50px;}
.lang-btn {
    background: none;
    border: 1px solid #7f8c8d;
    color: rgb(0, 0, 0);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #34495e;
}

/* Header Styles */
/* .logotext {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 6px;
    margin-top: 10px;
 background: linear-gradient(90deg, #fffdfe, #777394, #000000);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);

  background-color: #0b0b0f;
  padding: 12px 20px;
  display: inline-block;
} */

@media (max-width: 768px) {
  .logotext {
    font-size: 28px;
        margin-top: 10px;
    letter-spacing: 4px;
  }
}

.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header {
    /* when using a hero background image the header should be transparent so image shows through */
    background-color: transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content, .header-inner {
    display: flex;
    margin-left: 30px;
    height: 97px;
    align-items: center;
    justify-content: space-around;
    
}

.footerlogo {    width: 204px;
}





/* Brand container used in templates */
/* Brand area: show large scaled background behind the brand and larger logo */
.site-header .brand {
    display: flex;
    align-items: center;
    gap: 12px;
/* make the brand area taller so background is visible */
}

/* Make the brand logo larger to fit the hero look */
.logo-img {
       position: relative;
    top: -11px;
    height: 182px;
    width: 136px;
    left: -22px;
    transition: all 0.3s ease;
}

.logo-text, .brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #27ae60;
}

/* Desktop Navigation */
.desktop-nav .nav-list, .main-nav .nav-items {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #27ae60;
}

/* Header Actions */
.header-actions, .header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    text-decoration: none;
    color: #2c3e50;
    font-size: 20px;
}

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

.user-btn, .login-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-nav-links {
    flex: 1;
    padding: 20px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    text-decoration: none;
    color: #2c3e50;
    border-bottom: 1px solid #f5f5f5;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
}

/* Main Content */
.main-content {
    /* leave space for fixed header so anchored sections are visible */
    
    min-height: calc(100vh - 400px);
    
}


/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #27ae60;
}

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

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #27ae60;
}

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

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

.social-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #27ae60;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

.footer-links-bottom a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
}

/* Dropdown Menu */
.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 180px;
    display: none;
    z-index: 1000;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #2c3e50;
    border-bottom: 1px solid #f5f5f5;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links-bottom {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .lang-btn {
        padding: 4px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .cart-icon {
        font-size: 18px;
    }
    
    .user-name {
        display: none;
    }
}

/* Product detail styles */
.product-detail {
    padding: 40px 0;
}
.product-top {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}
.image-gallery {
    flex: 1 1 45%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.image-gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Main image and thumbnails */
.main-image-wrap { width: 100%; height: 420px; overflow: hidden; border-radius: 8px; }
.main-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbnails { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb-btn { border: none; padding: 0; background: transparent; cursor: pointer; border-radius: 6px; overflow: hidden; }
.thumb-btn img { width: 80px; height: 80px; object-fit: cover; display: block; border: 2px solid transparent; }
.thumb-btn.active img { border-color: #27ae60; }

/* Product list card image sizing */
.product-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }

/* product grid - 3 columns */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 992px){
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
    .product-grid { grid-template-columns: 1fr; }
}

.product-card { background: #fff; padding: 12px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); display:flex; flex-direction:column; }
.product-info { flex:1; display:flex; flex-direction:column; justify-content:space-between; gap:8px; }
.price-row { display:flex; gap:10px; align-items:center; }
.product-actions { display:flex; gap:8px; }
.btn-outline { background:transparent; border:1px solid #ccc; padding:8px 10px; border-radius:6px; }
.product-summary {
    flex: 1 1 45%;
}
.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}
.price {
    font-size: 20px;
    color: #e74c3c;
    margin-bottom: 10px;
}
.short-desc {
    color: #555;
    margin-bottom: 16px;
}
.buy-box {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}
.buy-box input[type="number"]{
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.btn { padding: 10px 14px; border-radius: 6px; cursor: pointer;     background: #c1b3b3;
    color: #a74747;
    text-decoration: auto;}
.btn-primary { background: #27ae60; color: #fff; border: none; }
.btn-ghost {    text-decoration: none; background: transparent; border: 1px solid #ccc; }

/* Form styles */
.form-card { background: #fff; padding: 16px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); margin-bottom: 12px; }
.form-field { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.form-field label { font-weight:600; color:#333; }
.form-input, .form-card input[type="text"], .form-card input[type="email"], .form-card input[type="password"], .form-card textarea { padding:10px 12px; border:1px solid #e0e0e0; border-radius:6px; font-size:14px; width:100%; box-sizing:border-box; }
.form-error { color:#a94442; font-size:13px; margin-top:6px; }

/* Mobile adjustments */
@media (max-width: 600px) {
    .form-card { padding:12px; }
}

/* Orders table */
.orders-table th, .orders-table td { padding:10px 8px; vertical-align:top; }
.orders-table tbody tr:hover { background:#fafafa; }

/* Quantity control */
.quantity-wrapper { display:flex; align-items:center; gap:8px; }
.quantity__button { width:36px; height:36px; border-radius:6px; border:1px solid #ddd; background:#fff; cursor:pointer; font-size:18px; }
.quantity__input { width:64px; text-align:center; padding:8px; border:1px solid #ddd; border-radius:6px; }
.total-amount { margin-left:16px; font-weight:700; color:#2c3e50; }

.product-tabs { margin-top: 20px; display: grid; gap: 20px; }
.product-section { background: #fff; padding: 18px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); }
.section-header { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #2c3e50; }
.section-intro { font-weight: 700; font-size: 16px; color: #333; margin-bottom: 10px; }
.long-desc, .how-to, .additional-details { color: #444; line-height: 1.7; }
.additional-details { background:#f7f7f7; padding:10px; border-radius:4px; overflow:auto; }

.offers-list { list-style: none; padding-left: 0; }
.offers-list li { padding:8px 0; border-bottom:1px dashed #eee; }
.offer-desc { color:#666; font-size:14px; margin-top:6px; }

@media (max-width: 900px) {
    .product-top { flex-direction: column; }
}