@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Montserrat:wght@400;500;600&family=Open+Sans:wght@400;600&display=swap');

body {
width: 100%;
height: 100%;
}
h1, h2, h3, h4, h5, h6 {
color: #1a1a1a;
}
legend {
padding: 7px 0;
margin-bottom: 20px;
border-bottom: 1px solid #e5e5e5;
}
label {
font-size: 12px;
font-weight: normal;
}
/* Chrome border line */
button:focus {
outline: none !important;
}
/* container */
#container {
width: 100%;
min-height: 100%;
position: absolute;
margin-bottom: 300px;
}
/* content */
#content, #column-left, #column-right {
padding-bottom: 730px;
}
@media (min-width: 576px) {
#content, #column-left, #column-right {
padding-bottom: 400px;
}
}
#alert {
z-index: 9999;
position: fixed;
top: 30%;
left: 50%;
width: 320px;
margin-left: -160px;
}
@media (min-width: 992px) {
#alert {
width: 600px;
margin-left: -300px;
}
}
@media (min-width: 1140px) {
#alert {
width: 600px;
margin-left: -300px;
}
}
@media (min-width: 1320px) {
#alert {
width: 600px;
margin-left: -300px;
}
}
#alert .alert {
margin-bottom: 15px;
}
#alert .alert-primary {
box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}
#alert .alert-secondary {
box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}
#alert .alert-success {
box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}
#alert .alert-warning {
box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}
#alert .alert-danger {
box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}
#alert .alert-info {
box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}
#alert .alert-light {
box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}
#alert .alert-dark {
box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}
/* top */
#top {
background-color: var(--bs-tertiary-bg);
border-bottom: 1px solid var(--bs-border-color);
margin-bottom: 20px;
position: relative;
padding-bottom: 5px;
}
#top ul.list-inline {
margin-bottom: 0;
}
#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span {
font-size: 1.1em;
color: var(--bs-gray-600);
line-height: 40px;
vertical-align: middle;
padding: 10px 0px 5px 0px;
}
/* logo */
#logo {
text-align: center;
margin: 7px 0 7px 0;
}
#logo img {
max-width: 200px;
}
@media (min-width: 768px) {
#logo {
text-align: left;
}
}
/* search */
#search {
margin-bottom: 10px;
}
#search .form-control-lg {
height: 40px;
font-size: 12px;
line-height: 20px;
padding: 0 10px;
}
#search .btn-lg {
font-size: 15px;
line-height: 18px;
padding: 0.57rem 35px;
text-shadow: 0 1px 0 #FFF;
}
/* cart */
#cart {
margin-bottom: 10px;
}
#cart .img-thumbnail {
min-width: 100px;
}
#cart .btn-lg {
font-size: 15px;
line-height: 18px;
padding: 14px 35px;
}
#cart .dropdown-menu {
background: #eee;
}
#cart .dropdown-menu li {
min-width: 300px;
}
@media (max-width: 768px) {
#cart .dropdown-menu li {
min-width: 100%;
}
}
/* menu */
#menu {
background-color: #0F5A38;
background-image: linear-gradient(to bottom, #137048, #0D4D30);
background-repeat: repeat-x;
border: 1px solid #0D4D30;
border-color: #0D4D30 #0D4D30 #0A3F28;
min-height: 40px;
border-radius: 4px;
padding: 0 1rem;
margin-bottom: 20px;
}
#menu .navbar-nav > li > a {
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
padding: 10px 15px 10px 15px;
background-color: transparent;
}
#menu .navbar-nav > li > a:hover {
background-color: rgba(0, 0, 0, 0.1);
}
#menu .dropdown-menu {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
#menu .dropdown-inner {
display: flex;
flex-direction: column;
}
#menu .dropdown-inner ul {
width: 100%;
min-width: 200px;
}
@media (min-width: 960px) {
#menu .dropdown:hover .dropdown-menu {
display: block;
}
#menu .dropdown-inner {
flex-direction: row;
}
#menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
left: -200px;
}
#menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
left: -400px;
}
#menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
left: -200px;
}
#menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
left: -400px;
}
#menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
left: -600px;
}
}
#category {
float: left;
font-size: 16px;
font-weight: 700;
line-height: 40px;
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .navbar-toggler i {
color: #fff;
border-color: #fff;
font-size: 0.9em;
}
/* default bootstrap changes */
div.required .col-form-label:before, div.required .form-label:before {
content: "";
color: #F00;
font-weight: bold;
}
.form-switch-lg {
font-size: 20px;
min-height: 30px;
line-height: 30px;
}
.nav-tabs {
margin-bottom: 15px;
}
.form-check .form-check-input {
margin-top: 0.25rem;
}
@media (min-width: 768px) {
.col-form-label {
text-align: right;
}
}
/* footer */
footer {
border: 1px solid #000000;
position: absolute;
bottom: -1px;
width: 100%;
padding-top: 30px;
background-color: #303030;
border-top: 1px solid #ddd;
color: #e2e2e2;
}
footer hr {
border-top: none;
border-bottom: 1px solid #666;
}
footer a {
color: #ccc;
text-decoration: none;
}
footer a:hover {
color: #fff;
}
footer h5 {
font-size: 13px;
font-weight: bold;
color: #fff;
margin-top: 10px;
margin-bottom: 10px;
}
/* breadcrumb */
.breadcrumb {
margin: 0 0 20px 0;
padding: 8px 0;
border: 1px solid var(--bs-border-color);
border-radius: var(--bs-border-radius);
background-color: var(--bs-tertiary-bg);
}
.breadcrumb i {
font-size: 15px;
}
.breadcrumb > li.breadcrumb-item {
text-shadow: 0 1px 0 #FFF;
padding: 0 20px;
position: relative;
white-space: nowrap;
}
.breadcrumb > li.breadcrumb-item > a {
text-decoration: none;
}
.breadcrumb > li.breadcrumb-item:after {
content: "";
display: block;
position: absolute;
top: -3px;
right: -5px;
width: 29px;
height: 29px;
border-right: 1px solid var(--bs-border-color);
border-bottom: 1px solid var(--bs-border-color);
transform: rotate(-45deg);
}
.breadcrumb > li.breadcrumb-item + li:before {
content: "";
padding: 0;
}
.product-thumb {
border: 1px solid #ddd;
position: relative;
height: 100%;
}
.product-thumb .image {
text-align: center;
}
.product-thumb .image a:hover {
opacity: 0.8;
}
.product-thumb .description {
padding: 15px;
margin-bottom: 45px;
}
.product-thumb .description h4 {
font-weight: bold;
}
.product-thumb .button {
display: flex;
position: absolute;
width: 100%;
bottom: 0;
}
.product-thumb .button button {
width: 33.33%;
border: none;
border-top: 1px solid var(--bs-border-color);
background-color: var(--bs-tertiary-bg);
color: var(--bs-gray-600);
line-height: 38px;
text-align: center;
}
.product-thumb .button button:hover {
color: var(--bs-gray-600);
background-color: #ddd;
text-decoration: none;
cursor: pointer;
}
.product-thumb .button button + button {
border-left: 1px solid var(--bs-border-color);
}
@media (min-width: 960px) {
.product-list .product-thumb {
display: flex;
}
.product-list .product-thumb .image {
flex-direction: column;
margin-bottom: 0px;
}
.product-list .product-thumb .content {
flex-direction: column;
flex: 75%;
position: relative;
}
.product-list .product-thumb .button {
border-left: 1px solid #ddd;
width: calc(100% - 15px);
margin-left: 15px;
}
}
.rating .fa-stack {
width: 20px;
}
.rating .fa-star {
color: #999;
font-size: 15px;
}
.rating .fa-star {
color: #FC0;
font-size: 15px;
}
.rating .fa-star + .fa-star {
color: #E69500;
}
/* product list */
.price {
color: #444;
}
.price-new {
font-weight: 600;
}
.price-old {
color: #dc512c;
text-decoration: line-through;
}
.price-tax {
color: #999;
font-size: 12px;
display: block;
}
/* blog */
.blog-thumb {
border: 1px solid #ddd;
margin-bottom: 15px;
}
.blog-thumb h4 {
font-weight: bold;
}
.blog-thumb .image {
text-align: center;
margin-bottom: 15px;
}
.blog-thumb .image a:hover {
opacity: 0.8;
}
.blog-thumb .description {
padding: 15px;
}
/* Theme Custom CSS */
#cookie {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 150px;
z-index: 9999;
opacity: 0.95;
color: #ecf0f1;
background: #343a40;
}
#cookie div {
font-size: 16px;
color: #FFFFFF;
}

/* ==========================================================================
RESTORE SKIN v2 — sobre OpenCart 4.1.0.4 (Bootstrap 5.3)
Solo CSS. No modifica bootstrap.css ni ningún .twig.
Verde de marca: #0F5A38
Tipografías: Cormorant Garamond (títulos) + Montserrat (cuerpo/UI)
========================================================================== */

/* 1) Variables de Bootstrap: cambian links, .text-primary, .bg-primary, foco, nav, paginación */
:root,
[data-bs-theme="light"] {
--bs-blue: #0F5A38;
--bs-primary: #0F5A38;
--bs-primary-rgb: 15, 90, 56;
--bs-primary-text-emphasis: #062A1A;
--bs-primary-bg-subtle: #E7F0EB;
--bs-primary-border-subtle: #C3D9CE;
--bs-link-color: #0F5A38;
--bs-link-color-rgb: 15, 90, 56;
--bs-link-hover-color: #0C4A2F;
--bs-link-hover-color-rgb: 12, 74, 47;
--bs-focus-ring-color: rgba(15, 90, 56, 0.25);
--restore-brand: #0F5A38;
--restore-brand-dark: #0C4A2F;
--restore-brand-darker: #0A3F28;
}

/* 2) Tipografía: Montserrat para cuerpo/UI, Cormorant Garamond para títulos */
body {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 400;
color: #222;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: 'Cormorant Garamond', Georgia, serif;
font-weight: 600;
color: #1a1a1a;
letter-spacing: 0.01em;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #1a1a1a; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: var(--restore-brand); }

/* Títulos hero / títulos grandes con más presencia editorial */
h1, .h1 {
font-size: 2.6rem;
line-height: 1.15;
}
@media (max-width: 768px) {
h1, .h1 { font-size: 2rem; }
}

/* 3) Botones Montserrat (los colores están fijos en bootstrap.css, se reemplazan las variables locales) */
.btn {
font-family: 'Montserrat', Arial, sans-serif;
}
.btn.btn-primary {
--bs-btn-bg: #0F5A38;
--bs-btn-border-color: #0F5A38;
--bs-btn-hover-bg: #0C4A2F;
--bs-btn-hover-border-color: #0A3F28;
--bs-btn-focus-shadow-rgb: 15, 90, 56;
--bs-btn-active-bg: #0A3F28;
--bs-btn-active-border-color: #093822;
--bs-btn-disabled-bg: #0F5A38;
--bs-btn-disabled-border-color: #0F5A38;
font-weight: 500;
letter-spacing: 0.02em;
}
.btn.btn-outline-primary {
--bs-btn-color: #0F5A38;
--bs-btn-border-color: #0F5A38;
--bs-btn-hover-bg: #0F5A38;
--bs-btn-hover-border-color: #0F5A38;
--bs-btn-focus-shadow-rgb: 15, 90, 56;
--bs-btn-active-bg: #0F5A38;
--bs-btn-active-border-color: #0F5A38;
--bs-btn-disabled-color: #0F5A38;
--bs-btn-disabled-border-color: #0F5A38;
font-weight: 500;
}

/* 4) Barra superior */
#top {
background-color: #F8F8F8;
border-bottom: 1px solid #e5e5e5;
font-family: 'Montserrat', Arial, sans-serif;
}
#top .list-inline-item > a,
#top .list-inline-item .dropdown > a,
#top .list-inline-item .dropdown > span,
#top .btn-link,
#top .dropdown-toggle {
color: #666;
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 400;
}
#top .list-inline-item > a:hover,
#top .list-inline-item .dropdown > a:hover,
#top .list-inline-item .dropdown > span:hover,
#top .btn-link:hover {
color: var(--restore-brand);
text-decoration: none;
}

/* 5) Menú principal Montserrat */
#menu {
font-family: 'Montserrat', Arial, sans-serif;
}
#menu .navbar-nav > li > a {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 500;
letter-spacing: 0.02em;
}
#menu .navbar-nav > li > a:hover,
#menu .navbar-nav > li.show > a {
background-color: rgba(0, 0, 0, 0.1);
color: #fff;
}
#menu .dropdown-item {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 400;
}
#menu .dropdown-item:hover,
#menu .dropdown-item:focus {
background-color: transparent;
color: var(--restore-brand);
}
.dropdown-menu {
--bs-dropdown-link-active-bg: #0F5A38;
--bs-dropdown-link-hover-color: #0F5A38;
font-family: 'Montserrat', Arial, sans-serif;
}

/* 6) Precios Montserrat, ofertas, paginación, formularios */
.price {
font-family: 'Montserrat', Arial, sans-serif;
}
.price-new {
color: var(--restore-brand);
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 600;
}
.badge.bg-danger { background-color: #f89406 !important; }
.pagination {
--bs-pagination-active-bg: #0F5A38;
--bs-pagination-active-border-color: #0F5A38;
--bs-pagination-color: #0F5A38;
--bs-pagination-hover-color: #0C4A2F;
font-family: 'Montserrat', Arial, sans-serif;
}
.nav-pills { --bs-nav-pills-link-active-bg: #0F5A38; }
.list-group {
--bs-list-group-active-bg: #0F5A38;
--bs-list-group-active-border-color: #0F5A38;
}
.form-check-input:checked { background-color: #0F5A38; border-color: #0F5A38; }
.form-control:focus, .form-select:focus {
border-color: #7FB39D;
box-shadow: 0 0 0 .25rem rgba(15, 90, 56, .25);
}
.form-control, .form-select, input, textarea, select {
font-family: 'Montserrat', Arial, sans-serif;
}

/* Descripciones de producto Montserrat Regular */
.product-description,
.tab-pane,
#tab-description {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 400;
}

/* 7) Pie de página: enlaces con hover verde claro */
footer {
font-family: 'Montserrat', Arial, sans-serif;
}
footer h5 {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
}
footer a:hover { color: #5FA382; }

/* ==========================================================================
RESTORE SKIN — Fase 2: tarjetas de producto (category, home, search, related)
========================================================================== */
.product-thumb {
transition: box-shadow .2s ease, transform .2s ease;
font-family: 'Montserrat', Arial, sans-serif;
}
.product-thumb:hover {
box-shadow: 0 4px 14px rgba(0,0,0,0.12);
transform: translateY(-2px);
}
.product-thumb .description {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 400;
}
.product-thumb .description h4 {
font-family: 'Cormorant Garamond', Georgia, serif;
font-weight: 600;
}
.product-thumb .description h4 a { color: #222; }
.product-thumb .description h4 a:hover { color: var(--restore-brand); }
.product-thumb .price,
.product-thumb .price-new,
h2 .price-new {
color: var(--restore-brand);
}
.product-thumb .price-old,
.price-old {
color: #999;
}
/* Botones circulares de carrito/wishlist/comparar sobre la tarjeta */
.product-thumb .button button {
font-family: 'Montserrat', Arial, sans-serif;
}
.product-thumb .button button:hover {
color: #fff;
background-color: var(--restore-brand);
}

/* ==========================================================================
RESTORE SKIN — Fase 3: página de producto individual
========================================================================== */
/* Pestañas Montserrat: texto verde cuando está activa */
.nav-tabs {
--bs-nav-tabs-link-active-color: var(--restore-brand);
}
.nav-tabs .nav-link {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 500;
color: #282828;
}
.nav-tabs .nav-link:hover {
color: var(--restore-brand);
}
/* Miniaturas de imágenes adicionales: resalte verde al pasar el mouse */
#product-info .image a img.img-thumbnail {
transition: border-color .15s ease;
}
#product-info .image a:hover img.img-thumbnail,
#product-info .image a:focus img.img-thumbnail {
border-color: var(--restore-brand);
}
/* Precio grande junto al título Montserrat SemiBold */
#product-info h2 .price-new {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 600;
}
/* Título del producto en Cormorant Garamond */
#product-info h1 {
font-family: 'Cormorant Garamond', Georgia, serif;
font-weight: 600;
}
/* Botón principal "Agregar al carrito" Montserrat Medium, más alto */
#button-cart {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 500;
padding-top: .65rem;
padding-bottom: .65rem;
letter-spacing: 0.03em;
}

/* ==========================================================================
RESTORE SKIN — Fase 4: carrito y checkout
========================================================================== */
#cart .btn-dark:hover { background-color: #000; }
#cart .table thead th {
font-family: 'Montserrat', Arial, sans-serif;
font-weight: 600;
}
.form-check-input:checked ~ .form-check-label,
.form-check:has(.form-check-input:checked) {
color: #222;
}
.modal-header .fa-credit-card { color: var(--restore-brand); }
/* Checkout Montserrat */
.checkout, #checkout {
font-family: 'Montserrat', Arial, sans-serif;
}
