:root {
    --brand-primary: #1e293b; /* Slate 800 */
    --brand-secondary: #0f172a; /* Slate 900 */
    --brand-green: #7fc241; /* Green from Shalom logo */
    --brand-green-hover: #69a733;
    --brand-green-light: #c2e391; /* Light Green from Shalom logo */
    --brand-green-accent: #8bc34a;
    --body-bg: #f8fafc;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--body-bg);
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Glassmorphic Navbar */
.navbar-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.brand-logo-container {
    display: flex;
    align-items: center;
}

.brand-logo-container img {
    height: 52px;
    max-width: 220px;
    object-fit: contain;
    padding: 2px 0;
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #475569;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-green);
}

/* Premium Buttons */
.btn-brand {
    background-color: var(--brand-green);
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-brand:hover, .btn-brand:focus {
    background-color: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 194, 65, 0.3);
}

.btn-brand:active {
    transform: translateY(0);
}

.btn-outline-brand {
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
    font-weight: 600;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-brand:hover {
    background-color: var(--brand-green);
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(127, 194, 65, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px 0;
    color: #ffffff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 194, 65, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 227, 145, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* Product Cards Grid */
.product-card {
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-column: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(127, 194, 65, 0.35);
}

.product-image-wrapper {
    position: relative;
    height: 240px;
    background-color: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fabricante-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-secondary);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fabricante-logo-mini {
    height: 18px;
    width: auto;
    object-fit: contain;
    border-radius: 2px;
}

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

.product-title {
    font-size: 1.25rem;
    color: var(--brand-secondary);
    font-weight: 700;
    margin-bottom: 12px;
}

.product-description {
    color: #64748b;
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Form Styles */
.form-section-card {
    background-color: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 4px rgba(127, 194, 65, 0.15);
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

/* Custom dashboard design variables */
.nav-pills .nav-link {
    color: #475569;
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--brand-green);
    color: #ffffff;
}

.text-brand {
    color: var(--brand-green) !important;
}

.bg-brand-light {
    background-color: rgba(127, 194, 65, 0.08) !important;
}

.font-weight-bold {
    font-weight: 700;
}

.fs-7 {
    font-size: 0.85rem;
}

.fs-8 {
    font-size: 0.75rem;
}

/* Footer link effects */
.footer-links a {
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand-green) !important;
    padding-left: 4px;
}

/* Login styling */
.login-card {
    max-width: 420px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

/* split background section for brands */
.brands-bg-split {
    background: linear-gradient(to bottom, #f8fafc 140px, #0f172a 140px);
}

/* Brand Card Style (Exact match to second user screenshot) */
.brand-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.brand-logo-large-wrapper {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: #ffffff;
}

.brand-logo-large-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.brand-card-body {
    padding: 20px 24px 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
}

.brand-card-description {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
    margin: 0;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: auto;
}

.btn-brand-action {
    background-color: #7fc241;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    padding: 10px 16px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.btn-brand-action:hover {
    background-color: #69a733;
    filter: brightness(0.95);
}

/* Premium Vertical Product Card - fixed to prevent distortions */
.product-card-vertical {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-vertical:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
    border-color: var(--brand-green);
}

.product-img-v-container {
    height: 220px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.product-img-v-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card-vertical:hover .product-img-v-container img {
    transform: scale(1.05);
}

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

.product-brand-badge {
    align-self: flex-start;
    background-color: var(--brand-green-light);
    color: var(--brand-green-hover);
    font-size: 0.725rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-v-title {
    font-size: 1.15rem;
    color: var(--brand-secondary);
    font-weight: 700;
    margin-bottom: 10px;
}

.product-v-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}
/* Category filter buttons style */
.btn-category-filter {
    background-color: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 22px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.btn-category-filter:hover {
    background-color: #f8fafc;
    color: #69a733;
    border-color: #69a733;
    transform: translateY(-1px);
}

.btn-category-filter.active {
    background-color: #69a733;
    color: #ffffff;
    border-color: #69a733;
    box-shadow: 0 4px 12px rgba(105, 167, 51, 0.2);
}

/* Gallery Styles */
.gallery-item-card {
    aspect-ratio: 3 / 4;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-item-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 50%, rgba(15, 23, 42, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.gallery-item-card:hover .gallery-overlay {
    opacity: 1;
}

.cursor-pointer {
    cursor: pointer;
}

.fs-8 {
    font-size: 0.8rem;
}

.lightbox-img-wrapper {
    position: relative;
    max-width: 100%;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption-bar {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Lightbox Navigation Buttons */
.btn-lightbox-nav {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-lightbox-nav:hover {
    background-color: var(--brand-green) !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(127, 194, 65, 0.4);
}


