/* Styles */
/*
    PRODUCT PHOTOS
 */
.fotorama__thumb-border, .fotorama__thumb, .fotorama__img, .fotorama__stage, .gallery-placeholder__image {
    border-radius: 1cqh;
}

/*
    PRODUCT DETAILS
 */
.product-info-price .price-box .price-container {
    .from-before {
        font-size: 14px;
        font-weight: normal;
    }

    .from-after {
        font-size: 14px;
        font-weight: normal;
    }

    .price {
        color: var(--button-bg-color);
        font-weight: bold;
        font-size: 28px;
    }
}

.product-info-main > p {
    margin: 0;
}

.product-add-form {
    margin: 1rem 0;
}

.opciones-colortalla {
    padding-top: 2rem;
    margin-top: 2rem;
    background: #eaeaea;
    padding: 2rem;
    border-radius: 1cqh;

    .getby-title {
        font-weight: bold;
    }

    > .row:not(:first-child) {
        margin-top: 1rem;
    }

    .payment-methods-accepted {
        display: block;
        margin: 0 auto;
    }
}

.option-tallas ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    padding: 1rem 0;

    li {
        border: 1px solid #eaeaea;
        padding: 0.2rem;
        border-radius: 100%;
        width: 2rem;
        text-align: center;
        font-size: 12px;
        user-select: none;
    }
}

.web-category {
    padding: 2rem 0;

    h2 {
        margin-bottom: 1rem;
    }

    .row {
        margin: 0;
        gap: 1rem;

        a:visited {
            color: #075671;
        }
    }
}

.question-link {
    margin-top: 2rem;

    /* TODO: Class name not following standards */
    .questionlinkcontent {
        align-items: center;
        margin-top: 1rem;

        strong {
            display: block;
        }

        .clickableLink {
            @media (min-width: 786px) {
                display: block;
                margin-left: auto;
            }
        }
    }
}

.product.data.items {
    > .item.content {
        border-top: none !important;
        padding: 0 !important;
        margin-top: 0 !important;
        float: none !important;
        margin-left: 0 !important;
        border: 1px solid #eaeaea !important;
        border-radius: 1cqh;

        table {
            .atrib-tabla {
                font-weight: bold;
            }

            tr td {
                border-top: 0 !important;
            }
        }
    }

    > .item.title {
        border-bottom: none !important;
        float: none !important;
        margin: 0 !important;

        h2 {
            margin: 0;
        }
    }
}

#kvFileinputModal {
    display: none;
}

#divlogo > div {
    border-radius: 1cqh;
}

.boton-formulario-details.activar-opc.selected {
    background-color: #006e96;
    color: white;
}

/*
*   CSS copiados del viejo para el bloque de subir ficheros
*/

.file-loading input[type="file"],input[type="file"].file-loading {
    width: 0;
    height: 0
}

.file-no-browse {
    position: absolute;
    left: 50%;
    bottom: 20%;
    width: 1px;
    height: 1px;
    font-size: 0;
    opacity: 0;
    border: none;
    background: none;
    outline: none;
    box-shadow: none
}

.kv-hidden,.file-caption-icon,.file-zoom-dialog .modal-header:before,.file-zoom-dialog .modal-header:after,.file-input-new .file-preview,.file-input-new .close,.file-input-new .glyphicon-file,.file-input-new .fileinput-remove-button,.file-input-new .fileinput-upload-button,.file-input-new .no-browse .input-group-btn,.file-input-ajax-new .fileinput-remove-button,.file-input-ajax-new .fileinput-upload-button,.file-input-ajax-new .no-browse .input-group-btn,.hide-content .kv-file-content,.is-locked .fileinput-upload-button,.is-locked .fileinput-remove-button {
    display: none
}

.btn-file input[type="file"],.file-caption-icon,.file-preview .fileinput-remove,.krajee-default .file-thumb-progress,.file-zoom-dialog .btn-navigate,.file-zoom-dialog .floating-buttons {
    position: absolute
}

.file-caption-icon .kv-caption-icon {
    line-height: inherit
}

.file-input,.file-loading:before,.btn-file,.file-caption,.file-preview,.krajee-default.file-preview-frame,.krajee-default .file-thumbnail-footer,.file-zoom-dialog .modal-dialog {
    position: relative
}

.file-error-message pre,.file-error-message ul,.krajee-default .file-actions,.krajee-default .file-other-error {
    text-align: left
}

.file-error-message pre,.file-error-message ul {
    margin: 0
}

.krajee-default .file-drag-handle,.krajee-default .file-upload-indicator {
    float: left;
    margin-top: 10px;
    width: 16px;
    height: 16px
}

.krajee-default .file-thumb-progress .progress,.krajee-default .file-thumb-progress .progress-bar {
    height: 20px;
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 15px
}

.krajee-default .file-thumb-progress .progress,.kv-upload-progress .progress {
    background-color: #ccc
}

.krajee-default .file-caption-info,.krajee-default .file-size-info {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 160px;
    height: 15px;
    margin: auto
}

.file-zoom-content>.file-object.type-video,.file-zoom-content>.file-object.type-flash,.file-zoom-content>.file-object.type-image {
    max-width: 100%;
    max-height: 100%;
    width: auto
}

.file-zoom-content>.file-object.type-video,.file-zoom-content>.file-object.type-flash {
    height: 100%
}

.file-zoom-content>.file-object.type-pdf,.file-zoom-content>.file-object.type-html,.file-zoom-content>.file-object.type-text,.file-zoom-content>.file-object.type-default {
    width: 100%
}

.file-loading:before {
    content: " Loading...";
    display: inline-block;
    padding-left: 20px;
    line-height: 16px;
    font-size: 13px;
    font-variant: small-caps;
    color: #999;
    background: transparent url(../img/loading.gif) top left no-repeat
}

.file-object {
    margin: 0 0 -5px 0;
    padding: 0
}

.btn-file {
    overflow: hidden
}

.btn-file input[type="file"] {
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    text-align: right;
    opacity: 0;
    background: none repeat scroll 0 0 transparent;
    cursor: inherit;
    display: block
}

.btn-file ::-ms-browse {
    font-size: 10000px;
    width: 100%;
    height: 100%
}

.file-caption .file-caption-name {
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    background: none;
    outline: none
}

.file-caption.icon-visible .file-caption-icon {
    display: inline-block
}

.file-caption.icon-visible .file-caption-name {
    padding-left: 15px
}

.file-caption-icon {
    left: 8px
}

.file-error-message {
    color: #a94442;
    background-color: #f2dede;
    margin: 5px;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    padding: 15px
}

.file-error-message pre {
    margin: 5px 0
}

.file-caption-disabled {
    background-color: #eee;
    cursor: not-allowed;
    opacity: 1
}

.file-preview {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 8px;
    width: 100%;
    margin-bottom: 5px
}

.file-preview .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px
}

.file-preview .fileinput-remove {
    top: 1px;
    right: 1px;
    line-height: 10px
}

.file-preview .clickable {
    cursor: pointer
}

.file-preview-image {
    font: 40px Impact, Charcoal, sans-serif;
    color: #008000
}

.krajee-default.file-preview-frame {
    margin: 8px;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    padding: 6px;
    float: left;
    text-align: center
}

.krajee-default.file-preview-frame .kv-file-content {
    width: 213px;
    height: 160px
}

.krajee-default .file-preview-other-frame {
    display: flex;
    align-items: center;
    justify-content: center
}

.krajee-default.file-preview-frame .kv-file-content.kv-pdf-rendered {
    width: 400px
}

.krajee-default.file-preview-frame[data-template="audio"] .kv-file-content {
    width: 240px;
    height: 55px
}

.krajee-default.file-preview-frame .file-thumbnail-footer {
    height: 70px
}

.krajee-default.file-preview-frame:not(.file-preview-error):hover {
    border: 1px solid rgba(0,0,0,0.3);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.4)
}

.krajee-default .file-preview-text {
    display: block;
    color: #428bca;
    border: 1px solid #ddd;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    outline: none;
    padding: 8px;
    resize: none
}

.krajee-default .file-preview-html {
    border: 1px solid #ddd;
    padding: 8px;
    overflow: auto
}

.krajee-default .file-other-icon {
    font-size: 6em;
    line-height: 1
}

.krajee-default .file-footer-buttons {
    float: right
}

.krajee-default .file-footer-caption {
    display: block;
    text-align: center;
    padding-top: 4px;
    font-size: 11px;
    color: #777;
    margin-bottom: 30px
}

.file-upload-stats {
    font-size: 10px;
    text-align: center;
    width: 100%
}

.kv-upload-progress .file-upload-stats {
    font-size: 12px;
    margin: -10px 0 5px
}

.krajee-default .file-preview-error {
    opacity: 0.65;
    box-shadow: none
}

.krajee-default .file-thumb-progress {
    height: 11px;
    top: 37px;
    left: 0;
    right: 0
}

.krajee-default.kvsortable-ghost {
    background: #e1edf7;
    border: 2px solid #a1abff
}

.krajee-default .file-preview-other:hover {
    opacity: 0.8
}

.krajee-default .file-preview-frame:not(.file-preview-error) .file-footer-caption:hover {
    color: #000
}

.kv-upload-progress .progress {
    height: 20px;
    margin: 10px 0;
    overflow: hidden
}

.kv-upload-progress .progress-bar {
    height: 20px;
    padding-left: 10px;
    font-family: Verdana, Helvetica, sans-serif
}

.file-zoom-dialog .file-other-icon {
    font-size: 22em;
    font-size: 50vmin
}

.file-zoom-dialog .modal-dialog {
    width: auto
}

.file-zoom-dialog .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.file-zoom-dialog .btn-navigate {
    padding: 0;
    margin: 0;
    background: transparent;
    text-decoration: none;
    outline: none;
    opacity: 0.7;
    top: 45%;
    font-size: 4em;
    color: #1c94c4
}

.file-zoom-dialog .btn-navigate:not([disabled]):hover {
    outline: none;
    box-shadow: none;
    opacity: 0.6
}

.file-zoom-dialog .floating-buttons {
    top: 5px;
    right: 10px
}

.file-zoom-dialog .btn-navigate[disabled] {
    opacity: 0.3
}

.file-zoom-dialog .btn-prev {
    left: 1px
}

.file-zoom-dialog .btn-next {
    right: 1px
}

.file-zoom-dialog .kv-zoom-title {
    font-weight: 300;
    color: #999;
    max-width: 50%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.file-input-new .no-browse .form-control {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.file-input-ajax-new .no-browse .form-control {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.file-caption-main {
    width: 100%
}

.file-thumb-loading {
    background: transparent url(../img/loading.gif) no-repeat scroll center center content-box !important
}

.file-drop-zone {
    border: 1px dashed #aaa;
    border-radius: 4px;
    text-align: center;
    vertical-align: middle;
    margin: 12px 15px 12px 12px;
    padding: 5px
}

.file-drop-zone.clickable:hover {
    border: 2px dashed #999
}

.file-drop-zone.clickable:focus {
    border: 2px solid #5acde2
}

.file-drop-zone .file-preview-thumbnails {
    cursor: default
}

.file-drop-zone-title {
    color: #aaa;
    font-size: 1.6em;
    padding: 85px 10px;
    cursor: default
}

.file-highlighted {
    border: 2px dashed #999 !important;
    background-color: #eee
}

.file-uploading {
    background: url(../img/loading-sm.gif) no-repeat center bottom 10px;
    opacity: 0.65
}

.file-zoom-fullscreen .modal-dialog {
    min-width: 100%;
    margin: 0
}

.file-zoom-fullscreen .modal-content {
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh
}

.file-zoom-fullscreen .modal-body {
    overflow-y: auto
}

.floating-buttons {
    z-index: 3000
}

.floating-buttons .btn-kv {
    margin-left: 3px;
    z-index: 3000
}

.kv-zoom-actions .btn-kv {
    margin-left: 3px
}

.file-zoom-content {
    height: 480px;
    text-align: center
}

.file-zoom-content .file-preview-image {
    max-height: 100%
}

.file-zoom-content .file-preview-video {
    max-height: 100%
}

.file-zoom-content>.file-object.type-image {
    height: auto;
    min-height: inherit
}

.file-zoom-content>.file-object.type-audio {
    width: auto;
    height: 30px
}

@media (min-width: 576px) {
    .file-zoom-dialog .modal-dialog {
        max-width:500px
    }
}

@media (min-width: 992px) {
    .file-zoom-dialog .modal-lg {
        max-width:800px
    }
}

@media (max-width: 767px) {
    .file-preview-thumbnails {
        display:flex;
        justify-content: center;
        align-items: center;
        flex-direction: column
    }

    .file-zoom-dialog .modal-header {
        flex-direction: column
    }
}

@media (max-width: 350px) {
    .krajee-default.file-preview-frame:not([data-template="audio"]) .kv-file-content {
        width:160px
    }
}

@media (max-width: 420px) {
    .krajee-default.file-preview-frame .kv-file-content.kv-pdf-rendered {
        width:100%
    }
}

.file-loading[dir="rtl"]:before {
    background: transparent url(../img/loading.gif) top right no-repeat;
    padding-left: 0;
    padding-right: 20px
}

.file-sortable .file-drag-handle {
    cursor: move;
    opacity: 1
}

.file-sortable .file-drag-handle:hover {
    opacity: 0.7
}

.clickable .file-drop-zone-title {
    cursor: pointer
}

.file-preview-initial.sortable-chosen {
    background-color: #d9edf7
}

button.kv-file-remove,button.kv-file-upload,button.kv-file-zoom {
    display: none
}
.catalog-product-view .subida-logo {
    border: 1px solid #ccc;
    padding: 25px;
    margin: 10px 0
}

.catalog-product-view .subida-logo form .input-group.file-caption-main>.input-group-btn.input-group-append>.btn.btn-primary.btn-file {
    width: 100%
}

.catalog-product-view .kv-hidden {
    display: none
}

.catalog-product-view .selectores {
    margin-bottom: 5px
}

.catalog-product-view .selectorcolor {
    margin-top: 15px;
    border-radius: 6px
}

.catalog-product-view .boton-formulario-details-2 {
    float: right;
    font-weight: 700;
    margin-left: 1rem;
}

@media (max-width: 767px) {
    .catalog-product-view .boton-formulario-details-2 {
        width:100% !important
    }
}

@media (max-width: 767px) {
    .catalog-product-view #confirmar-logo {
        width:100%;
        float: none !important
    }
}

/*
    CALCULATOR STYLES - Copied from old Garrampa
 */
.acordeon-titulo {
    background-color: #eaeaea;
    /*color: #444349;*/
    padding: 10px;
    cursor: pointer;
    border: 4px solid #fff;
    border-radius: 1cqh;

    #cantidad-selec {
        font-weight: 800;
    }

    .color_es {
        font-weight: 700;
    }

    h3 {
        font-size: 1.2rem;
    }

    .acordeon-numero {
        display: inline-block;
        text-align: center;
        background: #444349;
        color: #fff;
        padding: 0.2rem;
        border-radius: 100%;
        width: 2rem;
        height: 2rem;
    }

    > div {
        > h3 {
            margin-top: 0;
            margin-bottom: 0;
        }
    }
}

.timeline-container {
    margin: 0 20px;

    .timeline {
        display: block;
        list-style-type: none;
        width: 100%;
        padding: 0;
        table-layout: fixed;
        margin-top: 50px;

        li {
            @media (max-width: 767px) {
                display: block;
            }

            transition: all 200ms ease-in;
            border-left: 2px solid #ddd;
            padding: 30px;
            border-top: 0;
            text-align: left;
            position: relative;

            &::before {
                content: "";
                width: 15px;
                height: 15px;
                background-color: #ddd;
                border-radius: 25px;
                border: 2px solid #ddd;
                position: absolute;
                top: -10px;
                left: -8px;
                transition: all 200ms ease-in;
            }

            div {
                &.contenttop {
                    top: -10px;
                    left: 0;
                    position: absolute;
                    height: 30px;
                    text-align: left;
                    margin-left: 30px;
                    vertical-align: text-bottom;
                    width: 100%;
                }

                &.contentbottom {
                    text-align: left;
                    margin-top: -15px;
                }
            }

            &.shipping-select {
                cursor: pointer;

                &::before {
                    content: "";
                    width: 45px;
                    height: 45px;
                    background-color: #fff;
                    border-radius: 25px;
                    border: 2px solid #ddd;
                    position: absolute;
                    top: -23px;
                    left: -24px;
                    transition: all 200ms ease-in;
                }

                div {
                    &.contenttop {
                        font-size: 1.2em;
                        font-weight: 700;
                        text-align: left;
                        margin-left: 50px;
                    }

                    &.contentbottom {
                        text-align: left;
                        margin-top: -10px;
                        margin-left: 20px;
                        min-height: 50px;
                    }

                    &.check {
                        top: -16px;
                        position: absolute;
                        left: -17px;
                    }
                }
            }
        }
    }

    @media (min-width: 768px) {
        margin: 0;

        .timeline {
            display: table;
            margin-bottom: 2.25rem;

            li {
                display: table-cell;
                border-left: none;
                border-top: 2px solid #ddd;
                padding: 25px 10px 0;
                text-align: center;

                &::before {
                    top: -8px;
                    left: 46%;
                }

                div {
                    &.contenttop {
                        top: -58px;
                        text-align: center;
                        margin-left: 0;
                        height: 30px;
                    }

                    &.contentbottom {
                        text-align: center;
                        margin-top: 0;
                    }
                }

                &.shipping-select {
                    cursor: pointer;

                    &::before {
                        content: "";
                        width: 45px;
                        height: 45px;
                        background-color: #fff;
                        border-radius: 25px;
                        border: 2px solid #ddd;
                        position: absolute;
                        top: -23px;
                        left: 40%;
                        transition: all 400ms ease-in;
                    }

                    div {
                        &.contenttop {
                            top: -58px;
                            left: 0;
                            position: absolute;
                            text-align: center;
                            height: 30px;
                            vertical-align: text-bottom;
                            width: 100%;
                            margin: 0;
                        }

                        &.contentbottom {
                            text-align: inherit;
                            margin-top: 0;
                            margin-left: 0;
                            min-height: auto;
                        }

                        &.check {
                            top: -15px;
                            position: absolute;
                            left: 43%;
                        }
                    }
                }
            }
        }
    }
}

.estampado {
    margin-bottom: 10px;

    .opc-est {
        column-count: 2;
    }
}

.acordeon-titulo {
    > div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;

        .editar {
            color: var(--theme-color);
        }
    }
}

#acordeon2 {
    button {
        width: 100%;
        margin: 5px 0;
        float: right;

        &#sin-marcaje {
            border: 2px solid #ccc;
            font-weight: 700;
            box-sizing: inherit;
        }

        &#sin-marcaje,
        &#confirmar-estampado {
            @media (min-width: 768px) {
                width: auto;
                margin-left: 1rem;
            }
        }
    }
}

.tituloseccion-acordeon {
    background: #f4f4f4;
    color: #444349;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 10px;
    position: relative;
    border-radius: 1cqh;

    > div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;

        .editar {
            color: var(--theme-color);
        }

        h2 {
            font-size: 1.1rem;

            > img {
                left: -5px !important;
                top: -8px !important;
            }
        }

        > h2 {
            margin-top: 0;
            margin-bottom: 0;
            font-weight: 600;
        }
    }
}

#confirmar-cantidad,
#confirmar-tallas {
    width: 100%;
    margin-top: 10px;

    span {
        text-transform: none;
    }
}

#confirmar-tallas {
    @media(min-width: 768px) {
        float: right;
        margin-bottom: 10px;
        margin-top: 0;
        width: auto;
    }
}

#confirmar-logo {
    @media(min-width: 768px) {
        float: right;
    }
}

.sizes-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;

    button {
        width: 8rem;
    }

    .form-control {
        width: 8rem;
    }
}

.catalog-product-view .col-0 {
    display: none;

    @media (min-width: 768px) {
        display: inherit;
    }
}

.final-price-container {
    border: 1px solid var(--theme-color);
    padding: 1rem;
    border-radius: 1cqh;

    .price-cols {
        display: flex;
        justify-content: space-between;
        align-items: center;

        p {
            margin: 0;
        }

        .price-data {
            .total {
                /*font-size: 1rem;*/
                font-weight: bold;
                /*margin-bottom: 0.4rem;*/
                text-transform: uppercase;
            }

            .final-price {
                font-size: 1.3rem;
                font-style: normal;
                font-weight: 800;
                color: var(--theme-color);
            }

            .small {
                color: rgba(0,0,0,0.6);
                font-weight: 500;
                line-height: 1rem;
            }
        }
    }
}

/*
    END OF COPIED STYLES FROM OLD GARRAMPA
 */