/*
=============================================================
LUXE - Tienda de Moda de Lujo
Hoja de estilos principal
=============================================================
*/

/* 
=========================
Variables
=========================
*/

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #a67c52;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --grey-color: #6c757d;
    --light-grey: #e9ecef;
    --border-color: #dee2e6;
    --font-primary: 'Jost', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
    --shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

/* 
=========================
Base
=========================
*/

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-outline-dark {
    border-color: var(--dark-color);
    color: var(--dark-color);
}

.btn-outline-dark:hover {
    background-color: var(--dark-color);
    color: white;
}

.btn-outline-light {
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--grey-color);
    font-size: 1.1rem;
}

/* 
=========================
Top Bar
=========================
*/

.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: white;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

/* 
=========================
Navbar
=========================
*/

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 30px;
}

.navbar-nav [data-admin-only] .nav-link {
    font-weight: 700;
    color: var(--secondary-color);
}

.navbar-nav [data-admin-only].d-none .nav-link {
    display: none;
}

.nav-icons .nav-link {
    font-size: 1.2rem;
    padding: 0.5rem 0.7rem;
}

.nav-icons .nav-link span {
    font-size: 0.75rem;
    margin-left: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-icons .admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(166, 124, 82, 0.12);
    color: var(--secondary-color);
}

.nav-icons .admin-pill i {
    font-size: 0.85rem;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.7rem;
    background-color: var(--secondary-color);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(25%, -25%);
}

/* 
=========================
Hero Section
=========================
*/

.hero-section {
    height: 90vh;
    background: url('../img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 500px;
}

.hero-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
}

.hero-controls button {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-controls button:hover {
    background-color: var(--secondary-color);
}

/* 
=========================
Categories
=========================
*/

.category-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 400px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-content {
    text-align: center;
    padding: 1rem;
}

.category-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* 
=========================
About Section
=========================
*/

.about-section {
    background-color: #f9f9f9;
}

.about-content {
    padding: 1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--grey-color);
}

.about-feature {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
}

.about-feature h5 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* 
=========================
Products
=========================
*/

.product-card {
    margin-bottom: 2rem;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-height: 320px;
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    z-index: 2;
}

.product-img img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .product-actions {
    bottom: 20px;
    opacity: 1;
}

.product-action {
    width: 40px;
    height: 40px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    box-shadow: var(--shadow-sm);
    color: var(--dark-color);
}

.product-action:hover {
    background-color: var(--secondary-color);
    color: white;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--grey-color);
    margin-right: 0.5rem;
    font-weight: 400;
    font-size: 0.9rem;
}

.product-rating {
    color: var(--grey-color);
    font-size: 0.85rem;
}

.product-rating .fas, .product-rating .far {
    color: #ffc107;
}

/* 
=========================
Promo Banner
=========================
*/

.promo-banner {
    background-color: var(--light-color);
}

.promo-content {
    padding: 2rem;
}

.promo-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.promo-subtitle {
    margin-bottom: 2rem;
    color: var(--grey-color);
}

.promo-discount {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.discount-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-right: 1rem;
}

.discount-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 
=========================
Featured Products
=========================
*/

.featured-card {
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.featured-card:hover {
    box-shadow: var(--shadow-md);
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.featured-price {
    font-weight: 600;
    color: var(--secondary-color);
}

/* 
=========================
Testimonials
=========================
*/

.testimonial-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    padding: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #f8f8f8;
    border-top: 1px solid var(--light-grey);
}

.testimonial-avatar {
    font-size: 2.5rem;
    color: var(--grey-color);
    margin-right: 1rem;
}

.testimonial-info {
    flex-grow: 1;
}

.testimonial-info h5 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.testimonial-info span {
    color: var(--grey-color);
    font-size: 0.85rem;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.85rem;
}

/* 
=========================
Instagram Feed
=========================
*/

.instagram-item {
    position: relative;
    overflow: hidden;
}

.instagram-item img {
    transition: var(--transition);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay a {
    color: white;
    font-size: 1.5rem;
}

/* 
=========================
Newsletter
=========================
*/

.newsletter-form .form-control {
    height: 50px;
    border-radius: 0;
    border-color: var(--border-color);
}

.newsletter-form .btn {
    height: 50px;
    border-radius: 0;
}

/* 
=========================
Features
=========================
*/

.feature-item {
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--grey-color);
    margin-bottom: 0;
}

/* 
=========================
Footer
=========================
*/

.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.9);
    padding: 2rem 0; /* más espacio para que destaque */
    border-top: 4px solid var(--secondary-color); 
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-text {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 0.75rem;
    display: flex;
}

.contact-info li i {
    margin-right: 0.75rem;
    color: var(--secondary-color);
}

.payment-methods {
    max-height: 30px;
}

.border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* 
=========================
Animations (AOS)
=========================
*/

[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* 
=========================
Responsive
=========================
*/

@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .hero-controls button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-card {
        height: 300px;
    }
    
    .hero-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .hero-controls button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .promo-title {
        font-size: 1.8rem;
    }
    
    .discount-number {
        font-size: 2.5rem;
    }
}

/* 
=========================
Animaciones adicionales
=========================
*/

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.pulse {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 
=========================
Category Pages
=========================
*/

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 0;
    padding: 0.5rem 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--grey-color);
}

/* Category Banner */
.category-banner {
    padding: 3rem 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('../img/hero-bg.jpg') no-repeat center;
    background-size: cover;
    margin-bottom: 2rem;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.category-description {
    color: var(--grey-color);
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: 600px;
}

/* Filters */
.category-filters {
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.filter-heading {
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.filter-group {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.filter-list {
    list-style: none;
    padding-left: 0;
}

.filter-list li {
    margin-bottom: 0.5rem;
}

.filter-list a {
    color: var(--grey-color);
    transition: var(--transition);
}

.filter-list a:hover, .filter-list a.active {
    color: var(--secondary-color);
    text-decoration: none;
}

.filter-list a.active {
    font-weight: 600;
}

/* Price Range */
.range-slider {
    width: 100%;
    margin-bottom: 1rem;
}

.slider {
    width: 100%;
    height: 2px;
    background: var(--grey-color);
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
}

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

.price-input {
    width: 45%;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 0.4rem;
    font-size: 0.85rem;
}

.price-separator {
    font-weight: 500;
    color: var(--grey-color);
}

/* Color Options */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
    width: 48%;
}

.color-option input {
    display: none;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
}

.color-option input:checked + .color-swatch::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
}

.color-name {
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Size Options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-option {
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.size-option input:checked + .size-label {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    color: white;
}

/* Category Header */
.category-header {
    margin-bottom: 2rem;
}

.showing-results {
    color: var(--grey-color);
    font-size: 0.9rem;
}

.sorting-options .form-select {
    width: auto;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 0.4rem 2rem 0.4rem 0.75rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .category-filters {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .category-banner {
        padding: 2rem 0;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .color-option {
        width: 100%;
    }
}

/* 
=========================
About Page
=========================
*/

/* About Banner */
.about-banner {
    padding: 3rem 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('../img/hero-bg.jpg') no-repeat center;
    background-size: cover;
    margin-bottom: 2rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.about-subtitle {
    color: var(--grey-color);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Story */
.story-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.story-text {
    color: var(--grey-color);
    margin-bottom: 1.5rem;
}

/* Values */
.values-row {
    margin-top: 2rem;
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-text {
    color: var(--grey-color);
    margin-bottom: 0;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 1rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--grey-color);
    margin-bottom: 0;
}

/* Team */
.team-member {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    transition: var(--transition);
}

.team-member:hover .team-img img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.team-position {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--grey-color);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.team-social {
    display: flex;
    gap: 10px;
}

.team-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Responsive Timeline */
@media (max-width: 767px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 23px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 23px;
    }
}

/*
=========================
Collection Detail Pages
=========================
*/

.collection-hero {
    position: relative;
    padding: 6rem 0;
    color: white;
    background-size: cover;
    background-position: center;
}

.collection-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.collection-hero .container {
    position: relative;
    z-index: 1;
}

.collection-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.collection-hero p {
    max-width: 640px;
    font-size: 1.1rem;
}

.collection-overview {
    padding: 4rem 0;
}

.collection-overview .collection-text {
    padding: 1rem 0;
}

.collection-overview .collection-text .lead {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.collection-overview ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.collection-overview li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.collection-overview li i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
}

.signature-pieces {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.signature-pieces .section-title {
    margin-bottom: 1rem;
}

.signature-pieces .section-subtitle {
    margin-bottom: 2rem;
}

.collection-narrative {
    padding: 4rem 0;
}

.collection-narrative blockquote {
    font-size: 1.1rem;
    font-style: italic;
    border-left: 3px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--grey-color);
}

.collection-cta {
    padding: 4rem 0;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
}

.collection-cta .btn {
    margin-top: 1.5rem;
}

@media (max-width: 991.98px) {
    .product-img {
        min-height: 260px;
        padding: 1rem;
    }

    .collection-hero {
        padding: 4.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .collection-hero h1 {
        font-size: 2.2rem;
    }

    .collection-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .product-img {
        min-height: 200px;
        padding: 0.75rem;
    }
}

/* =========================
   Compact layout overrides
   - Valores conservadores pero más compactos para reducir gutters y paddings
   - Usa !important para forzar sobre clases de bootstrap/anteriores y facilitar pruebas rápidas
   Ajusta estos valores si quieres aún más compacto.
   ========================= */

/* Containers (reduce gutters globales) */
.container, .container-fluid {
    max-width: 1400px !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* Reduce Bootstrap-style gutters by narrowing .row negative margins and column paddings.
   This targets the common Bootstrap pattern: .row has negative margins and .col* have padding.
*/
.row {
    margin-left: -0.5rem !important;
    margin-right: -0.5rem !important;
}
.row > [class*="col-"] {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* Navbar slightly tighter */
.navbar {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Reduce horizontal paddings inside common content blocks */
.category-content,
.about-content,
.featured-content,
.promo-content,
.testimonial-content,
.collection-overview .collection-text {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* Product / card spacing */
.product-img {
    padding: 0.5rem !important;
    min-height: 260px; /* conserva aspecto pero ocupa más ancho visible */
}

.product-info {
    padding: 0.5rem 0.6rem !important;
}

.featured-content {
    padding: 1rem !important;
}

/* Promo, about and other blocks */
.promo-content {
    padding: 1rem !important;
}

.about-content {
    padding: 0.5rem !important;
}

/* Testimonials */
.testimonial-content {
    padding: 1rem !important;
}

/* Reduce footer vertical size (keeps visible top border) */
.footer {
    padding: 1rem 0 !important;
}

/* Misc small adjustments */
.section-title { margin-bottom: 0.4rem !important; }
.section-subtitle { margin-bottom: 0.6rem !important; }

/* Mobile specific - compress vertical paddings a bit */
@media (max-width: 767.98px) {
    .container, .container-fluid { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
    .hero-section { height: 78vh !important; }
}


/* Quick global override: reducir gutters laterales para toda la web
   - reduce el padding horizontal de los contenedores
   - amplía ligeramente el max-width para que el contenido ocupe más espacio
   Este es un cambio global y minimalista para que notes el efecto en todas las páginas.
*/
.container, .container-fluid {
    max-width: 1300px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

