:root {
    --primary: #0a2c5e;
    --secondary: #007bff;
    --accent: #00a8ff;
    --dark: #121212;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
}

html, body {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.end-0 {
    right: 0;
}

/* ================= HEADER & NAVIGATION ================= */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary);
}

.logo i {
    margin-right: 8px;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-nav {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
}

.cta-nav:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

/* Floating WA */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #25252570;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-wa:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

/* ================= SLIDER SECTION ================= */
.slider-section {
    padding: 60px 0 40px;
}

.slider-container {
    /* max-width: 1000px; */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 400px;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 44, 94, 0.9));
    color: var(--white);
    padding: 30px;
}

.slide-content h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 16px;
    max-width: 600px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(10, 44, 94, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary);
}

.slide-features {
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 16px;
}

.feature-item i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--white);
    line-height: 1.4;
}

.feature-item strong {
    font-weight: 600;
}

/* ================= PRODUCTS SECTION ================= */
.products-section {
    padding: 60px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Filter buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: clamp(13px, 1.5vw, 14px);
    white-space: nowrap;
    color: var(--dark);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(10, 44, 94, 0.2);
}

/* Product Card Elements */
#productsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-icon {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 10px;
}

#productsContainer {
    margin-top: 30px;
}

.product-category-section {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.category-icon {
    background-color: var(--primary);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
}

.category-title-text h3 {
    font-size: 24px;
    color: var(--primary);
}

.category-title-text p {
    color: var(--gray);
    font-size: 14px;
    margin-top: -4px;
}

.products-grid-all {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.products-grid-category {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Product Card Simple */
.product-card-simple {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.product-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image-simple {
    height: 150px;
    width: 100%;
    overflow: hidden;
}

.product-image-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-simple:hover .product-image-simple img {
    transform: scale(1.05);
}

.product-title-simple {
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0.6rem 0.2rem;
    z-index: 2;
    bottom: 0;
    right: 0;
    color: white;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .2s ease-in-out;
    text-shadow: 0px 1px 2px #2b2b2bd3;
    height: 60px;
}

.product-blob-title {
    bottom: 8%;
    right: 0;
    z-index: 1;
    width: 180px;
    height: auto;
    transform: scale(1.6) rotate(5deg);
}

/* ================= PRODUCT SLIDERS (BUTTONS ONLY) ================= */
.category-slider-container {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.category-slider-container:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-divider {
    height: 1px;
    background: #eee;
    border: none;
    margin: 20px 0;
}

.category-header-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.category-title-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon-slider {
    background-color: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.category-title-slider h3 {
    font-size: clamp(20px, 3vw, 24px);
    color: var(--primary);
    margin: 0;
}

.products-count {
    font-size: 14px;
    color: var(--gray);
    margin-left: 10px;
    font-weight: normal;
}

.slider-main-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.category-nav-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-nav-side:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-nav-side:hover i {
    color: var(--white);
}

.category-nav-side i {
    color: var(--primary);
    font-size: 18px;
    transition: color 0.3s;
}

.category-nav-side.prev-side { left: 0%; }
.category-nav-side.next-side { right: 0%; }

.category-nav-side:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.category-nav-side:disabled:hover {
    background-color: #f5f5f5;
    border-color: #ddd;
    transform: translateY(-50%);
}

.category-nav-side:disabled:hover i {
    color: var(--primary);
}

.products-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.products-slider-track {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    padding: 5px 2px;
    will-change: transform;
}

.product-slider-card {
    flex: 0 0 calc(20% - 12px); /* Default: 5 products */
    min-width: calc(20% - 12px);
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-slider-image {
    height: 150px;
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-slider-card:hover .product-slider-image img {
    transform: scale(1.05);
}

.product-slider-title {
    padding: 15px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark);
    margin: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= BENEFIT SECTION ================= */
.benefit-section {
    padding: 80px 0;
}

.benefit-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-title {
    text-align: center;
    max-width: 800px;
    margin-bottom: 50px;
}

.benefit-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.benefit-title p {
    color: var(--gray);
    font-size: 18px;
}

.benefit-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.benefit-step {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.benefit-step:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.benefit-step h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.benefit-step p {
    color: var(--gray);
}

/* ================= ABOUT SECTION ================= */
.about-section {
    padding: 80px 0;
    background-color: var(--light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
}

.about-tagline {
    font-size: 24px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--dark);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
}

.about-feature i {
    color: var(--accent);
    font-size: 24px;
    margin-right: 15px;
    margin-top: 5px;
}

.about-feature h4 {
    margin-bottom: 5px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
}

/* ================= BRANCH SECTION ================= */
.branch-section {
    padding: 80px 0;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.branch-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    height: 250px;
}

.branch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.branch-card:hover .branch-img {
    transform: scale(1.05);
}

.branch-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 44, 94, 0.9));
    color: var(--white);
    padding: 20px;
    text-align: center;
    transform: translateY(10px);
    transition: transform 0.3s;
}

.branch-card:hover .branch-overlay {
    transform: translateY(0);
}

.branch-overlay h3 {
    color: var(--white);
    font-size: 22px;
}

/* ================= TESTIMONIAL SECTION ================= */
.testimonial-section {
    padding: 80px 0;
    background-color: var(--light);
}

.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    text-align: left;
}

.author-info p {
    color: var(--gray);
    text-align: left;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-nav button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-nav button:hover {
    background-color: var(--secondary);
}

/* ================= FOOTER ================= */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about p {
    margin-bottom: 20px;
    color: #aaa;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--accent);
}

.footer-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-links ul li i {
    margin-right: 10px;
    color: var(--accent);
    width: 20px;
    margin-top: 3px;
}

.footer-map {
    grid-column: 3;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 8px;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

.footer-bottom i {
    color: #ff6b6b;
    margin: 0 5px;
}

/* ================= DETAIL PAGE STYLES ================= */
.detail-section {
    padding: 40px 0 40px;
    background-color: #f9f9f9;
    min-height: 80vh;
}

.breadcrumb {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.detail-grid {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    align-items: start;
    max-width: 100%;
    box-sizing: border-box;
}

.main-image-container {
    width: 100%;
    height: 400px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #fff;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.7;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
}

.detail-info {
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.detail-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
    background-color: #128c7e;
    color: white;
}

.product-meta {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--gray);
}

.product-meta p { margin-bottom: 5px; }
.product-meta span { color: var(--primary); }

.product-description-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-description-content {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    width: 100%;
}

#product-description strong {
    color: var(--dark);
    font-weight: 700;
}

#product-description ul,
#product-description ol {
    margin-left: 0;
    padding-left: 20px;
    margin-bottom: 15px;
}

#product-description li { margin-bottom: 8px; }
#product-description p { margin-bottom: 15px; }

#product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.detail-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.main-media-display {
    width: 100%;
    height: 450px;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    touch-action: pan-y;
    user-select: none;
}

.media-content {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

.btn-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: none;
}

.btn-zoom:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.thumb-box {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 2px solid #ddd;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s;
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-box:hover, .thumb-box.active-thumb {
    border-color: var(--primary);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 1;
}

.thumbnail-container {
    padding-bottom: 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #eee;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    animation: zoomIn 0.3s;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Video Overlay */
.video-thumb-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center; justify-content: center;
}
.video-thumb-overlay i {
    color: white; font-size: 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%; padding: 8px;
}

/* Animations */
@keyframes zoomIn {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

@keyframes slideInEffect {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shrinkSlideNext {
    0% {
        opacity: 0;
        transform: translateX(30%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes shrinkSlidePrev {
    0% {
        opacity: 0;
        transform: translateX(-30%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.anim-next {
    animation: shrinkSlideNext 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.anim-prev {
    animation: shrinkSlidePrev 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.main-media-display {
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.media-content {
    transition: transform 0.5s ease;
    transform-origin: center center;
}

img.media-content:hover {
    transform: scale(0.3);
    cursor: zoom-in;
}

/* ================= MEDIA QUERIES (RESPONSIVE) ================= */

/* --- 1200px --- */
@media (max-width: 1200px) {
    .product-slider-card {
        flex: 0 0 calc(25% - 12px);
        min-width: calc(25% - 12px);
    }
}

/* --- 992px --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    
    .footer-about { grid-column: span 2; }
    
    .footer-map {
        grid-column: span 2;
        order: 3;
    }

    .product-slider-card {
        flex: 0 0 calc(33.333% - 12px);
        min-width: calc(33.333% - 12px);
    }

    .products-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .main-media-display {
        height: 350px;
    }
}

/* --- 768px (Tablet) --- */
@media (max-width: 768px) {
    /* Nav & Mobile Menu */
    .nav-container { flex-wrap: wrap; }
    
    .mobile-menu-btn { display: block; }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    nav.active {
        max-height: 400px;
        padding: 20px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 0;
        margin-bottom: 15px;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }
    
    /* Layouts */
    .slider-container { max-width: 100%; }
    
    .slide-content h2 { font-size: 22px; }
    .slide-content p { font-size: 14px; }
    
    .feature-item { font-size: 14px; }
    .feature-item i {
        font-size: 16px;
        margin-right: 8px;
    }

    .products-grid-all {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .products-grid-category {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .product-image-simple { height: 130px; }
    
    .product-title-simple {
        padding: 12px;
        font-size: 13px;
        min-height: 55px;
    }
    
    .category-title-text h3 { font-size: 20px; }
    
    .benefit-steps { grid-template-columns: 1fr; }
    
    .branch-grid { grid-template-columns: 1fr; }
    
    .footer-container { grid-template-columns: 1fr; }
    
    .footer-about { grid-column: span 1; }
    
    .footer-map {
        grid-column: span 1;
        order: 0;
    }

    /* Slider Specifics */
    .category-slider-container {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .category-divider { margin: 15px 0; }
    
    .category-nav-side {
        width: 36px;
        height: 36px;
    }
    
    .category-nav-side i { font-size: 16px; }
    .category-nav-side.prev-side { left: 5px; }
    .category-nav-side.next-side { right: 5px; }
    
    .product-slider-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
    
    .product-slider-image { height: 140px; }
    
    .product-slider-title {
        font-size: 13px;
        min-height: 55px;
        padding: 12px 8px;
    }

    .products-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .product-grid-image { height: 150px; }

    /* Detail Page */
    .main-media-display { height: 300px; }
    .thumb-box {
        width: 70px;
        height: 70px;
    }
}

/* --- 576px (Mobile) --- */
@media (max-width: 576px) {
    .section-title h2 { font-size: 28px; }
    
    .slide-content { padding: 20px; }
    
    .products-grid-all,
    .products-grid-category {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-buttons { gap: 8px; }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .about-features { grid-template-columns: 1fr; }
    
    .slider {
        height: clamp(320px, 45vh, 400px);
    }
    
    .image-container { height: 50%; }
    
    .slide-content {
        min-height: 50%;
        padding: 12px;
    }
    
    .slide:first-child .image-container { height: 55%; }
    
    .slide:first-child .slide-content {
        min-height: 45%;
        padding: 12px;
    }
    
    /* Feature Items */
    .slide-features {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        gap: 10px;
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 10px 12px;
        min-height: auto;
        background-color: rgba(255, 255, 255, 0.08);
    }
    
    .feature-item i {
        margin-bottom: 0;
        margin-right: 10px;
        font-size: 18px;
    }
    
    .feature-item span {
        text-align: left;
        font-size: 13px;
    }
    
    .feature-item span strong {
        font-size: 14px;
        display: inline;
        margin-right: 5px;
    }

    /* Slider Cards */
    .product-slider-card {
        flex: 0 0 calc(100% - 12px);
        min-width: calc(100% - 12px);
    }
    
    .category-header-slider {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .slider-main-container { padding: 0 20px; }
    
    .category-nav-side.prev-side { left: 5px; }
    .category-nav-side.next-side { right: 5px; }
    
    .product-slider-image { height: 160px; }
    
    .product-slider-title {
        font-size: 14px;
        min-height: 50px;
        padding: 10px;
    }

    /* Detail Page */
    .detail-grid {
        padding: 20px;
        gap: 20px;
    }

    .main-media-display { height: 280px; }
    .detail-title { font-size: 22px; }
    
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .product-blob-title {
        bottom: -20%;
        width: 100%;
    }

    .products-grid-category svg.product-blob-title {
        bottom: 0;
    }

    .products-grid-category .product-title-simple {
        font-size: 12px;
        margin: 0 0.6rem;
        padding: 2px;
        width: 100%;
        justify-content: flex-end;
    }
}

/* --- 480px (Small Mobile) --- */
@media (max-width: 480px) {
    .product-slider-card {
        flex: 0 0 calc(100% - 12px);
        min-width: calc(100% - 12px);
    }
    
    .category-nav-side {
        width: 32px;
        height: 32px;
    }
    
    .category-nav-side i { font-size: 14px; }
    .category-nav-side.prev-side { left: 2px; }
    .category-nav-side.next-side { right: 2px; }
    
    .product-slider-image { height: 140px; }

    .products-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-grid-image { height: 130px; }
    
    .product-grid-title {
        padding: 12px 8px;
        font-size: 13px;
        min-height: 50px;
    }
}

/* Utilities */
.category-few-products .category-nav-side { display: none; }

.slider-loading {
    text-align: center;
    padding: 40px;
    color: var(--gray);
    font-style: italic;
}

/* Grid Mode Overrides */
.grid-mode .category-nav-side { display: none; }
.grid-mode .slider-main-container { overflow: visible; }

.grid-mode .products-slider-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    transform: none !important;
    transition: none;
}