.product-detail-page {
    padding-top: 90px;
}

.btn-contact {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(248, 147, 31, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 147, 31, 0.6);
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto 10px;
    padding: 0 20px;
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 10;
}

.breadcrumb-container::-webkit-scrollbar {
    display: none;
}

.breadcrumb-container a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-container a:hover {
    color: var(--primary-color);
}

.breadcrumb-container span {
    color: #ccc;
    margin: 0 8px;
}

.breadcrumb-container strong {
    color: #999;
    font-weight: 700;
}

.product-detail-section {
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: auto;
    width: 100%;
}

.product-detail-img {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align closer to right */
    padding-right: 20px; /* But not fully touching */
    justify-content: flex-start;
    position: relative;
    max-height: none;
    width: 100%;
    gap: 20px;
}


.product-detail-img img {
    max-width: 100%;
    max-height: 70vh;
    margin-top: -85px; /* even higher as requested */
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1.08);
}



.product-detail-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.product-detail-info h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 500;
}

.product-detail-info h1 span {
    display: block;
    font-weight: 900;
    color: var(--secondary-color);
    margin-top: 5px;
}

.product-detail-info .description-box {
    margin-bottom: 30px;
    max-width: 550px; /* Prevents text from stretching too far right */
}

.product-detail-info .description {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-detail-info .usos {
    font-size: 0.95rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.product-detail-info .usos strong {
    font-weight: 800;
}

.circles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.image-circle {
    width: 65px;
    height: 65px;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.btn-action {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    flex-grow: 0;
}

.btn-cotizar {
    background-color: var(--secondary-color);
    color: #fff;
    border: 1px solid var(--secondary-color);
}

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


.calculator-promo-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #f8f9fb;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.calculator-promo-box:hover {
    box-shadow: 0 10px 30px rgba(3, 42, 85, 0.05);
    transform: translateY(-2px);
    border-color: #d1d9e6;
}

.calc-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.calc-content h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 4px;
    font-weight: 700;
}

.calc-content p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
}

.btn-calc-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-calc-link:hover {
    gap: 12px;
}

.btn-action i {
    margin-right: 8px;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.sizes-container {
    display: flex;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 30px;
    margin-top: 0px;
}

.size-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-item img {
    height: auto;
    width: auto;
    filter: grayscale(1) opacity(0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.size-item.active {
    color: var(--secondary-color);
}

.size-item.active img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

.size-item:hover img {
    filter: grayscale(0.5) opacity(0.8);
}

.size-item.active:hover img {
    transform: scale(1.15);
}

/* Bucket Scaling */
.size-item.size-1 img {
    width: 55px;
}

.size-item.size-4 img {
    width: 75px;
}

.size-item.size-5 img {
    width: 95px;
}

@media (max-width: 992px) {
    .product-detail-section {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 40px;
    }

    .product-detail-img {
        max-height: 50vh;
        margin-top: 20px;
    }

    .product-detail-img img {
        max-height: 45vh;
        margin-top: 0;
        top: 0;
        max-width: 100%;
    }

    .product-detail-info h1 {
        text-align: center;
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .product-detail-info .description-box {
        text-align: center;
        margin-bottom: 20px;
    }

    .circles-container,
    .action-buttons,
    .sizes-container {
        justify-content: center;
    }

    .breadcrumb-container {
        margin-top: 0;
        text-align: center;
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .product-detail-section {
        padding: 10px 20px;
        gap: 15px;
    }

    .product-detail-img img {
        max-height: 35vh;
        margin-top: 0;
        top: 0;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

    .btn-action {
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 12px;
    }

    .circles-container {
        margin-bottom: 25px;
        gap: 20px;
    }

    .sizes-container {
        gap: 25px;
    }
}


.similar-products-section {
    padding: 80px 20px;
    background-color: #F2F2F2;
    text-align: center;
    border-top: 2px solid #ddd;
    border-radius: 60px 60px 0 0;
    margin-top: 40px;
    position: relative;
    z-index: 5;
}

.similar-products-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-weight: 800;
}

.similar-carousel-container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 60px;
}

.similar-swiper {
    padding: 10px 0 30px;
}

.similar-card {
    background: #fff;
    border-radius: 15px;
    padding: 0 0 15px 0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
}

/* Color accent at the top */
.similar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.swiper-slide {
    height: auto;
}

.similar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.similar-img-box {
    background: radial-gradient(circle, rgba(248, 147, 31, 0.05) 0%, rgba(3, 42, 85, 0.02) 100%);
    width: 100%;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #f9f9f9;
}

.similar-img-box img {
    max-width: 85%;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.similar-card h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 6px;
    padding: 0 15px;
    font-weight: 700;
    line-height: 1.2;
}

.similar-card .brand {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.similar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 10px;
    padding: 0 15px;
}

.btn-similar {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(248, 147, 31, 0.3);
}

.btn-similar:hover {
    background-color: #e57d10;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(248, 147, 31, 0.4);
}


.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color);
    background: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: #fff;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}


.cta-section {
    padding: 40px 20px 0;
    text-align: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.cta-section h2 {
    font-size: clamp(1.6rem, 3.8vw, 2.7rem);
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1;
}

.cta-section h2 span {
    display: block;
    transform: translateX(-80px);
}

.cta-section h2 strong {
    display: block;
    font-weight: 800;
    transform: translateX(80px);
}

.cta-description {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 147, 31, 0.4);
}

.btn-cta:hover {
    background-color: #e57d10;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 147, 31, 0.6);
}

@media (max-width: 576px) {
    .cta-section h2 span,
    .cta-section h2 strong {
        transform: translateX(0); /* Center on very small screens or keep it minimal */
    }
    
    .cta-section h2 span { transform: translateX(-15px); }
    .cta-section h2 strong { transform: translateX(15px); }
}

@media (max-width: 768px) {
    .similar-carousel-container {
        padding: 0 40px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}


.calc-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.calc-modal.active {
    display: flex;
}

.calc-modal-content {
    background-color: transparent;
    width: 95%;
    max-width: 950px;
    height: 90vh;
    position: relative;
    animation: modalScale 0.3s ease-out;
}

@keyframes modalScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.calc-modal-content iframe {
    width: 100%;
    height: 100vh;
    max-height: 90vh;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: none;
}

.close-modal {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.1);
    background-color: #032a55;
}

@media (max-width: 768px) {
    .calc-modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
    }

    .calc-modal-content iframe {
        border-radius: 0;
        max-height: 100vh;
    }

    .close-modal {
        top: 20px;
        right: 20px;
        position: fixed;
    }
}


@media (min-width: 1440px) {

    .product-detail-section,
    .breadcrumb-container {
        max-width: 1560px;
    }
    
    .product-detail-img img {
        transform: scale(1.08);
    }
}

@media (min-width: 1800px) {

    .product-detail-section,
    .breadcrumb-container {
        max-width: 1760px;
    }
    
    .product-detail-img img {
        transform: scale(1.08);
    }
}

@media (min-width: 2560px) {

    .product-detail-section,
    .breadcrumb-container {
        max-width: 2200px;
    }

    .product-detail-info h1 {
        font-size: 5rem;
    }

    .product-detail-info .description {
        font-size: 1.4rem;
    }
    
    .product-detail-img img {
        transform: scale(1.1);
    }
}