/* ==============================================================================
   BICICENTRO 2.0 — Product Cards, Sections & Home Elements (Demo Matching)
   ============================================================================== */

/* 1. Hero Slider */
.demo-hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f7f7f7;
}
.demo-slider-container {
    position: relative;
    width: 100%;
    height: 560px;
}
.demo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
    display: flex;
    align-items: center;
}
.demo-slide.active {
    opacity: 1;
    visibility: visible;
}
.slide-content-wrap {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}
.slide-text-box {
    max-width: 580px;
    padding: 20px 0;
    animation: fadeInUp 0.7s ease-out;
}
.slide-badge-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 12px;
}
.slide-main-heading {
    font-size: 3.2rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.15;
    margin-bottom: 25px;
    text-transform: none;
    letter-spacing: -0.5px;
}
.slide-light-text .slide-badge-tag {
    color: rgba(255,255,255,0.9);
}
.slide-light-text .slide-main-heading {
    color: #ffffff;
}
.btn-slide-action {
    display: inline-block;
    background-color: #84b726;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.btn-slide-action:hover {
    background-color: #72a11e;
    color: #ffffff;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #333333;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.slider-arrow:hover {
    color: #000000;
    transform: translateY(-50%) scale(1.15);
}
.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.slider-dots .dot.active {
    background: #666666;
    width: 20px;
    border-radius: 4px;
}

/* 2. Promo Banners Grid */
.promo-banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.banner-box {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    transition: transform var(--transition-normal);
}
.banner-big {
    min-height: 531px;
}
.banner-stacked-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.banner-stacked-top, .banner-stacked-bottom {
    min-height: 258px;
}
.banner-overlay {
    display: none;
}
.banner-content {
    position: absolute;
    padding: 30px;
    z-index: 2;
}
.banner-content.align-right { right: 0; text-align: right; }
.banner-content.align-left { left: 0; text-align: left; }
.banner-content.valign-top { top: 0; }
.banner-content.valign-middle { top: 50%; transform: translateY(-50%); }

.banner-title-primary {
    font-size: 1.35rem;
    font-weight: 700;
    color: #84b726;
    margin-bottom: 4px;
}
.banner-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 4px;
}
.banner-subtitle-discount {
    font-size: 1.15rem;
    font-weight: 400;
    color: #888888;
}
.link-styled {
    font-size: 0.95rem;
    font-weight: 600;
    color: #84b726;
    text-transform: none;
    text-decoration: underline;
}
.banner-click-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* 3. Section Title & Tabs */
.section-heading-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: none;
    margin-bottom: 15px;
    color: #222222;
}
.section-subtitle-desc {
    font-style: italic;
    font-size: 0.95rem;
    color: #888888;
    margin-top: 4px;
}

.tabs-nav-wrap {
    margin-bottom: 30px;
}
.tabs-header-list {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 8px;
}
.tab-item .tab-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #888888;
    text-transform: uppercase;
    padding: 8px 4px;
    position: relative;
    transition: color var(--transition-fast);
}
.tab-item.active .tab-link, .tab-item:hover .tab-link {
    color: #111111;
}
.tab-item.active .tab-link::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111111;
}

/* 4. Product Card Grid & 1-Row 4-Column Sliders */
.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
}

.product-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.product-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 4px 20px;
    width: 100%;
}
.product-slider-track::-webkit-scrollbar {
    display: none;
}

.product-slide-item {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: calc((100% - 60px) / 4);
    scroll-snap-align: start;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .product-slide-item {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
    }
}
@media (max-width: 640px) {
    .product-slide-item {
        flex: 0 0 85%;
        min-width: 85%;
    }
}

.slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 10;
    transition: all 0.2s ease;
    user-select: none;
}
.slider-arrow-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.08);
}
.slider-arrow-btn.prev {
    left: -22px;
}
.slider-arrow-btn.next {
    right: -22px;
}

@media (max-width: 768px) {
    .slider-arrow-btn.prev { left: -10px; }
    .slider-arrow-btn.next { right: -10px; }
}

.bundle-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

.modern-product-card {
    background: #ffffff;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: none;
}

.product-img-wrap {
    position: relative;
    padding: 10px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    overflow: hidden;
}
.product-card-img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}
.modern-product-card:hover .product-card-img {
    transform: scale(1.04);
}

.product-badges-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.badge {
    display: inline-block;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    line-height: 1.2;
}
.badge-sale {
    background-color: #84b726;
    color: #ffffff;
}
.badge-soldout {
    background-color: #777777;
    color: #ffffff;
    font-size: 10px;
    text-transform: uppercase;
}
.badge-featured {
    background-color: #222222;
    color: #ffffff;
}

.btn-wishlist-action {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #aaaaaa;
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: color var(--transition-fast);
}
.btn-wishlist-action:hover {
    color: #e63946;
    background: transparent;
}

/* Hover Action Buttons */
.product-action-group {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    padding: 4px 6px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    z-index: 3;
    transition: all var(--transition-fast);
}
.modern-product-card:hover .product-action-group {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.btn-action-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: #333333;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color var(--transition-fast), background var(--transition-fast);
}
.btn-action-icon:hover {
    background: #111111;
    color: #ffffff;
}

.product-info-wrap {
    padding: 10px 0 0;
    text-align: left;
}
.product-title-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: #222222;
    display: block;
    line-height: 1.35;
    margin-bottom: 5px;
}
.product-title-link:hover {
    color: #84b726;
}
.product-price-line {
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
.product-price-line .old-price {
    color: #999999;
    font-weight: 400;
    font-size: 0.88rem;
    text-decoration: line-through;
}
.product-price-line .current-price {
    color: #222222;
    font-weight: 700;
}

/* 5. Showcase Slider (Center Mode) */
.section-showcase-slider {
    background-color: #ffffff;
    padding: 50px 0;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
}
.showcase-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    padding: 10px;
}
.showcase-slide-item {
    background: transparent;
    padding: 10px;
    text-align: center;
    min-width: 260px;
    max-width: 500px;
}
.showcase-img-wrap img {
    height: 280px;
    object-fit: contain;
    margin: 0 auto 15px;
}
.showcase-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 6px;
    display: block;
}
.showcase-price {
    font-size: 1.05rem;
    font-weight: 700;
}
.showcase-price .old-price {
    color: #999999;
    font-weight: 400;
    text-decoration: line-through;
    margin-right: 8px;
}
.showcase-price .current-price {
    color: #222222;
}

/* 6. Equipment Section */
.equipment-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: center;
}
.equipment-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 20px;
}
.equipment-nav-btns {
    display: flex;
    gap: 6px;
}
.nav-arrow-btn {
    background: transparent;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    width: 44px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #555555;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.nav-arrow-btn:hover {
    background: #222222;
    color: #ffffff;
    border-color: #222222;
}
.equipment-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 7. Blog Section */
.blog-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.blog-card-item {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    border: none;
}
.blog-image-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}
.blog-card-item:hover .blog-image-wrap img {
    transform: scale(1.03);
}
.blog-info-wrap {
    padding: 15px 0;
}
.blog-category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888888;
    font-weight: 700;
    margin-bottom: 6px;
}
.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.4;
    margin-bottom: 10px;
    display: block;
}
.blog-meta-footer {
    display: flex;
    align-items: center;
}
.blog-read-more-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-read-more-link:hover {
    color: #000;
}

/* 8. Brands Carousel */
.brands-grid-slider {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 36px;
    padding: 26px 10px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 64px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.brand-logo-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}
.brand-logo-item img {
    max-height: 54px;
    max-width: 145px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all var(--transition-fast);
}
.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 9. Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: flex-start;
}
.product-gallery {
    display: flex;
    gap: 15px;
}
.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
    flex-shrink: 0;
}
.thumb-item {
    width: 75px;
    height: 75px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-fast);
}
.thumb-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.thumb-item.active, .thumb-item:hover {
    border-color: #222222;
}
.gallery-main-image {
    flex: 1;
    min-height: 420px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}
.gallery-main-image img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

/* Product Summary */
.product-summary {
    display: flex;
    flex-direction: column;
}
.product-brand-tag a {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888888;
    letter-spacing: 1px;
}
.product-brand-tag a:hover {
    color: #84b726;
}
.product-summary .product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.25;
    margin: 8px 0 12px;
}
.product-sku-stock {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.88rem;
    color: #666666;
    margin-bottom: 20px;
}
.badge-stock {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 700;
}
.badge-out {
    background: #ffebee;
    color: #c62828;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 700;
}
.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}
.product-main-price {
    font-size: 1.9rem;
    font-weight: 800;
    color: #222222;
}
.product-main-price.is-sale {
    color: #222222;
}
.product-old-price {
    font-size: 1.25rem;
    color: #999999;
    text-decoration: line-through;
    font-weight: 400;
}
.product-short-desc {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.variant-group {
    margin-bottom: 20px;
}
.variant-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #222;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
}
.form-control:focus {
    border-color: #222;
}
.product-actions-row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    overflow: hidden;
    height: 48px;
}
.qty-btn {
    background: #f7f7f7;
    border: none;
    width: 38px;
    height: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    background: #eaeaea;
}
.qty-input {
    width: 48px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    outline: none;
}
.btn-add-to-cart-main {
    background-color: #222222;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    height: 48px;
    padding: 0 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color var(--transition-fast);
}
.btn-add-to-cart-main:hover {
    background-color: #84b726;
}
.btn-whatsapp-direct {
    background-color: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    height: 46px;
    padding: 0 20px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
    transition: background-color var(--transition-fast);
}
.btn-whatsapp-direct:hover {
    background-color: #1ebc57;
    color: #ffffff;
}
.product-value-props {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.prop-item {
    font-size: 0.88rem;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 8px;
}
.prop-item i {
    color: #84b726;
    font-size: 1rem;
}

/* Tabs */
.product-tabs-wrap {
    margin-top: 50px;
    border-top: 1px solid #eeeeee;
    padding-top: 30px;
}
.product-tabs-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 25px;
}
.product-tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #888888;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}
.product-tab-btn.active, .product-tab-btn:hover {
    color: #222222;
}
.product-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #222222;
}
.product-tab-content {
    display: none;
}
.product-tab-content.active {
    display: block;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.92rem;
}
.specs-table tr:nth-child(even) {
    background-color: #fafafa;
}
.specs-label {
    font-weight: 700;
    color: #333333;
    width: 220px;
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .equipment-layout { grid-template-columns: 1fr; }
    .promo-banners-grid { grid-template-columns: 1fr; }
    .banner-big { min-height: 380px; }
    .blog-grid-3 { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
    .product-gallery { flex-direction: column-reverse; }
    .gallery-thumbs { flex-direction: row; width: 100%; overflow-x: auto; }
}
