
/* =========================================================
   WS DISTRIBUIDORA - SITE CSS LIMPO
   Estrutura:
   1. Base
   2. Header / Menu
   3. Componentes gerais
   4. Home / Produtos
   5. Carrinho / Checkout / Pagamento
   6. Área do cliente
   7. Responsivo
========================================================= */

/* =========================
   1. BASE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
}

/* =========================
   2. HEADER / MENU
========================= */

.site-header {
    background: #080836;
    padding: 22px 40px;
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    min-width: 230px;
}

.site-logo {
    height: 92px;
    width: auto;
    object-fit: contain;
    transition: .2s;
}

.site-logo:hover {
    transform: scale(1.02);
}

.search-area {
    flex: 1;
    display: flex;
    height: 52px;
    background: #ffffff;
    border-radius: 999px;
    overflow: hidden;
}

.search-area input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 22px;
    font-size: 15px;
}

.search-area button {
    border: none;
    background: #20e37a;
    color: #061b12;
    font-weight: 800;
    padding: 0 24px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
}

.header-link {
    color: #e5e7eb;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-button {
    background: #20e37a;
    color: #061b12;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 900;
    display: flex;
    gap: 8px;
}

.category-menu {
    background: #05052a;
    padding: 0 40px;
}

.category-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding: 12px 0;
}

.category-inner a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.category-inner a:hover {
    color: #20e17a;
    transform: translateY(-1px);
}
/* =========================
   3. COMPONENTES GERAIS
========================= */

.section-block,
.brands-section {
    max-width: 1320px;
    margin: 45px auto;
    padding: 0 20px;
}

.page-header {
    max-width: 1320px;
    margin: 35px auto 20px;
    padding: 35px 20px;
}

.page-header h1 {
    font-size: 42px;
    color: #080836;
}

.page-header p {
    margin-top: 8px;
    color: #64748b;
}

.hero-badge,
.section-title span,
.promo-strip span,
.page-header span {
    display: inline-block;
    color: #20e37a;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title.center {
    justify-content: center;
    text-align: center;
}

.section-title h2 {
    font-size: 34px;
    color: #080836;
}

.section-title > a {
    color: #080836;
    font-weight: 800;
}

.hero-button,
.promo-strip a,
.cart-summary a,
.checkout-button,
.payment-button,
.order-button,
.order-back-button,
.success-actions a,
.pix-copy-box button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    background: #16a34a;
    color: #ffffff;
    border-radius: 14px;
    padding: 14px 22px;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    transition: .2s;
}

.hero-button:hover,
.promo-strip a:hover,
.cart-summary a:hover,
.checkout-button:hover,
.payment-button:hover,
.order-button:hover,
.order-back-button:hover,
.success-actions a:hover,
.pix-copy-box button:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.empty-state {
    margin-top: 22px;
    background: #ffffff;
    border: 2px dashed #dbe2ea;
    border-radius: 22px;
    padding: 38px;
    text-align: center;
    color: #64748b;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: #080836;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
    font-size: 14px;
}

.field input,
.buy-box input,
.shipping-box input,
.checkout-form input,
.cart-item input,
.pix-copy-box textarea {
    width: 100%;
    border: 1px solid #d9e0ea;
    border-radius: 14px;
    padding: 0 14px;
    font-size: 15px;
    background: #fbfcfe;
    outline: none;
}

.field input,
.buy-box input,
.shipping-box input,
.checkout-form input,
.cart-item input {
    height: 50px;
}

.pix-copy-box textarea {
    min-height: 100px;
    padding: 14px;
    resize: none;
}

.field input:focus,
.buy-box input:focus,
.shipping-box input:focus,
.checkout-form input:focus,
.cart-item input:focus,
.pix-copy-box textarea:focus {
    border-color: #16a34a;
    background: #ffffff;
}

/* =========================
   4. HOME / PRODUTOS
========================= */

.main-banner {
    width: 100%;
    min-height: 320px;
    background:
        linear-gradient(90deg, rgba(3, 3, 35, .95), rgba(3, 3, 35, .45)),
        url("/static/img/banner1.jpg");
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    position: relative;
    padding: 55px 7%;
    color: #ffffff;
}

.banner-content {
    max-width: 760px;
}

.banner-content span {
    color: #20e37a;
    font-size: 15px;
    font-weight: 900;
}

.banner-content h1 {
    font-size: 38px;
    line-height: 1.15;
    margin: 14px 0 10px;
}

.banner-content p {
    font-size: 17px;
    margin-bottom: 24px;
}

.banner-button {
    display: inline-flex;
    background: #20e37a;
    color: #061b12;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 900;
}

.banner-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dots span {
    width: 11px;
    height: 11px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
}

.banner-dots .active {
    width: 28px;
    border-radius: 999px;
    background: #ffffff;
}

.quick-categories {
    max-width: 1320px;
    margin: 0 auto 30px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.category-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
    transition: .2s;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #20e37a;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .10);
}

.category-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #080836, #1b1b5d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-info strong {
    color: #080836;
    font-size: 18px;
    margin-bottom: 4px;
    display: block;
}

.category-info span {
    color: #64748b;
    font-size: 13px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.product-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 14px;
    position: relative;
    transition: .2s;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
    border-color: #20e37a;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-green,
.badge-light {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.badge-green {
    background: #080836;
    color: #ffffff;
}

.badge-light {
    background: #f1f5f9;
    color: #0f172a;
}

.product-image {
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 18px 8px 8px;
}

.product-info h3,
.product-card h3 {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 10px;
    min-height: 52px;
    text-align: center;
}

.product-info h3 a {
    color: #0f172a;
}

.product-code,
.product-installment {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 12px;
}

.product-price {
    text-align: center;
    color: #080836;
    font-size: 38px;
    font-weight: 900;
}

.product-price.big {
    font-size: 44px;
    margin: 20px 0 8px;
}

.product-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.details-button,
.buy-button {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transition: .2s;
}

.details-button {
    border: 1px solid #dbe3ec;
    color: #0f172a;
}

.details-button:hover {
    background: #f8fafc;
}

.buy-button {
    border: none;
    background: #20e37a;
    color: #061b12;
    font-size: 15px;
    cursor: pointer;
}

.buy-button:hover {
    opacity: .92;
}

.product-page {
    max-width: 1320px;
    margin: 35px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-gallery,
.product-details {
    background: #ffffff;
    border-radius: 28px;
}

.product-gallery {
    height: 520px;
    overflow: hidden;
    padding: 20px;
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-details {
    padding: 36px;
}

.product-details h1 {
    font-size: 38px;
    color: #080836;
    margin-bottom: 8px;
}

.buy-box {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    margin-top: 24px;
}

.shipping-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
    margin-top: 28px;
}

.shipping-box .shipping-form {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
    margin: 12px 0;
}

.promo-strip {
    max-width: 1280px;
    margin: 55px auto;
    border-radius: 28px;
    background: linear-gradient(90deg, #080836, #123b69);
    color: #ffffff;
    padding: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-strip h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.brand-card {
    background: #ffffff;
    border-radius: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.brand-card img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
}

/* =========================
   CARROSSEL
========================= */


.brands-carousel {
    overflow: hidden;
    width: 100%;
}

.brands-track {
    display: flex;
    gap: 18px;
    animation: brands-scroll 22s linear infinite;
}

.brand-card {
    min-width: 240px;
    flex: 0 0 240px;
}

@keyframes brands-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================
   5. CARRINHO / CHECKOUT / PAGAMENTO
========================= */

.cart-layout,
.checkout-layout,
.checkout-page,
.payment-page {
    max-width: 1320px;
    margin: 42px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.payment-page {
    max-width: 1100px;
    grid-template-columns: 1fr 340px;
}

.cart-items,
.checkout-form,
.cart-summary,
.checkout-card,
.checkout-summary,
.payment-card,
.payment-summary,
.success-card,
.track-card,
.track-result {
    background: #ffffff;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 14px 40px rgba(0,0,0,.07);
}

.cart-item {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 16px;
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 16px;
}

.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 16px;
}

.cart-item strong,
.payment-product-line strong,
.summary-product strong {
    display: block;
}

.cart-item span,
.payment-product-line span,
.summary-product span {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
}

.cart-price {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.cart-summary h2,
.cart-summary h3,
.checkout-form h3,
.checkout-summary h3,
.payment-summary h3 {
    margin-bottom: 18px;
    color: #080836;
}

.cart-summary div,
.summary-line,
.summary-total,
.payment-item,
.payment-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.cart-summary hr,
.order-detail-summary hr {
    border: none;
    border-top: 1px solid #edf0f4;
    margin: 18px 0;
}

.cart-summary a,
.checkout-button {
    width: 100%;
    margin-top: 12px;
}

.checkout-title span,
.payment-step,
.success-card span,
.track-card span,
.customer-auth-card span,
.customer-panel-header span,
.order-detail-hero span {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
}

.checkout-title h1,
.payment-card h1,
.success-card h1 {
    margin: 18px 0 8px;
    font-size: 34px;
    color: #080836;
}

.checkout-title p,
.payment-card p,
.success-card p,
.track-card p,
.customer-auth-card p,
.customer-panel-header p,
.order-detail-hero p {
    color: #667085;
}

.checkout-grid {
    display: grid;
    gap: 16px;
}

.checkout-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.checkout-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.span-2 {
    grid-column: span 2;
}

.checkout-summary,
.order-detail-summary {
    position: sticky;
    top: 20px;
}

.summary-products,
.payment-options,
.shipping-options {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.summary-product {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f4;
}

.summary-product img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 12px;
    background: #f6f7f9;
}

.summary-total,
.payment-total {
    border-top: 1px solid #edf0f4;
    padding-top: 18px;
    font-size: 18px;
}

.payment-options label,
.shipping-options label {
    border: 1px solid #d9e0ea;
    border-radius: 18px;
    padding: 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    cursor: pointer;
    background: #ffffff;
}

.payment-options strong,
.shipping-options strong {
    font-size: 18px;
}

.payment-options small,
.shipping-options span {
    color: #667085;
    font-size: 13px;
}

.payment-product-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #edf0f4;
}

.payment-product-line b,
.summary-product b {
    white-space: nowrap;
}

.shipping-calculator {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
}

.shipping-calculator button {
    border: none;
    background: #111827;
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
}

.success-page {
    max-width: 780px;
    margin: 70px auto;
    padding: 0 20px;
}

.success-card {
    text-align: center;
    padding: 46px;
}

.success-card strong {
    display: block;
    margin-top: 20px;
    font-size: 24px;
}

.success-actions {
    margin-top: 28px;
}

.success-actions.secondary a {
    background: #111827;
}

.pix-box {
    margin: 24px auto 10px;
    max-width: 260px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px;
}

.pix-box img {
    width: 100%;
    display: block;
}

.pix-copy-box {
    margin-top: 22px;
    text-align: left;
}

.pix-copy-box label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
}

.pix-copy-box button {
    margin-top: 10px;
    width: 100%;
}

.continue-shopping {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #111827;
    font-weight: 800;
}

.remove-cart {
    display: inline-block;
    margin-top: 8px;
    color: #dc2626;
    font-weight: 800;
    font-size: 13px;
}

/* =========================
   6. ÁREA DO CLIENTE
========================= */

.customer-auth-page,
.customer-panel-page,
.customer-order-detail-page,
.track-page {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.track-page {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 26px;
}

.customer-auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

.customer-auth-card h1,
.track-card h1 {
    margin: 18px 0 8px;
}

.auth-link {
    display: block;
    margin-top: 18px;
    text-align: center;
    font-weight: 800;
    color: #111827;
}

.track-error {
    margin-top: 18px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 14px;
    padding: 14px;
    font-weight: 800;
}

.track-status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 20px 0;
}

.track-status-grid div,
.track-product,
.order-address-grid div,
.summary-status-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
}

.track-status-grid span,
.order-address-grid span,
.summary-status-box span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 4px;
}

.track-product {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.customer-panel-header,
.customer-orders-card,
.order-detail-hero,
.order-detail-card,
.order-detail-summary {
    background: #ffffff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

.customer-panel-header,
.order-detail-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.customer-panel-header h1 {
    margin: 14px 0 6px;
}

.customer-panel-header a,
.order-detail-hero a {
    background: #111827;
    color: #ffffff;
    padding: 13px 18px;
    border-radius: 16px;
    font-weight: 900;
}

.customer-orders-card {
    margin-top: 24px;
}

.customer-orders-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.customer-orders-title h2 {
    color: #080836;
}

.customer-orders-title p {
    margin-top: 6px;
    color: #64748b;
}

.customer-orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.order-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    transition: .2s;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.order-card-header,
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.order-card-header {
    margin-bottom: 20px;
}

.order-card-header h3 {
    color: #080836;
}

.order-date,
.order-info small,
.order-product-line span,
.order-product-line small {
    color: #64748b;
    display: block;
}

.order-info {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.order-footer h2 {
    margin: 4px 0 0;
    color: #16a34a;
}

.order-button {
    padding: 13px 18px;
    border-radius: 14px;
}

.order-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.status-new {
    background: #eef2ff;
    color: #3730a3;
}

.status-paid {
    background: #dcfce7;
    color: #166534;
}

.status-preparing {
    background: #fef3c7;
    color: #92400e;
}

.status-shipped {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-delivered {
    background: #ccfbf1;
    color: #0f766e;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.customer-order-detail-page {
    max-width: 1180px;
}

.order-detail-hero {
    margin-bottom: 24px;
}

.order-detail-hero h1 {
    margin: 16px 0 6px;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.order-detail-main {
    display: grid;
    gap: 24px;
}

.order-detail-card h2,
.order-detail-summary h2 {
    margin-bottom: 18px;
    color: #080836;
}

.order-timeline {
    display: grid;
    gap: 22px;
}

.timeline-step {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 14px;
    color: #94a3b8;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 3px solid #cbd5e1;
    margin-top: 2px;
}

.timeline-step strong {
    display: block;
    color: #64748b;
}

.timeline-step span {
    display: block;
    margin-top: 4px;
}

.timeline-step.active .timeline-dot {
    background: #22c55e;
    border-color: #22c55e;
}

.timeline-step.active strong {
    color: #0f172a;
}

.timeline-step.active span {
    color: #475569;
}

.order-products-list {
    display: grid;
    gap: 14px;
}

.order-product-line {
    display: grid;
    grid-template-columns: 1fr 120px 120px;
    gap: 16px;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
}

.order-address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* =========================
   7. FOOTER / FLOATING / RESPONSIVO
========================= */

.site-footer{
    background:#010542;
    color:#fff;
    margin-top:60px;
}

.footer-grid{
    max-width:1400px;
    margin:auto;
    padding:50px 30px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

.footer-col h4{
    margin-bottom:18px;
    font-size:18px;
    font-weight:700;
}

.footer-col p{
    color:#d8d8d8;
    line-height:1.8;
    margin-bottom:10px;
}

.footer-col a{
    display:block;
    color:#d8d8d8;
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s;
}

.footer-col a:hover{
    color:#00d26a;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
    padding:20px;
    color:#bdbdbd;
    font-size:14px;
}

.footer-benefits{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    max-width:1400px;
    margin:40px auto 0;
    padding:0 20px;
}

.footer-benefits div{
    background:#fff;
    border-radius:12px;
    padding:20px;
    text-align:center;
    font-weight:600;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.page-container{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}

.content-card{
    background:#fff;
    border-radius:16px;
    padding:40px;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
}

.content-card h1{
    color:#010542;
    margin-bottom:25px;
}

.content-card h3{
    margin-top:25px;
    margin-bottom:10px;
}

.content-card p,
.content-card li{
    line-height:1.8;
    color:#444;
}

.floating-social{
    position:fixed;
    right:20px;
    bottom:20px;
    display:flex;
    flex-direction:column;
    gap:12px;
    z-index:999;
}

.float-instagram,
.float-whatsapp{
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    text-decoration:none;
    font-size:28px;
    box-shadow:0 4px 15px rgba(0,0,0,.25);
    transition:.3s;
}

.float-instagram{
    background:#E1306C;
}

.float-whatsapp{
    background:#25D366;
}

.float-instagram:hover,
.float-whatsapp:hover{
    transform:scale(1.08);
}

.top-products-slider{
    max-width:1320px;
    margin:40px auto;
    padding:0 20px;
}

.top-products-track{
    display:flex;
    gap:20px;
    overflow-x:auto;
    padding-bottom:10px;
}

.top-products-track::-webkit-scrollbar{
    height:8px;
}

.top-products-track::-webkit-scrollbar-thumb{
    background:#16a34a;
    border-radius:999px;
}

.slider-product{
    min-width:320px;
}

.brands-shortcuts{
    max-width:1320px;
    margin:40px auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:16px;
}

.brands-shortcuts a{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
    text-align:center;
    font-weight:800;
    transition:.2s;
}

.brands-shortcuts a:hover{
    border-color:#16a34a;
    background:#f0fdf4;
}

.categories-highlight{
    max-width:1320px;
    margin:50px auto;
    padding:0 20px;
}

.categories-highlight-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.category-highlight-card{
    min-height:180px;
    border-radius:24px;
    background:linear-gradient(135deg,#080836,#123b69);
    color:#fff;
    padding:28px;
    transition:.25s;
    display:flex;
    align-items:flex-end;
}

.category-highlight-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.category-highlight-content span{
    font-size:42px;
    display:block;
    margin-bottom:12px;
}

.category-highlight-content h3{
    font-size:22px;
    margin-bottom:8px;
}

.category-highlight-content p{
    opacity:.9;
    font-size:14px;
    line-height:1.5;
}

.category-hero{
    max-width:1320px;
    margin:35px auto;
    padding:40px;
    border-radius:30px;
    background:linear-gradient(135deg,#080836,#123b69);
    color:#fff;
}

.category-hero span{
    color:#20e37a;
    font-weight:900;
    text-transform:uppercase;
}

.category-hero h1{
    font-size:42px;
    margin:15px 0;
}

.category-hero p{
    max-width:700px;
    opacity:.95;
}

.category-stats{
    display:flex;
    gap:20px;
    margin-top:25px;
}

.category-stats div{
    background:rgba(255,255,255,.12);
    padding:18px;
    border-radius:18px;
}

.category-stats strong{
    display:block;
    font-size:22px;
}

.category-filters{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:25px;
}

.category-filters a{
    background:#fff;
    border:1px solid #e5e7eb;
    padding:12px 18px;
    border-radius:999px;
    font-weight:700;
}

.category-filters a:hover{
    background:#16a34a;
    color:#fff;
}

@media(max-width:900px){
    .categories-highlight-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .categories-highlight-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .brands-shortcuts{
        grid-template-columns:repeat(2,1fr);
    }

    .slider-product{
        min-width:280px;
    }

}

@media (max-width: 1050px) {
    .header-inner,
    .product-page,
    .cart-layout,
    .checkout-layout,
    .checkout-page,
    .payment-page,
    .track-page,
    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-area,
    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .products-grid,
    .quick-categories,
    .brands-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customer-panel-header,
    .order-detail-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-summary,
    .order-detail-summary {
        position: static;
    }
}

@media (max-width: 680px) {
    .site-header,
    .category-menu {
        padding-left: 16px;
        padding-right: 16px;
    }

    .search-area {
        flex-direction: column;
        height: auto;
        border-radius: 18px;
    }

    .search-area input,
    .search-area button {
        height: 48px;
    }

    .products-grid,
    .quick-categories,
    .brands-grid,
    .footer-grid,
    .checkout-grid.two,
    .checkout-grid.three,
    .track-status-grid,
    .order-product-line,
    .order-address-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }

    .promo-strip {
        margin-left: 20px;
        margin-right: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .floating-social {
        left: 18px;
        right: 18px;
        grid-template-columns: 1fr 1fr;
    }

    .floating-social a {
        text-align: center;
        padding: 12px 8px;
        font-size: 13px;
    }
}

.order-detail-hero {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #e5e7eb;
}

.order-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.order-back-button,
.order-pay-button {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 900;
}

.order-pay-button {
    background: #16a34a !important;
    color: #ffffff !important;
}

.order-pay-button:hover {
    background: #15803d !important;
}

.order-detail-card,
.order-detail-summary {
    border: 1px solid #e5e7eb;
}

.order-timeline {
    gap: 26px;
}

.timeline-step {
    align-items: flex-start;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: #ffffff;
}

.timeline-step.active .timeline-dot {
    box-shadow: 0 0 0 6px rgba(34,197,94,.12);
}

.summary-status-box {
    background: #ffffff;
}

.summary-status-box strong {
    font-size: 17px;
    color: #0f172a;
}

.payment-card,
.payment-summary,
.success-card {
    border: 1px solid #e5e7eb;
}

.pix-box {
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
}

.pix-copy-box textarea {
    font-size: 14px;
    line-height: 1.45;
    background: #f8fafc;
}

.pix-copy-box button,
.success-actions a {
    min-height: 50px;
}

/* MINHA CONTA - TABELA ESTILO ADMIN */

.customer-panel-page {
    max-width: 1280px;
}

.customer-orders-card {
    background: #1f2023;
    border: 1px solid #303236;
    border-radius: 12px;
    box-shadow: none;
}

.customer-orders-title h2 {
    color: #ffffff;
}

.customer-orders-title p {
    color: #a8adb7;
}

.orders-table-wrapper {
    background: #1f2023;
    border: 1px solid #303236;
    border-radius: 12px;
    overflow-x: auto;
}

.orders-table-header,
.orders-table-row {
    min-width: 980px;
    display: grid;
    grid-template-columns: 120px 180px 180px 180px 150px 160px;
    gap: 14px;
    align-items: center;
}

.orders-table-header {
    background: #18191c;
    color: #cfd3dc;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 800;
}

.orders-table-row {
    padding: 12px 16px;
    border-top: 1px solid #303236;
}

.orders-table-row:hover {
    background: #25272b;
}

.order-col {
    color: #f1f5f9;
    font-size: 12px;
}

.order-col strong {
    color: #4ade80;
}

.order-col.total {
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.status-badge {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 900;
}

.order-button {
    background: #303236;
    color: #ffffff !important;
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.order-button:hover {
    background: #22c55e;
    transform: none;
}

.customer-panel-header {
    background: #1f2023;
    border: 1px solid #303236;
    border-radius: 12px;
    box-shadow: none;
}

.customer-panel-header h1 {
    color: #ffffff;
}

.customer-panel-header p {
    color: #a8adb7;
}

.customer-panel-header a {
    border-radius: 8px;
}

.product-content-section {
    max-width: 1320px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: grid;
    gap: 24px;
}

.product-content-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 32px;
    box-shadow: 0 14px 40px rgba(0,0,0,.07);
}

.product-content-card h2 {
    color: #080836;
    margin-bottom: 18px;
    font-size: 26px;
}

.product-description-text {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.specs-grid div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
}

.specs-grid span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 5px;
}

.specs-grid strong {
    color: #0f172a;
}

.shipping-form{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.shipping-form input{
    flex:1;
}

#shipping-results {
    margin-top: 15px;
}

.shipping-list {
    display: grid;
    gap: 8px;
}

.shipping-option {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    background: #ffffff;
}

.shipping-service {
    min-width: 0;
}

.shipping-service strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
}

.shipping-service small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
}

.shipping-option span {
    color: #2563eb;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

/* Home distribuidora */

.distributor-hero {
    max-width: 1320px;
    margin: 34px auto 28px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 28px;
    align-items: stretch;
}

.distributor-hero-content {
    background: #07111f;
    color: #ffffff;
    border-radius: 8px;
    padding: 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 470px;
}

.distributor-hero-content h1 {
    max-width: 780px;
    font-size: 44px;
    line-height: 1.08;
    margin: 14px 0 16px;
}

.distributor-hero-content p {
    max-width: 680px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.65;
}

.hero-search {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    background: #ffffff;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    overflow: hidden;
    max-width: 700px;
}

.hero-search input {
    height: 56px;
    border: none;
    outline: none;
    padding: 0 18px;
    font-size: 15px;
}

.hero-search button {
    border: none;
    background: #22c55e;
    color: #052e16;
    font-weight: 900;
    cursor: pointer;
}

.hero-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    max-width: 700px;
}

.hero-proof-grid div {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    padding: 16px;
    background: rgba(255,255,255,.06);
}

.hero-proof-grid strong {
    display: block;
    font-size: 24px;
    color: #facc15;
}

.hero-proof-grid span {
    display: block;
    margin-top: 4px;
    color: #cbd5e1;
    font-size: 13px;
}

.hero-parts-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-part-tile {
    min-height: 220px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 16px;
    transition: .2s;
}

.hero-part-tile:hover {
    border-color: #22c55e;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15,23,42,.10);
}

.hero-part-tile img {
    width: 100%;
    height: 140px;
    object-fit: contain;
}

.hero-part-tile span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-part-tile strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.35;
}

.operations-strip {
    max-width: 1320px;
    margin: 0 auto 42px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.operations-strip div {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #22c55e;
    border-radius: 8px;
    padding: 18px;
}

.operations-strip strong,
.operations-strip span {
    display: block;
}

.operations-strip strong {
    color: #07111f;
    font-size: 17px;
}

.operations-strip span {
    margin-top: 6px;
    color: #64748b;
    line-height: 1.45;
}

.distributor-categories .category-highlight-card {
    border-radius: 8px;
    background: #0f172a;
    min-height: 170px;
}

.wholesale-band {
    max-width: 1280px;
    margin: 55px auto;
    border-radius: 8px;
    background: #facc15;
    color: #111827;
    padding: 42px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
}

.wholesale-band span {
    display: block;
    color: #166534;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 10px;
}

.wholesale-band h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.wholesale-band p {
    max-width: 720px;
    line-height: 1.6;
}

.wholesale-band a {
    background: #111827;
    color: #ffffff;
    border-radius: 8px;
    padding: 15px 22px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .distributor-hero {
        grid-template-columns: 1fr;
    }

    .operations-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .distributor-hero-content {
        padding: 28px;
        min-height: auto;
    }

    .distributor-hero-content h1 {
        font-size: 32px;
    }

    .hero-search,
    .hero-proof-grid,
    .hero-parts-board {
        grid-template-columns: 1fr;
    }

    .hero-search button {
        height: 52px;
    }

    .wholesale-band {
        margin-left: 20px;
        margin-right: 20px;
        padding: 28px;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CORREÇÃO MOBILE WS DISTRIBUIDORA ===== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

@media (max-width: 768px) {
    .site-header {
        padding: 22px 14px;
    }

    .header-inner {
        width: 100%;
        max-width: 100%;
        gap: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo-area {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }

    .site-logo {
        height: 120px;
        max-width: 78%;
    }

    .search-area {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 22px;
        overflow: hidden;
    }

    .search-area input {
        width: 100%;
        height: 48px;
        font-size: 16px;
        padding: 0 18px;
        text-align: left;
    }

    .search-area button {
        width: 100%;
        height: 52px;
        font-size: 18px;
        padding: 0;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
    }

    .header-link {
        font-size: 15px;
    }

    .cart-button {
        padding: 14px 22px;
        font-size: 17px;
    }

    .category-menu {
        padding: 18px 12px;
    }

    .category-inner {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
        text-align: center;
    }

    .category-inner a {
        font-size: 14px;
        line-height: 1.25;
        padding: 10px 6px;
        word-break: normal;
    }

    .distributor-hero {
        width: 100%;
        margin: 24px auto;
        padding: 0 12px;
        display: block;
    }

    .distributor-hero-content {
        width: 100%;
        padding: 28px 22px;
        border-radius: 14px;
        min-height: auto;
        overflow: hidden;
    }

    .distributor-hero-content h1 {
        font-size: 31px;
        line-height: 1.12;
        word-break: normal;
    }

    .distributor-hero-content p {
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-search {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;
    }

    .main-banner,
    .promo-strip,
    .wholesale-band,
    .section-block,
    .brands-section,
    .categories-highlight,
    .top-products-slider {
        max-width: 100%;
        overflow: hidden;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}