/* ================================================ */
/* OPENCART 3.0.4.0 - TEMA PERSONALIZADO */
/* ================================================ */

/* Importação dos estilos customizados */
@import url('custom/variables.css');
@import url('custom/common.css');
@import url('custom/header.css');
@import url('custom/search.css');
@import url('custom/account.css');
@import url('custom/product.css');
@import url('custom/cart.css');
@import url('custom/checkout.css');
@import url('custom/custom-modal.css');

/* ================================================ */
/* RESET E ELEMENTOS BASE */
/* ================================================ */

/* Aplicação global da fonte Gilroy */
html, body, input, button, select, textarea, 
h1, h2, h3, h4, h5, h6, a, label, legend, 
.btn, .dropdown-menu, .product-thumb, .caption {
    font-family: var(--font-family) !important;
    letter-spacing: 0.8px !important;
}

/* Reset de elementos */
img {
    border: none !important;
    outline: none !important;
}

img:focus {
    outline: none !important;
    border: none !important;
}

a img {
    border: none !important;
    outline: none !important;
}

/* ================================================ */
/* CONFIGURAÇÕES GLOBAIS */
/* ================================================ */

/* Configurações do body */
body {
    font-family: var(--font-family) !important;
    font-weight: 400;
    color: var(--text-color);
    font-size: var(--font-size-base);
    /* line-height: 20px; */
    width: 100%;
    background-color: var(--background-light);
}

/* Tipografia base */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 400;
    margin: 10px 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.9rem; }
h4 { font-size: 1.7rem; }
h5 { font-size: 16px; }
h6 { font-size: 16px; }

a {
    /* color: var(--link-color); */
    color: var(--text-color);
}

a:hover {
    text-decoration: none;
}

b,
strong {
    font-weight: 500 !important;
}

p {
    text-align: justify !important;
}

/* ================================================ */
/* LAYOUTS E CONTAINERS */
/* ================================================ */

#content {
    min-height: 670px;
}

.custom-content {
    background: var(--background-white) !important;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-medium) !important;
}

.swiper-viewport {
    margin: 0 0 20px 0 !important;
}

@media (max-width: 768px) {
    .custom-content {
        margin-bottom: var(--spacing-lg);
    }
}

/* ================================================ */
/* FORMULÁRIOS E CONTROLES */
/* ================================================ */

legend {
    font-size: var(--font-size-base);
    padding: 7px 0px;
}

label {
    font-size: 17px;
    font-weight: normal;
}

/* Form controls */
select.form-control, 
textarea.form-control, 
input[type="text"].form-control, 
input[type="password"].form-control, 
input[type="datetime"].form-control, 
input[type="datetime-local"].form-control, 
input[type="date"].form-control, 
input[type="month"].form-control, 
input[type="time"].form-control, 
input[type="week"].form-control, 
input[type="number"].form-control, 
input[type="email"].form-control, 
input[type="url"].form-control, 
input[type="search"].form-control, 
input[type="tel"].form-control, 
input[type="color"].form-control {
    font-size: var(--font-size-base);
    margin: var(--spacing-sm) 0;
    min-height: 38px;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.form-control:focus {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.input-group input, 
.input-group select, 
.input-group .dropdown-menu, 
.input-group .popover {
    font-size: 15px;
}

.input-group .input-group-addon {
    font-size: 12px;
    height: 30px;
}

.form-group {
    margin-bottom: 0 !important;
}

.panel-title {
    font-size: 17px;
}

/* ================================================ */
/* FOOTER */
/* ================================================ */

footer {
    background-color: var(--primary-color);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
}

footer .container a,
footer .container h5,
footer .container p {
    color: #fff;
}

footer .container a:hover,
footer .container h5:hover,
footer .container p:hover {
    color: #fff;
    text-decoration: none;
}

/* ================================================ */
/* BREADCRUMB */
/* ================================================ */

.breadcrumb {
    padding: 5px 0 5px 10px;
    border: none;
    background: transparent;
    border-radius: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0px !important;
}

.breadcrumb > li {
    text-shadow: none;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
    color: var(--text-color);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.breadcrumb > li:not(:last-child) {
    margin-right: 24px;
}

.breadcrumb > li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.breadcrumb > li a:hover {
    color: var(--link-color);
}

.breadcrumb > li.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb > li + li:before {
    content: '';
    padding: 0;
}

.breadcrumb > li:after {
    content: '\f285';
    font-family: bootstrap-icons !important;
    font-size: 12px;
    color: #666;
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 400;
}

.breadcrumb > li:last-child:after {
    content: none;
}

.breadcrumb i {
    font-size: 16px;
    margin-right: 8px;
    color: #666;
}

/* ================================================ */
/* BOTÕES GLOBAIS */
/* ================================================ */

.buttons {
    margin: 1em 0;
}

.btn {
    /* padding: 7.5px 12px; */
    font-size: var(--font-size-base);
    border: 1px solid #cccccc;
    border-radius: var(--radius-sm);
    outline-offset: unset !important;
    outline: none !important;
    height: 40px !important;
    line-height: unset !important;
    width: 100% !important;
}

/* Botões primários */
.btn-primary {
    color: #fff !important;
    font-size: var(--font-size-base);
    background-color: var(--primary-color) !important;
    /* min-height: 40px !important; */
    /* width: 100% !important; */
    border: none;
    align-items: center !important;
}

 .btn-default {
    align-items: center !important;
}

/* Botões específicos */
.btn-lg.btn-primary,
.btn-cart {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.btn-lg.btn-primary:hover,
.btn-cart:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* ================================================ */
/* TABELAS GLOBAIS */
/* ================================================ */

/* Reset de bordas */
.table {
    border: none !important;
}

.table-responsive {
    border: none;
}

.table th,
.table td {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.table thead:first-child tr:first-child th,
.table tbody:first-child tr:first-child th,
.table tbody:first-child tr:first-child td {
    border-top: none !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.table tbody:last-child tr:last-child th,
.table tbody:last-child tr:last-child td {
    border-bottom: 1px solid var(--border-color) !important;
}

/* Tabelas bordered */
.table-bordered {
    border: none !important;
}

.table-bordered th,
.table-bordered td {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td {
    border-top: none !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* Tabelas striped */
.table-striped > tbody > tr:nth-of-type(odd) {
    /* background-color: var(--background-light); */
    background-color: transparent;
}

/* ================================================ */
/* SUPORTE RTL */
/* ================================================ */

html[dir=rtl] .breadcrumb > li:not(:last-child) {
    margin-right: 0;
    margin-left: 24px;
}

html[dir=rtl] .breadcrumb > li:after {
    content: '\f053';
    right: unset;
    left: -16px;
}

/* ================================================ */
/* RESPONSIVIDADE GLOBAL */
/* ================================================ */

@media (max-width: 768px) {
    /* h1 { font-size: 24px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; } */
    
    .breadcrumb > li {
        font-size: 13px;
    }
    
    .breadcrumb > li:not(:last-child) {
        margin-right: 16px;
    }
    
    .breadcrumb > li:after {
        right: -10px;
        font-size: 10px;
    }

    .breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }
    .breadcrumb::-webkit-scrollbar {
        display: none !important;
    }
    .breadcrumb::-webkit-scrollbar-thumb {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; } */
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .breadcrumb > li:not(:last-child) {
        margin-right: 12px;
    }
    
    .breadcrumb > li:after {
        right: -8px;
        font-size: 8px;
    }
}