* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #080808;
    color: #fff;
    line-height: 1.6;
    font-size: 0.95rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #000;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #e7452e;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: #e7452e;
    color: #fff;
}

.dropdown-menu a i {
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.header-social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 1rem;
}

.header-social-links .social-icon {
    color: #fff;
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-social-links .social-icon:hover {
    color: #e7452e;
    transform: translateY(-2px);
}

.header-social-links .social-icon i.fa-facebook:hover {
    color: #1877f2;
}

.header-social-links .social-icon i.fa-instagram:hover {
    color: #e4405f;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    color: #e7452e;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e7452e;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin: 0 1rem;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 25px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #e7452e;
    background: #333;
}

.search-input::placeholder {
    color: #888;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.search-results.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #444;
    cursor: pointer;
    transition: background 0.3s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #333;
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 0.75rem;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: 0.85rem;
    color: #e7452e;
    font-weight: 600;
}

.search-result-vendor {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

.search-result-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.search-whatsapp-btn {
    padding: 0.4rem 0.8rem;
    background: #0fc345;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.3s;
    white-space: nowrap;
}

.search-whatsapp-btn:hover {
    background: #0da83c;
}

.search-view-btn {
    padding: 0.4rem 0.8rem;
    background: #444;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background 0.3s;
    white-space: nowrap;
}

.search-view-btn:hover {
    background: #555;
}

.search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.search-loading {
    padding: 1rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 0.5rem 0 0 0;
    }

    .search-results {
        max-height: 300px;
    }
}


.search-result-vendor {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

.search-result-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.search-whatsapp-btn {
    padding: 0.4rem 0.8rem;
    background: #0fc345;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.3s;
}

.search-whatsapp-btn:hover {
    background: #0da83c;
}

.search-view-btn {
    padding: 0.4rem 0.8rem;
    background: #444;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.search-view-btn:hover {
    background: #555;
}

.music-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.music-page main.container {
    margin-top: 120px;
}

.player-card,
.playlist-card {
    background: #111;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #1b1b1b;
}

.player-display {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    margin-bottom: 1rem;
}

.player-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.playlist-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.playlist-item {
    background: #0c0c0c;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border: 1px solid #222;
    transition: background 0.2s ease;
}

.playlist-item:hover {
    background: #1f1f1f;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.category-btn {
    background: #1f1f1f;
    border: 1px solid #2c2c2c;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.category-btn:hover {
    background: #2f2f2f;
    border-color: #e7452e;
}

.contact-section {
    padding: 4rem 0 5rem;
    text-align: center;
}

.contact-section .section-title {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.contact-section .section-subtitle {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-section .section-description {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1rem;
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: #111;
    border-radius: 18px;
    border: 1px solid #1f1f1f;
    padding: 2.5rem;
    width: 100%;
    max-width: 820px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.contact-card h3 {
    color: #e7452e;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-loader {
    margin-bottom: 1.5rem;
}

.info-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #888;
    font-size: 0.95rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #222;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #e7452e;
    margin-top: 0.2rem;
}

.info-item-content h4 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    color: #fff;
}

.info-item-content p {
    margin: 0;
    color: #ccc;
}

.info-item-content a {
    color: #e7452e;
    text-decoration: none;
    transition: color 0.2s;
}

.info-item-content a:hover {
    color: #fff;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e7452e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    background: #090909;
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: #e7452e;
    color: #fff;
    transform: translateY(-3px);
}

.contacto-page main.container {
    margin-top: 120px;
}

.site-footer {
    background: #000;
    color: #fff;
    padding: 3rem 0 2rem;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

.footer-links h4 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #e7452e;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-links-list li {
    margin: 0;
}

.footer-links-list a {
    padding: 0.1rem 0;
    display: inline-block;
}

.footer-admin {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.site-footer .footer-admin-btn,
.site-footer .footer-admin-btn:link,
.site-footer .footer-admin-btn:visited,
.site-footer .footer-admin-btn:hover,
.site-footer .footer-admin-btn:active,
.site-footer .footer-admin-btn:focus {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #e7452e;
    background: transparent;
    color: #fff;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-footer .footer-admin-btn:hover,
.site-footer .footer-admin-btn:focus {
    background: #e7452e;
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
    color: #e7452e;
}

.hidden {
    display: none !important;
}

.product-page main {
    margin-top: 120px;
    padding: 2rem 0;
}

.breadcrumb {
    background: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    color: #333;
    border: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #e7452e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: start;
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
    background: #0a0a0a;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border: 2px solid #e7452e;
}

.product-info {
    padding: 1rem 0;
}

.product-meta {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0;
}

.product-meta .segmento,
.product-meta .categoria {
    display: block;
    margin: 0.25rem 0;
}

.product-title {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 1rem;
    font-weight: bold;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1rem;
}

.product-stock {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.product-vendor {
    margin-bottom: 1rem;
    color: #666;
    display: none;
}

.product-vendor a {
    color: #e7452e;
    text-decoration: none;
    font-weight: bold;
}

.product-description-short {
    margin: 1rem 0;
    color: #666;
    line-height: 1.6;
    font-style: italic;
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #e7452e;
}

.product-description-detailed {
    margin-top: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    border-top: 3px solid #e7452e;
    border: 1px solid #e0e0e0;
}

.product-description-detailed h3 {
    color: #e7452e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.product-description-detailed p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #2cb740;
    color: white;
    border-radius: 999px;
    border: none;
}

.btn-secondary:hover {
    background: #25a035;
}

.segmento-page {
    background: #141414;
    color: #fff;
    padding-bottom: 3rem;
    padding-top: 120px;
}

.segmento-hero {
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.segmento-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.segmento-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 1rem 1.5rem;
}

.
.segmento-header {
    background-color: #181818;
    padding: 24px 0;
}

.segmento-header .segmento-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    opacity: 0.6;
    margin-bottom: 4px;
    text-transform: uppercase;
    color: #e7452e;
}

.segmento-header .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.0;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

.categoria-page {
    background: #1c1c1c;
    padding: 40px 0;
    padding-top: 100px;
}

.category-context{
    width:100%;
    background:#f2f2f2;
    padding:16px 24px;
    margin-bottom:24px;
    border:none;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:24px;
}

.category-context .context-line{
    display:flex;
    align-items:baseline;
    gap:8px;
    font-size:14px;
    line-height:1.4;
}

.category-context .label{
    color:#777;
    font-weight:500;
    white-space:nowrap;
}

.category-context .value{
    color:#111;
    font-weight:600;
}

#sortSelect {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
}

#sortSelect:focus {
    outline: none;
    border-color: #e7452e;
}

.product-card.clickable {
    cursor: pointer;
}

.product-card.clickable:hover,
.product-card.clickable:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.product-actions-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.product-actions-card .btn {
    width: 100%;
    text-align: center;
}

.product-actions-card .btn,
.product-actions-card .btn:hover,
.product-actions-card .btn:focus,
.product-actions-card .btn:active {
    text-decoration: none;
}

.product-card {
    background: #1c1c1c;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid #2a2a2a;
    display: flex;
    gap: 1rem;
    color: #fff;
}

.product-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #fff;
}

.product-price {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.3rem;
}

.product-actions-card {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.product-card a,
.product-card a:hover,
.product-card a:focus,
.product-card a:active {
    text-decoration: none;
}

.product-card .btn {
    min-width: 180px;
}

.segmento-hero p {
    font-size: 1rem;
    color: #ccc;
}

.segmento-wrapper {
    background: #1a1a1a;
    padding: 3rem 0 1rem;
}

.segmento-wrapper .section-title {
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: #181818;
    border-radius: 18px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid transparent;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(231, 69, 46, 0.6);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.65);
}

.category-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #2c2c2c;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at top, #272727, #111);
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.category-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    background: #e7452e;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.category-card a:hover {
    background: #d63e2a;
    box-shadow: 0 10px 20px rgba(231, 69, 46, 0.35);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-btn {
    background: #e7452e;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
}

.quantity-btn:hover {
    background: #d63e2a;
}

.quantity-input {
    background: #ffffff;
    color: #333;
    border: 1px solid #e0e0e0;
    padding: 0.5rem;
    border-radius: 5px;
    width: 80px;
    text-align: center;
    font-size: 1.1rem;
}

.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #e7452e;
}

.loading i {
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.product-page main {
    margin-top: 120px;
}

@media (max-width: 768px) {
    .product-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.8rem;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-admin {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s;
}

.success-message.show {
    transform: translateX(0);
}

/* Category page layout */
.breadcrumb {
    margin-top: 140px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #e7452e;
    text-decoration: none;
}

.page-header {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    letter-spacing: 0.1em;
}

.products-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.filters-sidebar {
    background: #111;
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.products-grid > :empty {
    display: none;
}

.product-card {
    background: #111;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.product-card h3 {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.product-card p {
    color: #ccc;
    flex: 1;
}

.btn {
    background: #e7452e;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #d3341e;
}
.breadcrumb a {
    color: #e7452e;
    text-decoration: none;
}

.page-header {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    letter-spacing: 0.1em;
}

.segment-notice {
    margin: 1rem auto;
    max-width: 800px;
    background: #e7452e;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-weight: 600;
}

.loading,
.error-message {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.products-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.filters-sidebar {
    background: #111;
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.filters-sidebar label {
    display: block;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #ccc;
}

.filters-sidebar input[type="text"],
.filters-sidebar input[type="range"] {
    width: 100%;
    border-radius: 999px;
    border: none;
    background: #222;
    padding: 0.65rem 1rem;
    color: #fff;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #ccc;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-group label {
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
    color: #fff;
}

.checkbox-group input {
    margin-right: 0.35rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.product-card h3 {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.product-card p {
    color: #555;
    flex: 1;
}

.product-actions-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-card .btn {
    background: #e7452e;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    cursor: pointer;
}

.product-card .btn:hover {
    background: #d3341e;
}

.product-price {
    font-weight: 700;
    color: #222;
    font-size: 1rem;
}

.product-stock {
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 980px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .breadcrumb {
        margin-top: 110px;
        text-align: center;
    }

    .filters-sidebar {
        padding: 1rem;
    }
}

.hero {
    min-height: 80vh;
    background: url('https://doblerock.tecnovedadesweb.site/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-content {
    background: rgba(0,0,0,0.5);
    padding: 3rem;
    border-radius: 12px;
    color: #fff;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: 0.2em;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero .btn {
    background: #e7452e;
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.hero .btn:hover {
    background: #d3341e;
}

.section-title {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.categories {
    padding: 4rem 0;
    background: #111;
    color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #2c2c2c;
}

.category-icon {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    font-size: 1.5rem;
    color: #fff;
}

.category-card p {
    color: #aaa;
    font-size: 0.9rem;
}

.products {
    padding: 4rem 0;
    background: #030303;
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.products-grid .product-card {
    background: #111;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #1b1b1b;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.products-grid .product-card:hover,
.products-grid .product-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.products-grid > .product-card:empty {
    display: none;
}

.products-grid .product-card h3 {
    font-size: 1.1rem;
}

.products-grid .product-card p {
    font-size: 0.85rem;
}

.btn {
    background: #e7452e;
    color: #fff;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #d3341e;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    color: #fff;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content .product-image img {
    width: 100%;
    border-radius: 8px;
}

.modal-content .product-info {
    margin-top: 1rem;
}

.modal-content .product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.modal-content .product-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .category-card {
        width: 150px;
    }
    
    .category-icon {
        width: 130px;
        height: 130px;
    }

    .category-card h3 {
        font-size: 0.85rem;
    }

    .category-card p {
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.5rem;
    }
}
