/* AutoPneus Store - Front Styles */
:root {
    --primary: #1A235A;
    --secondary: #FDB515;
    --accent: var(--secondary);
    --header-blue: #1A235A;
    --primary-rgb: 26, 35, 90;
    --secondary-rgb: 253, 181, 21;
    --on-primary: #fff;
    --on-secondary: #1a1a1a;
    --theme-primary-hover: color-mix(in srgb, var(--primary) 86%, #000);
    --theme-secondary-hover: color-mix(in srgb, var(--secondary) 86%, #000);
    --theme-primary-soft: rgba(var(--primary-rgb), 0.12);
    --theme-secondary-soft: rgba(var(--secondary-rgb), 0.16);
    --font-primary: 'Poppins', sans-serif;
    --bs-body-font-family: var(--font-primary);
    --bs-primary: var(--primary);
    --bs-primary-rgb: var(--primary-rgb);
    --bs-secondary: var(--secondary);
    --bs-secondary-rgb: var(--secondary-rgb);
}

.product-review-summary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.product-review-summary-link:hover {
    color: var(--bs-primary);
}

.product-review-stars {
    display: inline-flex;
    gap: 2px;
    color: #f5a524;
    white-space: nowrap;
}

.product-review-rating-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-review-rating-stars {
    display: inline-flex;
    gap: 6px;
}

.product-review-rating-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #d1d5db;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.product-review-rating-star:hover,
.product-review-rating-star.is-hover {
    color: #f5a524;
    transform: scale(1.05);
}

.product-review-rating-star.is-active {
    color: #f5a524;
}

.product-review-rating-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.product-reviews-section {
    margin-top: 32px;
    padding: 28px;
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.product-reviews-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.product-reviews-kicker {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.product-reviews-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 700;
}

.product-reviews-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    color: #64748b;
    font-size: 13px;
}

.product-reviews-score strong {
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
}

.product-review-form-card,
.product-review-item,
.product-review-empty {
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #f8fafc;
}

.product-review-form-card {
    padding: 20px;
}

.product-review-state {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.product-review-state i {
    color: var(--bs-primary);
    font-size: 24px;
}

.product-review-state strong,
.product-review-state span {
    display: block;
}

.product-review-state span {
    color: #64748b;
    font-size: 13px;
}

.product-review-list {
    display: grid;
    gap: 12px;
}

.product-review-item {
    padding: 18px;
    background: #fff;
}

.product-review-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.product-review-item-head strong,
.product-review-item-head span {
    display: block;
}

.product-review-item-head span {
    color: #64748b;
    font-size: 12px;
}

.product-review-item p {
    margin: 0;
    color: #334155;
    line-height: 1.6;
}

.product-review-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 36px 18px;
    color: #64748b;
    text-align: center;
}

.product-review-empty i {
    color: #f5a524;
    font-size: 28px;
}

.product-review-empty strong {
    color: #0f172a;
}

@media (max-width: 767.98px) {
    .product-reviews-section {
        padding: 20px;
    }

    .product-reviews-header,
    .product-review-item-head {
        flex-direction: column;
    }

    .product-reviews-score {
        align-items: flex-start;
    }
}

/* Customer account */
.customer-account-page {
    padding: 34px 0 56px;
    background: #f6f7fb;
}

.customer-account-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 28, 54, 0.06);
}

.customer-account-profile {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 16px;
}

.customer-account-profile img,
.customer-profile-photo img {
    border-radius: 50%;
    object-fit: cover;
}

.customer-account-profile img {
    width: 78px;
    height: 78px;
    border: 4px solid #f3f6fb;
}

.customer-account-profile span {
    display: block;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.customer-account-profile h1 {
    margin: 2px 0 4px;
    color: var(--primary);
    font-size: 1.65rem;
    font-weight: 700;
}

.customer-account-profile p {
    margin: 0;
    color: #667085;
}

.customer-account-stats {
    display: flex;
    gap: 12px;
}

.customer-account-tabs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding: 6px;
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #fff;
}

.customer-account-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #d4dae5;
    border-radius: 6px;
    background: #fff;
    color: #17213a;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.customer-account-logout:hover,
.customer-account-logout:focus {
    border-color: #d63638;
    background: #fff5f5;
    color: #b32d2e;
    text-decoration: none;
}

.customer-account-stats div {
    min-width: 112px;
    padding: 14px 16px;
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #f8fafc;
}

.customer-account-stats strong,
.customer-account-stats span {
    display: block;
}

.customer-account-stats strong {
    color: var(--primary);
    font-size: 1.35rem;
}

.customer-account-stats span {
    color: #667085;
    font-size: 0.82rem;
}

.customer-account-tabs {
    gap: 8px;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    flex: 1;
    min-width: 0;
}

.customer-account-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    color: #44506a;
    font-weight: 600;
}

.customer-account-tabs .nav-link.active {
    background: var(--primary);
    color: #fff;
}

.customer-account-shortcuts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding: 8px;
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 28, 54, 0.05);
}

.customer-account-shortcuts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.customer-account-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #d4dae5;
    border-radius: 6px;
    background: #fff;
    color: #17213a;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.customer-account-shortcut:hover,
.customer-account-shortcut:focus,
.customer-account-shortcut.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.customer-account-shortcut--logout {
    flex-shrink: 0;
}

.customer-account-shortcut--logout:hover,
.customer-account-shortcut--logout:focus {
    border-color: #d63638;
    background: #fff5f5;
    color: #b32d2e;
}

.customer-account-content {
    min-height: 360px;
}

.customer-order-card,
.customer-account-panel,
.customer-profile-photo-card,
.customer-tracking-card,
.customer-empty-state {
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 28, 54, 0.05);
}

.customer-orders-list {
    display: grid;
    gap: 12px;
}

.customer-order-card {
    overflow: hidden;
}

.customer-order-card .accordion-button {
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    box-shadow: none;
}

.customer-order-main,
.customer-order-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-order-main {
    min-width: 0;
    flex: 1;
}

.customer-order-main strong {
    color: var(--primary);
    font-size: 1.05rem;
}

.customer-order-main small,
.customer-order-info span,
.customer-tracking-code span {
    color: #667085;
    font-size: 0.82rem;
}

.customer-order-summary {
    flex: 0 0 auto;
}

.customer-order-summary > strong {
    color: #111827;
}

.customer-order-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 22px;
}

.customer-order-progress div {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: #98a2b3;
    font-size: 0.78rem;
    font-weight: 600;
}

.customer-order-progress span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef2f7;
    color: #667085;
}

.customer-order-progress .is-done span {
    background: var(--primary);
    color: #fff;
}

.customer-order-progress .is-done small {
    color: var(--primary);
}

.customer-order-grid,
.customer-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
}

.customer-order-grid h3,
.customer-account-panel h2 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.customer-order-items {
    display: grid;
    gap: 10px;
}

.customer-order-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #edf1f7;
    border-radius: 8px;
    background: #fbfcfe;
}

.customer-order-item strong,
.customer-order-item small {
    display: block;
}

.customer-order-item small {
    color: #667085;
}

.customer-order-info,
.customer-order-total {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    padding: 13px;
    border: 1px solid #edf1f7;
    border-radius: 8px;
    background: #fbfcfe;
}

.customer-order-info strong {
    color: #111827;
}

.customer-order-info small {
    color: #667085;
}

.customer-order-total {
    grid-template-columns: 1fr auto;
}

.customer-order-total span {
    color: #667085;
}

.customer-order-total strong:last-child {
    color: var(--primary);
    font-size: 1.1rem;
}

.customer-order-footer,
.admin-email-test-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.customer-profile-layout {
    align-items: start;
    grid-template-columns: 300px minmax(0, 1fr);
}

.customer-profile-photo-card,
.customer-account-panel {
    padding: 20px;
}

.customer-profile-photo {
    position: relative;
    width: 148px;
    height: 148px;
    margin: 0 auto 18px;
}

.customer-profile-photo img {
    width: 148px;
    height: 148px;
    border: 5px solid #f3f6fb;
}

.customer-profile-photo .app-file-remove {
    position: absolute;
    right: 4px;
    bottom: 4px;
}

.customer-profile-photo.is-removing img {
    opacity: 0.35;
    filter: grayscale(1);
}

.customer-profile-photo .app-file-remove.is-active .app-file-remove-btn {
    background: #dc2626;
    color: #fff;
}

.customer-profile-sections {
    display: grid;
    gap: 16px;
}

.customer-profile-save {
    justify-self: end;
}

.customer-account-page .app-file-field {
    position: relative;
}

.customer-account-page .app-file-field-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.customer-account-page .app-file-field-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
}

.customer-account-page .app-file-field-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eef2ff;
    color: var(--primary);
    flex: 0 0 auto;
}

.customer-account-page .app-file-field-body {
    display: grid;
    min-width: 0;
}

.customer-account-page .app-file-field-title {
    color: var(--primary);
    font-size: 0.88rem;
}

.customer-account-page .app-file-field-name,
.customer-account-page .app-file-field-hint {
    color: #667085;
    font-size: 0.78rem;
}

.customer-account-page .app-file-field-btn,
.customer-account-page .app-file-current {
    display: none;
}

.customer-account-page .app-file-remove-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #fee2e2;
    border-radius: 50%;
    background: #fff;
    color: #dc2626;
}

.customer-account-page .app-file-remove-input {
    position: absolute;
    opacity: 0;
}

.customer-tracking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customer-tracking-card {
    padding: 18px;
}

.customer-tracking-head,
.customer-tracking-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.customer-tracking-head span {
    display: block;
    color: #667085;
    font-size: 0.82rem;
}

.customer-tracking-head strong,
.customer-tracking-code strong {
    color: var(--primary);
}

.customer-tracking-code {
    margin: 16px 0;
    padding: 13px;
    border-radius: 8px;
    background: #f8fafc;
}

.customer-tracking-timeline {
    display: grid;
    gap: 10px;
}

.customer-tracking-timeline div {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 10px;
}

.customer-tracking-timeline div > span {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--secondary);
}

.customer-tracking-timeline p {
    margin: 0;
}

.customer-tracking-timeline small {
    display: block;
    color: #667085;
}

.customer-empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 44px 20px;
    text-align: center;
}

.customer-empty-state i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary);
    font-size: 1.6rem;
}

.customer-empty-state h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.25rem;
}

.customer-empty-state p {
    max-width: 460px;
    margin: 0;
    color: #667085;
}

.customer-order-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 22px;
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 28, 54, 0.06);
}

.customer-order-detail-header span {
    display: block;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.customer-order-detail-header h1 {
    margin: 2px 0 4px;
    color: var(--primary);
    font-size: 1.65rem;
    font-weight: 700;
}

.customer-order-detail-header p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #667085;
}

.customer-order-detail-actions,
.customer-order-local-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.customer-order-detail-actions {
    justify-content: flex-end;
}

.customer-order-local-nav {
    margin-bottom: 18px;
    padding: 8px;
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #fff;
}

.customer-order-local-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    color: #44506a;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.customer-order-local-nav a:hover,
.customer-order-local-nav a:focus {
    background: #eef2ff;
    color: var(--primary);
}

.customer-order-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 18px;
    align-items: start;
}

.customer-order-detail-side {
    display: grid;
    gap: 18px;
}

.customer-order-detail-item-list {
    display: grid;
    gap: 12px;
}

.customer-order-detail-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #edf1f7;
    border-radius: 8px;
    background: #fbfcfe;
}

.customer-order-detail-item img,
.customer-order-detail-item-placeholder {
    width: 74px;
    height: 74px;
    border: 1px solid #e5eaf3;
    border-radius: 8px;
    background: #fff;
}

.customer-order-detail-item img {
    object-fit: contain;
}

.customer-order-detail-item-placeholder {
    display: grid;
    place-items: center;
    color: #98a2b3;
    font-size: 1.3rem;
}

.customer-order-detail-item strong,
.customer-order-detail-item small {
    display: block;
}

.customer-order-detail-item small {
    color: #667085;
}

.customer-order-detail-item > strong:last-child {
    color: var(--primary);
    white-space: nowrap;
}

.customer-order-detail-history {
    margin-top: 4px;
}

@media (max-width: 991px) {
    .customer-account-hero,
    .customer-account-profile,
    .customer-account-stats,
    .customer-tracking-head,
    .customer-tracking-code {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-account-tabs-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-account-shortcuts,
    .customer-order-detail-header {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-account-shortcuts-list,
    .customer-order-detail-actions,
    .customer-order-detail-actions .btn,
    .customer-order-detail-actions form {
        width: 100%;
    }

    .customer-account-shortcut,
    .customer-order-detail-actions .btn,
    .customer-order-detail-actions button {
        width: 100%;
    }

    .customer-account-logout {
        width: 100%;
        justify-content: center;
    }

    .customer-account-stats {
        width: 100%;
        flex-direction: row;
    }

    .customer-account-stats div {
        flex: 1;
    }

    .customer-order-grid,
    .customer-profile-layout,
    .customer-tracking-list,
    .customer-order-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .customer-account-page {
        padding-top: 22px;
    }

    .customer-account-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
    }

    .customer-account-tabs .nav-link {
        white-space: nowrap;
    }

    .customer-order-card .accordion-button,
    .customer-order-summary,
    .customer-order-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-order-progress {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .customer-order-progress div {
        grid-template-columns: 30px minmax(0, 1fr);
        justify-items: start;
    }

    .customer-order-item {
        grid-template-columns: 1fr;
    }

    .customer-order-detail-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .customer-order-detail-item img,
    .customer-order-detail-item-placeholder {
        width: 64px;
        height: 64px;
    }

    .customer-order-detail-item > strong:last-child {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .customer-order-local-nav a {
        width: 100%;
    }

    .customer-profile-save,
    .customer-order-footer .btn,
    .customer-order-footer form {
        width: 100%;
    }
}

body.site-body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: clip;
}

.site-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-primary);
    color: #333;
}

.site-main {
    flex: 1;
    width: 100%;
}

/* Header: fundo full, conteúdo alinhado ao .container do site */
.site-header-band {
    width: 100%;
    flex-shrink: 0;
    z-index: 1030;
    overflow: visible;
}

.site-header {
    width: 100%;
    background: #fff;
    overflow: visible;
}
.bg-primary { background-color: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.text-secondary { color: var(--secondary) !important; }
.btn-primary { background-color: var(--header-blue); border-color: var(--header-blue); color: var(--on-primary); }
.btn-primary:hover { background-color: var(--theme-primary-hover); border-color: var(--theme-primary-hover); color: var(--on-primary); }
.btn-outline-primary { color: var(--header-blue); border-color: var(--header-blue); }
.btn-outline-primary:hover { background-color: var(--header-blue); color: var(--on-primary); }
.btn-secondary { background-color: var(--secondary); border-color: var(--secondary); color: var(--on-secondary); }
.btn-secondary:hover { background-color: var(--theme-secondary-hover); border-color: var(--theme-secondary-hover); color: var(--on-secondary); }
.btn-outline-secondary { color: var(--secondary); border-color: var(--secondary); }
.btn-outline-secondary:hover { background-color: var(--secondary); border-color: var(--secondary); color: var(--on-secondary); }

/* ========== HEADER ESTILO E-COMMERCE AUTOMOTIVO ========== */

.topbar-utility {
    width: 100%;
    background: var(--accent);
    color: var(--on-secondary);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    box-sizing: border-box;
}

.topbar-promo { line-height: 1.3; flex: 1; min-width: 0; }

.topbar-links { gap: 24px; flex-shrink: 0; }

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.68rem;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.topbar-link:hover { color: #000; opacity: 0.8; }
.topbar-link i { font-size: 0.95rem; }

.header-main {
    width: 100%;
    background: #fff;
    overflow: visible;
}

/* Grid: logo à esquerda (altura total) | busca em cima + menu embaixo à direita */
.header-layout {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "logo actions"
        "logo nav";
    width: 100%;
    overflow: visible;
}

.header-logo-panel {
    grid-area: logo;
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
    background: transparent;
    padding: 14px 36px 14px 0;
    padding-left: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    text-decoration: none;
    min-width: 260px;
    box-sizing: border-box;
    z-index: 2;
    isolation: isolate;
}

.header-logo-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(100% + 40px);
    background: var(--header-blue);
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.header-logo-img {
    position: relative;
    z-index: 1;
    max-height: 72px;
    max-width: 240px;
    width: auto;
    object-fit: contain;
}

.header-logo-text {
    position: relative;
    z-index: 1;
    color: #fff;
    line-height: 1.2;
}

.header-logo-text .logo-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.header-logo-text .logo-tagline {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 2px;
}

.header-actions-row {
    grid-area: actions;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 18px;
    padding: 16px 0 12px 44px;
    min-width: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
}

.header-search-form {
    flex: 1;
    min-width: 0;
    max-width: none;
    align-self: center;
}

.header-search-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #c5cad6;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.header-search-input {
    flex: 1;
    border: none;
    padding: 9px 14px;
    font-size: 0.82rem;
    color: #555;
    outline: none;
    min-width: 0;
}

.header-search-input::placeholder {
    color: #9aa0ad;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.header-search-btn {
    border: none;
    background: transparent;
    padding: 0 14px;
    color: var(--header-blue);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.header-search-btn:hover { color: var(--accent); }

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.header-user-account {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 5px 10px 5px 5px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-user-account:hover,
.header-user-account:focus-visible {
    background: #f5f7ff;
    border-color: rgba(var(--primary-rgb), 0.16);
    text-decoration: none;
}

.header-user-account:hover .header-user-account-label,
.header-user-account:focus-visible .header-user-account-label {
    color: var(--header-blue);
}

.header-user-greeting {
    display: block;
    color: var(--header-blue);
    font-weight: 800;
}

.header-user-account-label {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 1px;
    color: #666;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.header-user-account-label .bi {
    font-size: 0.62rem;
    line-height: 1;
}

.header-user-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--header-blue);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.header-user-icon-wrap.has-avatar {
    border-width: 1px;
}

.header-user-icon-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-user-icon {
    font-size: 1.15rem;
    color: var(--header-blue);
    line-height: 1;
}

.header-user-text {
    font-size: 0.68rem;
    color: #444;
    line-height: 1.35;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.header-user-link {
    color: var(--header-blue);
    text-decoration: none;
}

.header-user-link:hover { text-decoration: underline; color: var(--header-blue); }

.auth-drawer-open {
    overflow: hidden;
}

.auth-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.auth-drawer-overlay.open {
    opacity: 1;
}

.auth-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1081;
    width: min(390px, 100vw);
    height: 100vh;
    background: #fff;
    color: var(--primary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
}

.auth-drawer.open {
    transform: translateX(0);
}

.auth-drawer-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    min-height: 56px;
    padding: 0 18px;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}

.auth-drawer-icon {
    color: var(--accent);
    font-size: 1.24rem;
    line-height: 1;
}

.auth-drawer-title {
    margin: 0;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}

.auth-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    border: none;
    background: transparent;
    color: #222;
    font-size: 1.15rem;
}

.auth-drawer-body {
    padding: 24px 26px 40px;
}

.auth-drawer-panel {
    display: none;
}

.auth-drawer-panel.active {
    display: block;
}

.auth-drawer-form {
    display: grid;
    gap: 12px;
}

.auth-drawer-input {
    width: 100%;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 2px;
    padding: 0 20px;
    color: #555;
    font-size: 0.9rem;
    outline: none;
}

.auth-drawer-input:focus {
    border-color: var(--primary);
}

.auth-drawer-forgot {
    justify-self: end;
    color: #000;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.auth-drawer-forgot:hover {
    color: var(--primary);
}

.auth-drawer-submit,
.auth-drawer-outline {
    width: 100%;
    min-height: 38px;
    border-radius: 3px;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.auth-drawer-submit {
    margin-top: 10px;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: #fff;
}

.auth-drawer-submit:hover,
.auth-drawer-submit:focus {
    background: var(--secondary);
    border-color: var(--secondary);
}

.auth-drawer-switch {
    margin-top: 96px;
    text-align: center;
}

.auth-drawer-switch p {
    max-width: 280px;
    margin: 0 auto 14px;
    color: #000;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
}

.auth-drawer-outline {
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
}

.auth-drawer-outline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.auth-drawer-outline:hover,
.auth-drawer-outline:focus {
    background: var(--primary);
    color: #fff;
}

.cart-drawer-open {
    overflow: hidden;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1082;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cart-drawer-overlay.open {
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1083;
    display: flex;
    flex-direction: column;
    width: min(390px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    color: var(--primary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow: hidden;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    min-height: 56px;
    padding: 0 18px;
    border-bottom: 1px solid #ececf0;
    background: #fff;
}

.cart-drawer-icon {
    color: var(--accent);
    font-size: 1.12rem;
    line-height: 1;
}

.cart-drawer-title {
    margin: 0;
    color: var(--primary);
    font-size: 1.02rem;
    font-weight: 700;
    text-align: center;
}

.cart-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    border: none;
    background: transparent;
    color: #222;
    font-size: 1.12rem;
}

.cart-drawer-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.cart-drawer-list {
    display: grid;
    padding: 14px 24px 0;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 13px 0;
    border-bottom: 1px solid #eeeeef;
}

.cart-drawer-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: 2px;
    border-radius: 4px;
    background: #f7f8fb;
    overflow: hidden;
}

.cart-drawer-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-drawer-item-info {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.cart-drawer-item-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 8px;
    align-items: start;
}

.cart-drawer-item-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.12;
    text-decoration: none;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.cart-drawer-item-title:hover {
    color: var(--secondary);
}

.cart-drawer-remove-form {
    margin: 0;
}

.cart-drawer-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #a0a5af;
    font-size: 0.88rem;
    line-height: 1;
}

.cart-drawer-remove:hover,
.cart-drawer-remove:focus {
    background: #fff1f2;
    color: #e11d48;
}

.cart-drawer-item-variation,
.cart-drawer-item-meta span {
    display: block;
    color: #8d929c;
    font-size: 0.8rem;
    line-height: 1.1;
}

.cart-drawer-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-drawer-item-price {
    color: #7b808a;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
}

.cart-drawer-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 42px 26px;
    text-align: center;
}

.cart-drawer-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #f4f5f9;
    color: var(--accent);
    font-size: 1.6rem;
}

.cart-drawer-empty strong {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.cart-drawer-empty p {
    margin: 0 0 8px;
    color: #777d89;
    font-size: 0.86rem;
}

.cart-drawer-footer {
    display: grid;
    gap: 10px;
    padding: 20px 24px 34px;
    border-top: 1px solid #ececf0;
    background: #fff;
}

.cart-drawer-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
    color: #222733;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cart-drawer-total-line strong {
    color: #222733;
    font-size: 0.98rem;
    font-weight: 700;
}

.cart-drawer-total-line--muted {
    margin-bottom: 0;
    color: #777d89;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: none;
}

.cart-drawer-total-line--muted strong {
    color: #777d89;
    font-size: 0.84rem;
    font-weight: 500;
}

.cart-drawer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.cart-drawer-button--primary {
    border: 2px solid var(--primary);
    background: var(--primary);
    color: #fff;
}

.cart-drawer-button--primary:hover,
.cart-drawer-button--primary:focus {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #fff;
}

.cart-drawer-button--outline {
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
}

.cart-drawer-button--outline:hover,
.cart-drawer-button--outline:focus {
    background: var(--primary);
    color: #fff;
}

.customer-register-page {
    padding: 42px 0 76px;
    background: #fff;
}

.customer-register-heading {
    text-align: center;
    color: var(--primary);
}

.customer-register-heading h1 {
    margin: 0 0 16px;
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.customer-register-heading p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.customer-type-toggle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.customer-type-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customer-type-toggle label {
    min-width: 136px;
    padding: 9px 20px;
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.customer-type-toggle input:checked + label {
    background: var(--primary);
    color: #fff;
}

.customer-register-form {
    margin-top: 30px;
}

.customer-register-section h2 {
    margin: 0 0 18px;
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--accent);
    color: var(--primary);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-align: center;
}

.customer-register-section .form-label {
    margin-bottom: 5px;
    color: #5f6368;
    font-size: 0.8rem;
    font-weight: 700;
}

.customer-register-section .form-control,
.customer-register-section .form-select {
    min-height: 36px;
    border-color: #e0e0e0;
    border-radius: 4px;
    color: #555;
    font-size: 0.9rem;
}

.customer-register-section .form-control:focus,
.customer-register-section .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.14rem rgba(var(--primary-rgb), 0.12);
}

.customer-phone-grid {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 10px;
}

.customer-person-fields[hidden] {
    display: none !important;
}

.customer-ie-exempt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    margin: 0;
    color: #5f6368;
    font-size: 0.82rem;
    font-weight: 800;
}

.customer-ie-exempt input {
    width: 13px;
    height: 13px;
}

.customer-cep-help-wrap {
    display: flex;
    align-items: end;
    padding-bottom: 9px;
}

.customer-cep-help {
    color: #000;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: underline;
}

.customer-password-wrap {
    position: relative;
}

.customer-password-wrap .form-control {
    padding-right: 44px;
}

.customer-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #8a8a8a;
    font-size: 1.1rem;
    transform: translateY(-50%);
}

.customer-newsletter-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #000;
    font-size: 0.84rem;
    font-weight: 800;
}

.customer-newsletter-check input {
    width: 13px;
    height: 13px;
}

.customer-register-submit {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customer-register-submit:hover,
.customer-register-submit:focus {
    background: var(--secondary);
}

.cart-page {
    padding: 34px 0 70px;
    background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

.cart-page-heading {
    margin-bottom: 22px;
}

.cart-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-page-heading h1 {
    margin: 6px 0 0;
    color: #1f2430;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 600;
}

.cart-empty-state {
    max-width: 560px;
    margin: 30px auto 0;
    padding: 46px 28px;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 25, 50, 0.08);
    text-align: center;
}

.cart-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #f5f6fb;
    color: var(--primary);
    font-size: 2rem;
}

.cart-empty-state h2 {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
}

.cart-empty-state p {
    color: #6f7480;
}

.cart-items-panel,
.cart-coupon-card,
.cart-summary-card {
    border: 1px solid #edf0f4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 25, 50, 0.07);
}

.cart-items-header {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) 0.65fr 0.45fr 0.75fr 42px;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid #eef0f4;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-items-list {
    display: grid;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 0.65fr 0.45fr 0.75fr 42px;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #eef0f4;
}

.cart-item-card:last-child {
    border-bottom: 0;
}

.cart-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #f8f9fb;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--primary);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-title:hover {
    color: var(--secondary);
}

.cart-item-info small,
.cart-item-brand,
.cart-mobile-label {
    display: block;
    color: #8b9099;
    font-size: 0.76rem;
    font-weight: 500;
}

.cart-item-brand {
    margin-top: 5px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
}

.cart-item-price strong,
.cart-item-subtotal strong {
    color: #1f2430;
    font-size: 0.98rem;
    font-weight: 600;
}

.cart-item-subtotal strong {
    color: var(--primary);
}

.cart-mobile-label {
    display: none;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.cart-qty-form {
    margin: 0;
}

.cart-qty-input {
    width: 74px;
    height: 38px;
    border: 1px solid #dfe3eb;
    border-radius: 6px;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}

.cart-qty-input:focus {
    border-color: var(--primary);
    outline: none;
}

.cart-remove-form {
    margin: 0;
}

.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ff5d70;
    border-radius: 8px;
    background: #fff;
    color: #ff4058;
}

.cart-remove-btn:hover,
.cart-remove-btn:focus {
    background: #ff4058;
    color: #fff;
}

.cart-coupon-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-top: 18px;
    padding: 18px 20px;
}

.cart-coupon-card strong {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.cart-coupon-card span {
    color: #858a95;
    font-size: 0.78rem;
}

.cart-coupon-field {
    display: flex;
    gap: 10px;
}

.cart-coupon-field input {
    min-height: 42px;
    border-color: #dfe3eb;
}

.cart-coupon-field button {
    min-width: 104px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
}

.cart-coupon-field button:hover,
.cart-coupon-field button:focus {
    background: var(--primary);
    color: #fff;
}

.cart-summary-card {
    position: sticky;
    top: 150px;
    padding: 24px;
}

.cart-summary-card h2 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cart-summary-row {
    padding: 9px 0;
    color: #535966;
    font-size: 0.94rem;
}

.cart-summary-row strong {
    color: #1f2430;
    font-weight: 600;
}

.cart-summary-row--discount,
.cart-summary-row--discount strong {
    color: #15803d;
}

.cart-summary-total {
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid #dfe3eb;
    color: #1f2430;
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-summary-total strong {
    color: var(--primary);
    font-size: 1.35rem;
}

.cart-primary-action,
.cart-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 7px;
    font-weight: 600;
    text-decoration: none;
}

.cart-primary-action {
    margin-top: 22px;
    background: var(--primary);
    color: #fff;
}

.cart-primary-action:hover,
.cart-primary-action:focus {
    background: var(--secondary);
    color: #fff;
}

.cart-secondary-action {
    margin-top: 10px;
    border: 1px solid #aeb4c2;
    background: #fff;
    color: #535966;
}

.cart-secondary-action:hover,
.cart-secondary-action:focus {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-summary-benefits {
    display: grid;
    gap: 9px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eef0f4;
    color: #6c7280;
    font-size: 0.8rem;
    font-weight: 500;
}

.cart-summary-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-summary-benefits i {
    color: var(--accent);
    font-size: 1rem;
}

.checkout-page {
    padding: 34px 0 72px;
    background: linear-gradient(180deg, #f7f8fb 0%, #fff 42%);
}

.checkout-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.checkout-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-heading h1 {
    margin: 7px 0 6px;
    color: #1f2430;
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 600;
}

.checkout-heading p {
    max-width: 640px;
    margin: 0;
    color: #667080;
    font-size: 0.96rem;
}

.checkout-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.checkout-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e7eaf2;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(18, 26, 66, 0.06);
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 24px;
    align-items: start;
}

.checkout-main {
    display: grid;
    gap: 18px;
}

.checkout-login-card,
.checkout-section-card,
.checkout-summary {
    border: 1px solid #edf0f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(20, 25, 50, 0.07);
}

.checkout-login-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
}

.checkout-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(var(--secondary-rgb), 0.16);
    color: var(--primary);
    font-size: 1.25rem;
}

.checkout-login-card > div strong,
.checkout-login-card > div span {
    display: block;
}

.checkout-login-card strong {
    color: var(--primary);
    font-size: 0.96rem;
    font-weight: 700;
}

.checkout-login-card span {
    color: #697180;
    font-size: 0.84rem;
}

.checkout-login-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--primary);
    border-radius: 7px;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.checkout-login-card a:hover,
.checkout-login-card a:focus {
    background: var(--primary);
    color: #fff;
}

.checkout-section-card {
    padding: 22px;
}

.checkout-section-header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.checkout-section-header h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 700;
}

.checkout-section-header p {
    margin: 3px 0 0;
    color: #7a818d;
    font-size: 0.84rem;
}

.checkout-fields {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.checkout-field {
    grid-column: span 12;
}

.checkout-field--half {
    grid-column: span 6;
}

.checkout-field--third {
    grid-column: span 4;
}

.checkout-card-fields {
    border-top: 1px solid #e8edf5;
    padding-top: 4px;
}

.checkout-payment-result {
    border-radius: 16px;
}

.checkout-field--zip,
.checkout-field--number {
    grid-column: span 4;
}

.checkout-field--street {
    grid-column: span 8;
}

.checkout-field--complement,
.checkout-field--neighborhood {
    grid-column: span 4;
}

.checkout-field label {
    display: block;
    margin-bottom: 7px;
    color: #2c3240;
    font-size: 0.84rem;
    font-weight: 600;
}

.checkout-field .form-control {
    min-height: 44px;
    border: 1px solid #dfe4ec;
    border-radius: 8px;
    color: #202636;
    font-size: 0.93rem;
    box-shadow: none;
}

.checkout-field .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.checkout-shipping-options {
    display: grid;
    gap: 10px;
}

.checkout-shipping-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px dashed #cfd5df;
    border-radius: 10px;
    background: #f8f9fc;
    color: #6b7280;
    font-size: 0.9rem;
}

.checkout-shipping-empty i {
    color: var(--primary);
    font-size: 1.15rem;
}

.checkout-shipping-option {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid #e2e6ee;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.checkout-section-card.is-pickup-selected {
    border-color: rgba(var(--secondary-rgb), 0.55);
}

.checkout-shipping-option:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 10px 26px rgba(18, 26, 66, 0.08);
}

.checkout-shipping-option input {
    accent-color: var(--primary);
}

.checkout-shipping-copy strong,
.checkout-shipping-copy small {
    display: block;
}

.checkout-shipping-copy strong {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.checkout-shipping-copy small {
    color: #7a818d;
    font-size: 0.78rem;
}

.checkout-shipping-price {
    color: #1f2430;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.checkout-shipping-note {
    grid-column: 2 / -1;
    color: #7a818d;
    font-size: 0.76rem;
    font-style: normal;
    line-height: 1.35;
}

.checkout-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.checkout-payment-option {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 74px;
    padding: 12px;
    border: 1px solid #e2e6ee;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-payment-option:hover,
.checkout-payment-option:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 10px 26px rgba(18, 26, 66, 0.08);
}

.checkout-payment-option input {
    position: absolute;
    top: 10px;
    right: 10px;
    accent-color: var(--primary);
}

.checkout-payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f4f6fb;
    color: var(--primary);
    font-size: 1.08rem;
}

.checkout-payment-option:has(input:checked) .checkout-payment-icon {
    background: rgba(var(--secondary-rgb), 0.18);
    color: var(--primary);
}

.checkout-payment-option strong,
.checkout-payment-option small {
    display: block;
}

.checkout-payment-option strong {
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
}

.checkout-payment-option small {
    margin-top: 2px;
    color: #7a818d;
    font-size: 0.74rem;
}

.checkout-summary {
    position: sticky;
    top: 150px;
    padding: 22px;
}

.checkout-summary-header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf0f4;
}

.checkout-summary-header > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 1.15rem;
}

.checkout-summary-header h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.12rem;
    font-weight: 700;
}

.checkout-summary-header p {
    margin: 2px 0 0;
    color: #7b828f;
    font-size: 0.8rem;
}

.checkout-summary-items {
    display: grid;
    max-height: 280px;
    overflow-y: auto;
    padding: 8px 0;
}

.checkout-summary-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f6;
}

.checkout-summary-item:last-child {
    border-bottom: 0;
}

.checkout-summary-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: #f7f8fb;
    overflow: hidden;
}

.checkout-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-summary-info {
    min-width: 0;
}

.checkout-summary-info a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.checkout-summary-info a:hover {
    color: var(--secondary);
}

.checkout-summary-info span {
    display: block;
    margin-top: 4px;
    color: #858b96;
    font-size: 0.76rem;
}

.checkout-summary-item > strong {
    color: #363b46;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-summary-totals {
    display: grid;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;
}

.checkout-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #596170;
    font-size: 0.92rem;
}

.checkout-total-row strong {
    color: #262c38;
    font-weight: 600;
}

.checkout-total-row--discount,
.checkout-total-row--discount strong {
    color: #16803d;
}

.checkout-total-row--grand {
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px solid #dfe4ec;
    color: #1f2430;
    font-size: 1.08rem;
    font-weight: 700;
}

.checkout-total-row--grand strong {
    color: var(--primary);
    font-size: 1.28rem;
    font-weight: 700;
}

.checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.checkout-submit:hover,
.checkout-submit:focus {
    background: var(--secondary);
}

.checkout-summary-footer {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;
    color: #6b7280;
    font-size: 0.78rem;
}

.checkout-summary-footer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.checkout-summary-footer i {
    color: var(--accent);
    font-size: 0.95rem;
}

.header-cart-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    padding: 0 0 0 20px;
    padding-right: calc(50vw - 50%);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    z-index: 4;
    isolation: isolate;
}

.header-cart-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(100% + 40px);
    background: #fff;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.header-cart {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--header-blue);
    font-size: 1.85rem;
    text-decoration: none;
    padding: 2px 12px 2px 4px;
    line-height: 1;
    flex-shrink: 0;
}

.header-cart:hover { color: var(--theme-primary-hover); }

.header-cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--accent);
    color: #1a1a1a;
    font-size: 0.62rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Menu de categorias — apenas na coluna direita (área branca) */
.header-category-nav {
    grid-area: nav;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eef0f4;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}

.header-nav-toggle {
    width: 100%;
    border: none;
    background: #f5f6f8;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--header-blue);
    text-align: left;
    box-sizing: border-box;
}

.header-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.header-category-item {
    position: relative;
    flex: 1;
    display: flex;
}

.header-category-item + .header-category-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: #dfe3eb;
    z-index: 1;
}

.header-category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 10px 6px 12px;
    text-decoration: none;
    color: var(--header-blue);
    transition: background 0.2s, color 0.2s;
    box-sizing: border-box;
}

.header-category-link.dropdown-toggle::after {
    display: none;
}

.header-category-link:hover,
.header-category-link.show {
    color: var(--header-blue);
}

.header-category-link:hover .header-category-label,
.header-category-link.show .header-category-label {
    color: var(--secondary);
}

.header-category-icon {
    font-size: 1.65rem;
    line-height: 1;
}

.header-category-img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-category-label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.15;
    text-transform: uppercase;
}

.header-category-dropdown {
    --bs-dropdown-spacer: 0;
    top: calc(100% - 8px);
    left: 0;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 0 0 6px 6px;
    margin-top: 0 !important;
}

.header-category-dropdown .dropdown-item {
    font-size: 0.85rem;
    padding: 8px 20px;
}

.header-category-dropdown .dropdown-item:hover {
    background: #f5f7fb;
    color: var(--header-blue);
}

@media (min-width: 992px) {
    .header-category-item.dropdown:hover > .header-category-dropdown,
    .header-category-item.dropdown:focus-within > .header-category-dropdown {
        display: block;
    }

    .header-category-item.dropdown:hover > .header-category-link .header-category-label,
    .header-category-item.dropdown:focus-within > .header-category-link .header-category-label {
        color: var(--secondary);
    }
}

/* ========== RESTANTE DA LOJA ========== */

.banner-img {
    height: clamp(460px, 34vw, 560px);
    object-fit: cover;
}

.hero-banner .carousel-control-prev,
.hero-banner .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    opacity: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-banner .carousel-control-prev { left: 22px; }
.hero-banner .carousel-control-next { right: 22px; }

.hero-banner .carousel-control-prev:hover,
.hero-banner .carousel-control-next:hover,
.hero-banner .carousel-control-prev:focus,
.hero-banner .carousel-control-next:focus {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.hero-banner .carousel-control-prev-icon,
.hero-banner .carousel-control-next-icon {
    position: relative;
    width: 16px;
    height: 16px;
    background-image: none;
}

.hero-banner .carousel-control-prev-icon::before,
.hero-banner .carousel-control-next-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border: solid currentColor;
    border-width: 0 0 3px 3px;
}

.hero-banner .carousel-control-prev-icon::before {
    transform: translate(-35%, -50%) rotate(45deg);
}

.hero-banner .carousel-control-next-icon::before {
    transform: translate(-65%, -50%) rotate(-135deg);
}

.hero-banner .carousel-indicators {
    bottom: 18px;
    gap: 8px;
    margin-bottom: 0;
}

.hero-banner .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    margin: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    opacity: 0.85;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.hero-banner .carousel-indicators [data-bs-target]:hover,
.hero-banner .carousel-indicators [data-bs-target]:focus {
    background: var(--secondary);
    border-color: var(--secondary);
    opacity: 1;
    transform: scale(1.15);
}

.hero-banner .carousel-indicators .active {
    background: var(--primary);
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.15);
}

.hero-placeholder { border-radius: 0; background: var(--header-blue) !important; }

.home-highlight-card {
    display: block;
    width: 100%;
    aspect-ratio: 1.22;
    overflow: hidden;
    border-radius: 14px;
    background: var(--header-blue);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.home-highlight-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-highlight-card:hover .home-highlight-img,
.home-highlight-card:focus .home-highlight-img {
    transform: scale(1.08);
}

.products-page {
    background: #fff;
}

.product-mobile-filter-bar,
.product-filter-mobile-head {
    display: none;
}

.product-filter-overlay {
    display: none;
}

.product-filter-panel {
    position: sticky;
    top: 150px;
    display: grid;
    gap: 0;
    color: var(--primary);
}

.product-filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 8px;
    border-bottom: 1px solid #e2e2e2;
    color: var(--primary);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-filter-title i {
    color: var(--accent);
    font-size: 1rem;
}

.product-filter-group {
    border-bottom: 1px solid #e5e5e5;
}

.product-filter-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0 10px;
    color: var(--primary);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
    list-style: none;
    cursor: pointer;
}

.product-filter-group summary::-webkit-details-marker {
    display: none;
}

.product-filter-group summary::after {
    content: '\F282';
    color: var(--accent);
    font-family: 'bootstrap-icons';
    font-size: 0.85rem;
    line-height: 1;
    transition: transform 0.18s ease;
}

.product-filter-group[open] summary::after {
    transform: rotate(180deg);
}

.product-filter-options {
    display: grid;
    gap: 7px;
    padding: 0 0 13px;
}

.product-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}

.product-filter-option > span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
}

.product-filter-option input[type="checkbox"] {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    margin: 0;
    border: 1px solid #9aa0aa;
    accent-color: var(--primary);
}

.product-filter-option small {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 500;
}

.product-filter-body {
    padding: 0 0 13px;
}

.product-filter-input {
    width: 100%;
    min-height: 34px;
    border: 1px solid #d6d8de;
    border-radius: 3px;
    padding: 6px 9px;
    color: #29304a;
    font-size: 0.84rem;
    outline: none;
}

.product-filter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.14rem rgba(var(--primary-rgb), 0.12);
}

.product-filter-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 0 13px;
}

.product-filter-submit,
.product-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    margin-top: 14px;
    border-radius: 3px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.product-filter-submit {
    border: 0;
    background: var(--primary);
    color: #fff;
}

.product-filter-submit:hover,
.product-filter-submit:focus {
    background: var(--secondary);
}

.product-filter-clear {
    margin-top: 8px;
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
}

.product-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.product-list-toolbar h1 {
    margin: 0;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-list-toolbar span {
    display: block;
    margin-top: 3px;
    color: #7a7f8d;
    font-size: 0.82rem;
}

.product-sort-form {
    min-width: 190px;
}

.product-empty-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 44px 28px;
    border: 1px solid #e4e7ef;
    border-radius: 6px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
    text-align: center;
}

.product-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(var(--secondary-rgb), 0.16);
    color: var(--primary);
    font-size: 1.45rem;
}

.product-empty-state h2 {
    margin: 4px 0 0;
    color: var(--primary);
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-empty-state p {
    max-width: 520px;
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.55;
}

.product-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.product-empty-primary,
.product-empty-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 3px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.product-empty-primary {
    background: var(--primary);
    color: #fff;
}

.product-empty-primary:hover,
.product-empty-primary:focus {
    background: var(--secondary);
    color: #fff;
}

.product-empty-secondary {
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
}

.product-empty-secondary:hover,
.product-empty-secondary:focus {
    background: #f4f6fb;
    color: var(--primary);
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}

.product-media {
    position: relative;
    min-height: 238px;
    padding: 14px 42px 0;
    background: #fff;
}

.product-img-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 230px;
}

.product-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.product-img--secondary {
    opacity: 0;
}

.product-card:hover .product-img-link.has-secondary-image .product-img--secondary {
    opacity: 1;
}

.product-card:hover .product-img-link.has-secondary-image .product-img--primary {
    opacity: 0;
}

.product-badge {
    position: absolute;
    z-index: 3;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.product-badge--left_vertical {
    top: 14px;
    left: 10px;
    width: 24px;
    height: 220px;
}

.product-badge--right {
    top: 55px;
    right: 10px;
    width: 72px;
    max-height: 72px;
}

.product-badge--top_left {
    top: 10px;
    left: 42px;
    width: 72px;
    max-height: 54px;
}

.product-badge--top_right {
    top: 10px;
    right: 10px;
    width: 72px;
    max-height: 54px;
}

.badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: var(--primary);
    color: #fff;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
}

.product-info {
    flex: 1;
    padding: 10px 26px 18px;
    text-align: center;
}

.product-title {
    min-height: 48px;
    margin: 0 0 8px;
    font-size: 1.03rem;
    font-weight: 800;
    line-height: 1.22;
    color: var(--primary);
}

.product-title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card .price-main {
    color: var(--accent);
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.15;
}

.product-card .price-main span {
    color: #777;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-card .price-installment {
    margin-top: 7px;
    color: #818181;
    font-size: 0.8rem;
    line-height: 1.2;
}

.product-buy-form {
    margin: 0;
}

.product-buy-btn {
    display: grid;
    grid-template-columns: 1fr 92px;
    width: 100%;
    min-height: 39px;
    padding: 0;
    overflow: hidden;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-buy-btn > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-buy-icon {
    gap: 8px;
    background: #31A86C;
    font-size: 1.1rem;
}

.product-buy-btn:hover .product-buy-icon,
.product-buy-btn:focus .product-buy-icon {
    background: var(--secondary);
}

.section-title {
    position: relative;
    width: 100%;
    padding-bottom: 8px;
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 800;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
}

.section-title::before {
    width: 100%;
    background: var(--primary);
}

.section-title::after {
    width: min(260px, 42%);
    background: var(--accent);
}

.product-original-label {
    position: absolute;
    top: 16px;
    left: 10px;
    z-index: 2;
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    pointer-events: none;
}

.product-suggestions-section {
    margin-top: 3rem;
    padding: 1.5rem 0 0.5rem;
}

.product-suggestions-carousel {
    position: relative;
    margin-top: 1.25rem;
    padding: 0 54px;
}

.product-suggestions-track-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-suggestions-track-wrap::-webkit-scrollbar {
    display: none;
}

.product-suggestions-track {
    display: flex;
    gap: 16px;
    padding: 4px 2px 8px;
}

.product-suggestions-item {
    flex: 0 0 calc(25% - 12px);
    min-width: calc(25% - 12px);
    scroll-snap-align: start;
}

.product-suggestions-item .product-card {
    height: 100%;
}

.suggestions-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.22);
    transform: translateY(-50%);
    transition: background 0.2s ease, opacity 0.2s ease;
}

.suggestions-nav:hover:not(:disabled),
.suggestions-nav:focus:not(:disabled) {
    background: var(--secondary);
}

.suggestions-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.suggestions-nav--prev {
    left: 0;
}

.suggestions-nav--next {
    right: 0;
}

.product-suggestions-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.btn-suggestions-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 14px 28px;
    border: none;
    border-radius: 2px;
    background: var(--primary);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.btn-suggestions-login:hover,
.btn-suggestions-login:focus {
    background: var(--secondary);
    color: #fff;
}

.product-main-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f9fa;
}

.main-product-img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: contain;
    background: #f8f9fa;
}

.main-product-video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.product-main-media.is-image {
    cursor: zoom-in;
}

.product-main-media.is-video {
    cursor: default;
}

.product-zoom-lens {
    position: absolute;
    z-index: 5;
    width: 170px;
    height: 170px;
    border: 4px solid rgba(160, 160, 160, 0.9);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.15s ease;
}

.product-main-media:hover .product-zoom-lens {
    opacity: 1;
}

.product-media-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.product-media-thumb {
    position: relative;
    width: 74px;
    height: 74px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

.product-media-thumb.active,
.product-media-thumb:hover,
.product-media-thumb:focus {
    border-color: var(--accent);
}

.product-media-thumb .thumb-img {
    width: 100%;
    height: 100%;
    border: 0;
}

.product-media-thumb--video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.product-media-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    transform: translate(-50%, -50%);
}

.breadcrumb {
    --bs-breadcrumb-divider-color: #b8b8b8;
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
    color: #9b9b9b;
}

.breadcrumb a,
.breadcrumb-item,
.breadcrumb-item.active {
    color: #9b9b9b;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
    color: #777;
}

.breadcrumb-item {
    min-width: 0;
    white-space: nowrap;
}

.breadcrumb-item.active {
    overflow: hidden;
    max-width: min(620px, 52vw);
    text-overflow: ellipsis;
}

.product-heading-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.product-category-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.product-category-kicker:hover,
.product-category-kicker:focus {
    color: var(--primary);
}

.product-category-kicker-icon {
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.product-category-kicker-img {
    width: 30px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.product-brand-mark {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 120px;
    flex-shrink: 0;
}

.product-brand-logo {
    display: block;
    max-width: 160px;
    max-height: 34px;
    object-fit: contain;
}

.product-brand-text {
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0.04em;
}

.product-buy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.96fr);
    gap: 30px;
    align-items: start;
    margin-top: 26px;
}

.product-buy-main {
    min-width: 0;
}

.product-pix-main {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    color: var(--accent);
    font-size: clamp(1.85rem, 2.7vw, 2.25rem);
    font-weight: 900;
    line-height: 1;
}

.product-pix-main small {
    margin-bottom: 4px;
    color: #777;
    font-size: 0.76rem;
    font-weight: 800;
}

.product-card-installment {
    margin-top: 6px;
    color: #777;
    font-size: 0.88rem;
    font-weight: 700;
}

.product-card-installment strong {
    color: var(--primary);
    font-weight: 900;
}

.product-installments-card {
    border: 1px solid #dedede;
    background: #f8f8f8;
    padding: 20px 24px;
}

.product-installments-card h6 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-installments-card h6 i {
    color: var(--primary);
    font-size: 1.05rem;
}

.product-installments-list {
    display: grid;
    gap: 7px;
    color: #666;
    font-size: 0.82rem;
    line-height: 1.25;
}

.product-installment-line {
    text-align: center;
}

.product-installment-line strong {
    color: #121212;
    font-weight: 900;
}

.product-installment-line em {
    color: #777;
    font-style: normal;
}

.tire-pack-selector {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px;
    margin-top: 22px;
}

.tire-pack-option {
    position: relative;
    width: 72px;
    min-height: 62px;
    padding: 6px 4px 9px;
    border: 1px solid transparent;
    border-bottom: 2px solid #cfcfcf;
    border-radius: 3px 3px 0 0;
    background: #fff;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tire-pack-option:hover,
.tire-pack-option:focus {
    color: var(--secondary);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.tire-pack-option.active {
    border-color: var(--accent);
    border-bottom-color: var(--accent);
}

.tire-pack-option.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
}

.tire-pack-option:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.tire-pack-icon {
    display: block;
    width: 48px;
    height: 24px;
    object-fit: contain;
    margin: 0 auto 5px;
}

.product-purchase-form {
    width: 100%;
}

.product-purchase-row {
    display: grid;
    grid-template-columns: 84px minmax(180px, 1fr);
    align-items: end;
    gap: 18px;
    max-width: 520px;
}

.product-quantity-label {
    display: block;
    margin-bottom: 6px;
    color: #8f8f8f;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.product-qty-stepper {
    display: grid;
    grid-template-columns: 1fr 28px;
    width: 82px;
    height: 44px;
    border: 1px solid #d9d9d9;
    background: #fff;
}

.product-qty-input {
    width: 100%;
    min-width: 0;
    border: none;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    outline: none;
    appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.product-qty-buttons {
    display: grid;
    grid-template-rows: 1fr 1fr;
    border-left: 1px solid #d9d9d9;
}

.product-qty-btn {
    border: none;
    background: #fff;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.product-qty-btn + .product-qty-btn {
    border-top: 1px solid #d9d9d9;
}

.product-qty-btn:hover,
.product-qty-btn:focus {
    background: #f4f6fb;
}

.product-qty-input:disabled,
.product-qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.product-detail-buy-btn {
    min-height: 44px;
    border: none;
    background: #4fcf4f;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-detail-buy-btn:hover,
.product-detail-buy-btn:focus {
    background: #36b93e;
}

.product-shipping-box {
    margin-top: 26px;
}

.product-shipping-label {
    display: block;
    margin-bottom: 8px;
    color: #8f8f8f;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.product-shipping-row {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.product-shipping-input {
    width: 164px;
    height: 38px;
    border: 2px solid var(--primary);
    border-right: none;
    padding: 0 10px;
    color: var(--primary);
    font-weight: 700;
    outline: none;
}

.product-shipping-btn {
    width: 46px;
    height: 38px;
    border: 2px solid var(--primary);
    background: var(--primary);
    color: #fff;
    font-weight: 900;
}

.product-shipping-help {
    margin-left: 10px;
    color: #000;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.product-shipping-help:hover {
    color: var(--primary);
}

.cart-shipping-box {
    margin: 16px 0;
    padding-top: 16px;
    border-top: 1px solid #e8edf5;
}

.cart-shipping-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #17213a;
    margin-bottom: 8px;
}

.cart-shipping-row {
    display: flex;
    gap: 8px;
}

.cart-shipping-input {
    flex: 1;
    border: 1px solid #d4dae5;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.cart-shipping-btn {
    border: 0;
    border-radius: 8px;
    background: #17213a;
    color: #fff;
    padding: 8px 14px;
    font-weight: 700;
}

.cart-shipping-results {
    margin-top: 10px;
}

.cart-shipping-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #edf1f7;
    cursor: pointer;
    font-size: 0.82rem;
}

.cart-shipping-option span {
    display: block;
}

.cart-shipping-option small {
    color: #657080;
}

.product-detail-tabs {
    width: 100%;
}

.product-tabs {
    border-bottom: 1px solid var(--primary);
    gap: 2px;
}

.product-tabs .nav-link {
    min-width: 170px;
    border: none;
    border-radius: 6px 6px 0 0;
    background: #9b9b9b;
    color: #fff;
    font-weight: 800;
    text-align: center;
    padding: 10px 22px;
}

.product-tabs .nav-link:hover,
.product-tabs .nav-link:focus {
    background: var(--secondary);
    color: #fff;
}

.product-tabs .nav-link.active {
    background: var(--primary);
    color: #fff;
}

.product-tabs-content {
    padding-top: 12px;
}

.product-tab-card {
    border-radius: 4px;
}

.product-description {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.65;
}

.product-description p {
    margin: 0 0 16px;
}

.product-description p:last-child {
    margin-bottom: 0;
}

.product-description h2,
.product-description h3 {
    margin: 0 0 12px;
    color: #111;
    font-weight: 700;
}

.product-description h2 {
    font-size: 1.2rem;
}

.product-description h3 {
    font-size: 1.05rem;
}

.product-description ol,
.product-description ul {
    margin: 0 0 16px;
    padding-left: 1.25rem;
}

.product-description li {
    margin-bottom: 6px;
}

.product-description a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.product-description blockquote {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-left: 3px solid var(--primary);
    background: #f8f9fa;
    color: #444;
}

.tire-info-panel {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.tire-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
}

.tire-info-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.tire-label-card {
    height: 100%;
    min-height: 100%;
    padding: 12px;
    border: 1px solid #dedede;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tire-label-figure {
    position: relative;
    width: min(100%, 269px);
    margin: 0 auto;
}

.tire-label-img {
    display: block;
    width: 100%;
    height: auto;
}

.tire-label-value {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.tire-label-value--fuel,
.tire-label-value--wet {
    top: var(--label-y, 24.9%);
    height: 7%;
    min-width: 15%;
    padding: 0 3% 0 5%;
    font-size: clamp(0.9rem, 1.5vw, 1.45rem);
    clip-path: polygon(0 50%, 24% 0, 100% 0, 100% 100%, 24% 100%);
}

.tire-label-value--fuel {
    left: 49%;
}

.tire-label-value--wet {
    left: 84%;
}

.tire-label-value--noise {
    left: 82%;
    top: 69.6%;
    min-width: 32%;
    padding: 2.6% 3% 2.6% 6%;
    font-size: clamp(0.78rem, 1.15vw, 1.15rem);
    clip-path: polygon(0 50%, 18% 0, 100% 0, 100% 100%, 18% 100%);
}

.thumb-img { width: 70px; height: 70px; object-fit: cover; cursor: pointer; border: 2px solid transparent; }
.thumb-img:hover { border-color: var(--header-blue); }

.brand-logo { transition: transform 0.2s; }
.brand-logo:hover { transform: scale(1.05); }

.institutional-page {
    padding: 48px 0 70px;
    background: #fff;
}

.institutional-layout {
    display: grid;
    grid-template-columns: 253px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.institutional-sidebar-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 3px;
    background: var(--accent);
    color: #071044;
    font-size: 0.9rem;
    font-weight: 600;
}

.institutional-nav {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.institutional-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 2px solid var(--primary);
    border-radius: 3px;
    background: #fff;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
}

.institutional-nav-link:hover,
.institutional-nav-link:focus,
.institutional-nav-link.active {
    background: var(--primary);
    color: #fff;
}

.institutional-card {
    min-height: 560px;
    padding: 26px;
    border: 1px solid #e2e4ea;
    border-radius: 3px;
    background: #fff;
}

.institutional-video {
    width: 100%;
    margin-bottom: 54px;
    aspect-ratio: 16 / 5.2;
    background: #eef0f5;
    overflow: hidden;
}

.institutional-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.institutional-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 36%);
    align-items: center;
    gap: 0;
    margin: 18px 0 38px;
}

.institutional-feature h2 {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 8px 14px;
    background: var(--primary);
    color: var(--accent);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
}

.institutional-feature img {
    width: 100%;
    height: 114px;
    object-fit: cover;
}

.institutional-title {
    margin: 0 0 20px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.institutional-intro,
.institutional-content {
    color: #000;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.58;
}

.institutional-intro {
    margin-bottom: 28px;
    text-align: justify;
}

.institutional-highlight {
    display: inline;
    background: #f4f000;
    color: #000;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.5;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.institutional-highlight p {
    display: inline;
    margin: 0;
}

.institutional-highlight + .institutional-content {
    margin-top: 30px;
}

.institutional-content p {
    margin: 0 0 18px;
}

.institutional-content ol,
.institutional-content ul {
    margin: 0 0 24px;
    padding-left: 18px;
}

.institutional-content li {
    margin-bottom: 3px;
    font-weight: 600;
}

.institutional-content a {
    color: #001fd0;
    font-weight: 600;
}

.institutional-stores-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 18px;
    margin-top: 34px;
}

.institutional-store-card {
    display: grid;
    gap: 6px;
    color: #000;
    text-decoration: none;
}

.institutional-store-card:hover .institutional-store-name,
.institutional-store-card:focus .institutional-store-name {
    color: var(--primary);
}

.institutional-store-img,
.institutional-store-placeholder {
    width: 100%;
    aspect-ratio: 16 / 7.6;
    margin-bottom: 8px;
    object-fit: cover;
}

.institutional-store-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cfd3df;
    background: #f7f8fb;
    color: var(--primary);
    font-size: 2rem;
}

.institutional-store-name {
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.institutional-store-city {
    margin-top: 10px;
    color: #000;
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.15;
}

.institutional-store-address,
.institutional-store-phone {
    color: #001fd0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.institutional-store-phone {
    color: #000;
    font-weight: 600;
}

.site-newsletter {
    margin-top: 56px;
    overflow: hidden;
    background: var(--accent);
    color: #101949;
}

.site-newsletter + .site-footer {
    margin-top: 0;
}

.site-newsletter-inner {
    display: grid;
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    min-height: 280px;
}

.site-newsletter-inner--no-image {
    grid-template-columns: 1fr;
    min-height: 220px;
}

.site-newsletter-media {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.site-newsletter-media img {
    display: block;
    width: min(100%, 360px);
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 22px 22px rgba(66, 46, 0, 0.18));
}

.site-newsletter-content {
    max-width: 940px;
}

.site-newsletter-content h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.18;
}

.site-newsletter-content p {
    margin: 2px 0 15px;
    color: #171d35;
    font-size: 1rem;
    line-height: 1.35;
}

.site-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 250px;
    gap: 10px;
}

.site-newsletter-form input:not(.site-newsletter-hp),
.site-newsletter-form button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
}

.site-newsletter-form input:not(.site-newsletter-hp) {
    border: 2px solid #fff;
    background: var(--primary);
    color: #fff;
    padding: 0 20px;
}

.site-newsletter-form input::placeholder {
    color: #fff;
    opacity: 1;
    text-transform: uppercase;
}

.site-newsletter-form input:focus {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 1px;
}

.site-newsletter-form button {
    border: 2px solid var(--primary);
    background: var(--primary);
    color: #fff;
    padding: 0 18px;
    text-transform: uppercase;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.site-newsletter-form button:hover,
.site-newsletter-form button:focus {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.site-newsletter-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.site-footer {
    margin-top: 56px;
    padding: 44px 0 20px;
    background: var(--primary);
    color: #fff;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.35fr 1.1fr;
    gap: 54px;
    align-items: start;
}

.site-footer-col h2 {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
}

.site-footer-subtitle {
    margin-top: 30px !important;
}

.site-footer-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-list a,
.site-footer-list span {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.28;
    text-decoration: none;
}

.site-footer-list a:hover,
.site-footer-list a:focus,
.site-footer-social a:hover,
.site-footer-social a:focus {
    color: var(--accent);
}

.site-footer-list--icon li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
}

.site-footer-list--icon i {
    color: var(--accent);
    font-size: 0.9rem;
    line-height: 1.25;
}

.site-footer-contact span {
    white-space: pre-line;
}

.site-footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
}

.site-footer-security-img,
.site-footer-payment-img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.site-footer-security-img {
    max-height: 54px;
}

.site-footer-payment-img {
    max-height: 92px;
}

.site-footer-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 7px 10px 7px 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: #2a3b72;
    line-height: 1;
}

.site-footer-shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #18b957;
    font-size: 2rem;
}

.site-footer-security-badge strong {
    display: block;
    color: #4285f4;
    font-size: 1.02rem;
    font-weight: 800;
}

.site-footer-security-badge small {
    display: block;
    margin-top: 2px;
    color: #566078;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
}

.site-footer-payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 240px;
}

.site-footer-payment-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.site-footer-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.site-footer-legal {
    max-width: 960px;
}

.site-footer-legal p {
    margin: 0;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.45;
}

.site-footer-legal p + p {
    margin-top: 4px;
}

.site-footer-partners {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
}

.site-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 1070;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #4cc362;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(20, 80, 34, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}

.site-whatsapp-float:hover,
.site-whatsapp-float:focus {
    background: #38b953;
    color: #fff;
    transform: translateY(-2px);
}

.header-mobile-search {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eef0f4;
    padding: 10px 0;
    box-sizing: border-box;
}

.header-mobile-search .header-search-wrap { width: 100%; }

@media (max-width: 991px) {
    .product-mobile-filter-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 16px;
    }

    .product-mobile-filter-btn {
        display: inline-flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        border: 1px solid var(--primary);
        border-radius: 4px;
        background: var(--primary);
        color: #fff;
        font-size: 0.93rem;
        font-weight: 700;
        line-height: 1.1;
    }

    .product-mobile-filter-btn i {
        color: var(--accent);
        font-size: 1.02rem;
        line-height: 1;
    }

    .product-mobile-filter-btn small {
        padding: 3px 7px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 600;
    }

    .product-mobile-filter-total {
        flex: 0 0 auto;
        color: #6f7483;
        font-size: 0.78rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .product-filter-overlay {
        position: fixed;
        inset: 0;
        z-index: 1084;
        display: block;
        background: rgba(10, 14, 40, 0.44);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    .product-filter-overlay[hidden] {
        display: none;
    }

    .product-filter-open {
        overflow: hidden;
    }

    .product-filter-open .product-filter-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .product-filter-sidebar {
        position: fixed;
        top: auto;
        right: 0;
        bottom: -100vh;
        left: 0;
        z-index: 1085;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 86dvh;
        margin: 0;
        padding: 0 !important;
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: 0 -18px 42px rgba(5, 10, 30, 0.2);
        transform: none;
        transition: none;
        overflow: hidden;
    }

    .product-filter-open .product-filter-sidebar,
    .product-filter-sidebar.open {
        bottom: 0;
        transform: none;
    }

    .product-filter-panel {
        position: static;
        display: flex;
        flex-direction: column;
        max-height: 86dvh;
        margin-bottom: 0;
        padding: 0 18px 18px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .product-filter-mobile-head {
        position: sticky;
        top: 0;
        z-index: 3;
        display: grid;
        grid-template-columns: 42px 1fr 42px;
        align-items: center;
        min-height: 58px;
        margin: 0 -18px 4px;
        padding: 0 12px;
        border-bottom: 1px solid #eceef4;
        background: #fff;
        color: var(--primary);
    }

    .product-filter-mobile-head span {
        grid-column: 2;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
    }

    .product-filter-mobile-head button {
        grid-column: 3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        margin-left: auto;
        border: 0;
        border-radius: 50%;
        background: #f3f5fa;
        color: var(--primary);
        font-size: 0.96rem;
    }

    .product-filter-title {
        display: none;
    }

    .product-filter-group summary {
        min-height: 44px;
        padding: 12px 0;
        font-size: 0.95rem;
    }

    .product-filter-options {
        padding-bottom: 14px;
    }

    .product-filter-option {
        min-height: 31px;
        font-size: 0.86rem;
    }

    .product-filter-input {
        min-height: 40px;
        font-size: 0.9rem;
    }

    .product-filter-submit {
        position: sticky;
        bottom: 0;
        z-index: 2;
        width: calc(100% + 36px);
        min-height: 44px;
        margin: 16px -18px 0;
        border-radius: 0;
        box-shadow: 0 -10px 18px rgba(255, 255, 255, 0.96);
    }

    .product-filter-clear {
        min-height: 40px;
        margin-bottom: 4px;
    }

    .product-list-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-sort-form {
        width: 100%;
        min-width: 0;
    }

    .institutional-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .institutional-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .institutional-card {
        padding: 22px;
    }

    .institutional-video {
        margin-bottom: 34px;
        aspect-ratio: 16 / 7;
    }

    .institutional-feature {
        grid-template-columns: 1fr;
    }

    .institutional-feature img {
        height: auto;
        max-height: 220px;
    }

    .site-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        min-height: 0;
        padding: 28px 0 34px;
    }

    .site-newsletter-media {
        order: 1;
        max-height: 190px;
    }

    .site-newsletter-media img {
        width: min(260px, 78vw);
        max-height: 210px;
    }

    .site-newsletter-content {
        order: 2;
        max-width: 620px;
        margin: 0 auto;
        text-align: center;
    }

    .site-newsletter-form {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 42px;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer-partners {
        text-align: left;
        white-space: normal;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .checkout-payment-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }

    .cart-items-header {
        display: none;
    }

    .cart-item-card {
        grid-template-columns: 78px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .cart-item-info {
        grid-column: 2 / 3;
    }

    .cart-item-price,
    .cart-qty-form,
    .cart-item-subtotal {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 90px;
    }

    .cart-remove-form {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .cart-mobile-label {
        display: block;
    }

    .product-buy-layout {
        grid-template-columns: 1fr;
    }

    .product-installments-card {
        max-width: 460px;
    }

    .header-layout {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "logo actions"
            "nav nav";
    }

    .header-logo-panel {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        padding: 10px 12px 10px 0;
        padding-left: calc(50vw - 50%);
        margin-left: calc(50% - 50vw);
    }

    .header-logo-panel::before {
        width: calc(100% + 28px);
        clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    }

    .header-logo-img {
        max-height: 44px;
        max-width: min(160px, 48vw);
    }

    .header-actions-row {
        padding: 10px 0;
        justify-content: flex-end;
        gap: 12px;
        flex-shrink: 0;
    }

    .header-cart-panel {
        padding-left: 12px;
        padding-right: calc(50vw - 50%);
        margin-right: calc(50% - 50vw);
    }

    .header-cart-panel::before {
        width: calc(100% + 28px);
        clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    }

    .header-cart {
        font-size: 1.65rem;
        padding-right: 10px;
    }

    .header-category-nav {
        border-top: 1px solid #eef0f4;
    }

    .header-category-link {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
        width: 100%;
        border-bottom: 1px solid #eef0f4;
        gap: 12px;
    }

    .header-category-list {
        flex-direction: column;
        align-items: stretch;
    }

    .header-category-item { flex: none; }

    .header-category-item + .header-category-item::before { display: none; }

    .header-category-icon { font-size: 1.25rem; }

    .header-category-img {
        width: 26px;
        height: 26px;
    }

    .header-category-label {
        font-size: 0.88rem;
        font-weight: 800;
    }

    .topbar-inner { padding: 7px 0; }
}

@media (max-width: 768px) {
    .institutional-page {
        padding: 28px 0 48px;
    }

    .institutional-nav {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .institutional-card {
        padding: 16px;
    }

    .institutional-video {
        margin-bottom: 26px;
        aspect-ratio: 16 / 9;
    }

    .institutional-feature {
        margin-bottom: 28px;
    }

    .institutional-feature h2 {
        min-height: 44px;
        font-size: 1.25rem;
    }

    .institutional-stores-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .institutional-store-city {
        font-size: 1.08rem;
    }

    .site-newsletter {
        margin-top: 40px;
    }

    .site-newsletter-inner {
        padding: 24px 0 30px;
    }

    .site-newsletter-content h2 {
        font-size: 1.32rem;
    }

    .site-newsletter-content p {
        font-size: 0.9rem;
    }

    .site-newsletter-form input:not(.site-newsletter-hp),
    .site-newsletter-form button {
        min-height: 46px;
        font-size: 0.82rem;
    }

    .site-footer {
        margin-top: 40px;
        padding: 36px 0 86px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-footer-col h2 {
        margin-bottom: 12px;
    }

    .site-footer-subtitle {
        margin-top: 24px !important;
    }

    .site-footer-bottom {
        margin-top: 34px;
    }

    .site-whatsapp-float {
        right: 16px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        font-size: 1.85rem;
    }

    .checkout-page {
        padding: 24px 0 52px;
    }

    .checkout-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .checkout-trust-badges {
        justify-content: flex-start;
    }

    .checkout-login-card {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .checkout-login-card a {
        grid-column: 1 / -1;
    }

    .checkout-section-card,
    .checkout-summary {
        padding: 18px;
        border-radius: 10px;
    }

    .checkout-section-header {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
    }

    .checkout-step {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .checkout-field--half,
    .checkout-field--zip,
    .checkout-field--street,
    .checkout-field--number,
    .checkout-field--complement,
    .checkout-field--neighborhood {
        grid-column: span 12;
    }

    .checkout-shipping-option {
        grid-template-columns: 20px minmax(0, 1fr);
    }

    .checkout-shipping-price {
        grid-column: 2 / 3;
    }

    .checkout-summary-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .checkout-summary-image {
        width: 48px;
        height: 48px;
    }

    .checkout-summary-item > strong {
        grid-column: 2 / 3;
    }

    .cart-page {
        padding: 24px 0 52px;
    }

    .cart-page-heading h1 {
        font-size: 1.7rem;
    }

    .cart-coupon-card {
        grid-template-columns: 1fr;
    }

    .cart-coupon-field {
        flex-direction: column;
    }

    .cart-coupon-field button {
        min-height: 42px;
    }

    .cart-item-card {
        padding: 16px;
    }

    .cart-item-price,
    .cart-qty-form,
    .cart-item-subtotal {
        padding-left: 0;
    }

    .customer-register-page {
        padding: 28px 0 54px;
    }

    .customer-register-heading p {
        font-size: 0.9rem;
    }

    .customer-type-toggle {
        width: 100%;
        gap: 8px;
    }

    .customer-type-toggle label {
        min-width: 0;
        flex: 1;
        padding: 9px 12px;
        font-size: 0.78rem;
    }

    .customer-register-section h2 {
        font-size: 0.9rem;
        letter-spacing: 0.08em;
    }

    .breadcrumb-item.active {
        max-width: 42vw;
    }

    .product-heading-meta {
        align-items: flex-start;
        gap: 10px;
    }

    .product-category-kicker {
        font-size: 0.74rem;
        letter-spacing: 0.04em;
    }

    .product-brand-mark {
        min-width: 96px;
    }

    .product-brand-logo {
        max-width: 120px;
        max-height: 28px;
    }

    .tire-pack-selector {
        gap: 10px;
    }

    .tire-pack-option {
        width: calc(25% - 8px);
        min-width: 64px;
    }

    .product-purchase-row {
        grid-template-columns: 82px 1fr;
        gap: 12px;
        max-width: none;
    }

    .product-detail-buy-btn {
        width: 100%;
    }

    .product-media {
        min-height: 198px;
        padding: 12px 34px 0;
    }

    .product-img-link {
        height: 190px;
    }

    .product-title {
        font-size: 0.92rem;
    }

    .product-card .price-main {
        font-size: 1.08rem;
    }

    .product-buy-btn {
        grid-template-columns: 1fr 68px;
        min-height: 38px;
        font-size: 0.78rem;
    }

    .product-badge--left_vertical {
        left: 8px;
        width: 20px;
        height: 180px;
    }

    .product-badge--right,
    .product-badge--top_left,
    .product-badge--top_right {
        width: 56px;
        max-height: 56px;
    }

    .product-suggestions-item {
        flex-basis: calc(50% - 8px);
        min-width: calc(50% - 8px);
    }

    .suggestions-nav {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .suggestions-nav--prev {
        left: -8px;
    }

    .suggestions-nav--next {
        right: -8px;
    }

    .product-suggestions-carousel {
        padding: 0 8px;
    }

    .btn-suggestions-login {
        width: 100%;
        min-width: 0;
    }

    .product-suggestions-item {
        flex-basis: 86%;
        min-width: 86%;
    }

    .banner-img { height: 260px; }
    .hero-banner .carousel-control-prev,
    .hero-banner .carousel-control-next {
        width: 36px;
        height: 36px;
    }

    .hero-banner .carousel-control-prev { left: 12px; }
    .hero-banner .carousel-control-next { right: 12px; }
    .hero-banner .carousel-indicators { bottom: 12px; }
    .topbar-promo { font-size: 0.65rem; }
}
