.reseller-page {
    min-height: 70vh;
    background: #f7f3ef;
    color: #3b3027;
    font-family: "OpenSans-Regular", Arial, sans-serif;
}

.reseller-header {
    min-height: 82px;
    background: #5c432a;
    border-bottom: 3px solid #d6a42c;
    box-shadow: 0 2px 8px rgba(48, 32, 20, .18);
}

.reseller-header-inner {
    width: min(1280px, calc(100% - 32px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
}

.reseller-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: "OpenSans-Bold", Arial, sans-serif;
    text-decoration: none;
}

.reseller-brand:hover { color: #fff; }
.reseller-brand-logo {
    width: 158px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 5px;
    background: #f7f1eb;
}
.reseller-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.reseller-brand-copy { display: grid; gap: 1px; }
.reseller-brand-copy strong { font-size: 1rem; color: #fff; }
.reseller-brand-copy small { color: #ead9c9; font-size: .72rem; font-family: "OpenSans-Regular", Arial, sans-serif; }

.reseller-header nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.reseller-header nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 5px;
    color: #fff7ef;
    font-family: "OpenSans-Bold", Arial, sans-serif;
    text-decoration: none;
}

.reseller-header nav a:hover,
.reseller-header nav a.is-active { background: #76583b; color: #fff; }
.reseller-header nav a.is-active { box-shadow: inset 0 -2px #f1c55c; }
.reseller-header nav .reseller-retail-link { margin-left: 4px; border: 1px solid #b99d81; }
.reseller-header nav .reseller-retail-link:hover { border-color: #f2dfcc; }
.reseller-header nav strong {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: 3px;
    border-radius: 50%;
    color: #4a3523;
    background: #d6a42c;
    font-size: .72rem;
}

.reseller-taxonomy {
    position: relative;
    z-index: 30;
    border-bottom: 1px solid #ddcfc2;
    background: #fffaf5;
    box-shadow: 0 2px 7px rgba(48, 32, 20, .08);
}

.reseller-taxonomy-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.reseller-taxonomy nav {
    min-height: 48px;
    display: flex;
    align-items: stretch;
}

.reseller-taxonomy a { text-decoration: none; }
.reseller-taxonomy-all,
.reseller-taxonomy-root {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 13px;
    color: #4c3929;
    font-family: "OpenSans-Bold", Arial, sans-serif;
    font-size: .78rem;
    white-space: nowrap;
}
.reseller-taxonomy-all:hover,
.reseller-taxonomy-root:hover,
.reseller-taxonomy-all.is-active,
.reseller-taxonomy-item.is-active > .reseller-taxonomy-root {
    color: #2f241b;
    background: #f0e3d7;
}
.reseller-taxonomy-all.is-active,
.reseller-taxonomy-item.is-active > .reseller-taxonomy-root { box-shadow: inset 0 -3px #d6a42c; }
.reseller-taxonomy-item { position: relative; }
.reseller-taxonomy-dropdown {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: min(720px, 85vw);
    max-height: 480px;
    display: none;
    overflow: auto;
    padding: 16px;
    border: 1px solid #dacabd;
    border-radius: 0 0 6px 6px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(55, 37, 23, .2);
}
.reseller-taxonomy-item:nth-last-child(-n+2) .reseller-taxonomy-dropdown { right: 0; left: auto; }
.reseller-taxonomy-item:hover .reseller-taxonomy-dropdown,
.reseller-taxonomy-item:focus-within .reseller-taxonomy-dropdown { display: block; }
.reseller-taxonomy-view-all {
    display: block;
    margin-bottom: 13px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eadfd7;
    color: #76502d;
    font-family: "OpenSans-Bold", Arial, sans-serif;
}
.reseller-taxonomy-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 18px 22px;
}
.reseller-taxonomy-columns > div { min-width: 0; }
.reseller-taxonomy-category {
    display: block;
    margin-bottom: 7px;
    color: #2f241b;
    font-family: "OpenSans-Bold", Arial, sans-serif;
    line-height: 1.35;
}
.reseller-taxonomy-subcategory {
    display: block;
    padding: 3px 0;
    color: #6d5e52;
    font-size: .78rem;
    line-height: 1.35;
}
.reseller-taxonomy-category:hover,
.reseller-taxonomy-subcategory:hover { color: #b32835; }

.reseller-container {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 42px;
}

.reseller-hero {
    padding: 34px 0 30px;
    border-bottom: 1px solid #e3d8ce;
}

.reseller-kicker {
    display: block;
    margin-bottom: 8px;
    color: #8d5b25;
    font-family: "OpenSans-Bold", Arial, sans-serif;
    text-transform: uppercase;
}

.reseller-hero h1,
.reseller-section-title {
    margin: 0 0 12px;
    color: #2f241b;
    font-family: "oswald", Arial, sans-serif;
    letter-spacing: 0;
}

.reseller-hero h1 { font-size: 2.35rem; }
.reseller-hero p { max-width: 760px; font-size: 1.05rem; line-height: 1.65; }

.reseller-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.reseller-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid #5c432a;
    border-radius: 6px;
    background: #5c432a;
    color: #fff;
    cursor: pointer;
    font-family: "OpenSans-Bold", Arial, sans-serif;
}
.reseller-button:hover { background: #412e1f; color: #fff; }
.reseller-button.secondary { background: #fff; color: #5c432a; }
.reseller-button.secondary:hover { background: #f4ece5; }
.reseller-button[disabled] { cursor: not-allowed; opacity: .55; }

.reseller-benefits,
.reseller-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.reseller-benefit,
.reseller-panel,
.reseller-product-card {
    background: #fff;
    border: 1px solid #eadfd7;
    border-radius: 8px;
}
.reseller-benefit { padding: 20px; }
.reseller-benefit strong { display: block; margin-bottom: 7px; color: #2f241b; }
.reseller-benefit p { margin: 0; line-height: 1.5; }

.reseller-status {
    margin-top: 22px;
    padding: 16px 18px;
    border-left: 4px solid #138a4b;
    background: #fff;
}
.reseller-status.warning { border-color: #d49715; }
.reseller-status.danger { border-color: #c53d4d; }

.reseller-form { max-width: 820px; margin-top: 22px; padding: 24px; background: #fff; border: 1px solid #eadfd7; border-radius: 8px; }
.reseller-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.reseller-field { display: grid; gap: 6px; }
.reseller-field.full { grid-column: 1 / -1; }
.reseller-field label { color: #303940; font-family: "OpenSans-Bold", Arial, sans-serif; }
.reseller-field input,
.reseller-field select,
.reseller-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #bfc8cf;
    border-radius: 5px;
    background: #fff;
    color: #20272d;
}
.reseller-field textarea { min-height: 90px; resize: vertical; }

.reseller-catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid #e4d9d0; }
.reseller-catalog-head p { margin: 0; color: #75665a; }
.reseller-discovery { position: relative; margin: 20px 0 18px; }
.reseller-search { position: relative; max-width: 820px; }
.reseller-search-field {
    min-height: 54px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid #a98b72;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(66, 44, 28, .09);
}
.reseller-search-field > i { color: #76583b; text-align: center; }
.reseller-search-field input {
    width: 100%;
    height: 52px;
    min-width: 0;
    padding: 0 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #2f241b;
    font-family: "OpenSans-Regular", Arial, sans-serif;
}
.reseller-search-field input::placeholder { color: #85766b; }
.reseller-search-field:focus-within { border-color: #5c432a; box-shadow: 0 0 0 3px rgba(92, 67, 42, .14); }
.reseller-search-field button {
    width: 56px;
    height: 54px;
    border: 0;
    background: #5c432a;
    color: #fff;
    cursor: pointer;
    font-size: 1.05rem;
}
.reseller-search-field button:hover { background: #412e1f; }
.reseller-search-clear {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #78695d;
    font: 1.4rem/1 Arial, sans-serif;
}
.reseller-search-clear:hover { color: #b32835; background: #f5e8e9; }
.reseller-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 45;
    max-height: min(520px, 68vh);
    overflow-y: auto;
    border: 1px solid #d5c7bb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(50, 34, 22, .22);
}
.reseller-search-result {
    min-height: 76px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 9px 12px;
    border-bottom: 1px solid #eee5de;
    color: #3b3027;
}
.reseller-search-result:last-child { border-bottom: 0; }
.reseller-search-result:hover,
.reseller-search-result.is-active { background: #f8f0e9; color: #2f241b; }
.reseller-search-result img { width: 58px; height: 58px; object-fit: contain; background: #fbf8f4; }
.reseller-search-result > span { min-width: 0; }
.reseller-search-result strong { display: block; overflow: hidden; text-overflow: ellipsis; color: inherit; white-space: nowrap; }
.reseller-search-result small { display: block; margin-top: 4px; color: #7b6c61; }
.reseller-search-price { display: grid; justify-items: end; gap: 2px; white-space: nowrap; }
.reseller-search-price del { color: #8b7d72; font-size: .72rem; }
.reseller-search-price b { color: #c32735; }
.reseller-search-loading,
.reseller-search-empty { padding: 22px; color: #66584d; text-align: center; }
.reseller-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.reseller-active-filters,
.reseller-filter-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}
.reseller-active-filters > span { color: #75665a; font-size: .82rem; }
.reseller-active-filters a,
.reseller-filter-chips a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid #d9c9bb;
    border-radius: 5px;
    background: #fff;
    color: #5c432a;
    font-family: "OpenSans-Bold", Arial, sans-serif;
    font-size: .78rem;
}
.reseller-active-filters a:hover,
.reseller-filter-chips a:hover,
.reseller-filter-chips a.is-active { border-color: #76583b; background: #76583b; color: #fff; }
.reseller-active-filters .clear-all { border-color: transparent; background: transparent; color: #a32735; }
.reseller-active-filters .clear-all:hover { background: #f5e8e9; color: #8c1e2b; }
.reseller-filter-chips.secondary { margin-top: 8px; padding-left: 12px; border-left: 3px solid #d6a42c; }
.reseller-results-summary { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 8px; color: #75665a; }
.reseller-results-summary strong { color: #3b3027; }
.reseller-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reseller-product-card { position: relative; overflow: hidden; box-shadow: 0 2px 8px rgba(66, 44, 28, .07); transition: transform .18s ease, box-shadow .18s ease; }
.reseller-product-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(66, 44, 28, .13); }
.reseller-product-card > a { display: block; padding: 12px; background: #fbf8f4; }
.reseller-product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fbf8f4; }
.reseller-product-body { display: grid; align-content: start; gap: 10px; min-height: 232px; padding: 15px; }
.reseller-product-body h2 { min-height: 44px; margin: 0; color: #3b3027; font-size: .98rem; line-height: 1.4; }
.reseller-product-body h2 a { color: inherit; }
.reseller-product-badge { display: inline-flex; width: fit-content; padding: 4px 8px; border-radius: 4px; background: #f3e8db; color: #76502d; font-family: "OpenSans-Bold", Arial, sans-serif; font-size: .7rem; text-transform: uppercase; }
.reseller-price { color: #d90028; font-family: "OpenSans-Bold", Arial, sans-serif; font-size: 1.24rem; }
.reseller-price-stack { display: grid; gap: 3px; }
.reseller-price-from { color: #81756c; font-size: .84rem; }
.reseller-price-from del { text-decoration-thickness: 1px; }
.reseller-price-detail { margin: 12px 0 4px; }
.reseller-price-detail .reseller-price { font-size: 1.55rem; }
.reseller-price-note { color: #796b60; font-size: .78rem; }
.reseller-buy { display: grid; grid-template-columns: 66px 1fr; gap: 8px; }
.reseller-buy input { width: 100%; min-height: 42px; text-align: center; border: 1px solid #d8cbc0; border-radius: 5px; }
.reseller-product-body .reseller-buy { margin-top: auto; }

.reseller-breadcrumb { margin-bottom: 18px; }
.reseller-breadcrumb a { display: inline-flex; align-items: center; gap: 7px; color: #5c432a; font-family: "OpenSans-Bold", Arial, sans-serif; }
.reseller-product-detail { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(360px, 1.15fr); gap: 38px; padding: 28px; border: 1px solid #eadfd7; border-radius: 8px; background: #fff; box-shadow: 0 2px 10px rgba(66, 44, 28, .07); }
.reseller-product-detail > div { min-width: 0; }
.reseller-product-detail > div:first-child { display: flex; align-items: center; justify-content: center; padding: 18px; border-radius: 7px; background: #fbf8f4; }
.reseller-product-detail img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.reseller-product-detail h1 { margin: 12px 0 8px; color: #2f241b; font-size: 1.7rem; }
.reseller-product-description { margin-top: 24px; padding-top: 18px; border-top: 1px solid #eadfd7; line-height: 1.6; }

.reseller-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
.reseller-cart-items { display: grid; gap: 10px; }
.reseller-cart-item { display: grid; grid-template-columns: 82px 1fr 100px 120px 42px; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid #eadfd7; border-radius: 7px; }
.reseller-cart-item img { width: 74px; height: 74px; object-fit: contain; }
.reseller-cart-item input { width: 66px; min-height: 36px; text-align: center; }
.reseller-cart-item .remove { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #bd3043; cursor: pointer; font-size: 1.25rem; }
.reseller-panel { padding: 18px; box-shadow: 0 2px 10px rgba(66, 44, 28, .07); }
.reseller-panel h2 { margin: 0 0 14px; font-size: 1.1rem; }
.reseller-summary-line { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0; }
.reseller-progress { height: 10px; overflow: hidden; border-radius: 5px; background: #dfe5e8; }
.reseller-progress span { display: block; height: 100%; background: #138a4b; }
.reseller-help { margin: 8px 0 14px; color: #5e6971; font-size: .86rem; line-height: 1.45; }
.reseller-coupon-form,
.reseller-freight-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.reseller-coupon-form input,
.reseller-freight-form input { min-width: 0; padding: 9px; border: 1px solid #bdc7cd; border-radius: 5px; }
.reseller-freight-list { display: grid; gap: 8px; margin-top: 12px; }
.reseller-freight-option { padding: 11px; border: 1px solid #eadfd7; background: #fbf8f4; border-radius: 5px; }
.reseller-empty { padding: 36px; text-align: center; background: #fff; border: 1px solid #eadfd7; border-radius: 8px; }
.reseller-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.reseller-pagination a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #d7c7b9;
    border-radius: 5px;
    background: #fff;
    color: #5c432a;
    font-family: "OpenSans-Bold", Arial, sans-serif;
}
.reseller-pagination a:hover,
.reseller-pagination a.is-active { border-color: #5c432a; background: #5c432a; color: #fff; }

@media (max-width: 900px) {
    .reseller-taxonomy { overflow: hidden; }
    .reseller-taxonomy nav { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
    .reseller-taxonomy-item { flex: 0 0 auto; }
    .reseller-taxonomy-dropdown { display: none !important; }
    .reseller-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reseller-benefits { grid-template-columns: 1fr; }
    .reseller-cart-layout,
    .reseller-product-detail { grid-template-columns: 1fr; }
    .reseller-cart-item { grid-template-columns: 64px 1fr 86px; }
    .reseller-cart-item img { width: 64px; height: 64px; }
}

@media (max-width: 620px) {
    .reseller-header-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 0; }
    .reseller-header nav { width: 100%; }
    .reseller-header nav a { flex: 1 1 auto; justify-content: center; }
    .reseller-header nav .reseller-retail-link { margin-left: 0; }
    .reseller-form-grid,
    .reseller-grid { grid-template-columns: 1fr; }
    .reseller-taxonomy-inner { width: 100%; }
    .reseller-taxonomy-all,
    .reseller-taxonomy-root { padding: 10px 12px; font-size: .73rem; }
    .reseller-search-field { grid-template-columns: 26px minmax(0, 1fr) auto auto; }
    .reseller-search-result { grid-template-columns: 50px minmax(0, 1fr); }
    .reseller-search-result img { width: 50px; height: 50px; }
    .reseller-search-price { grid-column: 2; justify-items: start; }
    .reseller-active-filters,
    .reseller-filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .reseller-active-filters a,
    .reseller-filter-chips a { flex: 0 0 auto; }
    .reseller-page .paiment,
    .reseller-page .paiment .content_paiment,
    .reseller-page .paiment .content_paiment article,
    .reseller-page .paiment .secury { width: 100%; max-width: 100%; }
    .reseller-page .paiment .content_paiment { display: grid; justify-items: center; }
    .reseller-page .paiment .content_paiment article { min-width: 0; }
    .reseller-page .paiment img { max-width: 100%; height: auto; }
    .reseller-hero h1 { font-size: 1.85rem; }
    .reseller-cart-item { grid-template-columns: 58px 1fr; }
    .reseller-cart-item > *:nth-child(n+3) { grid-column: 2; }
}
