/* Sthetos Store — alinhado ao index.html */
:root {
    --color-navy: #084d75;
    --color-navy-dark: #032f4b;
    --color-gold: #e68303;
    --color-emerald: #1B7B6E;
    --color-graphite: #2A2E3E;
    --color-light-gray: #E5E7EB;
    --color-off-white: #F9FAFB;
    --color-white: #FFFFFF;
    --color-dark-navy: #001a3d;
    --color-bordo: #50193f;
    --color-magenta: #93165A;
    --success: #059669;
    --danger: #dc2626;
    --font-section: 'Fraunces', 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-graphite);
    background-color: var(--color-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.3; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; line-height: 1.4; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.store-main { min-height: 40vh; }

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-light-gray);
}

.top-bar {
    background-color: var(--color-magenta);
    color: var(--color-white);
    font-size: 0.8rem;
    padding: 0.45rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.top-bar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.top-bar-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.top-bar-item svg { width: 14px; height: 14px; flex-shrink: 0; stroke: var(--color-gold); }
.top-bar-item a { color: var(--color-white); text-decoration: none; transition: color 0.2s; }
.top-bar-item a:hover { color: var(--color-gold); }

.nav-main {
    padding: 0.9rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo { line-height: 0; flex-shrink: 0; }
.logo img { width: 200px; height: auto; object-fit: contain; }

.search-bar {
    flex: 1;
    max-width: 620px;
    min-width: 0;
    display: flex;
}

.search-bar-field {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 0.625rem;
    padding: 0 0.75rem 0 1rem;
    transition: box-shadow 0.2s ease;
}

.search-bar-field:focus-within {
    box-shadow: 0 0 0 2px var(--color-gold);
}

.search-bar input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 0.625rem 0.5rem 0.625rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.875rem;
    font-family: inherit;
}

.search-bar input:focus {
    outline: none;
    box-shadow: none;
}

.search-bar-btn {
    flex-shrink: 0;
    border: none;
    background: none;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 0;
}

.search-bar-btn:hover {
    color: var(--color-graphite);
}

.header-icons { display: flex; gap: 0.25rem; align-items: center; }

.header-icons a, .header-icons button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
    font-family: inherit;
}

.header-icons a:hover, .header-icons button:hover { background-color: var(--color-off-white); }

.header-separator {
    height: 1px;
    background: var(--color-light-gray);
}

.category-nav-bar {
    background: var(--color-magenta);
    color: var(--color-white);
}

.category-nav-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 38px;
    overflow: hidden;
}

.category-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.category-menu-icon {
    display: inline-grid;
    gap: 3px;
    width: 18px;
}

.category-menu-icon span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.category-links {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-links::-webkit-scrollbar { display: none; }

.category-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    opacity: 0.95;
}

.category-links a + a::before {
    content: '|';
    display: inline-block;
    margin: 0 0.7rem;
    color: rgba(255, 255, 255, 0.65);
}

.category-all-link:hover,
.category-links a:hover,
.category-all-link.active,
.category-links a.active {
    color: var(--color-gold);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    background-color: var(--color-dark-navy);
}

.hero-swiper, .hero-swiper .swiper-slide { height: 100%; }

.hero-slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 26, 61, 0.78) 0%, rgba(15, 27, 60, 0.5) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content { color: var(--color-white); max-width: 600px; }
.hero-content h1 { color: var(--color-white); margin-bottom: 1rem; }
.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.swiper-button-prev, .swiper-button-next {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 1.1rem !important; }
.swiper-pagination-bullet { background: rgba(255,255,255,0.5) !important; }
.swiper-pagination-bullet-active {
    background: var(--color-gold) !important;
    width: 22px !important;
    border-radius: 4px !important;
}

/* ===== BUTTONS ===== */
.btn, .btn-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
}

.btn-primary, .btn-store {
    background-color: var(--color-magenta);
    color: var(--color-white);
}

.btn-primary:hover, .btn-store:hover {
    background-color: var(--color-bordo);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-magenta);
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.875rem; font-size: 0.8125rem; }
.btn-block { display: flex; width: 100%; }
.btn-outline {
    background: transparent;
    border: 2px solid var(--color-magenta);
    color: var(--color-magenta);
}
.btn-outline:hover { background: var(--color-magenta); color: #fff; }

/* ===== SECTIONS ===== */
.section-title { text-align: center; margin-bottom: 2.5rem; }

.section-title h2,
.authority > .container > h2,
.newsletter-layout h2,
.cta-content > h2,
.product-description > h2 {
    font-family: var(--font-section);
    font-weight: 600;
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-variation-settings: 'SOFT' 48, 'WONK' 0;
}

.section-title p { color: var(--color-graphite); margin-top: 0.5rem; font-size: 1rem; }

.categories { padding: 4rem 0; background-color: var(--color-white); }
.featured-products { padding: 4rem 0; background-color: var(--color-off-white); }
.page-section { padding: 4rem 0; }
.page-section .container { max-width: 1000px; }
.page-section .container .login { margin: 0 30%; }
.contact-page h1 { margin-bottom: 0.35rem; }
.contact-intro { color: var(--color-gray); margin: 0 0 2rem; font-size: 0.95rem; }
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.5rem;
    align-items: start;
}
.contact-form-card h2,
.contact-info-card h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.contact-form textarea.form-control { min-height: 140px; resize: vertical; }
.contact-info-lead { color: var(--color-gray); font-size: 0.9rem; line-height: 1.6; margin: 0 0 1.25rem; }
.contact-info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-info-list li { display: grid; gap: 0.2rem; font-size: 0.92rem; line-height: 1.5; }
.contact-info-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-magenta);
}
.contact-info-list a { color: var(--color-dark-navy); text-decoration: none; font-weight: 600; }
.contact-info-list a:hover { color: var(--color-magenta); }
.contact-social { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--color-light-gray); }
.contact-social h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.contact-social .footer-social-link { background: rgba(122, 31, 87, 0.08); color: var(--color-magenta); }
.contact-social .footer-social-link:hover { background: var(--color-white); color: var(--color-navy); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.categories-carousel {
    position: relative;
    padding: 0 2.75rem;
}

.categories-swiper {
    overflow: hidden;
}

.categories-swiper .swiper-slide {
    height: auto;
}

.categories-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--color-light-gray);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-navy);
    box-shadow: 0 4px 12px rgba(15, 27, 60, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.categories-nav:hover {
    background: var(--color-navy);
    color: var(--color-white);
    box-shadow: 0 6px 16px rgba(15, 27, 60, 0.18);
}

.categories-nav-prev { left: 0; }
.categories-nav-next { right: 0; }

.categories-nav svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

.categories-nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.category-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 180px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-navy);
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 27, 60, 0.2);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img { transform: scale(1.06); }

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 27, 60, 0.9) 0%, rgba(15, 27, 60, 0.35) 55%, rgba(15, 27, 60, 0.1) 100%);
    z-index: 1;
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.85rem 0.75rem;
    z-index: 2;
    text-align: center;
}

.category-card h3 {
    color: var(--color-white);
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    text-align: center;
}

.category-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    line-height: 1.35;
    margin: 0;
    text-align: center;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== CATALOG LAYOUT ===== */
.catalog-page { background-color: var(--color-off-white); }

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 6.5rem;
}

.catalog-sidebar-inner {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 0.75rem;
    padding: 0.85rem 0.65rem 0.35rem;
    box-shadow: 0 4px 18px rgba(15, 27, 60, 0.04);
}

.catalog-sidebar-title {
    font-family: var(--font-section);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.65rem;
    padding: 0 0 0.65rem 0;
    border-bottom: 1px solid var(--color-light-gray);
    color: var(--color-navy);
    text-align: left;
}

.catalog-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: calc(100vh - 10rem);
    overflow-y: auto;
    margin: 0;
    padding: 0;
    flex: none;
}

.catalog-sidebar-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0;
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--color-light-gray);
    border-radius: 0;
    text-decoration: none;
    color: var(--color-graphite);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3;
    white-space: normal;
    transition: background-color 0.15s ease;
}

.catalog-sidebar-link:last-child {
    border-bottom: none;
}

.catalog-sidebar-link-label {
    justify-self: start;
    text-align: left;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.catalog-sidebar-link-label.is-child {
    font-size: 0.8125rem;
}

.catalog-sidebar-link:hover {
    background: var(--color-off-white);
    color: var(--color-graphite);
}

.catalog-sidebar-link.is-active {
    background: #f3f4f6;
    color: var(--color-graphite);
    font-weight: 500;
    border-radius: 0;
    border-bottom-color: var(--color-light-gray);
}

.catalog-sidebar-link-count {
    justify-self: end;
    min-width: 2rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: var(--color-magenta);
    color: var(--color-white);
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
}

.catalog-main {
    min-width: 0;
}

.catalog-header {
    margin-bottom: 1.5rem;
}

.catalog-header h1 {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    margin-bottom: 0.35rem;
}

.catalog-subtitle,
.catalog-meta {
    color: var(--color-graphite);
    margin: 0;
}

.catalog-meta {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.products-grid.catalog-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.catalog-pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-light-gray);
    background: var(--color-white);
    color: var(--color-navy);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.catalog-pagination-btn:hover {
    border-color: var(--color-navy);
}

.catalog-pagination-info {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ===== PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 28px rgba(15, 27, 60, 0.1);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-light-gray);
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 0.2rem 0.65rem;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    z-index: 2;
}

.product-info { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }

.product-category {
    color: var(--color-emerald);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.product-name, a.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name:hover { color: var(--color-gold); }

.product-specs {
    color: var(--color-graphite);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    line-height: 1.45;
    flex: 1;
}

.product-price {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

.product-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.product-actions .btn { flex: 1; padding: 0.55rem 0.5rem; font-size: 0.78rem; }
.product-actions .btn-secondary {
    color: var(--color-navy);
    border: 1px solid var(--color-navy);
    background: var(--color-white);
}
.product-actions .btn-secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1rem; }

.product-gallery { display: flex; flex-direction: column; gap: 0.75rem; }
.product-gallery-main {
    border: 1px solid var(--color-light-gray);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--color-white);
}
.product-gallery-main img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--color-white);
}
.product-gallery-thumbs {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.product-gallery-thumb {
    width: 4.5rem;
    height: 4.5rem;
    padding: 0;
    border: 2px solid var(--color-light-gray);
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--color-white);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.product-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-thumb:hover { border-color: var(--color-navy); transform: translateY(-1px); }
.product-gallery-thumb.active { border-color: var(--color-magenta); }
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb a { color: var(--color-navy); text-decoration: none; font-size: 0.875rem; }
.price-lg { font-size: 1.75rem !important; font-weight: 700; color: var(--color-navy); }
.qty-row { margin: 1.25rem 0; }
.qty-row label { display: block; margin-bottom: 0.375rem; font-weight: 500; font-size: 0.875rem; }
.product-description { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-light-gray); }
.prose { line-height: 1.7; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    margin: 1.25em 0 .5em;
    color: var(--color-navy);
    line-height: 1.25;
}
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: .75em 0 1em; padding-left: 1.75em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .2em 0; }
.prose li[data-list="bullet"] { list-style-type: disc; }
.prose li[data-list="ordered"] { list-style-type: decimal; }
.prose blockquote {
    margin: 1em 0;
    padding: .5em 1em;
    border-left: 4px solid var(--color-magenta);
    color: #4b5563;
}
.prose img { display: block; max-width: 100%; height: auto; margin: 1.25em auto; border-radius: .5rem; }
.prose a { color: var(--color-magenta); text-decoration: underline; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { margin-left: 2em; }
.prose .ql-indent-2 { margin-left: 4em; }
.prose .ql-indent-3 { margin-left: 6em; }
.prose .ql-indent-4 { margin-left: 8em; }
.prose .ql-size-small { font-size: .75em; }
.prose .ql-size-large { font-size: 1.5em; }
.prose .ql-size-huge { font-size: 2.5em; }
.prose .ql-font-serif { font-family: Georgia, 'Times New Roman', serif; }
.prose .ql-font-monospace { font-family: Monaco, 'Courier New', monospace; }
.product-image-placeholder {
    aspect-ratio: 1;
    background: var(--color-off-white);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    border: 1px solid var(--color-light-gray);
}

/* ===== CART / CHECKOUT ===== */
.cart-layout, .checkout-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin-top: 1.5rem;
    align-items: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.cart-item-info { display: flex; flex-direction: column; gap: 0.25rem; }
.cart-item-info a { color: var(--color-navy); text-decoration: none; font-weight: 600; }
.cart-item-qty { display: flex; gap: 0.5rem; align-items: center; }
.cart-summary {
    background: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: sticky;
    top: 6rem;
}

.cart-summary h2 { margin: 0 0 1rem; font-size: 1.125rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.9375rem; }
.summary-row.total {
    border-top: 2px solid var(--color-light-gray);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.form-inline-actions { display: flex; gap: .5rem; align-items: stretch; }
.form-inline-actions .form-control { flex: 1; min-width: 0; }
.coupon-form { margin: 1rem 0; padding-top: 1rem; border-top: 1px solid var(--color-light-gray); }
.coupon-form label { display: block; font-size: .8125rem; color: var(--color-gray); margin-bottom: .35rem; }
.shipping-zip-form { margin: 1rem 0; padding-top: 1rem; border-top: 1px solid var(--color-light-gray); }
.shipping-zip-form label { display: block; font-size: .8125rem; color: var(--color-gray); margin-bottom: .35rem; }

/* ===== FORMS ===== */
.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--color-light-gray);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-gold);
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.375rem; font-weight: 500; font-size: 0.875rem; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 140px; }
.form-section { border: 1px solid var(--color-light-gray); border-radius: 0.75rem; padding: 1.25rem; margin-bottom: 1.25rem; }
.form-section legend { font-weight: 600; color: var(--color-navy); padding: 0 0.5rem; }
.qty-input { width: 80px; }
.payment-options { display: flex; flex-direction: column; gap: 0.625rem; }
.payment-option { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9375rem; }

.auth-container { max-width: 420px; margin: 0 auto; }
.auth-intro { color: var(--color-gray); font-size: 0.9375rem; margin-top: 0.5rem; line-height: 1.5; }
.legal-content { margin-top: 1.5rem; color: var(--color-text); line-height: 1.7; }
.legal-content h2 { font-size: 1.125rem; margin: 1.75rem 0 0.75rem; color: var(--color-primary); }
.legal-content p { margin: 0 0 1rem; }
.legal-content a { color: var(--color-primary); text-decoration: underline; }
.auth-form { margin-top: 1.5rem; }
.field-hint { font-size: .8125rem; margin: .35rem 0 0; min-height: 1.1rem; }
.field-hint.is-error { color: var(--danger); }
.field-hint.is-success { color: var(--success); }
.field-hint.is-info { color: #6b7280; }
.form-control.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.9375rem; }
.auth-footer a { color: var(--color-navy); font-weight: 600; }

.confirmation-box { text-align: center; padding: 2rem 0; }
.confirmation-icon {
    width: 64px; height: 64px; background: var(--success); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 1.25rem;
}
.confirmation-details { text-align: left; background: var(--color-off-white); border-radius: 0.75rem; padding: 1.5rem; margin: 2rem 0; }

.inline-form { display: inline; margin: 0; }
.link-btn { background: none; border: none; color: var(--color-navy); cursor: pointer; font-size: inherit; font-family: inherit; padding: 0; text-decoration: underline; }
.link-btn.danger { color: var(--danger); }

/* ===== ALERTS ===== */
.alert { padding: 0.875rem 1rem; border-radius: 0.5rem; margin: 1rem 0; font-size: 0.9375rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.catalog-login-gate {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--color-light-gray);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  text-align: center;
}
.catalog-login-gate-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.catalog-login-gate h3 { margin: 0 0 0.5rem; font-family: var(--font-display); color: var(--color-navy); }
.catalog-login-gate p { margin: 0 0 1rem; color: var(--color-gray); font-size: 0.9375rem; line-height: 1.5; }
.catalog-login-gate-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.price-locked, .product-specs-locked { color: var(--color-gray); font-style: italic; font-size: 0.875rem; }

.account-page h1 { margin-bottom: 1.5rem; }
.account-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.account-card { background: #fff; border: 1px solid var(--color-light-gray); border-radius: 0.75rem; padding: 1.25rem; }
.account-card-wide { grid-column: 1 / -1; }
.account-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.account-card-header h2 { margin: 0; font-size: 1.25rem; }
.account-card > h2 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.account-card-link { color: var(--color-magenta); font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.account-card-link:hover { text-decoration: underline; }
.account-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.account-card-footer { margin-top: 1rem; }
.account-form .form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.account-form .form-row .form-group { flex: 1; min-width: 180px; }
.account-form .form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.875rem; }
.account-form .form-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.account-list { list-style: none; padding: 0; margin: 0; }
.account-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--color-light-gray); display: flex; flex-direction: column; gap: 0.15rem; }
.account-list a { color: var(--color-navy); font-weight: 600; text-decoration: none; }
.account-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.account-table th, .account-table td { padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--color-light-gray); text-align: left; }

/* ===== SUPORTE ===== */
.support-toolbar { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; flex-wrap:wrap; margin-bottom:1.25rem; }
.support-toolbar h1 { margin:0; }
.support-detail-grid { display:grid; gap:1.25rem; grid-template-columns:280px minmax(0,1fr); align-items:start; }
.support-meta-list { list-style:none; padding:0; margin:0; }
.support-meta-list li { padding:.4rem 0; border-bottom:1px solid var(--color-light-gray); font-size:.9375rem; }
.support-thread { min-width:0; }
.support-message { border:1px solid var(--color-light-gray); border-radius:.75rem; padding:1rem; margin-bottom:.75rem; }
.support-message header { display:flex; justify-content:space-between; gap:1rem; font-size:.8125rem; color:#6b7280; margin-bottom:.5rem; }
.support-message p { margin:0; white-space:pre-wrap; }
.support-message-customer { background:#fff; }
.support-message-admin { background:#f8fafc; border-color:#dbeafe; }
.support-reply-form { margin-top:1.25rem; display:grid; gap:.75rem; }
.support-form .form-row { display:grid; gap:1rem; }
.support-form .form-row-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.support-form .form-group label { display:block; margin-bottom:.35rem; font-weight:600; font-size:.875rem; }
.support-form .form-actions { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:.5rem; }
.support-badge { display:inline-flex; align-items:center; padding:.2rem .6rem; border-radius:999px; font-size:.75rem; font-weight:600; }
.support-badge.badge-warning { background:#fef3c7; color:#92400e; }
.support-badge.badge-info { background:#dbeafe; color:#1d4ed8; }
.support-badge.badge-success { background:#d1fae5; color:#065f46; }
.support-badge.badge-danger { background:#fee2e2; color:#991b1b; }
.support-row-unread td { font-weight:600; }
.support-table { font-size:.875rem; }
.support-attachments { list-style:none; padding:0; margin:.65rem 0 0; display:grid; gap:.35rem; }
.support-attachments a { color:var(--color-navy); font-weight:600; text-decoration:none; }
.support-attachments a:hover { text-decoration:underline; }
.support-attachment-size { color:#6b7280; font-size:.75rem; margin-left:.25rem; }
@media (max-width: 900px) {
    .support-detail-grid { grid-template-columns:1fr; }
    .support-form .form-row-3 { grid-template-columns:1fr; }
}
.text-muted { color: var(--color-gray); }
.quote-form { margin-top: 1rem; }
.quote-form .form-group { margin-bottom: 1rem; }

/* ===== FOOTER ===== */
footer {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding: 3rem 0 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 { color: var(--color-white); margin-bottom: 1rem; font-size: 0.95rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.45rem; }
.footer-section a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.footer-section a:hover:not(.footer-social-link) { color: var(--color-gold); }
.footer-section p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); line-height: 1.6; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); }
.copyright { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

.footer-bottom-container {
    background-color: var(--color-dark-navy);
    color: var(--color-white);
    padding: 1rem 0;
}

.newsletter-form-footer { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.newsletter-form-footer input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.footer-newsletter-social {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter-social h5 {
    color: var(--color-white);
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-family: var(--font-display, Georgia, serif);
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social-link svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
    stroke: currentColor;
}

.footer-section a.footer-social-link:hover,
.footer-social-link:hover {
    background: var(--color-white);
    color: var(--color-navy);
    transform: translateY(-1px);
}

.footer-section a.footer-social-link:hover svg,
.footer-social-link:hover svg {
    color: var(--color-navy);
    fill: currentColor;
    stroke: currentColor;
}

.footer-social {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social h5 {
    color: var(--color-white);
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-family: var(--font-display, Georgia, serif);
}

/* ===== MODAL ===== */
.cart-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.cart-modal[hidden] { display: none; }
.cart-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.cart-modal-content {
    position: relative; background: #fff; border-radius: 0.75rem; padding: 2rem;
    max-width: 400px; width: 90%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.cart-modal-close { position: absolute; top: 0.75rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #6b7280; }
.cart-modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; justify-content: center; }

.text-muted { color: #6b7280; }
.empty-state { text-align: center; padding: 3rem 1rem; color: #6b7280; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid.catalog-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .categories-carousel { padding: 0 2rem; }
    .category-card { height: 160px; }
}

@media (max-width: 900px) {
    .nav-main { gap: 1rem; flex-wrap: wrap; }
    .search-bar { order: 3; flex-basis: 100%; max-width: none; }
    .category-nav-inner { padding-top: 0.35rem; padding-bottom: 0.35rem; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { position: static; }
    .catalog-sidebar-nav { max-height: none; }
}

@media (max-width: 768px) {
    .product-detail-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .products-grid,
    .products-grid.catalog-products-grid { grid-template-columns: 1fr; }
    .categories-carousel { padding: 0 1.75rem; }
    .category-card { height: 150px; }
    .hero { height: 440px; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .logo img { width: 160px; }
    .header-icons { margin-left: auto; }
    .category-all-link { font-size: 0.65rem; padding-right: 0.75rem; }
    .category-links a { font-size: 0.62rem; }
}
