@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0c4a45;
    --primary-light: #12635c;
    --primary-dark: #072e2b;
    --secondary: #c5a059;
    --secondary-hover: #b08d4b;
    --secondary-light: #fdfaf2;
    --bg: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --border-focus: #c5a059;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px -10px rgba(12, 74, 69, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(12, 74, 69, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* General Layout Elements */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 8px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px auto;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px var(--primary);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px var(--secondary);
}

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

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

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

.btn-gold-outline:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

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

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.top-bar {
    background-color: var(--primary-dark);
    color: white;
    font-size: 0.8rem;
    padding: 6px 0;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.logo img {
    height: 48px;
    object-fit: contain;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    color: var(--text);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links .active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-btn:hover {
    background-color: rgba(12, 74, 69, 0.05);
    color: var(--secondary);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 520px;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 46, 43, 0.9) 0%, rgba(12, 74, 69, 0.6) 50%, rgba(0,0,0,0.2) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    color: white;
    animation: fadeIn 1s ease-out;
}

.slide-subtitle {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.slide-title {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}

.slide-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.slider-dot.active {
    background-color: var(--secondary);
    width: 28px;
    border-radius: 5px;
}

/* Category Grid Home Page */
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 220px;
    justify-content: flex-end;
    padding: 30px;
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: 1;
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 74, 69, 0.1) 0%, rgba(7, 46, 43, 0.85) 100%);
    z-index: 2;
    transition: var(--transition);
}

.category-card-info {
    position: relative;
    z-index: 3;
    color: white;
}

.category-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    opacity: 0.8;
    transform: translateX(0);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-card:hover .category-card-bg {
    transform: scale(1.1);
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(180deg, rgba(12, 74, 69, 0.2) 0%, rgba(7, 46, 43, 0.95) 100%);
}

.category-card:hover .category-card-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* B2B Product Catalog & Filters */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.catalog-sidebar {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.sidebar-search-box {
    position: relative;
    margin-bottom: 24px;
}

.sidebar-search-box input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--bg);
    transition: var(--transition);
}

.sidebar-search-box input:focus {
    border-color: var(--border-focus);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.sidebar-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item button:hover,
.category-item.active button {
    background-color: var(--secondary-light);
    color: var(--primary-light);
}

.category-item.active button {
    font-weight: 700;
    border-left: 3px solid var(--secondary);
}

.category-count-badge {
    background-color: rgba(12, 74, 69, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.category-item.active .category-count-badge {
    background-color: var(--secondary);
    color: white;
}

/* Product Catalog Grid */
.catalog-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.catalog-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

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

/* Product Card */
.product-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.product-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #f1f5f9;
    overflow: hidden;
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--primary-dark);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.35;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-meta {
    background-color: var(--bg);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 18px;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

.product-meta-row span:last-child {
    font-weight: 600;
    color: var(--text);
}

.product-card-footer {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.product-card-footer .btn {
    flex-grow: 1;
}

.no-products-found {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.no-products-found i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.product-gallery {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.product-gallery img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.product-info-panel {
    display: flex;
    flex-direction: column;
}

.product-detail-category {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.product-detail-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-detail-code {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background-color: var(--secondary-light);
    color: var(--primary-light);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 4px 12px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    margin-bottom: 24px;
}

.product-detail-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.product-specs-table tr {
    border-bottom: 1px solid var(--border);
}

.product-specs-table td {
    padding: 12px 0;
}

.product-specs-table td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 160px;
}

.product-specs-table td:last-child {
    font-weight: 700;
    color: var(--text);
}

.order-box-calculator {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.calc-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-inputs {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.calc-quantity-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.calc-quantity-input input {
    width: 80px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px;
}

.calc-btn {
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    background-color: var(--bg);
    transition: var(--transition);
}

.calc-btn:hover {
    background-color: var(--border);
}

.calc-summary {
    background-color: var(--bg);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.calc-summary span:last-child {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

/* B2B Cart Slider/Panel */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 460px;
    height: 100vh;
    background-color: var(--card-bg);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    animation: slideIn 0.3s ease-out;
}

.cart-panel-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-panel-header h3 {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.close-cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-cart-btn:hover {
    color: var(--danger);
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

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

.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text);
}

.cart-item-code {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

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

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cart-item-remove:hover {
    text-decoration: underline;
}

.cart-panel-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background-color: var(--bg);
}

.cart-total-boxes {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.cart-total-boxes span:last-child {
    color: var(--primary);
}

.cart-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cart-empty-state i {
    font-size: 3rem;
}

/* Contact Page Form & Map */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--secondary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-text p {
    color: var(--text-muted);
}

.map-container {
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-top: 30px;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--bg);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--border-focus);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer & Sticky Actions */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 30px 0;
    border-top: 4px solid var(--secondary);
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-about-text {
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--secondary);
    opacity: 1;
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Sticky Action Bar for Mobile Platforms */
.sticky-actions-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    display: none;
    grid-template-columns: repeat(3, 1fr);
    z-index: 99;
    border-top: 1px solid var(--border);
}

.sticky-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    border-right: 1px solid var(--border);
}

.sticky-action-item:last-child {
    border-right: none;
}

.sticky-action-item i {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.sticky-action-item.whatsapp-action {
    background-color: #25d366;
    color: white;
}

/* Admin Dashboard CSS Styling */
.admin-login-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-dark);
    position: relative;
    padding: 24px;
}

.admin-login-card {
    width: 100%;
    max-width: 440px;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border-top: 5px solid var(--secondary);
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--primary-dark);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-right: 2px solid rgba(255,255,255,0.05);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.admin-logo span {
    color: var(--secondary);
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.7);
}

.admin-menu-item a:hover,
.admin-menu-item.active a {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
}

.admin-menu-item.active a {
    border-left: 4px solid var(--secondary);
    font-weight: 700;
    color: var(--secondary);
}

.admin-main {
    background-color: var(--bg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    height: 100vh;
}

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

.admin-title-panel h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.admin-title-panel p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.admin-stat-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-stat-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.admin-stat-info p {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.admin-stat-icon {
    width: 56px;
    height: 56px;
    background-color: var(--secondary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Admin Tables */
.admin-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 30px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background-color: var(--bg);
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}

.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

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

.table-badge {
    display: inline-flex;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

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

/* Installer UI Setup */
.installer-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-dark);
    padding: 40px 24px;
}

.installer-card {
    width: 100%;
    max-width: 600px;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border-top: 6px solid var(--secondary);
}

.installer-header {
    text-align: center;
    margin-bottom: 30px;
}

.installer-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.installer-header p {
    color: var(--text-muted);
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-weight: 500;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-left: 4px solid var(--success);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none; /* In production a toggle menu would open it */
    }
    
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .catalog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
        padding: 8px 15px;
    }

    .top-bar-info {
        flex-direction: column;
        gap: 6px;
        align-items: center;
        width: 100%;
    }

    .top-bar-info span {
        display: block;
        text-align: center;
        font-size: 0.78rem;
    }

    .top-bar-info span:last-child {
        font-size: 0.72rem;
        opacity: 0.85;
        border-top: 1px dashed rgba(255, 255, 255, 0.2);
        padding-top: 6px;
        margin-top: 4px;
        width: 100%;
        max-width: 290px;
        text-align: center;
        display: block;
        line-height: 1.4;
    }

    body {
        padding-bottom: 60px; /* Space for mobile sticky footer */
    }

    .navbar {
        height: 70px;
    }

    .nav-links {
        display: none; /* Under hamburger menu */
    }
    
    .mobile-toggle {
        display: block;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-title {
        font-size: 2.25rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .category-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sticky-actions-bar {
        display: grid;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}
