/* ==========================================================================
   Página de produto - FluxShop
   ========================================================================== */

/* ===== Carousel / plugin base ===== */
#carousel-example-generic {
    display: block;
}
ul.thumbnails-carousel {
    padding: 5px 0 0 0;
    margin: 0;
    list-style-type: none;
    text-align: center;
}
ul.thumbnails-carousel .center {
    display: inline-block;
}
ul.thumbnails-carousel li {
    margin-right: 5px;
    float: left;
    cursor: pointer;
}
.controls-background-reset {
    background: none !important;
}
.indicators-fix {
    bottom: 70px;
}

/*FORM ATRIBUTOS PRODUTO DETALHE*/
.zoomWindowContainer{
    z-index: 100000 !important;
}
#fattr .row{margin-top: 15px;}
#fattr .bootstrap-select>.dropdown-toggle {
    z-index: 0 !important;
}

/* ==========================================================================
   BLOCO 1 - Breadcrumb (passos)
   ========================================================================== */
.fs-crumb { margin: 0 0 26px; }
.fs-crumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}
.fs-crumb li { display: flex; align-items: center; }
.fs-crumb li a,
.fs-crumb li span {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 22px 0 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
    transition: filter .2s ease;
}
.fs-crumb li + li a,
.fs-crumb li + li span { margin-left: -14px; }
.fs-crumb li:first-child a,
.fs-crumb li:first-child span { padding-left: 18px; }
.fs-crumb li a:hover { filter: brightness(1.08); }
.fs-crumb .fs-crumb-c1 { background: #8fc3ec; }
.fs-crumb .fs-crumb-c2 { background: #6aa8d9; }
.fs-crumb .fs-crumb-c3 { background: #4b8ec9; }
.fs-crumb .fs-crumb-current span { background: #33383c; cursor: default; }

/* ==========================================================================
   BLOCO 2 - Produto principal
   ========================================================================== */

/* --- Galeria (coluna esquerda) --- */
.fs-gallery {
    position: relative;
    background: #fff;
    border: 1px solid #e4e9ee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(20, 30, 50, .06);
    padding: 14px;
    margin-bottom: 30px;
}
.fs-carousel-inner {
    border: 1px solid #eef1f4;
    border-radius: 8px;
    background: #fafbfc;
    overflow: hidden;
}
.fs-carousel-inner .item { padding: 8px; text-align: center; }
.fs-carousel-inner .item img { margin: 0 auto; }

/* setas laterais do carrossel (na altura das miniaturas) */
.fs-gallery .carousel-control {
    background-image: none;
    text-shadow: none;
    opacity: 1;
}
.fs-gallery .carousel-control.fs-thumb-arrow {
    width: 28px;
    height: 28px;
    top: auto;
    bottom: 46px;
    margin: 0 8px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    line-height: 28px;
    opacity: 0;
    transition: opacity .2s ease, background .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
}
.fs-gallery:hover .carousel-control.fs-thumb-arrow { opacity: 1; }
.fs-gallery .carousel-control.fs-thumb-arrow.controls-background-reset { background: rgba(37, 41, 41, .55) !important; }
.fs-gallery .carousel-control.fs-thumb-arrow.controls-background-reset:hover { background: rgba(37, 41, 41, .85) !important; }
.fs-gallery .carousel-control.fs-thumb-prev { left: 0; }
.fs-gallery .carousel-control.fs-thumb-next { right: 0; }

/* miniaturas */
.fs-gallery ul.thumbnails-carousel {
    padding: 14px 0 2px;
    margin: 0;
    list-style: none;
    text-align: center;
    position: relative;
}
.fs-gallery ul.thumbnails-carousel .center { display: inline-block; }
.fs-gallery ul.thumbnails-carousel li {
    display: inline-block;
    float: none;
    margin: 0 4px 8px;
    width: 64px;
    height: 64px;
    border: 2px solid #e4e9ee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    opacity: .7;
    text-align: center;
    line-height: 60px;
    vertical-align: top;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.fs-gallery ul.thumbnails-carousel li img {
    display: inline-block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.fs-gallery ul.thumbnails-carousel li:hover {
    opacity: 1;
    border-color: #4b8ec9;
    transform: translateY(-2px);
}
.fs-gallery ul.thumbnails-carousel li.active-thumbnail {
    opacity: 1;
    border-color: #4b8ec9;
    box-shadow: 0 0 0 1px #4b8ec9;
}

/* coração de favoritos */
.fs-wish {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 6;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e4e9ee;
    border-radius: 50%;
    background: #fff;
    color: #999;
    font-size: 17px;
    line-height: 38px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(20, 30, 50, .12);
    cursor: pointer;
    transition: all .2s ease;
}
.fs-wish:hover {
    color: #e05a5a;
    border-color: #e05a5a;
    transform: translateY(-2px) scale(1.04);
}
.fs-wish.active {
    background: #e05a5a;
    border-color: #e05a5a;
    color: #fff;
    animation: fs-heartbeat .55s ease;
}
.fs-wish.active:hover { transform: none; }
@keyframes fs-heartbeat {
    0% { transform: scale(1); }
    30% { transform: scale(1.28); }
    55% { transform: scale(.92); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Informações (coluna direita) --- */
.fs-prod-info { padding-top: 4px; }
.fs-prod-title {
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #252929 !important;
}
.fs-prod-ref {
    display: inline-block;
    margin: 0 0 8px;
    color: #8a9299;
    font-size: 13px;
    font-weight: 400;
}
.fs-avail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 14px;
    color: #2e9e5b;
    font-size: 13px;
}
.fs-avail-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2e9e5b;
    box-shadow: 0 0 0 3px rgba(46, 158, 91, .18);
}

/* caixa de preços */
.fs-price-box {
    background: #f5f8fb;
    border: 1px solid #e4e9ee;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 0 0 14px;
}
.fs-price-old {
    margin-bottom: 4px;
    color: #8a9299;
    font-size: 14px;
}
.fs-price-old del { color: #aab2b9; }
.fs-price-current {
    margin: 2px 0 6px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: #2f7fc0;
    letter-spacing: -1px;
}
.fs-price-boleto {
    color: #2e9e5b;
    font-size: 15px;
    font-weight: 600;
}
.fs-price-boleto small {
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
}

/* parcelamento */
.fs-parcelas { margin: 0 0 18px; }
.fs-parcele-title {
    margin: 0 0 10px;
    color: #252929;
    font-size: 14px;
}
.fs-parcele-title b { color: #2f7fc0; }
.fs-parcelas-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}
@media (max-width: 991px) {
    .fs-parcelas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
    .fs-parcelas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fs-parcelas-grid > br { display: none; }
.fs-parcelas .b-vezes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    min-width: 0;
    padding: 8px 6px;
    border: 1px solid #e4e9ee;
    border-radius: 8px;
    background: #fff;
    color: #6c757d;
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.fs-parcelas .b-vezes .x-vezes {
    color: #2f7fc0;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
}
.fs-parcelas .b-vezes .x-valor {
    color: #252929;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.2;
}
.fs-parcelas .b-vezes .x-juros {
    color: #8a9299;
    font-size: 10px;
    line-height: 1.2;
}

/* opções de compra (atributos) */
.fs-attr { margin: 0 0 6px; }
.fs-attr .form-group { margin-bottom: 14px; }
.fs-attr label b { font-size: 13px; color: #252929; }

/* ações */
.fs-actions { margin: 4px 0 20px; }
.btn-custom.fs-btn-buy {
    border-radius: 8px;
    background: #2f7fc0 !important;
    border-color: #2f7fc0 !important;
    box-shadow: 0 4px 14px rgba(47, 127, 192, .3);
    padding: 13px 16px !important;
    font-size: 16px !important;
    letter-spacing: 1px;
    transition: all .2s ease;
}
.btn-custom.fs-btn-buy:hover {
    background: #256aa3 !important;
    border-color: #256aa3 !important;
    box-shadow: 0 6px 18px rgba(47, 127, 192, .38);
    transform: translateY(-1px);
}
.btn-default.fs-btn-compare {
    margin-top: 10px;
    border-radius: 8px;
    background: #fff !important;
    color: #2f7fc0 !important;
    border: 1px solid #2f7fc0 !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    transition: all .2s ease;
}
.btn-default.fs-btn-compare:hover {
    background: #f2f7fc !important;
    color: #256aa3 !important;
    border-color: #256aa3 !important;
}

/* frete */
.fs-frete {
    background: #fff;
    border: 1px solid #e4e9ee;
    border-radius: 10px;
    padding: 14px 16px;
}
.fs-frete label {
    display: block;
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 13px;
    font-weight: 600;
}
.fs-frete .form-control {
    border-color: #d7dee5;
    border-radius: 6px 0 0 6px !important;
}
.fs-frete .input-group-btn .btn {
    border-radius: 0 6px 6px 0 !important;
}
.fs-frete .btn-custom {
    background: #2f7fc0 !important;
    border-color: #2f7fc0 !important;
}
.fs-frete .btn-custom:hover {
    background: #256aa3 !important;
    border-color: #256aa3 !important;
}
.fs-frete .frete_result_pac {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef1f4;
    color: #444;
    font-size: 13px;
    overflow: hidden;
}
.fs-frete .frete_result_pac table {
    width: 100%;
    margin: 0;
    background: transparent;
}
.fs-frete .frete_result_pac table > tbody > tr > td {
    padding: 8px 4px;
    border: 0 !important;
    vertical-align: middle;
    white-space: nowrap;
}
.fs-frete .frete_result_pac .btn-update-frete {
    margin-right: 6px;
    vertical-align: middle;
}
.fs-frete .frete_result_pac label {
    display: inline;
    margin: 0;
    color: #252929;
    font-size: 13px;
    font-weight: 600;
    white-space: normal;
}
.fs-frete .frete_result_pac .f-gray { color: #6c757d; }
.fs-frete .frete_result_pac .fs-frete-msg { margin: 0; }
.fs-frete-msg {
    margin: 0;
    padding: 8px 10px;
    border-radius: 6px;
    background: #fff6f6;
    border: 1px solid #f5c6c6;
    color: #b02a37;
    font-size: 13px;
}
@media (max-width: 480px) {
    .fs-frete .frete_result_pac table > tbody > tr > td {
        white-space: normal;
        word-break: break-word;
    }
}

/* ==========================================================================
   BLOCO 3 - Ficha técnica
   ========================================================================== */
.fs-specs { margin-top: 10px; }
.fs-gallery + .fs-card-ficha { margin-top: 12px; }
.fs-card {
    border: 1px solid #e4e9ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(20, 30, 50, .05);
    height: 100%;
    margin-bottom: 26px;
    overflow: hidden;
}
.fs-card-title {
    margin: 0;
    padding: 16px 20px;
    border-bottom: 1px solid #eef1f4;
    color: #252929;
    font-size: 17px;
    font-weight: 700;
}
.fs-card-title i { margin-right: 8px; color: #2f7fc0; }
.fs-card-body {
    padding: 20px;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
}
.fs-desc { max-height: 340px; overflow: auto; }
.fs-spec-table {
    width: 100%;
    border-collapse: collapse;
}
.fs-spec-table tr { border-bottom: 1px solid #f0f2f5; }
.fs-spec-table tr:last-child { border-bottom: 0; }
.fs-spec-table th,
.fs-spec-table td {
    padding: 12px 20px;
    font-size: 13.5px;
    text-align: left;
}
.fs-spec-table th {
    width: 46%;
    color: #6c757d;
    font-weight: 600;
    background: #fafbfc;
}
.fs-spec-table td {
    color: #252929;
    font-weight: 600;
}

/* ==========================================================================
   BLOCO 4 - Compartilhamento
   ========================================================================== */
.fs-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 30px;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1px solid #eef1f4;
    border-radius: 12px;
}
.fs-share-label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    margin-right: 4px;
}
.fs-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fs-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 15px;
    text-decoration: none !important;
    transition: transform .2s ease, opacity .2s ease;
}
.fs-share-btn:hover {
    transform: translateY(-2px);
    opacity: .9;
}
.fs-share-fb { background: #1877f2; }
.fs-share-tw { background: #111; }
.fs-share-wa { background: #25d366; }
.fs-share-pin { background: #e60023; }
.fs-share-in { background: #0a66c2; }
.fs-share-mail { background: #6c757d; }

/* ==========================================================================
   Avaliações / Frete (abas)
   ========================================================================== */
.fs-tabs-wrap { margin: 0 0 10px; }
.fs-tabs { border-bottom: 2px solid #e4e9ee; margin-bottom: 0; }
.fs-tabs li a {
    border: 0 !important;
    color: #6c757d !important;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 8px 8px 0 0 !important;
    background: transparent !important;
}
.fs-tabs li a i { margin-right: 6px; color: #8a9299; }
.fs-tabs li.active a {
    color: #252929 !important;
    background: #fff !important;
    border-bottom: 2px solid #2f7fc0 !important;
}
.fs-tabs-wrap .tab-content {
    background: #fff;
    border: 1px solid #e4e9ee;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    padding: 20px;
}

/* ==========================================================================
   Relacionados
   ========================================================================== */
.fs-section-title {
    font-family: 'Open Sans', verdana, arial;
    color: #252929;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 991px) {
    .fs-gallery { margin-top: 10px; }
    .fs-price-current { font-size: 28px; }
    .fs-specs .fs-card { height: auto; }
}
@media (max-width: 767px) {
    .fs-crumb { margin-bottom: 18px; }
    .fs-crumb li a,
    .fs-crumb li span { height: 36px; font-size: 12px; padding: 0 18px 0 14px; }
    .fs-price-current { font-size: 26px; }
}

/* ==========================================================================
   Aviso de avaliação (showmsg)
   ========================================================================== */
.avaliacao-msg { margin: 8px 0; }
.avaliacao-msg:empty { display: none; }
.avaliacao-aviso { margin-bottom: 0; }
.avaliacao-aviso .fa { margin-right: 6px; }
.avaliacao-aviso .btn { margin-left: 8px; vertical-align: baseline; }
