:root {
    --palacio-yellow: #FFC72C;
    --palacio-yellow-dark: #d69f11; 
    --palacio-black: #181818;
    --gray-separator: #a0a0a0; 
    --gray-border: #ebebeb;
    --gray-search-bg: #F9F9F9;
    --gray-search-border: #d8d8d8;
    --gray-cookies-bg: #FAFAFA;
    --text-gray: #4d4d4d;
    --placeholder-gray: #e0e0e0;
    --white: #ffffff;
    --font-stack: 'Montserrat', Arial, sans-serif;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #666666 #d4d4d4;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #d4d4d4;
}

::-webkit-scrollbar-thumb {
    background: #666666;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4d4d4d;
}

::-webkit-scrollbar-button:vertical:decrement {
    background: #666666 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 14l5-5 5 5z"/></svg>') no-repeat center center;
    background-size: 8px;
    height: 12px;
}

::-webkit-scrollbar-button:vertical:increment {
    background: #666666 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center center;
    background-size: 8px;
    height: 12px;
}

::-webkit-scrollbar-button:hover {
    background-color: #4d4d4d;
}

body {
    font-family: var(--font-stack);
    margin: 0;
    padding: 0;
    color: var(--palacio-black);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1356px;
    margin: 0 auto;
    padding: 0 40px; 
    box-sizing: border-box;
}

.container-full {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.scrolls-away-container {
    width: 100%;
    position: relative;
    z-index: 2000;
}

.top-black-bar-wrapper {
    width: 100%;
    background-color: #000000;
}

.top-bar-content {
    height: 51.5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.text-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2px;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    text-align: center;
    width: 100%;
    font-size: 11px;
    color: var(--white);
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.yellow-text {
    color: var(--palacio-yellow);
    font-weight: 700;
    margin-right: 4px;
    text-transform: uppercase;
}

.white-text strong {
    font-weight: 700;
}

.static-promo-text {
    font-size: 9px;
    color: #ffffff;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.2px;
}

.services-nav-wrapper {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}

.services-list {
    height: 32px; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 500;
}

.services-list li {
    padding: 0 28px;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.services-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background-color: var(--gray-separator); 
}

.sticky-header-container {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.header-main-wrapper {
    width: 100%;
    background: var(--white);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0; 
    position: relative;
}

.logo-container {
    width: 135px; 
    height: auto;
    display: flex;
    align-items: center;
    margin-left: 40px; 
    margin-top: 5px; 
    margin-bottom: 5px; 
    position: relative;
    z-index: 2;
}

.main-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center; 
}

.search-container {
    width: 100%;
    max-width: 631px;
    height: 40px;
    background: var(--gray-search-bg);
    border: 1px solid var(--gray-search-border);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: absolute; 
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.search-submit {
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    z-index: 3;
}

.search-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-stack);
    text-align: left; 
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.search-input::placeholder {
    color: transparent; 
}

.custom-placeholder {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--palacio-black);
    font-size: 11px;
    font-weight: 500;
    pointer-events: none;
    z-index: 1;
}

.search-input:not(:placeholder-shown) + .custom-placeholder {
    display: none;
}

.user-actions {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-right: 40px; 
}

.action-item {
    display: flex;
    align-items: center;
    color: var(--palacio-black);
    cursor: pointer;
}

.action-item svg {
    transition: stroke 0.2s ease;
}

.action-item:hover svg {
    stroke: var(--palacio-yellow);
}

.account-item {
    display: flex;
    align-items: center;
    margin-right: 80px; 
}

.account-item span {
    font-size: 11px;
    font-weight: 600;
    margin-left: 6px;
}

.wishlist-item {
    margin-right: 20px; 
}

.cart-item {
    display: flex;
    align-items: center;
}

.tooltip-custom {
    position: relative;
}

.tooltip-custom::after {
    content: attr(data-tooltip);
    position: absolute;
    background-color: #000000;
    color: #ffffff;
    font-size: 11px;
    font-family: var(--font-stack);
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
    pointer-events: none;
}

.tooltip-custom:hover::after {
    opacity: 1;
    visibility: visible;
}

.logo-container.tooltip-custom::after {
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.cart-item.tooltip-custom::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
}

.main-nav-wrapper {
    width: 100%;
    background: var(--white);
    border-top: 2px solid var(--palacio-yellow);
    border-bottom: 1px solid var(--gray-border);
    position: relative;
}

.main-menu-container {
    height: 42px;
}

.categories-navigation {
    height: 100%;
}

.main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.category {
    font-size: 13px;
    font-weight: 700; 
    color: var(--palacio-black);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5px; 
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: -0.4px; 
    position: relative;
}

.category.yellow-bg {
    background-color: var(--palacio-yellow);
    padding: 0 16px;
    margin-left: 0; 
}

.main-menu .category:not(.yellow-bg)::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 5px; 
    right: 5px;
    height: 3px; 
    background-color: var(--palacio-yellow-dark); 
    transform: scaleX(0); 
    transform-origin: center; 
    transition: transform 0.3s ease-out; 
}

.main-menu .category:not(.yellow-bg):hover::after,
.main-menu .category.active-category:not(.yellow-bg)::after {
    transform: scaleX(1); 
}

.mega-menu-wrapper {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-top: 1px solid var(--gray-border);
    transition: all 0.2s ease;
}

.mega-menu-wrapper.active {
    visibility: visible;
    opacity: 1;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 20px;
}

.col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    color: var(--palacio-black);
}

.col ul li {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 15px;
    cursor: pointer;
}

.col ul li:hover {
    text-decoration: underline;
    color: var(--palacio-black);
}

.hero-image-wrapper {
    width: 100%;
    height: 500px;
    background-color: var(--placeholder-gray);
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-previous, .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 2;
}

.carousel-control-previous {
    left: 40px;
}

.carousel-control-next {
    right: 40px;
}

.arrow-hidden {
    display: none !important;
}

.promo-banner-section {
    width: 100%;
    height: 61px;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.promo-banner-content {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.promo-banner-content .promo-number {
    color: var(--palacio-yellow);
    font-size: 28px;
    font-weight: 700;
    margin: 0 4px;
}

.squares-grid-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.squares-grid-section .container {
    max-width: 1356px; 
    padding: 0 40px; 
    box-sizing: border-box;
}

.squares-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: center;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.grid-image {
    width: 100%; 
    height: auto; 
    aspect-ratio: 1/1; 
    max-width: 223px; 
    object-fit: cover;
    margin-bottom: 15px;
}

.grid-text {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #434343;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.exclusive-selection-section {
    padding-bottom: 60px;
    text-align: left;
}

.exclusive-selection-section .container {
    max-width: 98%;
    padding: 0 15px;
}

.exclusive-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 30px;
    font-weight: normal;
    margin: 0 0 2px 0;
    color: #434343;
    letter-spacing: 0.5px;
}

.exclusive-title i {
    font-style: italic;
    font-weight: normal;
}

.exclusive-subtitle {
    font-size: 14px;
    font-family: var(--font-stack);
    font-weight: 400;
    color: #434343;
    margin: 0 0 15px 0;
}

.exclusive-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.exclusive-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.exclusive-image {
    width: 100%;
    aspect-ratio: 1.3 / 1;
    object-fit: cover;
    margin-bottom: 15px;
}

.exclusive-card-title {
    font-size: 18px;
    font-weight: 500;
    color: #5a5a5a;
    margin: 0 0 5px 0;
}

.exclusive-card-subtitle {
    font-size: 13px;
    font-weight: 300;
    color: #000000;
    margin: 0;
}

.maestria-section {
    padding-bottom: 60px;
    text-align: left;
}

.maestria-section .container {
    max-width: 98%;
    padding: 0 15px;
}

.maestria-main-title {
    margin-bottom: 15px;
}

.maestria-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
}

.maestria-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.maestria-image-container {
    width: 100%;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    background-color: var(--gray-search-bg);
    margin-bottom: 12px;
}

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

.maestria-text-container {
    width: 100%;
    text-align: left;
}

.maestria-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #5a5a5a;
    margin: 0;
}

.armonizan-section {
    padding-bottom: 60px;
    text-align: left;
}

.armonizan-section .container {
    max-width: 98%;
    padding: 0 15px;
}

.armonizan-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.armonizan-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.armonizan-image-container {
    width: 100%;
    aspect-ratio: 1.4 / 1;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.discount-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000000;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 0.5px;
}

.armonizan-card-title {
    font-size: 18px;
    font-weight: 500;
    color: #5a5a5a;
    margin: 0 0 5px 0;
}

.armonizan-card-subtitle {
    font-size: 13px;
    font-weight: 300;
    color: #000000;
    margin: 0;
}

.hogar-section {
    padding-bottom: 60px;
    text-align: left;
}

.hogar-section .container {
    max-width: 98%;
    padding: 0 15px;
}

.hogar-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.hogar-text-item {
    display: flex;
    flex-direction: column;
    padding-right: 15px;
}

.hogar-text-item .exclusive-title {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hogar-subtitle {
    font-size: 14px;
    font-family: var(--font-stack);
    font-weight: 400;
    color: #434343;
    margin: 0;
    line-height: 1.5;
}

.hogar-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.hogar-image-container {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.hogar-card-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #434343;
    margin: 0;
}

.banner-lg-section {
    padding-bottom: 60px;
}

.banner-lg-section .container {
    max-width: 1356px;
    padding: 0 40px;
    box-sizing: border-box;
}

.banner-lg-wrapper {
    display: flex;
    background-color: #f7f7f7;
    width: 100%;
    height: 400px;
    align-items: center;
    overflow: hidden;
}

.banner-lg-image-container {
    width: 68%;
    height: 100%;
}

.banner-lg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.banner-lg-content {
    width: 32%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    box-sizing: border-box;
}

.banner-lg-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 46px;
    font-weight: normal;
    margin: 0 0 20px 0;
    color: var(--palacio-black);
    letter-spacing: 1px;
}

.banner-lg-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #5a5a5a;
    margin: 0 0 10px 0;
}

.banner-lg-desc {
    font-size: 15px;
    font-weight: 400;
    color: #5a5a5a;
    margin: 0 0 30px 0;
    line-height: 1.5;
    max-width: 450px;
}

.banner-lg-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--palacio-black);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.vacaciones-section {
    padding-bottom: 20px;
    text-align: left;
}

.vacaciones-section .container {
    max-width: 98%;
    padding: 0 15px;
}

.vacaciones-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

.vacaciones-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vacaciones-image-container {
    width: 100%;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    background-color: var(--gray-search-bg);
    margin-bottom: 12px;
}

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

.vacaciones-card-title {
    font-size: 16px;
    font-weight: 400;
    color: #434343;
    margin: 0;
}

.banner-nuevo-section {
    padding-bottom: 40px;
    padding-top: 10px;
}

.banner-nuevo-section .container {
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.banner-nuevo-link {
    display: block;
    width: 100%;
    font-size: 0;
}

.banner-nuevo-image {
    width: 100%;
    height: auto;
    display: block;
}

.primavera-section {
    padding-bottom: 60px;
    text-align: left;
}

.primavera-section .container {
    max-width: 98%;
    padding: 0 15px;
}

.primavera-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 15px;
}

.primavera-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.primavera-image-container {
    width: 100%;
    aspect-ratio: 1.3 / 1;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--gray-search-bg);
}

.primavera-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.primavera-card-title {
    font-size: 18px;
    font-weight: 500;
    color: #5a5a5a;
    margin: 0 0 5px 0;
}

.primavera-card-subtitle {
    font-size: 13px;
    font-weight: 300;
    color: #000000;
    margin: 0;
}

.pasarela-section {
    padding-bottom: 15px;
    text-align: left;
}

.pasarela-section .container {
    max-width: 98%;
    padding: 0 15px;
}

.pasarela-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

.pasarela-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pasarela-image-container {
    width: 100%;
    aspect-ratio: 1 / 1.3;
    overflow: hidden;
    background-color: var(--gray-search-bg);
    margin-bottom: 12px;
}

.pasarela-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.pasarela-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #5a5a5a;
    margin: 0 0 5px 0;
}

.banner-app-section {
    padding-top: 10px;
    padding-bottom: 40px;
}

.container-full {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.banner-full-link {
    display: block;
    width: 100%;
    font-size: 0;
    margin-bottom: 40px;
}

.banner-full-image {
    width: 100%;
    height: auto;
    display: block;
}

.banner-ultimas-piezas-section {
    padding-bottom: 40px;
}

.marcas-cautivan-section {
    padding-bottom: 60px;
    text-align: left;
}

.marcas-cautivan-section .container {
    max-width: 98%;
    padding: 0 15px;
}

.marcas-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.marca-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.marca-image-container {
    width: 100%;
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
    background-color: var(--gray-search-bg);
    margin-bottom: 12px;
}

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

.marca-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #5a5a5a;
    margin: 0;
}

.cookie-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--gray-cookies-bg);
    border-top: 1px solid var(--gray-border);
    z-index: 2000;
}

.cookie-container-inner {
    height: 60px;
    display: flex;
    align-items: center;
}

.cookie-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.cookies-info {
    font-size: 14px;
    color: #000000;
    margin: 0;
    font-weight: 600; 
}

.cookies-link {
    color: #000000;
    text-decoration: underline;
    font-weight: 700;
}

.cookies-accept-btn {
    width: 230px;
    height: 35px;
    background: var(--palacio-black);
    color: var(--white);
    border: none;
    font-family: var(--font-stack);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}