* {
    box-sizing: border-box;
}

:root {
    --catalog-red: #e64b43;
    --catalog-red-dark: #d63c35;
    --catalog-purple: #372191;
    --catalog-text: #172033;
    --catalog-muted: #637083;
    --catalog-border: #e7e7e7;
    --catalog-bg: #f6f6f7;
    --catalog-card: #ffffff;
    --catalog-green: #18a957;
    --catalog-green-dark: #128746;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--catalog-bg);
    color: var(--catalog-text);
}

a {
    color: inherit;
    text-decoration: none;
}

.catalog-page {
    min-height: 100vh;
}

.catalog-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

/* HOME HERO */

.catalog-hero {
    padding: 36px 0 24px;
}

.catalog-hero-card {
    width: 100%;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.07);
    padding: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: center;
}

.catalog-hero-content {
    min-width: 0;
}

.catalog-brand-inline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px 0;
    text-align: center;
}

.catalog-brand-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
    display: block;
}

.catalog-hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.7px;
    color: #111827;
    font-weight: 900;
}

.catalog-hero p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 760px;
    margin: 16px 0 24px;
    color: #334155;
}

.catalog-search-form {
    width: 100%;
    max-width: 760px;
}

.catalog-search-wrap {
    display: flex;
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #dedede;
    padding: 6px;
}

.catalog-search-wrap:focus-within {
    border-color: var(--catalog-red);
    box-shadow: 0 0 0 4px rgba(230, 75, 67, 0.08);
}

.catalog-search-input {
    width: 100%;
    height: 50px;
    border: 0;
    outline: none;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--catalog-text);
    background: #ffffff;
}

.catalog-search-input::placeholder {
    color: #7b8496;
}

.catalog-search-button {
    border: 0;
    background: var(--catalog-red);
    color: #ffffff;
    height: 50px;
    min-width: 110px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.catalog-search-button:hover {
    background: var(--catalog-red-dark);
}

.catalog-search-button:active {
    transform: translateY(1px);
}

.catalog-hero-note {
    margin-top: 12px;
    font-size: 13px;
    color: #475569;
}

.catalog-hero-side {
    display: grid;
    gap: 14px;
}

.catalog-side-card {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 20px;
    background: #fafafa;
}

.catalog-side-card strong {
    display: block;
    font-size: 17px;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #111827;
    font-weight: 900;
}

.catalog-side-card span {
    display: block;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.catalog-action-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.catalog-action-btn:active {
    transform: translateY(1px);
}

.catalog-action-main {
    border: 1px solid #dedede;
    background: #ffffff;
    color: #111827;
}

.catalog-action-main:hover {
    border-color: var(--catalog-red);
    color: var(--catalog-red);
}

.catalog-action-wa {
    background: var(--catalog-green);
    color: #ffffff;
}

.catalog-action-wa:hover {
    background: var(--catalog-green-dark);
}

/* AUTOCOMPLETE */

.catalog-autocomplete {
    display: none;
    position: absolute;
    left: 6px;
    right: 6px;
    top: calc(100% + 8px);
    background: #ffffff;
    color: var(--catalog-text);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(22, 31, 51, 0.18);
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
}

.catalog-autocomplete.is-active {
    display: block;
}

.catalog-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 11px 13px;
    border-bottom: 1px solid #f1f3f7;
    background: #ffffff;
    transition: background .15s ease;
}

.catalog-autocomplete-item:hover {
    background: #f8f8f8;
}

.catalog-ac-thumb {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #f1f3f7 !important;
}

.catalog-ac-thumb-img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    position: relative !important;
    z-index: 2 !important;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity .2s ease, transform .2s ease;
}

.catalog-ac-thumb.is-loaded .catalog-ac-thumb-img,
.catalog-ac-thumb.is-error .catalog-ac-thumb-img {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.catalog-ac-thumb-skeleton {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    background: linear-gradient(90deg, #eeeeee 0%, #fafafa 42%, #eeeeee 78%);
    background-size: 220% 100%;
    animation: catalogSkeleton 1.1s infinite linear;
}

.catalog-ac-thumb.is-loaded .catalog-ac-thumb-skeleton,
.catalog-ac-thumb.is-error .catalog-ac-thumb-skeleton {
    display: none !important;
}

.catalog-autocomplete-info {
    min-width: 0;
    flex: 1;
}

.catalog-autocomplete-name {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-autocomplete-code {
    font-size: 12px;
    color: var(--catalog-muted);
    margin-top: 3px;
}

.catalog-autocomplete-price {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 900;
    color: var(--catalog-red);
    margin-left: 10px;
    white-space: nowrap;
    text-align: right;
}

.catalog-autocomplete-empty {
    padding: 14px 16px;
    color: var(--catalog-muted);
    font-size: 14px;
}

.catalog-autocomplete-item-loading {
    pointer-events: none;
}

.catalog-autocomplete-line {
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, #eeeeee 0%, #fafafa 42%, #eeeeee 78%);
    background-size: 220% 100%;
    animation: catalogSkeleton 1.1s infinite linear;
}

.catalog-autocomplete-line-title {
    width: 72%;
    height: 14px;
    margin-bottom: 8px;
}

.catalog-autocomplete-line-code {
    width: 42%;
    height: 11px;
}

.catalog-autocomplete-line-price {
    width: 64px;
    height: 14px;
    margin-left: 10px;
    flex: 0 0 64px;
}

/* SECTION */

.catalog-section {
    padding: 26px 0;
}

.catalog-product-section {
    padding-bottom: 54px;
}

.catalog-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.catalog-section-label {
    display: block;
    color: var(--catalog-red);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 7px;
}

.catalog-section h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.4px;
    color: #111827;
    font-weight: 900;
}

.catalog-see-all {
    color: var(--catalog-red);
    font-weight: 900;
    font-size: 14px;
}

.catalog-see-all:hover {
    color: var(--catalog-purple);
}

/* CATEGORY */

.catalog-category-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.catalog-category-chip {
    display: inline-flex;
    white-space: nowrap;
    padding: 11px 15px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.catalog-category-chip:hover {
    color: var(--catalog-red);
    border-color: #f0b4ae;
    background: #fff6f5;
}

/* PRODUCT CARD */

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.catalog-product-card {
    display: flex;
    flex-direction: column;
    background: var(--catalog-card);
    border: 1px solid #eeeeee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    color: inherit;
    min-height: 100%;
}

.catalog-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(55, 33, 145, 0.16);
    box-shadow: 0 16px 36px rgba(55, 33, 145, 0.08);
}

.catalog-product-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.catalog-product-image img,
.catalog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity .25s ease, transform .25s ease;
    position: relative;
    z-index: 2;
}

.catalog-product-image.is-loaded img,
.catalog-product-image.is-error img,
.catalog-detail-image.is-loaded img,
.catalog-detail-image.is-error img {
    opacity: 1;
    transform: scale(1);
}

.catalog-product-card:hover .catalog-product-image.is-loaded img {
    transform: scale(1.035);
}

.catalog-image-skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #eeeeee 0%, #fafafa 42%, #eeeeee 78%);
    background-size: 220% 100%;
    animation: catalogSkeleton 1.1s infinite linear;
}

.catalog-product-image.is-loaded .catalog-image-skeleton,
.catalog-product-image.is-error .catalog-image-skeleton,
.catalog-detail-image.is-loaded .catalog-image-skeleton,
.catalog-detail-image.is-error .catalog-image-skeleton {
    display: none;
}

@keyframes catalogSkeleton {
    0% {
        background-position: 220% 0;
    }

    100% {
        background-position: -220% 0;
    }
}

.catalog-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px;
}

.catalog-product-title {
    display: -webkit-box;
    min-height: 44px;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.catalog-product-card:hover .catalog-product-title {
    color: #4b3aa5;
}

.catalog-product-info {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.catalog-product-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    line-height: 1.3;
}

.catalog-product-row span {
    color: var(--catalog-muted);
    white-space: nowrap;
}

.catalog-product-row strong {
    color: #1f2937;
    font-weight: 800;
    text-align: right;
    min-width: 0;
    word-break: break-word;
}

.catalog-product-row-price {
    padding-top: 4px;
    margin-top: 2px;
    border-top: 1px solid #f1f1f1;
}

.catalog-product-row-price span {
    color: var(--catalog-muted);
}

.catalog-product-row-price strong {
    color: var(--catalog-red);
    font-size: 18px;
    font-weight: 900;
}

/* EMPTY STATE */

.catalog-empty-state {
    background: #ffffff;
    border: 1px dashed #d7dce6;
    border-radius: 18px;
    padding: 30px;
    color: #3d4658;
}

.catalog-empty-state strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.catalog-empty-state p {
    margin: 0;
    color: var(--catalog-muted);
}

/* FOOTER */

.catalog-footer {
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    padding: 22px 0;
    color: var(--catalog-muted);
    font-size: 13px;
}

.catalog-footer .catalog-container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

/* DETAIL PAGE */

.catalog-detail {
    padding: 24px 0 54px;
}

.catalog-detail-header {
    display: grid;
    grid-template-columns: 250px minmax(280px, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.catalog-detail-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: #111827;
    min-width: 0;
}

.catalog-detail-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.catalog-detail-brand span {
    display: block;
    font-size: 17px;
    white-space: nowrap;
}

.catalog-detail-search {
    width: 100%;
}

.catalog-detail-search-wrap {
    position: relative;
    display: flex;
    width: 100%;
    height: 46px;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 12px;
    padding: 5px;
}

.catalog-detail-search-wrap:focus-within {
    border-color: var(--catalog-red);
    box-shadow: 0 0 0 4px rgba(230, 75, 67, 0.08);
}

.catalog-detail-search-input {
    width: 100%;
    height: 34px;
    border: 0;
    outline: none;
    padding: 0 12px;
    font-size: 14px;
    color: var(--catalog-text);
    background: transparent;
}

.catalog-detail-search-btn {
    border: 0;
    background: var(--catalog-red);
    color: #ffffff;
    min-width: 78px;
    height: 34px;
    border-radius: 9px;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
}

.catalog-detail-search-btn:hover {
    background: var(--catalog-red-dark);
}

.catalog-detail-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.catalog-detail-header-btn,
.catalog-detail-header-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.catalog-detail-header-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111827;
}

.catalog-detail-header-btn:hover {
    color: var(--catalog-red);
    border-color: #f0b4ae;
}

.catalog-detail-header-wa {
    background: var(--catalog-green);
    color: #ffffff;
}

.catalog-detail-header-wa:hover {
    background: var(--catalog-green-dark);
}

.catalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
}

.catalog-breadcrumb a {
    white-space: nowrap;
}

.catalog-breadcrumb a:hover {
    color: var(--catalog-red);
}

.catalog-breadcrumb strong {
    color: #334155;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-detail-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(17, 24, 39, 0.07);
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
}

.catalog-detail-image-wrap {
    width: 100%;
}

.catalog-detail-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    position: relative;
}

.catalog-detail-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 14px;
}

.catalog-detail-code strong {
    color: #111827;
}

.catalog-detail-info h1 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    line-height: 1.22;
    letter-spacing: -0.5px;
    font-weight: 900;
}

.catalog-detail-price {
    margin-top: 12px;
    color: var(--catalog-purple);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.catalog-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.catalog-detail-meta-item {
    border: 1px solid #eeeeee;
    background: #fafafa;
    border-radius: 16px;
    padding: 14px;
}

.catalog-detail-meta-item span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 5px;
}

.catalog-detail-meta-item strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.catalog-stock-status {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.4;
}

.catalog-stock-status i {
    width: 10px;
    height: 10px;
    border-radius: 8px;
    display: inline-block;
    flex-shrink: 0;
}

.catalog-stock-status.is-available {
    color: #15803d;
}

.catalog-stock-status.is-available i {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.catalog-stock-status.is-unavailable {
    color: #b45309;
}

.catalog-stock-status.is-unavailable i {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.catalog-detail-wholesale {
    margin-top: 16px;
    border: 1px solid #eeeeee;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
}

.catalog-wholesale-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.catalog-wholesale-head span {
    display: block;
    color: var(--catalog-red);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px;
}

.catalog-wholesale-head strong {
    display: block;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
}

.catalog-wholesale-list {
    display: grid;
    gap: 8px;
}

.catalog-wholesale-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fafafa;
}

.catalog-wholesale-qty {
    color: #475569;
    font-size: 14px;
    font-weight: 800;
}

.catalog-wholesale-price {
    color: var(--catalog-purple);
    font-size: 17px;
    font-weight: 900;
    text-align: right;
}

.catalog-wholesale-empty {
    border: 1px dashed #d7dce6;
    border-radius: 12px;
    background: #fafafa;
    padding: 14px;
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-detail-description {
    margin-top: 20px;
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}

.catalog-detail-cta {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.catalog-detail-wa,
.catalog-detail-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 14px;
}

.catalog-detail-wa {
    background: var(--catalog-green);
    color: #ffffff;
}

.catalog-detail-wa:hover {
    background: var(--catalog-green-dark);
}

.catalog-detail-main {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.catalog-detail-main:hover {
    border-color: #f0b4ae;
    color: var(--catalog-red);
}

/* STOCK SECTION FULL WIDTH */

.catalog-store-section {
    margin-top: 22px;
}

.catalog-store-section-wide {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(17, 24, 39, 0.05);
    padding: 24px;
    margin-top: 24px;
}

.catalog-store-head {
    margin-bottom: 12px;
}

.catalog-store-head-wide {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.catalog-store-head span {
    display: block;
    color: var(--catalog-red);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px;
}

.catalog-store-head strong {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.catalog-store-summary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-store-summary-item {
    min-width: 130px;
    border: 1px solid #eeeeee;
    background: #fafafa;
    border-radius: 14px;
    padding: 10px 14px;
}

.catalog-store-summary-item span {
    display: block;
    color: #64748b;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 4px;
    font-weight: 700;
}

.catalog-store-summary-item strong {
    display: block;
    color: var(--catalog-purple);
    font-size: 18px;
    font-weight: 900;
}

.catalog-store-list {
    display: grid;
    gap: 10px;
}

.catalog-store-list-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    height: auto;
    overflow: visible;
    overflow-y: visible;
    padding-right: 0;
}
.catalog-store-group-wrap {
    display: grid;
    gap: 22px;
}

.catalog-store-group {
    display: grid;
    gap: 12px;
}

.catalog-store-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 2px;
}

.catalog-store-group-title span {
    color: var(--catalog-purple);
    font-size: 16px;
    font-weight: 900;
}

.catalog-store-group-title strong {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .catalog-store-group-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

.catalog-store-group-empty {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px dashed #d7dce6;
    border-radius: 14px;
    background: #fafafa;
    padding: 16px;
    color: #64748b;
}

.catalog-store-group-empty-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.catalog-store-group-empty strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 4px;
}

.catalog-store-group-empty span {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.catalog-store-list-wide::-webkit-scrollbar {
    width: 0;
    display: none;
}

.catalog-store-list-wide::-webkit-scrollbar-track {
    background: transparent;
}

.catalog-store-list-wide::-webkit-scrollbar-thumb {
    background: transparent;
}

.catalog-store-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid #dce7f7;
    border-radius: 14px;
    background: #ffffff;
}

.catalog-store-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-store-name {
    min-width: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
}

.catalog-store-stock {
    text-align: right;
}

.catalog-store-stock span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 2px;
}

.catalog-store-stock strong {
    display: block;
    color: var(--catalog-purple);
    font-size: 17px;
    font-weight: 900;
}

.catalog-store-empty,
.catalog-wholesale-empty {
    border: 1px dashed #d7dce6;
    border-radius: 14px;
    background: #fafafa;
    padding: 16px;
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-empty-bullet {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd5e1;
    display: inline-block;
    flex-shrink: 0;
}

/* SEARCH RESULT PAGE */

.catalog-search-page {
    padding: 24px 0 54px;
}

.catalog-search-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.catalog-filter-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.05);
    padding: 20px;
    position: sticky;
    top: 18px;
}

.catalog-filter-head {
    margin-bottom: 18px;
}

.catalog-filter-head span {
    display: block;
    color: var(--catalog-red);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px;
}

.catalog-filter-head strong {
    display: block;
    color: #000000;
    font-size: 18px;
    font-weight: 900;
}

.catalog-filter-form {
    display: grid;
    gap: 14px;
}

.catalog-filter-group label {
    display: block;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
}

.catalog-filter-control {
    width: 100%;
    height: 42px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
}

.catalog-filter-control:focus {
    border-color: var(--catalog-red);
    box-shadow: 0 0 0 4px rgba(230, 75, 67, 0.08);
}

.catalog-price-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.catalog-filter-submit {
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--catalog-red);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.catalog-filter-submit:hover {
    background: var(--catalog-red-dark);
}

.catalog-filter-reset {
    height: 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
}

.catalog-filter-reset:hover {
    color: var(--catalog-red);
    border-color: #f0b4ae;
}

.catalog-search-results {
    min-width: 0;
}

.catalog-search-result-head {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.catalog-search-result-head h1 {
    margin: 0;
    color: #111827;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
}

.catalog-search-result-head p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
}

.catalog-search-result-head p strong {
    color: var(--catalog-purple);
}

.catalog-search-active-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.catalog-search-active-filter span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff6f5;
    color: var(--catalog-red);
    border: 1px solid #ffd8d5;
    font-size: 12px;
    font-weight: 900;
}

.catalog-search-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.catalog-pagination ul {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.catalog-pagination li span,
.catalog-pagination li a {
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-weight: 800;
    font-size: 13px;
}

.catalog-pagination li.active span {
    background: var(--catalog-red);
    color: #ffffff;
    border-color: var(--catalog-red);
}

.catalog-pagination li.disabled span {
    opacity: .45;
}

.catalog-search-empty {
    background: #ffffff;
    border: 1px dashed #d7dce6;
    border-radius: 22px;
    padding: 34px;
    color: #475569;
    text-align: center;
}

.catalog-search-empty strong {
    display: block;
    color: #111827;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
}

.catalog-search-empty p {
    max-width: 520px;
    margin: 0 auto 18px;
    line-height: 1.6;
}

.catalog-search-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--catalog-red);
    color: #ffffff;
    font-weight: 900;
}

/* LIMITED STOCK */

.catalog-store-item.is-limited {
    border-color: #e5e7eb;
    background: #f8fafc;
    opacity: .72;
}

.catalog-store-item.is-limited .catalog-store-icon {
    filter: grayscale(1);
    opacity: .75;
}

.catalog-store-item.is-limited .catalog-store-name strong {
    color: #475569;
}

.catalog-store-item.is-limited .catalog-store-stock strong {
    color: #64748b;
}

.catalog-store-name strong {
    display: block;
}

.catalog-store-name small {
    display: block;
    margin-top: 4px;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.catalog-store-summary-item.is-warning {
    background: #fff7ed;
    border-color: #fed7aa;
}

.catalog-store-summary-item.is-warning span {
    color: #b45309;
}

.catalog-store-summary-item.is-warning strong {
    color: #c2410c;
}

/* SHARE PRODUCT */

.catalog-share-area {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.catalog-share-area small {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.catalog-detail-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: var(--catalog-purple);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.catalog-detail-copy:hover {
    border-color: rgba(55, 33, 145, 0.24);
    background: #f8f7ff;
    box-shadow: 0 12px 26px rgba(55, 33, 145, 0.10);
}

.catalog-detail-copy:active {
    transform: translateY(1px);
}

.catalog-share-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.catalog-copy-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    background: #111827;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 99999;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.22);
}

.catalog-copy-toast.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* CATALOG LOGIN PAGE */

.catalog-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(230, 75, 67, 0.10), transparent 30%),
        radial-gradient(circle at 86% 24%, rgba(55, 33, 145, 0.10), transparent 28%),
        linear-gradient(135deg, #f8fafc 0%, #f6f6f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.catalog-login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.10);
    padding: 30px;
}

.catalog-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.catalog-login-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.catalog-login-brand strong {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.catalog-login-brand span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
}

.catalog-login-header {
    margin-bottom: 22px;
}

.catalog-login-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff6f5;
    color: var(--catalog-red);
    border: 1px solid #ffd8d5;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}

.catalog-login-card h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.catalog-login-card p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
}

.catalog-login-alert {
    background: #fff6f5;
    border: 1px solid #ffd8d5;
    color: var(--catalog-red);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.catalog-login-group {
    margin-bottom: 16px;
}

.catalog-login-group label {
    display: block;
    color: #334155;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.catalog-login-group input {
    width: 100%;
    height: 48px;
    border: 1px solid #dedede;
    border-radius: 14px;
    padding: 0 14px;
    outline: none;
    color: #111827;
    font-size: 15px;
    background: #ffffff;
}

.catalog-login-group input:focus {
    border-color: var(--catalog-red);
    box-shadow: 0 0 0 4px rgba(230, 75, 67, 0.08);
}

.catalog-login-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--catalog-red);
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.catalog-login-submit:hover {
    background: var(--catalog-red-dark);
}

.catalog-login-submit:active {
    transform: translateY(1px);
}

.catalog-login-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f1f1;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .catalog-search-layout {
        grid-template-columns: 1fr;
    }

    .catalog-filter-card {
        position: static;
    }

    .catalog-search-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-hero-card {
        grid-template-columns: 1fr;
        padding: 34px;
    }

    .catalog-brand-logo {
        width: 76px;
        height: 76px;
    }

    .catalog-hero h1 {
        font-size: 32px;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-hero-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-detail-header {
        grid-template-columns: 1fr;
    }

    .catalog-detail-header-actions {
        width: 100%;
    }

    .catalog-detail-header-btn,
    .catalog-detail-header-wa {
        flex: 1;
    }

    .catalog-detail-card {
        grid-template-columns: 1fr;
    }

    .catalog-detail-image {
        max-width: 520px;
        margin: 0 auto;
    }

    .catalog-store-head-wide {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-store-list-wide {
        grid-template-columns: 1fr;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .catalog-search-result-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-search-active-filter {
        justify-content: flex-start;
    }

    .catalog-search-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-hero {
        padding: 18px 0 18px;
    }

    .catalog-hero-card {
        padding: 24px;
        border-radius: 20px;
    }

    .catalog-brand-inline {
        margin-bottom: 20px;
    }

    .catalog-brand-logo {
        width: 68px;
        height: 68px;
    }

    .catalog-hero h1 {
        font-size: 28px;
    }

    .catalog-hero p {
        font-size: 14px;
    }

    .catalog-search-wrap {
        display: block;
        padding: 6px;
    }

    .catalog-search-input {
        width: 100%;
    }

    .catalog-search-button {
        width: 100%;
        margin-top: 6px;
    }

    .catalog-hero-side {
        grid-template-columns: 1fr;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .catalog-section h2 {
        font-size: 22px;
    }

    .catalog-footer .catalog-container {
        flex-direction: column;
    }

    .catalog-detail {
        padding-top: 18px;
    }

    .catalog-detail-card {
        padding: 20px;
        border-radius: 20px;
    }

    .catalog-detail-info h1 {
        font-size: 24px;
    }

    .catalog-detail-price {
        font-size: 32px;
    }

    .catalog-detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .catalog-store-section-wide {
        padding: 20px;
        border-radius: 20px;
    }

    .catalog-store-summary {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-store-summary-item {
        min-width: 0;
    }

    .catalog-store-item {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .catalog-store-stock {
        grid-column: 2;
        text-align: left;
    }

    .catalog-detail-wa,
    .catalog-detail-main,
    .catalog-detail-copy {
        width: 100%;
    }

    .catalog-share-area {
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .catalog-login-page {
        padding: 16px;
        align-items: flex-start;
        padding-top: 44px;
    }

    .catalog-login-card {
        padding: 24px;
        border-radius: 22px;
    }

    .catalog-login-brand img {
        width: 46px;
        height: 46px;
    }

    .catalog-login-card h1 {
        font-size: 24px;
    }
}

@media (max-width: 430px) {
    .catalog-container {
        padding: 0 14px;
    }

    .catalog-hero-card {
        padding: 20px;
    }

    .catalog-brand-logo {
        width: 62px;
        height: 62px;
    }

    .catalog-hero h1 {
        font-size: 25px;
    }

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

    .catalog-store-summary {
        grid-template-columns: 1fr;
    }

    .catalog-search-product-grid {
        grid-template-columns: 1fr;
    }

    .catalog-price-filter-row {
        grid-template-columns: 1fr;
    }
}