/* Gustavo Náutica storefront */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0B7EA4;
    --primary-light: #1496C4;
    --primary-dark: #086078;
    --primary-hover: #0A6F92;
    --accent: #1E9E5A;
    --accent-light: #27B86A;
    --accent-dark: #178A4C;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-soft: #F3FAF7;
    --bg-card: #ffffff;
    --text: #2F3A3C;
    --text-muted: #5F6B6D;
    --text-light: #8A9698;
    --menu-text: #3A4547;
    --border: #E4EEEA;
    --border-light: #EEF5F1;
    --shadow: none;
    --shadow-hover: 0 4px 14px rgba(11, 126, 164, 0.14);
    --radius: 6px;
    --radius-sm: 4px;
    --radius-lg: 8px;
    --whatsapp: #25d366;
    --instagram: #e4405f;
    --pix: #1E9E5A;
    --danger: #dc3545;
    --success: #1E9E5A;
    --header-height: 160px;
    --mobile-nav-height: 72px;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

body.drawer-open,
body.menu-open { overflow: hidden; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.store-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
}

.store-main { flex: 1 0 auto; }

/* Top promo bar */
.top-bar {
    background: var(--accent);
    color: var(--white);
    text-align: center;
    height: 34px;
    line-height: 34px;
    padding: 0 15px;
    font-size: 13.2px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.top-bar strong { color: #E8FFD4; }

/* Header */
.store-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-logo a {
    display: flex;
    flex-direction: column;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    display: block;
    height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-search {
    flex: 1;
    max-width: 360px;
}

.search-form {
    display: flex;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    overflow: hidden;
    height: 48px;
    transition: border-color var(--transition);
    background: #fff;
}

.search-form:focus-within { border-color: var(--primary); }

.search-form input {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    color: var(--text);
}

.search-form input::placeholder { color: #9a9a9a; }

.search-form button {
    background: transparent;
    color: var(--menu-text);
    border: none;
    padding: 0 16px;
    cursor: pointer;
    transition: color var(--transition);
}

.search-form button:hover { color: var(--primary); background: transparent; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header-contact {
    display: none;
}

.header-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--menu-text);
    font-size: 11px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 10px;
    position: relative;
    text-decoration: none;
    font-family: inherit;
}

.header-icon-btn svg { width: 22px; height: 22px; stroke: var(--menu-text); }

.header-icon-btn:hover { color: var(--primary); }
.header-icon-btn:hover svg { stroke: var(--primary); }

.cart-badge {
    position: absolute;
    top: 0;
    right: 4px;
    background: var(--accent);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-badge:empty,
.cart-badge[data-count="0"] { display: none; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--menu-text);
}

.menu-toggle svg { width: 26px; height: 26px; }

/* Navigation — white Tray style */
.main-nav {
    background: var(--white);
    border-top: 1px solid rgba(164, 164, 164, 0.19);
    border-bottom: 1px solid rgba(164, 164, 164, 0.19);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex-wrap: wrap;
    min-height: 54px;
    align-items: center;
}

.nav-item { position: relative; }

.nav-link {
    display: block;
    padding: 16px 12px;
    color: var(--menu-text);
    font-size: 12.4px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
    background: transparent;
    color: var(--primary);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--transition);
    z-index: 1000;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 18px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
}

.nav-dropdown a:hover {
    background: var(--bg);
    color: var(--primary);
}

/* Mobile nav panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 1100;
    transition: left var(--transition);
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}

.mobile-menu-panel.is-open { left: 0; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list > li > a {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    font-weight: 600;
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--bg);
}

.mobile-submenu a {
    display: block;
    padding: 10px 16px 10px 32px;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Hero slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.hero-slide-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition);
}

.hero-dot.is-active { background: var(--white); }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    z-index: 2;
    transition: background var(--transition);
    box-shadow: var(--shadow);
}

.hero-arrow:hover { background: var(--white); }
.hero-arrow--prev { left: 12px; }
.hero-arrow--next { right: 12px; }

/* Benefits row */
.benefits-row {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.benefit-icon svg { width: 22px; height: 22px; }

.benefit-text strong {
    display: block;
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
}

.benefit-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.benefit-title-mobile,
.benefit-sub-mobile { display: none; }
.benefits-dots,
.category-dots { display: none; }

/* Sections */
.section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 24.4px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 28px;
    text-transform: none;
    letter-spacing: 0;
}

.section-title::after { display: none; }

/* Category circles */
.category-circles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 126px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: transform var(--transition);
}

.category-circle:hover {
    transform: translateY(-5px);
    color: var(--primary-dark);
}

.category-circle-img {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(14, 148, 72, 0.4);
    background: #E8F8EF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(14, 148, 72, 0.16);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.category-circle:nth-child(odd) .category-circle-img,
.category-circle:nth-child(even) .category-circle-img {
    border-color: rgba(14, 148, 72, 0.45);
    box-shadow: 0 8px 20px rgba(14, 148, 72, 0.16);
}

.category-circle:hover .category-circle-img,
.category-circle:nth-child(even):hover .category-circle-img {
    border-color: #0E9448;
    box-shadow: 0 12px 26px rgba(14, 148, 72, 0.28);
}

.category-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-circle-placeholder {
    width: 50px;
    height: 50px;
    color: #0E9448;
    opacity: 0.5;
}

.category-circle-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #0A7A3A;
}

.category-circle:nth-child(even) .category-circle-name {
    color: #0A7A3A;
}

.section-categories .section-title {
    color: #0A7A3A;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product card */
.product-card {
    background: var(--bg-card);
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: none;
    border-color: #d8d8d8;
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fff;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform var(--transition);
}

.product-card:hover .product-card-image img { transform: none; }

.product-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--danger);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.product-card-body {
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.product-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-card-name a { color: inherit; text-decoration: none; }
.product-card-name a:hover { color: var(--primary); }

.product-card-prices { margin-bottom: 6px; }

.product-card-price-old {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
    display: block;
}

.product-card-price {
    font-size: 20.4px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.product-card-payment {
    font-size: 12.4px;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 16px;
    flex: 1;
}

.product-card-actions { margin-top: auto; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    width: 100%;
    min-height: 48px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

.btn-add-cart {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 100%;
    margin-top: 8px;
}

.btn-add-cart:hover {
    background: var(--primary);
    color: var(--white);
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0 10px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb-prefix {
    color: var(--text-muted);
    margin-right: 4px;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: var(--text-light); }

/* Page content */
.page-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 40px;
}

.page-content h1 {
    color: var(--text);
    font-size: 24.4px;
    font-weight: 700;
    margin: 0 0 20px;
}

.page-content h2, .page-content h3 { color: var(--text); }

/* Catalog header */
.catalog-header {
    margin-bottom: 24px;
}

.catalog-header h1 {
    font-size: 24.4px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.catalog-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
}

.subcategory-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.subcategory-pill {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition);
    text-transform: none;
    font-weight: 500;
}

.subcategory-pill:hover,
.subcategory-pill.is-active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Product detail — layout Multibarcos: thumbs | main | info */
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    background: var(--white);
    border-radius: 0;
    padding: 10px 0 20px;
    box-shadow: none;
    margin-bottom: 24px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.product-media {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.product-media:not(:has(.product-gallery-thumbs)) {
    display: block;
}

.product-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 480px;
    overflow-y: auto;
    width: 100px;
    min-width: 100px;
    flex: 0 0 100px;
}

.product-gallery-main {
    flex: 1 1 auto;
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    max-height: 520px;
}

.product-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 16px;
}

.product-thumb {
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 4px;
    background: #fff;
    cursor: pointer;
    width: 96px !important;
    height: 80px !important;
    min-width: 96px;
    min-height: 80px;
    max-width: 96px;
    max-height: 80px;
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    max-width: 88px;
    max-height: 72px;
    object-fit: contain;
    display: block;
}

.product-thumb:hover,
.product-thumb.is-active {
    border-color: var(--primary);
}

.product-info {
    min-width: 0;
    max-width: 100%;
}

.product-info h1 {
    font-size: 22.8px;
    color: var(--text);
    margin: 0 0 10px;
    line-height: 1.3;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-sku {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.product-price-block { margin-bottom: 20px; }

.product-price-old {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-price-main {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

.product-payment-info {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-top: 8px;
    line-height: 1.5;
}

.product-status {
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-status--available { background: transparent; color: #155724; }
.product-status--out { background: transparent; color: #721c24; }
.product-status--request {
    background: transparent;
    color: var(--primary);
    padding-left: 0;
    font-size: 20px;
}

.product-on-request-note {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 20px;
}

.product-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
    width: 100%;
}

.qty-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.qty-input {
    width: 70px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
    font-family: inherit;
}

.btn-buy {
    width: 100%;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    min-height: 56px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.btn-whatsapp-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-whatsapp-checkout .btn-whatsapp-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.btn-whatsapp-checkout[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

.btn-dark {
    background: var(--primary);
    color: #fff;
    border: none;
}

.btn-dark:hover { background: var(--primary-hover); color: #fff; }

.product-tabs {
    background: var(--white);
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 48px 0 40px;
}

.product-tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 24px;
}

.product-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px 18px;
    font-size: 18px;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    font-family: inherit;
}

.product-tab.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.product-description {
    font-size: 16px;
    line-height: 1.56;
    color: #525252;
    font-family: inherit;
}

.product-description p {
    margin: 0 0 1rem;
    color: #525252;
    font-size: 16px;
    line-height: 1.56;
}

.product-description span,
.product-description strong,
.product-description b {
    color: inherit;
}

.product-description h2,
.product-description h3 {
    color: var(--primary);
    font-size: 18px;
    margin: 18px 0 10px;
}

.product-description img {
    max-width: 100%;
    height: auto;
    margin: 12px 0;
}

.product-description-empty {
    color: var(--text-muted);
    margin: 0;
}

.product-tab-mobile { display: none; }

.product-shipping {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-shipping-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.product-shipping-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    width: 100%;
    align-items: stretch;
}

.product-shipping-cep {
    flex: 1 1 auto;
    width: auto;
    min-width: 140px;
    max-width: none;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.product-shipping-btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 110px;
    max-width: none;
    padding: 12px 18px;
    white-space: nowrap;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 12px;
}

.product-shipping-result {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text);
}

.product-shipping-result.is-error { color: #721c24; }

.product-payment-methods p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #525252;
}

@media (max-width: 991px) {
    .product-detail { grid-template-columns: 1fr; }
    .product-media {
        flex-direction: column;
    }
    .product-gallery-thumbs {
        flex-direction: row;
        width: 100%;
        min-width: 0;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        order: 2;
    }
    .product-gallery-main { order: 1; min-height: 280px; max-height: none; }
}

/* Cart page */
.cart-page {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-bottom: 40px;
}

.cart-table-wrap {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: var(--bg);
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.cart-table td {
    padding: 16px;
    border-top: 1px solid var(--border-light);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.cart-product-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 140px;
}

.cart-summary h3 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 18px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cart-empty svg { width: 64px; height: 64px; color: var(--text-light); margin: 0 auto 16px; }

/* Checkout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    margin-bottom: 40px;
}

.checkout-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.checkout-review__title {
    color: var(--primary);
    margin-bottom: 24px;
}

.checkout-review__card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.checkout-review__customer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0;
}

.checkout-review__customer dt {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.checkout-review__customer dd {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

.checkout-review__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-review__item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    align-items: center;
}

.checkout-review__item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #f7f7f7;
    border-radius: 8px;
}

.checkout-review__item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.checkout-review__item-info strong {
    color: var(--primary);
    font-size: 14px;
}

.checkout-review__item-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.checkout-review__item-total {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.checkout-review__hint {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.form-section {
    margin-bottom: 28px;
}

.form-section h3 {
    font-size: 16px;
    color: var(--primary);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-error {
    color: var(--danger);
    font-size: 12px;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Auth pages (legado) */
.auth-page {
    max-width: 440px;
    margin: 40px auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.auth-page h1 {
    text-align: center;
    color: var(--primary);
    font-size: 24px;
    margin: 0 0 24px;
}

.auth-links {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}

/* ── Central do Cliente (login Multibarcos) ── */
.central-body {
    margin: 0;
    background: #f8f8f8;
    min-height: 100vh;
}

.central-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    color: #323232;
}

.central-header {
    background: #ffffff;
    min-height: 92px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e8eef2;
}

.central-header__inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.central-header__logo-img {
    display: block;
    height: 58px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.central-header__logo-img.is-inverted {
    filter: brightness(0) invert(1);
}

.central-header__safe {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #001B3D;
}

.central-header__safe-text {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.central-header__safe-icon {
    display: flex;
    opacity: 0.95;
}

.central-main {
    flex: 1;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 24px 40px;
}

.central-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
}

.central-alert--success {
    background: #d4edda;
    color: #155724;
}

.central-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 2px;
    min-height: 220px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.central-login__panel {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.central-login__panel + .central-login__panel {
    border-left: 1px solid #e6e6e6;
}

.central-login__panel h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: #323232;
    line-height: 1.2;
}

.central-login__panel p {
    margin: 0 0 28px;
    font-size: 14px;
    color: #777;
    line-height: 1.45;
    max-width: 320px;
}

.central-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 50px;
    padding: 0 24px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.central-btn--primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
}

.central-btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

.central-btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.central-btn--outline:hover {
    background: var(--primary);
    color: #fff;
}

.central-btn--block {
    width: 100%;
    min-width: 0;
}

.central-btn.is-hidden,
.central-field.is-hidden,
.register-board__heading.is-hidden,
.register-grid.is-hidden {
    display: none !important;
}

.central-footer {
    background: #f0f0f0;
    border-top: 1px solid #e0e0e0;
    padding: 32px 24px 24px;
}

.central-footer__inner {
    max-width: 720px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.central-footer__title {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #323232;
}

.central-footer__phone {
    margin: 0 0 6px;
    font-size: 14px;
    color: #555;
}

.central-footer__email {
    font-size: 13px;
    color: #555;
    word-break: break-all;
}

.central-footer__email:hover {
    color: var(--primary);
}

.central-footer__badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.central-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 10px;
    border-radius: 2px;
    background: #fff;
}

.central-footer__badge--loja {
    color: #333;
    border-color: #c9a227;
    background: linear-gradient(180deg, #fff 0%, #f7f1df 100%);
    justify-content: center;
}

.central-footer__legal {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    color: #888;
}

/* Login modal */
.central-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.central-modal.is-open {
    display: flex;
}

body.central-modal-open {
    overflow: hidden;
}

.central-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.central-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 24px 24px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.central-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.central-modal__header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #323232;
}

.central-modal__close {
    border: 0;
    background: transparent;
    color: #888;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

.central-modal__close:hover {
    color: #333;
}

.central-field {
    margin-bottom: 14px;
}

.central-field__control {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 0 12px;
    min-height: 48px;
    background: #fff;
}

.central-field__control:focus-within {
    border-color: var(--primary);
}

.central-field__icon {
    color: #888;
    display: flex;
    flex-shrink: 0;
}

.central-field__control input {
    flex: 1;
    border: 0;
    outline: none;
    font: inherit;
    font-size: 14px;
    color: #323232;
    background: transparent;
    width: 100%;
    min-width: 0;
    padding: 12px 0;
}

.central-field--remember {
    margin-top: -4px;
    margin-bottom: 16px;
}

.central-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    font-weight: 400;
}

.central-modal__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: #999;
    font-size: 12px;
}

.central-modal__divider::before,
.central-modal__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.central-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.central-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    cursor: not-allowed;
    opacity: 0.85;
}

.central-social__btn--facebook {
    color: #1877F2;
}

/* Cadastro Tray-like */
.register-page {
    max-width: 920px;
    margin: 0 auto 48px;
    padding-top: 8px;
}

.register-page__title {
    border-bottom: 3px solid var(--primary);
    margin-bottom: 20px;
    padding-bottom: 8px;
}

.register-page__title h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

.register-secure {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.register-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
}

.register-tabs__item {
    appearance: none;
    border: 1px solid #ddd;
    border-bottom: 0;
    background: #f3f3f3;
    color: #555;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    cursor: pointer;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
}

.register-tabs__item.is-active {
    background: #fff;
    color: var(--primary);
    position: relative;
    z-index: 1;
    border-color: #ddd;
    box-shadow: 0 1px 0 #fff;
}

.register-board {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 0;
    padding: 28px 28px 32px;
}

.register-board__heading {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.register-board__hint {
    margin: 0 0 22px;
    font-size: 13px;
    color: #666;
}

.register-required-mark {
    display: inline-block;
    width: 10px;
    height: 14px;
    background: #e53935;
    border-radius: 1px;
    vertical-align: middle;
    margin: 0 4px;
    text-indent: -9999px;
    overflow: hidden;
}

.register-optional {
    color: #888;
    font-weight: 400;
    font-size: 12px;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 8px;
}

.register-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.register-input,
.register-board .register-input {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0 12px;
    font: inherit;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
}

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

.register-newsletter {
    margin: 18px 0 22px;
    font-size: 14px;
    color: #444;
}

.register-newsletter label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
}

.register-actions {
    margin-top: 12px;
}

.register-submit {
    min-width: 160px;
    height: 44px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.register-login-link {
    margin-top: 20px;
    font-size: 13px;
    color: #666;
}

@media (max-width: 900px) {
    .central-login {
        grid-template-columns: 1fr;
    }

    .central-login__panel {
        padding: 36px 28px;
        align-items: center;
        text-align: center;
    }

    .central-login__panel p {
        max-width: none;
    }

    .central-login__panel + .central-login__panel {
        border-left: 0;
        border-top: 1px solid #e6e6e6;
    }

    .central-header__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 18px 16px;
    }

    .central-header__safe {
        display: none;
    }

    .central-header__logo-img {
        height: 48px;
    }

    .central-footer__inner {
        gap: 32px;
        text-align: center;
    }

    .central-footer__block {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .register-grid {
        grid-template-columns: 1fr;
    }

    .register-board {
        padding: 20px 16px 28px;
    }

    .register-tabs__item {
        flex: 1;
        text-align: center;
        padding: 12px 10px;
        margin-right: 0;
    }
}

/* Orders */
.orders-list { margin-bottom: 40px; }

.order-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.order-card-info h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: var(--primary);
}

.order-card-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.order-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.order-status--pending { background: #fff3cd; color: #856404; }
.order-status--processing { background: #cce5ff; color: #004085; }
.order-status--paid { background: #d4edda; color: #155724; }
.order-status--cancelled { background: #f8d7da; color: #721c24; }

/* Pagination */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

.pagination-wrap nav { display: flex; gap: 4px; }

.pagination-wrap a,
.pagination-wrap span {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text);
    background: var(--white);
}

.pagination-wrap a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination-wrap .active span { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Footer promo banner (mão de obra) */
.footer-promo-banner {
    background: var(--white);
    padding: 24px 0 8px;
    margin-top: auto;
}

.footer-promo-banner__link {
    display: block;
    line-height: 0;
}

.footer-promo-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer — white Tray/Multibarcos style */
.store-footer {
    background: var(--white);
    color: var(--text);
    padding: 40px 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 16px;
    letter-spacing: 0.4px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary); }

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 8px;
    color: var(--text-muted);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-about {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background var(--transition);
}

.footer-social a:hover { background: var(--primary-light); color: var(--white); }

.footer-contact-list { list-style: none; margin: 0; padding: 0; }

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.footer-contact-item p { margin: 2px 0 0; }

.footer-contact-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.footer-contact-title {
    display: block;
    font-weight: 700;
    color: var(--text) !important;
    font-size: 13px;
    margin-bottom: 2px;
}

.footer-contact-block { margin-bottom: 14px; }

.footer-hours .footer-contact-title {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.footer-payment-list,
.footer-seals-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.footer-payment-list img,
.footer-seals-list img {
    height: 28px;
    width: auto;
    display: block;
}

.footer-seals-title { margin-top: 8px; }

.footer-seal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    background: #fafbfc;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--white);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-credits {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-credits strong { color: var(--text); }

/* Recently viewed */
.products-history {
    background: var(--bg);
    padding: 40px 0 24px;
}

.products-history .title-section {
    text-align: center;
    font-size: 24.4px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 28px;
}

.products-history-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.products-history-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
}

.products-history-item a:hover { color: var(--primary); }

.products-history-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: var(--white);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.products-history-item span {
    font-size: 14px;
    line-height: 1.35;
}

.products-history-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.products-history-pages .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
}

.products-history-empty,
.products-history-loader {
    text-align: center;
    color: var(--text-muted);
    padding: 12px 0 8px;
}

/* Cart drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.cart-drawer-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 1300;
    display: flex;
    flex-direction: column;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.cart-drawer.is-open { right: 0; }

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--primary);
    color: var(--white);
}

.cart-drawer-header h3 {
    margin: 0;
    font-size: 16px;
}

.cart-drawer-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.cart-drawer-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-drawer-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.cart-drawer-item-info { flex: 1; }

.cart-drawer-item-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-drawer-item-price {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
}

.cart-drawer-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.cart-drawer-item-qty button {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    margin-top: 4px;
}

.cart-drawer-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.cart-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Mobile bottom nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 800;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    padding: 8px 10px 14px;
}

.mobile-bottom-nav-list {
    display: flex;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-bottom-nav-list li { flex: 1; }

.mobile-bottom-nav-list a,
.mobile-bottom-nav-list button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: var(--menu-text);
    font-size: 10.8px;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    gap: 4px;
    position: relative;
    text-transform: none;
}

.mobile-bottom-nav-list a.is-active,
.mobile-bottom-nav-list button.is-active { color: var(--primary); }

.mobile-bottom-nav-list svg { width: 22px; height: 22px; }

.mobile-nav-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 16px);
    background: var(--accent);
    color: var(--white);
    font-size: 8px;
    font-weight: 600;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-badge:empty,
.mobile-nav-badge[data-count="0"] { display: none; }

/* Float buttons */
.float-buttons {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 700;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform var(--transition);
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

.float-btn--whatsapp { background: var(--whatsapp); }
.float-btn--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.float-btn svg { width: 28px; height: 28px; fill: var(--white); }

/* Main layout */
.store-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
}

.store-main {
    flex: 1;
    padding-bottom: 20px;
}

/* Result pages */
.result-page {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px 32px;
    box-shadow: var(--shadow);
}

.result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.result-icon--success { background: #d4edda; color: var(--success); }
.result-icon--failure { background: #f8d7da; color: var(--danger); }

.result-page h1 {
    color: var(--primary);
    font-size: 24px;
    margin: 0 0 12px;
}

.result-page p {
    color: var(--text-muted);
    margin: 0 0 24px;
}

/* Track order */
.track-result {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-top: 24px;
}

.track-timeline {
    display: flex;
    justify-content: space-between;
    margin: 24px 0;
    position: relative;
}

.track-timeline::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border);
}

.track-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.track-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
}

.track-step.is-done .track-step-dot {
    background: var(--primary);
    color: var(--white);
}

.track-step-label {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 1100px) {
    .header-icon-btn span { display: none; }
    .header-actions { gap: 4px; }
}

@media (max-width: 991px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .products-history-list { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail { grid-template-columns: 1fr; gap: 24px; }
    .product-media {
        flex-direction: column;
    }
    .product-gallery-thumbs {
        flex-direction: row;
        width: 100%;
        max-height: none;
        min-width: 0;
        flex: none;
        overflow-x: auto;
        margin-top: 12px;
        order: 2;
    }
    .product-gallery-main { order: 1; max-height: none; min-height: 280px; }
    .cart-page, .checkout-grid { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .checkout-review__customer { grid-template-columns: 1fr; }
    .checkout-review__item {
        grid-template-columns: 64px 1fr;
    }
    .checkout-review__item-total {
        grid-column: 2;
    }
}

@media (max-width: 767px) {
    .container { padding: 0 10px; max-width: 100%; }
    .store-main { max-width: 100%; overflow-x: hidden; }
    .menu-toggle { display: block; }
    .main-nav { display: none; }
    .header-search {
        display: none;
    }
    .header-search.is-open {
        display: block;
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        margin-top: 8px;
    }
    .header-main {
        flex-wrap: nowrap;
        padding: 10px 0;
        min-height: 48px;
        gap: 12px;
    }
    .logo-img { height: 42px; }
    .header-actions .header-icon-btn:not([data-open-cart]) { display: none; }
    .header-actions .header-icon-btn span { display: none; }
    .header-icon-btn { padding: 4px; }

    /* Tray Multibarcos hides desktop-only banners; we keep hero visible on mobile */
    .hero-slider {
        display: block;
    }
    .hero-slider .hero-slides,
    .hero-slider .hero-slide,
    .hero-slider .hero-slide img {
        max-height: 220px;
    }
    .hero-slider .hero-slide img {
        object-fit: cover;
        width: 100%;
    }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* Benefits: single-item horizontal carousel */
    .benefits-row {
        border-bottom: none;
        padding: 8px 0 4px;
    }
    .benefits-grid {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 18px 0 8px;
    }
    .benefits-grid::-webkit-scrollbar { display: none; }
    .benefit-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        justify-content: center;
        flex-direction: row;
        text-align: left;
        gap: 12px;
        padding: 4px 8px;
    }
    .benefit-icon {
        width: 40px;
        height: 40px;
        background: transparent;
    }
    .benefit-icon svg { width: 32px; height: 32px; }
    .benefit-title-desktop,
    .benefit-sub-desktop { display: none !important; }
    .benefit-title-mobile,
    .benefit-sub-mobile { display: block !important; }
    .benefit-text strong {
        font-size: 15px;
        color: var(--text);
    }
    .benefit-text span {
        font-size: 13px;
        opacity: 0.5;
        color: var(--text);
    }
    .benefits-dots,
    .category-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 4px;
        margin-bottom: 8px;
    }
    .benefits-dots button,
    .category-dots button {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        border: 0;
        padding: 0;
        background: #cfcfcf;
        cursor: pointer;
        transition: width 0.2s ease, background 0.2s ease;
    }
    .benefits-dots button.is-active,
    .category-dots button.is-active {
        width: 18px;
        background: var(--primary);
    }

    /* Categories: horizontal swipe like Tray */
    .section-categories { padding: 12px 0 8px; }
    .category-circles {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0 12px;
    }
    .category-circles::-webkit-scrollbar { display: none; }
    .category-circle {
        flex: 0 0 33.333%;
        width: 33.333%;
        scroll-snap-align: start;
        gap: 8px;
    }
    .category-circle-img {
        width: 88px;
        height: 88px;
        border: none;
        background: transparent;
    }
    .category-circle-img img {
        object-fit: contain;
        padding: 0;
    }
    .category-circle-name { font-size: 12px; }

    .section { padding: 20px 0 28px; }
    .section-title { font-size: 17.2px; margin-bottom: 16px; }
    .products-history .title-section { font-size: 17.2px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .footer-credits { justify-content: center; }
    .mobile-bottom-nav { display: block; }
    .store-main { padding-bottom: calc(var(--mobile-nav-height) + 16px); }
    .float-buttons { bottom: calc(var(--mobile-nav-height) + 12px); }
    .form-grid { grid-template-columns: 1fr; }
    .hero-arrow { display: none; }
    .product-price-main { font-size: 22px; }
    .product-info h1 { font-size: 20px; font-weight: 600; }
    .product-tab { font-size: 15px; padding: 10px 12px 14px; }
    .product-card {
        border-radius: 4px;
        border-color: #eee;
    }
    .product-card-body { padding: 14px 10px 14px; }
    .product-card-price { font-size: 18px; }
    .product-card-actions .btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 11px;
    }
    .page-content { padding: 20px 12px; }
    .breadcrumb {
        font-size: 12px;
        margin: 8px 0 16px;
        line-height: 1.5;
    }
    .breadcrumb-prefix { color: var(--primary); font-weight: 600; }

    /* PDP mobile — Multibarcos style */
    .product-page {
        padding-bottom: 8px;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }
    .product-detail {
        gap: 12px;
        margin-bottom: 8px;
        padding: 0;
        max-width: 100%;
        min-width: 0;
    }
    .product-media {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
        min-width: 0;
    }
    .product-gallery-main {
        order: 1;
        min-height: 280px;
        max-height: none;
        aspect-ratio: 1;
        border: none;
        border-radius: 0;
        background: #fff;
        max-width: 100%;
    }
    .product-gallery-main img { padding: 8px; max-width: 100%; }
    .product-gallery-thumbs {
        order: 2;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding-bottom: 4px;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }
    .product-thumb {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px;
        min-height: 72px;
        max-width: 72px;
        max-height: 72px;
        flex: 0 0 72px;
    }
    .product-info { text-align: left; max-width: 100%; min-width: 0; }
    .product-info h1 {
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }
    .breadcrumb {
        overflow-wrap: anywhere;
        word-break: break-word;
        max-width: 100%;
    }
    .product-sku {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .product-price-main {
        font-size: 26px;
        font-weight: 700;
    }
    .product-payment-info {
        font-size: 13px;
        margin-top: 6px;
    }
    .product-actions {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 16px;
    }
    .qty-wrap { display: none; }
    .product-actions .btn-buy {
        flex: 1 1 100%;
        width: 100%;
        min-height: 48px;
        border-radius: 6px;
        font-size: 13px;
        text-transform: uppercase;
    }

    .product-shipping {
        margin-top: 20px;
        padding: 16px 0 8px;
        border-top: 1px solid #eee;
    }
    .product-shipping-title {
        margin: 0 0 12px;
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
    }
    .product-shipping-form {
        display: flex;
        gap: 8px;
        align-items: stretch;
        max-width: none;
        width: 100%;
    }
    .product-shipping-cep {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        padding: 12px 14px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        font-family: inherit;
        box-sizing: border-box;
    }
    .product-shipping-btn {
        flex: 0 0 auto;
        width: auto !important;
        min-width: 110px;
        padding: 12px 18px;
        white-space: nowrap;
        border-radius: 6px;
        text-transform: uppercase;
        font-size: 12px;
    }
    .product-shipping-result {
        margin-top: 10px;
        font-size: 13px;
        color: var(--text);
    }
    .product-shipping-result.is-error { color: #721c24; }

    .product-tabs {
        margin: 28px 0 24px;
    }
    .product-tabs-nav { display: none; }
    .product-tabs-accordion {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        overflow-x: hidden;
    }
    .product-description,
    .product-description * {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .product-description img,
    .product-description iframe,
    .product-description video {
        height: auto;
    }
    .product-description table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
    .benefits-grid,
    .benefits-row {
        max-width: 100%;
    }
    .products-history {
        max-width: 100%;
        overflow-x: hidden;
    }
    .products-history-item span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .product-tab-mobile {
        display: block;
        width: 100%;
        position: relative;
        padding: 15px 46px 15px 15px;
        background: #fff;
        border: none;
        border-bottom: 1px solid #cfcfcf;
        border-top: 1px solid #cfcfcf;
        margin-top: -1px;
        text-align: center;
        font-size: 17px;
        font-weight: 600;
        color: var(--text);
        font-family: inherit;
        cursor: pointer;
    }
    .product-tab-mobile:after {
        content: '';
        position: absolute;
        top: 50%;
        right: 18px;
        width: 8px;
        height: 8px;
        border-right: 2px solid #777;
        border-bottom: 2px solid #777;
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.2s ease;
    }
    .product-tab-mobile.is-open:after {
        transform: translateY(-20%) rotate(-135deg);
    }
    .product-tab-panel {
        padding: 16px 15px 20px;
        background: #fff;
    }
    .product-payment-methods p {
        margin: 0 0 10px;
        font-size: 14px;
        line-height: 1.5;
        color: #525252;
    }
}

@media (min-width: 768px) {
    .product-tab-mobile { display: none; }
}

@media (max-width: 480px) {
    .logo-text { font-size: 22px; }
    .product-grid { gap: 10px; }
    .product-card-name { font-size: 13px; min-height: 36px; }
    .product-card-payment { font-size: 11px; }
}

/* ── Account central (logged-in) ── */
.central-header__inner--auth { justify-content: space-between; }
.central-header__user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #001B3D;
}
.central-header__avatar { display: flex; opacity: .95; }
.central-header__hello { font-size: 14px; font-weight: 600; }
.central-main--auth { max-width: 1140px; }
.central-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}
.central-sidebar {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    overflow: hidden;
}
.central-nav { display: flex; flex-direction: column; }
.central-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0;
    min-height: 52px;
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #444;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}
.central-nav__item:last-child { border-bottom: 0; }
.central-nav__icon {
    width: 44px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    flex-shrink: 0;
}
.central-nav__item.is-active .central-nav__icon {
    background: var(--primary);
    color: #fff;
}
.central-nav__label { padding-right: 12px; }
.central-nav__logout { margin: 0; }
.central-content { min-width: 0; }
.central-alert--error {
    background: #f8d7da;
    color: #721c24;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 4px;
}
.central-footer__hours {
    margin: 8px 0 0;
    font-size: 12px;
    color: #777;
}
.account-panel {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    padding: 24px;
    margin-bottom: 20px;
}
.account-panel__title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #323232;
}
.account-empty {
    text-align: center;
    padding: 28px 12px 12px;
    color: #777;
}
.account-empty__face {
    font-size: 42px;
    margin: 0 0 12px;
    color: #bbb;
}
.account-empty h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #555;
}
.account-empty a { color: var(--primary); }
.account-last-order__meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
.account-last-order__label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}
.account-last-order__items {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    border-top: 1px solid #eee;
}
.account-last-order__items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.account-last-order__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.account-last-order__total { font-size: 15px; }
.account-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 22px;
}
.account-profile-grid__label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}
.account-completeness {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.account-completeness__bar {
    flex: 1;
    min-width: 140px;
    height: 8px;
    background: #eee;
    border-radius: 99px;
    overflow: hidden;
}
.account-completeness__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}
.account-completeness__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}
.account-orders { display: flex; flex-direction: column; gap: 12px; }
.account-order-card {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 16px;
}
.account-order-card__top,
.account-order-card__bottom,
.account-order-detail__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.account-order-card h3 { margin: 0 0 4px; font-size: 16px; }
.account-order-card p,
.account-muted { margin: 0; color: #888; font-size: 13px; }
.account-order-card__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.account-order-card__bottom { margin-top: 14px; align-items: center; }
.account-order-detail {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 20px;
}
.account-order-detail h3,
.account-tracking h3,
.account-order-summary h3 {
    margin: 0 0 12px;
    font-size: 15px;
    color: var(--primary);
}
.account-tracking { margin-top: 18px; }
.account-tracking p { margin: 0; color: #555; line-height: 1.6; font-size: 14px; }
.account-order-summary {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 16px;
}
.order-source {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    background: #eef2ff;
    color: #3730a3;
}
.order-source--whatsapp { background: #dcfce7; color: #166534; }
.order-source--manual { background: #f3f4f6; color: #374151; }
.order-status--shipped { background: #e0e7ff; color: #3730a3; }
.order-status--delivered { background: #d4edda; color: #155724; }
.order-status--cancelled { background: #f8d7da; color: #721c24; }
.order-status--payment-paid { background: #d4edda; color: #155724; }
.order-status--payment-pending { background: #fff3cd; color: #856404; }

@media (max-width: 900px) {
    .central-shell { grid-template-columns: 1fr; }
    .central-header__hello { display: none; }
    .account-last-order__meta,
    .account-profile-grid,
    .account-order-detail { grid-template-columns: 1fr; }
    .central-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .central-nav__logout { grid-column: 1 / -1; }
}

/* Tracking page */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.track-page {
    max-width: 860px;
    padding-bottom: 48px;
}

.track-hero {
    text-align: center;
    padding: 8px 0 28px;
}

.track-hero__kicker {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f6ee;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.track-hero h1 {
    margin: 0 0 8px;
    font-size: 28px;
    color: var(--text);
}

.track-hero > p {
    margin: 0 auto 22px;
    max-width: 520px;
    color: var(--text-muted);
}

.track-search {
    display: flex;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto;
}

.track-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    background: #fff;
}

.track-search input:focus {
    outline: 2px solid rgba(11, 126, 164, 0.25);
    border-color: var(--primary);
}

.track-search .btn {
    height: 52px;
    padding: 0 22px;
    border-radius: 10px;
    white-space: nowrap;
}

.track-search__error {
    margin: 10px 0 0;
    text-align: center;
}

.track-card,
.track-history,
.track-items {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 16px;
}

.track-card__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.track-card__head h2 {
    margin: 8px 0 4px;
    font-size: 22px;
}

.track-card__head p,
.track-card__meta span {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.track-card__meta {
    text-align: right;
}

.track-card__meta strong { display: block; }

.track-status-pill {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #e8f4f8;
    color: var(--primary-dark);
}

.track-status-pill--delivered { background: #d4edda; color: #155724; }
.track-status-pill--exception,
.track-status-pill--returned { background: #fff3cd; color: #856404; }
.track-status-pill--out_for_delivery,
.track-status-pill--in_transit,
.track-status-pill--handed_over { background: #e0e7ff; color: #3730a3; }

.track-steps {
    list-style: none;
    display: flex;
    margin: 28px 0 8px;
    padding: 0;
    gap: 4px;
}

.track-steps li {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 0;
}

.track-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 7px;
    left: calc(50% + 10px);
    right: calc(-50% + 10px);
    height: 3px;
    background: #e5e7eb;
}

.track-steps li.is-done:not(:last-child)::after,
.track-steps li.is-current:not(:last-child)::after {
    background: var(--primary);
}

.track-steps__dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d1d5db;
    position: relative;
    z-index: 1;
}

.track-steps li.is-done .track-steps__dot,
.track-steps li.is-current .track-steps__dot {
    background: var(--primary);
}

.track-steps li.is-current .track-steps__dot {
    box-shadow: 0 0 0 4px rgba(11, 126, 164, 0.18);
}

.track-steps__label {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.track-steps li.is-done .track-steps__label,
.track-steps li.is-current .track-steps__label {
    color: var(--text);
}

.track-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    padding: 16px;
    background: #f7fbf9;
    border-radius: 12px;
}

.track-route__point span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.track-route__point strong {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.track-route__point.is-now strong { color: var(--primary-dark); }

.track-route__line {
    height: 2px;
    width: 18px;
    background: #cbd5d1;
}

.track-card__note {
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.track-history h3,
.track-items h3 {
    margin: 0 0 16px;
    font-size: 16px;
}

.track-timeline-v {
    list-style: none;
    margin: 0;
    padding: 0;
}

.track-timeline-v li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    position: relative;
    padding-bottom: 18px;
}

.track-timeline-v li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.track-timeline-v__dot {
    width: 14px;
    height: 14px;
    margin-top: 4px;
    border-radius: 50%;
    background: #c5cdd0;
}

.track-timeline-v li.is-latest .track-timeline-v__dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 126, 164, 0.16);
}

.track-timeline-v__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.track-timeline-v__top time {
    color: var(--text-muted);
    font-size: 12px;
}

.track-timeline-v__place {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--primary-dark);
    font-weight: 600;
}

.track-timeline-v__body p {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.track-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.track-items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
}

.track-items li:first-child { border-top: 0; padding-top: 0; }

@media (max-width: 767px) {
    .track-hero h1 { font-size: 22px; }
    .track-search { flex-direction: column; }
    .track-search .btn { width: 100%; }
    .track-card__head { flex-direction: column; }
    .track-card__meta { text-align: left; }
    .track-route {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .track-route__line {
        width: 2px;
        height: 14px;
        margin-left: 8px;
    }
    .track-steps__label { font-size: 10px; }
}
