/* Variables base basadas en la imagen */
:root {
    --text-color: #333333;
    --text-light: #777777;
    --border-color: #e0e0e0;
    --bg-light: #f9f9f9;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.custom-shop-container {
    font-family: var(--font-main);
    color: var(--text-color);
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 60px;
    background: #ffffff;
}

/* --- HERO SECTION --- */
.shop-hero {
    background: linear-gradient(to bottom, #d0d0d0 0%, #8a8a8a 100%); /* Ajuste del gris según imagen */
    padding: 350px 40px 60px;
    color: white;
}

.shop-hero-title {
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 15px 0;
    color: #fff;
}

.shop-hero-desc {
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

/* --- TOOLBAR --- */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #f3f3f3;
    border-bottom: 1px solid var(--border-color);
}

.shop-results-count {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0; /* Override Woo default */
}

.shop-filters-custom {
    display: flex;
    gap: 15px;
}

.custom-select-wrapper select,
.woocommerce-ordering select {
    appearance: none;
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 30px 8px 15px;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px auto;
}

/* --- CATEGORY NAV --- */
.shop-category-nav {
    padding: 30px 40px;
    display: flex;
    justify-content: center;
}

.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.cat-btn:hover {
    border-color: var(--text-color);
}

.cat-btn.active {
    background-color: #4a4a4a; /* Gris oscuro según imagen */
    color: white;
    border-color: #4a4a4a;
}

/* --- PRODUCTS GRID --- */
.custom-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.custom-product-card {
    text-align: left;
    list-style: none; /* overrides default woo li */
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5; /* Aproximado según la imagen */
    overflow: hidden;
    margin-bottom: 15px;
    background: #f0f0f0;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.custom-product-card:hover .product-image-wrapper img {
    transform: scale(1.03);
}

.product-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 5px 0;
    color: var(--text-color);
    font-family: "inter";

}

.product-short-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-family: 'IBM Plex Sans';
}
.product-short-desc p { margin: 0; }

.product-price {
  font-size: 20px;
    letter-spacing: -0.03em;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Ocultar elementos por defecto de Woo que puedan molestar */
.woocommerce-result-count, .woocommerce-ordering { float: none; margin: 0; }

/* Responsive */
@media (max-width: 992px) {
    .custom-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .custom-products-grid { grid-template-columns: 1fr; padding: 0 20px;}
    .shop-toolbar { flex-direction: column; gap: 15px; align-items: flex-start; padding: 20px;}
    .shop-hero { padding: 60px 20px 40px; }
}

/* --- SOBRE NOSOTROS (ABOUT PAGE) --- */
.custom-about-container {
    font-family: var(--font-main, -apple-system, sans-serif);
    color: var(--text-color, #333);
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* Hero */
.about-hero {
    background: linear-gradient(to bottom, #d0d0d0 0%, #8a8a8a 100%);
    padding: 120px 40px;
    text-align: center;
    color: white;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin: 0 0 15px 0;
    color: #fff;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Intro Section */
.about-intro {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-intro-text {
    flex: 1;
}

.about-intro-text h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.about-intro-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    font-family: 'IBM Plex Sans';
}

.about-intro-image {
    flex: 1;
    aspect-ratio: 4/3;
    background: #e0e0e0;
    overflow: hidden;
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values Grid */
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 40px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.value-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Call to Action */
.about-cta {
    text-align: center;
    padding: 80px 40px 0;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.btn-shop {
    display: inline-block;
    padding: 15px 40px;
    background-color: #4a4a4a;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-shop:hover {
    background-color: #222;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-intro { flex-direction: column; }
    .about-values { grid-template-columns: 1fr; gap: 30px; }
    .about-hero { padding: 80px 20px; }
}