/* =========================================================
   PRODUCT PAGE
   ========================================================= */

:root {
    --product-stroke: #FFE9D1;
    --product-shadow: 0 14px 30px rgba(255, 233, 209, 0.78);
}

.sanpota-product-page {
    background: var(--bg-warm);
    overflow-x: hidden;
}

/* Unified product-page cards and sections */
.sanpota-product-page :is(
    .products-home-features,
    .products-sidebar-block,
    .products-sidebar-cta,
    .products-catalog-main,
    .products-filter-search,
    .products-filter-selects select,
    .products-filter-selects button,
    .products-view-toggle,
    .catalog-product-card,
    .catalog-product-img-wrapper,
    .products-search-wrapper
),
.product-detail-page :is(
    .product-detail-visual,
    .product-detail-public-specs,
    .product-detail-options,
    .product-detail-specs,
    .product-detail-description,
    .product-detail-business .product-detail-container,
    .product-variants-card,
    .product-support-card,
    .product-accessory-grid a,
    .product-use-cases > div,
    .product-custom-options > div
) {
    border-color: var(--product-stroke) !important;
    box-shadow: var(--product-shadow);
}

.sanpota-product-page :is(
    .catalog-product-card,
    .products-sidebar-cta,
    .products-category-btn,
    .products-chip-row button
),
.product-detail-page :is(
    .product-accessory-grid a,
    .product-use-cases > div,
    .product-custom-options > div,
    .product-custom-cta
) {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.sanpota-product-page :is(
    .catalog-product-card,
    .products-sidebar-cta
):hover,
.product-detail-page :is(
    .product-accessory-grid a,
    .product-use-cases > div,
    .product-custom-options > div
):hover {
    transform: translateY(-5px);
    border-color: #FFE9D1 !important;
    box-shadow: 0 18px 36px rgba(255, 233, 209, 0.95);
}

.product-detail-page .product-accessory-grid a:hover span {
    color: var(--primary);
}

.product-detail-page .product-custom-options > div:hover {
    transform: none;
    background: #fffaf4;
    border-color: #FFE9D1 !important;
    box-shadow: 0 10px 24px rgba(255, 233, 209, 0.95);
}

.product-detail-page .product-custom-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(193, 54, 39, 0.24);
}

.product-detail-page :is(
    .product-accessory-grid a > div,
    .product-detail-public-specs dl div,
    .catalog-product-specs,
    .product-variants-table th,
    .product-variants-table td
) {
    border-color: var(--product-stroke) !important;
}

.products-grid-section {
    background: var(--bg-warm);
    padding: 8px 0 56px;
}

.products-grid-section .section-container,
.product-detail-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.grid-controls-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.products-home-features {
    max-width: 1300px;
    margin-bottom: 20px;
}

.products-home-features .feature-info h4 {
    color: #004A3E;
}

.products-home-features .feature-info p {
    color: #004A3E;
}

.results-count {
    color: #004A3E;
    font-weight: 800;
}

.products-view-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #FFE0BE;
}

.products-view-toggle button {
    border: 0;
    border-radius: 7px;
    padding: 8px 12px;
    color: #004A3E;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
}

.products-view-toggle button.is-active {
    background: #C13627;
    color: #FFFFFF;
}

.products-catalog-layout {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.products-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 92px;
}

.products-sidebar-block,
.products-sidebar-cta,
.products-filter-panel {
    background: #FFFFFF;
    border: 1px solid #FFE0BE;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(255, 183, 93, 0.08);
}

.products-sidebar h3 {
    margin: 0 0 12px;
    color: #004A3E;
    font-size: 0.92rem;
}

.products-category-btn {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #004A3E;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 11px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.products-category-btn i {
    color: #C13627;
    width: 18px;
}

.products-category-btn.is-active,
.products-category-btn:hover {
    background: #C13627;
    color: #C13627;
    color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(193, 54, 39, 0.16);
}

.products-category-btn.is-active i,
.products-category-btn:hover i {
    color: #FFFFFF;
}

.products-subcategory-list {
    display: grid;
    gap: 6px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.products-subcategory-panel {
    min-height: 260px;
}

.products-subcategory-clear {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-radius: 9px;
    background: #FFF1EC;
    color: #C13627;
    margin-bottom: 8px;
    padding: 0 10px;
    font-size: 0.74rem;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.products-subcategory-clear.is-active {
    background: #C13627;
    color: #FFFFFF;
}

.products-subcategory-check {
    width: 100%;
    min-height: 34px;
    border-radius: 8px;
    background: transparent;
    color: #1f685d;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    font-size: 0.74rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.products-subcategory-check[hidden] {
    display: none;
}

.products-subcategory-check:hover,
.products-subcategory-check:has(input:checked) {
    background: #FFF1EC;
    color: #C13627;
}

.products-subcategory-check input {
    width: 14px;
    height: 14px;
    accent-color: #C13627;
    flex: 0 0 auto;
}

.products-sidebar-cta {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF2E6 100%);
}

.products-sidebar-cta p {
    color: #1f685d;
    font-size: 0.82rem;
    line-height: 1.45;
}

.products-sidebar-cta a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 10px;
    background: #C13627;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.84rem;
}

.products-catalog-main {
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #FFE0BE;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 16px 34px rgba(255, 183, 93, 0.1);
}

.products-filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.products-filter-search {
    min-height: 44px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    border: 1px solid #F3E2CE;
    border-radius: 10px;
    padding: 0 13px;
}

.products-filter-search i {
    color: #004A3E;
}

.products-filter-search input {
    border: 0;
    outline: 0;
    color: #004A3E;
    font-weight: 700;
}

.products-filter-search input::placeholder {
    color: #004A3E;
    opacity: 1;
}

.products-filter-selects {
    display: flex;
    gap: 10px;
}

.products-filter-selects select,
.products-filter-selects > button {
    min-height: 44px;
    border: 1px solid #F3E2CE;
    border-radius: 10px;
    background: #FFFFFF;
    color: #004A3E;
    padding: 0 13px;
    font-weight: 800;
}

.sanpota-custom-select {
    position: relative;
    width: 220px;
}

.products-filter-selects .sanpota-custom-select:nth-child(2) {
    width: 260px;
}

.sanpota-custom-select-trigger {
    width: 100%;
    text-align: left;
    cursor: pointer;
    appearance: none;
    position: relative;
    font-family: inherit;
    font-size: 0.85rem;
    min-height: 44px;
    border: 1px solid #F3E2CE;
    border-radius: 10px;
    background: #FFFFFF;
    color: #004A3E !important;
    padding: 10px 36px 10px 13px;
    font-weight: 500 !important;
    line-height: 1.2;
    box-shadow: 0 14px 30px rgba(255, 233, 209, 0.78);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sanpota-custom-select-trigger::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #004A3E !important;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.sanpota-custom-select.is-open .sanpota-custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.sanpota-custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 80;
    max-height: none;
    overflow-y: visible;
    display: none;
    background: #FFFFFF;
    border: 1px solid #E8D6C5;
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    padding: 6px;
}

.sanpota-custom-select.is-open .sanpota-custom-select-menu {
    display: block;
}

.products-filter-selects .sanpota-custom-select-menu button {
    width: 100%;
    border: 0;
    border-color: transparent !important;
    background: transparent;
    color: #004A3E !important;
    text-align: left;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    min-height: auto;
    font-weight: 400 !important;
    line-height: 1.25;
    box-shadow: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.products-filter-selects .sanpota-custom-select-menu button:hover {
    background: #FFF6ED !important;
    color: #B13024 !important;
}

.products-filter-selects .sanpota-custom-select-check {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 6px;
    color: #004A3E;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.25;
    cursor: pointer;
}

.products-filter-selects .sanpota-custom-select-check:hover {
    background: #FFF6ED;
    color: #B13024;
}

.products-filter-selects .sanpota-custom-select-check input {
    width: 14px;
    height: 14px;
    accent-color: #C93629;
    flex: 0 0 auto;
}

.products-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.products-chip-row button {
    min-height: 30px;
    border: 0;
    border-radius: 999px;
    background: #F5E7D2;
    color: #5C4A35;
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.products-chip-row button.is-active,
.products-chip-row button:hover {
    background: #C13627;
    color: #FFFFFF;
}

.premium-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.catalog-product-card {
    background: #FFFFFF;
    border: 1px solid #FFE0BE;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 460px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.catalog-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(255, 183, 93, 0.24);
}

.catalog-product-card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.catalog-product-img-wrapper {
    height: 260px;
    min-height: 0;
    display: block;
    position: relative;
    background: #FFFFFF !important;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(255, 233, 209, 0.35) !important;
}

.product-status-row {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    pointer-events: none;
}

.product-status-row span {
    border-radius: 999px;
    background: #EAF8E8;
    color: #2F7D42;
    padding: 5px 8px;
    font-size: 0.62rem;
    font-weight: 900;
}

.product-status-row span:nth-child(2) {
    background: #EEF5FF;
    color: #2E6FCB;
}

.catalog-product-img-wrapper img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.catalog-product-card:has(.catalog-product-img-wrapper img) .catalog-product-info {
    padding-top: 8px;
}

.catalog-product-card:has(.catalog-product-img-wrapper img) .catalog-product-img-wrapper img {
    transform: scale(1.08);
    transform-origin: center top;
}

.catalog-product-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #FFFFFF;
    color: #8b948f;
    text-align: center;
}

.catalog-product-placeholder i {
    color: #ed8c00;
    font-size: 2.4rem;
}

.catalog-product-placeholder span {
    font-size: 0.74rem;
    font-weight: 800;
}

.catalog-product-placeholder small {
    color: #9a8f86;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.35;
}

.sanpota-product-page .catalog-product-card .catalog-product-img-wrapper,
.sanpota-product-page .catalog-product-card .catalog-product-placeholder {
    background-color: #FFFFFF !important;
    background-image: none !important;
}

.sanpota-product-page .catalog-product-card .catalog-product-img-wrapper {
    box-shadow: 0 4px 10px rgba(255, 233, 209, 0.35) !important;
}

.products-load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 24px 0 4px;
}

.products-load-more-wrap[hidden] {
    display: none;
}

.products-load-more {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: #c13627;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(193, 54, 39, 0.18);
}

.products-load-more:hover {
    background: #a92d21;
    transform: translateY(-2px);
}

.product-badge-moq {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    border-radius: 999px;
    padding: 7px 10px;
    background: #FFFFFF;
    color: #004A3E;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(0, 74, 62, 0.08);
}

.catalog-product-info {
    padding: 10px 14px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-product-category {
    width: fit-content;
    margin-bottom: 8px;
    border-radius: 999px;
    background: #FFF1EC;
    color: #C13627;
    padding: 5px 10px;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.catalog-product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: #EEF9EE;
    color: #004A3E;
    padding: 6px 9px;
    font-size: 0.72rem;
    font-weight: 800;
}

.catalog-product-title {
    color: #004A3E;
    font-size: 1.12rem;
    line-height: 1.25;
    margin: 0 0 8px;
    font-weight: 800;
    min-height: 1.45em;
}

.catalog-product-specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid #F6E6D6;
}

.catalog-product-specs span {
    color: #6f7b77;
    font-size: 0.68rem;
    font-weight: 800;
}

.catalog-product-specs strong {
    color: #004A3E;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: right;
}

.catalog-product-price {
    margin-top: 12px;
    color: #C13627;
    font-size: 0.84rem;
    font-weight: 900;
}

.catalog-product-pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}

.price-label {
    color: #6f7b77;
    font-size: 0.78rem;
    font-weight: 700;
}

.price-amount {
    color: #C13627;
    font-weight: 900;
    font-size: 1rem;
}

.catalog-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 14px 14px;
}

.catalog-product-actions .btn {
    min-height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
    padding: 0 5px;
}

.catalog-product-card[hidden] {
    display: none;
}

.btn-card-secondary {
    border: 1px solid #C13627;
    color: #C13627;
    background: #FFFFFF;
}

.btn-card-primary {
    border: 1px solid #C13627;
    color: #FFFFFF;
    background: #C13627;
}

.product-detail-page {
    background: var(--bg-warm);
}

.product-detail-hero {
    padding: 72px 0 42px;
}

.product-detail-hero .product-detail-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 42px;
}

.product-detail-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #004A3E;
    font-weight: 800;
    font-size: 0.9rem;
}

.product-detail-breadcrumbs a {
    color: #004A3E;
    text-decoration: none;
}

.product-detail-copy h1 {
    color: #004A3E;
    font-size: 3.4rem;
    line-height: 1.04;
    margin: 0 0 16px;
}

.product-detail-copy p {
    color: #1f685d;
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 680px;
}

.product-detail-gallery {
    min-width: 0;
    width: 100%;
    max-width: 560px;
    justify-self: end;
}

.product-detail-premium .product-detail-hero .product-detail-container {
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.product-detail-tags span,
.product-detail-options span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #eef8ee;
    color: #17634f;
    font-size: 0.78rem;
    font-weight: 800;
}

.product-detail-public-specs,
.product-detail-options {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #f1dec8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
}

.product-detail-spec-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-detail-public-specs h2,
.product-detail-options h2 {
    margin: 0 0 12px;
    color: #c13627;
    font-size: 1rem;
}

.product-detail-public-specs dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    margin: 0;
}

.product-detail-public-specs dl div {
    display: grid;
    grid-template-columns: minmax(96px, 0.7fr) 1.3fr;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f3e7da;
}

.product-detail-public-specs dl div:last-child {
    border-bottom: 0;
}

.product-detail-public-specs dt {
    color: #5f6f69;
    font-weight: 700;
}

.product-detail-public-specs dd {
    margin: 0;
    color: #004a3e;
    font-weight: 800;
}

.product-spec-choice-summary dd {
    color: #c13627;
}

.product-detail-public-specs dl .product-spec-choice-summary {
    grid-column: 1 / -1;
    grid-template-columns: minmax(150px, 0.34fr) 1fr;
}

.product-spec-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-spec-option {
    padding: 12px;
    border: 1px solid #FFE9D1;
    border-radius: 12px;
    background: #fffaf4;
    box-shadow: 0 10px 22px rgba(255, 233, 209, 0.55);
}

.product-spec-option > strong {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eaf8ef;
    color: #004a3e;
    font-size: 0.76rem;
}

.product-spec-option ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-spec-option li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #004a3e;
    font-size: 0.78rem;
    line-height: 1.35;
}

.product-spec-option li span {
    color: #6f7b77;
    font-weight: 700;
}

.product-spec-option li b {
    text-align: right;
}

.product-detail-options > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.product-detail-primary,
.product-detail-secondary {
    min-height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    font-weight: 900;
    text-decoration: none;
}

.product-detail-primary {
    background: #C13627;
    color: #FFFFFF;
    box-shadow: 0 10px 20px -5px rgba(193, 54, 39, 0.4);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.product-detail-primary:hover {
    background: #a92d21;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(193, 54, 39, 0.5);
}

.product-detail-secondary {
    border: 1.5px solid #004A3E;
    color: #004A3E;
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.product-detail-secondary:hover {
    background-color: #FFF0EE;
    transform: translateY(-3px);
}

.product-detail-visual {
    width: 100%;
    height: clamp(340px, 35vw, 410px);
    min-height: 0;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid #FFE0BE;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 18px 38px rgba(255, 183, 93, 0.18);
    overflow: hidden;
    touch-action: none;
}

.product-detail-visual img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 22px;
    transition: transform 0.1s ease-out; /* Transisi cepat untuk panning */
    transform-origin: center center;
    cursor: zoom-in;
}

.product-detail-visual.is-zoomed img {
    transform: scale(2); /* Level zoom saat kursor masuk */
}

.product-detail-thumb-card {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #FFE8D0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(255, 183, 93, 0.12);
}

.product-detail-thumb-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 30px) / 4);
    justify-content: start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 2px 1px 4px;
}

.product-detail-thumb-track::-webkit-scrollbar {
    display: none;
}

.product-detail-thumb {
    width: 100%;
    height: 68px;
    border: 1px solid #FFF0DF;
    border-radius: 8px;
    background: #FFFCF7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-detail-thumb:hover,
.product-detail-thumb.is-active {
    border-color: #D4362B;
    box-shadow: inset 0 0 0 1px #D4362B, 0 6px 14px rgba(193, 54, 39, 0.12);
    transform: none;
}

.product-detail-thumb.is-empty {
    cursor: default;
    background: #fff8ef;
    border-color: #FFE8D0;
    color: #ed8c00;
}

.product-detail-thumb.is-empty:hover {
    border-color: #FFE8D0;
    box-shadow: none;
    transform: none;
}

.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
    display: block;
}

.product-detail-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-detail-thumb-nav {
    width: 22px;
    height: 22px;
    border: 1px solid #FFE0BE;
    border-radius: 999px;
    background: #FFFFFF;
    color: #C13627;
    font-size: 0.68rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 74, 62, 0.08);
}

.product-detail-thumb-nav:hover {
    background: #FFF4EA;
}

.product-detail-info {
    padding: 0 0 62px;
}

.product-detail-info .product-detail-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.product-detail-specs,
.product-detail-description {
    background: #FFFFFF;
    border: 1px solid #FFE0BE;
    border-radius: 18px;
    padding: 24px;
}

.product-detail-specs h2,
.product-detail-description h2 {
    color: #C13627;
    margin: 0 0 18px;
    font-size: 1.45rem;
}

.product-detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-detail-spec-grid div {
    border-radius: 12px;
    background: #FFF7EA;
    padding: 14px;
}

.product-detail-spec-grid span {
    display: block;
    color: #6f7b77;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.product-detail-spec-grid strong {
    color: #004A3E;
    font-size: 1rem;
}

.product-detail-content {
    color: #004A3E;
    line-height: 1.65;
}

.product-detail-business,
.product-detail-support,
.product-related-section {
    padding: 0 0 28px;
}

.product-variants-section {
    padding: 0 0 28px;
}

.product-variants-card {
    padding: 24px;
    border: 1px solid #f2ddc4;
    border-radius: 18px;
    background: #fff;
}

.product-variants-heading h2 {
    margin: 5px 0 6px;
    color: #004a3e;
}

.product-variants-heading p {
    margin: 0 0 18px;
    color: #34776c;
}

.product-variants-table-wrap {
    overflow-x: auto;
}

.product-variants-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.product-variants-table th,
.product-variants-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #f2e5d7;
    color: #004a3e;
    text-align: left;
    font-size: 0.82rem;
}

.product-variants-table th {
    background: #fff7ea;
    color: #c13627;
    font-weight: 900;
}

.product-variants-table tbody tr:hover {
    background: #fffaf4;
}

.product-detail-business .product-detail-container {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr) 150px;
    align-items: center;
    gap: 24px;
    width: calc(100% - 96px);
    max-width: 1304px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 24px;
    padding-bottom: 24px;
    border: 1px solid #f2ddc4;
    border-radius: 20px;
    background: #fff;
}

.product-business-intro {
    display: block;
}

.product-use-mascot {
    width: 150px;
    height: 165px;
    object-fit: contain;
    align-self: end;
}

.product-detail-copy h1 {
    margin: 0 0 10px;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.product-detail-price {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #c13627;
    margin: -4px 0 20px;
    letter-spacing: -0.02em;
}

.product-section-eyebrow {
    color: #c13627;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-business-intro h2,
.product-related-heading h2 {
    margin: 5px 0 8px;
    color: #004a3e;
}

.product-business-intro p {
    margin: 0;
    color: #34776c;
    line-height: 1.5;
}

.product-use-swipe-hint {
    display: none;
}

.product-use-cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.product-use-cases > div {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #f3e3d1;
    border-radius: 12px;
    background: #fff;
    color: #004a3e;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.product-use-cases i {
    color: #ed8c00;
    font-size: 1.35rem;
}

.product-use-case-images > div {
    overflow: hidden;
    padding: 0 0 10px;
}

.product-use-case-images img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    margin-bottom: 9px;
}

.product-use-placeholder {
    width: 100%;
    height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 9px;
    background: #fff8ef;
    color: #ed8c00;
}

.product-use-placeholder i {
    font-size: 1.8rem;
}

.product-use-placeholder small {
    color: #7a817e;
    font-weight: 700;
}

.product-benefit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-benefit-list div {
    display: flex;
    gap: 9px;
    color: #004a3e;
    font-weight: 700;
}

.product-benefit-list i {
    color: #2c9b58;
}

.product-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-support-card {
    padding: 22px;
    border: 1px solid #f2ddc4;
    border-radius: 18px;
    background: #fff;
}

.product-support-card h2 {
    margin: 0 0 16px;
    color: #c13627;
    font-size: 1.2rem;
}

.product-accessory-swipe-hint {
    display: none;
}

.product-support-items {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.product-support-items span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff7ea;
    color: #004a3e;
    font-weight: 800;
    font-size: 0.8rem;
}

.product-accessory-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.product-accessory-grid a {
    overflow: hidden;
    border: 1px solid #f2e3d1;
    border-radius: 12px;
    background: #fff;
    color: #004a3e;
    text-align: center;
}

.product-accessory-grid a > div {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #f2e3d1;
    background: #fff8ef;
}

.product-accessory-grid img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.product-accessory-grid i {
    color: #ed8c00;
    font-size: 1.8rem;
}

.product-accessory-grid span {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 8px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.3;
    color: #004a3e;
}

.product-support-card li {
    margin-bottom: 8px;
    color: #1f685d;
}

.product-support-card a {
    color: #004a3e;
    font-weight: 900;
    text-decoration: none;
}

.product-custom-printing-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #fff 0%, #fff9f1 100%);
}

.product-custom-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.product-custom-heading h2 {
    margin: 3px 0 0;
}

.product-custom-heading-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 12px;
    background: #c13627;
    color: #fff;
    box-shadow: 0 8px 18px rgba(193, 54, 39, 0.17);
}

.product-custom-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.product-custom-options > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #f2e3d1;
    border-radius: 12px;
    background: #fff;
}

.product-custom-options > div > i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border-radius: 9px;
    background: #fff1df;
    color: #ed8c00;
}

.product-custom-options span,
.product-custom-options strong,
.product-custom-options small {
    display: block;
}

.product-custom-options strong {
    color: #004a3e;
    font-size: 0.8rem;
}

.product-custom-options small {
    margin-top: 3px;
    color: #5e7771;
    font-size: 0.7rem;
    line-height: 1.35;
}

.product-support-card .product-custom-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding: 0 18px;
    border-radius: 11px;
    background: #c13627;
    color: #fff;
    box-shadow: 0 9px 20px rgba(193, 54, 39, 0.16);
}

.product-support-card .product-custom-cta:hover {
    background: #a92d21;
    color: #fff;
}

.product-why-section {
    padding: 0 0 28px;
}

.product-why-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    max-width: 1300px;
    padding: 10px 10px 12px 0;
    border: 1px solid #FFE9D1;
    border-radius: 22px;
    background: #b92f24;
    color: #fff;
    box-shadow: 0 18px 38px rgba(255, 233, 209, 0.92);
}

.product-why-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 96px;
    margin: 0;
    padding: 0;
}

.product-why-heading img {
    width: 112px;
    align-self: center;
    flex: 0 0 112px;
    object-fit: contain;
    margin-left: 2px;
    transform: translateY(4px);
}

.product-why-heading h2 {
    margin: 0;
    color: #fff;
    max-width: 170px;
    font-size: 1.12rem;
    line-height: 1.12;
    white-space: nowrap;
}

.product-why-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
}

.product-why-grid > div {
    min-width: 0;
    padding: 0 2px;
    border-right: 1px dashed rgba(255, 255, 255, 0.28);
    text-align: center;
}

.product-why-grid > div:last-child {
    border-right: 0;
}

.product-why-grid i {
    display: block;
    min-height: 34px;
    margin-bottom: 2px;
    color: #fff;
    font-size: 1.9rem;
}

.product-why-uploaded-icon {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
    margin: 0 auto 2px;
}

.product-why-grid strong,
.product-why-grid span {
    display: block;
}

.product-why-grid strong {
    min-height: 18px;
    font-size: 0.74rem;
    line-height: 1.1;
}

.product-why-grid span {
    margin-top: 1px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.66rem;
    line-height: 1.12;
}

.product-detail-cta-section {
    padding: 0 0 0;
}

/* Match footer gap dengan Solution Detail page */
.single-sanpota_product .main-footer {
    margin-top: 60px;
}

.product-detail-cta-card {
    display: grid;
    grid-template-columns: 170px minmax(260px, 0.8fr) minmax(420px, 1.2fr);
    gap: 22px;
    align-items: center;
    overflow: hidden;
    padding: 24px;
    border-radius: 20px;
    background: #c13627;
    color: #fff;
    box-shadow: 0 18px 38px rgba(193, 54, 39, 0.22);
}

.product-detail-cta-mascot {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    min-height: 220px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    padding: 14px;
}

.product-detail-cta-mascot img {
    width: 165px;
    max-width: 100%;
    object-fit: contain;
}

.product-detail-brand-trust {
    width: 100%;
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.product-detail-brand-trust strong {
    color: #fff;
    font-size: 0.74rem;
    line-height: 1.25;
    text-align: center;
}

.product-detail-brand-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
}

.product-detail-brand-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 7px 0;
    animation: productBrandSlide 28s linear infinite;
    will-change: transform;
}

@keyframes productBrandSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.product-detail-brand-track span {
    width: 74px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 74px;
    padding: 0 8px;
    box-sizing: border-box;
}

.product-detail-brand-track img {
    width: auto;
    max-width: 58px;
    max-height: 26px;
    object-fit: contain;
}


.product-detail-cta-copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.65rem;
    line-height: 1.18;
}

.product-detail-cta-copy p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.product-detail-cta-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.product-detail-cta-benefits div {
    display: grid;
    gap: 4px;
    text-align: center;
}

.product-detail-cta-benefits i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.product-detail-cta-benefits strong {
    font-size: 0.78rem;
    line-height: 1.15;
}

.product-detail-cta-benefits span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.68rem;
}

.product-detail-cta-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    color: #004a3e;
}

.product-detail-cta-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 800;
}

.product-detail-cta-form input,
.product-detail-cta-form select,
.product-detail-cta-form textarea {
    width: 100%;
    min-height: 38px;
    border: 1px solid #f1dec8;
    border-radius: 8px;
    padding: 0 11px;
    color: #004a3e;
    font: inherit;
    font-weight: 600;
    background: #fff;
}

.product-detail-cta-form textarea {
    min-height: 72px;
    padding-top: 10px;
    resize: vertical;
}

.product-detail-cta-note,
.product-detail-cta-submit {
    grid-column: 1 / -1;
}

.product-detail-cta-submit button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #c13627;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 28px;
    box-shadow: 0 10px 20px -5px rgba(193, 54, 39, 0.4);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.product-detail-cta-submit button:hover {
    background: #a92d21;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(193, 54, 39, 0.5);
}

.product-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.product-related-heading a {
    color: #c13627;
    font-weight: 900;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.product-related-card {
    overflow: hidden;
    border: 1px solid #f2ddc4;
    border-radius: 14px;
    background: #fff;
    color: #004a3e;
    text-decoration: none;
    font-weight: 900;
}

.product-related-card > div {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff8ef;
}

.product-related-card img {
    max-width: 90%;
    max-height: 135px;
    object-fit: contain;
}

.product-related-card > div i {
    color: #ed8c00;
    font-size: 2.5rem;
}

.product-related-card > span {
    display: block;
    padding: 13px;
}

.products-hero-section {
    min-height: auto;
    background: var(--bg-warm);
    padding: 69px 0 14px;
    overflow: hidden;
}

.products-hero-container {
    width: calc(100% - 20px);
    max-width: 1400px;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    box-sizing: border-box;
}

.products-hero-content {
    position: relative;
    z-index: 2;
}

.products-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1px;
    margin-bottom: 0;
    box-shadow: var(--shadow-sm);
}

.products-hero-title {
    margin: 0 0 16px;
    max-width: 820px;
    color: #004A3E;
    font-family: var(--font-heading);
    font-size: 3.34rem;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
}

.products-title-red {
    color: var(--primary);
}

.products-hero-desc {
    max-width: 620px;
    margin: 0 0 18px;
    color: #1f685d;
    font-size: 1.02rem;
    line-height: 1.45;
    font-weight: 500;
}

.products-hero-actions {
    display: block;
    align-items: center;
    max-width: 620px;
}

.products-search-form {
    min-width: 0;
}

.products-search-wrapper {
    min-height: 46px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 5px 6px 5px 15px;
    border: 1px solid #ead8c8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 74, 62, 0.08);
}

.products-search-wrapper i {
    color: #9d9d9d;
    font-size: 0.9rem;
}

.products-search-wrapper input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #004A3E;
    font-size: 0.84rem;
    font-weight: 600;
}

.products-search-wrapper input::placeholder {
    color: #989898;
    font-weight: 500;
}

.products-search-submit {
    border: 0;
    border-radius: 9px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.products-search-submit {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #004A3E;
    color: #fff;
}

.products-search-submit i {
    color: #fff;
    font-size: 0.9rem;
}

.products-search-submit:hover {
    background: var(--primary);
}

.products-popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
    color: #004A3E;
    font-size: 0.78rem;
    font-weight: 800;
}

.products-popular-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.products-popular-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 6px 16px;
    border: 1px solid #9bd1c7;
    border-radius: var(--radius-full);
    background: #fff;
    color: #004A3E;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.products-hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.products-hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    height: auto;
    object-fit: contain;
    filter: none;
}

@media (max-width: 1024px) {
    .products-grid-section {
        padding-top: 0;
    }

    .products-catalog-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
    }

    .products-sidebar-block {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .products-sidebar-block h3 {
        grid-column: 1 / -1;
    }

    .premium-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-hero .product-detail-container,
    .product-detail-info .product-detail-container {
        grid-template-columns: 1fr;
    }

    .product-detail-premium .product-detail-hero .product-detail-container {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .product-detail-copy h1 {
        font-size: 2.7rem;
    }

    .product-detail-business .product-detail-container,
    .product-support-grid {
        grid-template-columns: 1fr;
    }

    .product-use-cases {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-use-mascot {
        justify-self: center;
    }

    .product-accessory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-custom-options {
        grid-template-columns: 1fr;
    }

    .product-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 22px;
    }

    .product-why-grid > div:nth-child(3n) {
        border-right: 0;
    }

    .product-why-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 22px 18px 0;
    }

    .product-detail-cta-card {
        grid-template-columns: 150px 1fr;
    }

    .product-detail-cta-form {
        grid-column: 1 / -1;
    }

    .product-why-heading {
        min-height: 82px;
        gap: 10px;
    }

    .product-why-heading img {
        width: 92px;
        flex-basis: 92px;
    }

    .products-hero-section {
        min-height: auto;
        padding: 84px 0 34px;
        overflow: visible;
    }

    .products-hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .products-hero-title {
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.2rem, 7vw, 3.2rem);
    }

    .products-hero-desc,
    .products-hero-actions {
        margin-left: auto;
        margin-right: auto;
    }

    .products-hero-actions {
        max-width: 460px;
    }

    .products-popular-searches,
    .products-popular-pills {
        justify-content: center;
    }

    .products-hero-visual {
        justify-content: center;
        align-items: flex-start;
        min-height: 250px;
        margin-top: 10px;
    }

    .products-hero-img {
        width: min(390px, 94vw);
    }
}

@media (max-width: 600px) {
    html:has(body.page-id-8),
    body.page-id-8,
    body.page-id-8 #page,
    body.page-id-8 .site,
    body.page-id-8 .elementor,
    body.page-id-8 .elementor-section,
    body.page-id-8 .elementor-container,
    body.page-id-8 .elementor-column,
    body.page-id-8 .elementor-widget-wrap,
    body.page-id-8 .elementor-widget,
    body.page-id-8 .elementor-widget-container,
    body.page-id-8 .products-grid-section {
        max-width: 100% !important;
        overflow-x: clip !important;
        box-sizing: border-box !important;
    }

    .products-sidebar-block,
    .products-filter-panel {
        grid-template-columns: 1fr;
    }

    .grid-controls-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-view-toggle {
        width: 100%;
    }

    .products-view-toggle button {
        flex: 1;
    }

    .products-filter-selects {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .products-filter-selects .sanpota-custom-select,
    .products-filter-selects .sanpota-custom-select:nth-child(2),
    .sanpota-custom-select {
        width: 100% !important;
        min-width: 0;
    }

    .products-grid-section .section-container,
    .product-detail-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px;
        overflow-x: clip;
        box-sizing: border-box;
    }

    .products-catalog-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        width: 100%;
        min-width: 0;
    }

    .products-sidebar {
        position: static;
        width: 100%;
        min-width: 0;
        gap: 12px;
    }

    .products-sidebar-block {
        padding: 14px;
        border-radius: 18px;
        box-shadow: 0 12px 26px rgba(255, 183, 93, 0.12);
    }

    .products-sidebar-block:first-child {
        display: block;
        padding: 14px 0 14px 14px;
        overflow: hidden;
        position: relative;
    }

    .products-category-scroll::-webkit-scrollbar,
    .products-subcategory-list::-webkit-scrollbar {
        display: none;
    }

    .products-sidebar-block h3 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 14px 12px 0;
        font-size: 0.92rem;
    }

    .products-sidebar-block h3 span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #C13627;
        font-size: 0.68rem;
        font-weight: 900;
        white-space: nowrap;
    }

    .products-sidebar-block h3 span::after {
        content: '\f061';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.62rem;
    }

    .products-category-scroll {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 0 42px 2px 0;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .products-sidebar-block:first-child::after,
    .products-subcategory-panel::after {
        content: '';
        position: absolute;
        top: 46px;
        right: 0;
        bottom: 10px;
        width: 44px;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0), #FFFFFF 72%);
        border-radius: 0 18px 18px 0;
    }

    .products-category-btn {
        flex: 0 0 auto;
        width: auto;
        min-height: 38px;
        padding: 0 13px;
        border: 1px solid #BFE7E2;
        border-radius: 999px;
        background: #FFFFFF;
        white-space: nowrap;
        scroll-snap-align: start;
        box-shadow: 0 6px 14px rgba(0, 74, 62, 0.05);
    }

    .products-category-btn i {
        width: auto;
        font-size: 0.9rem;
    }

    .products-subcategory-panel {
        min-height: 0;
        position: relative;
        padding: 14px 0 14px 14px;
        overflow: hidden;
    }

    .products-subcategory-clear {
        width: calc(100% - 14px);
        min-height: 38px;
        text-align: center;
        border-radius: 999px;
        margin-bottom: 10px;
    }

    .products-subcategory-list {
        display: flex;
        gap: 8px;
        max-height: none;
        overflow-x: auto;
        padding: 0 42px 2px 0;
        scrollbar-width: none;
    }

    .products-subcategory-check {
        flex: 0 0 auto;
        width: auto;
        min-height: 36px;
        padding: 0 12px;
        border: 1px solid #BFE7E2;
        border-radius: 999px;
        background: #FFFFFF;
        white-space: nowrap;
    }

    .products-subcategory-check input {
        width: 13px;
        height: 13px;
    }

    .products-catalog-main {
        width: 100%;
        min-width: 0;
        padding: 14px;
        border-radius: 18px;
        box-shadow: 0 14px 30px rgba(255, 183, 93, 0.12);
        overflow: hidden;
    }

    .products-filter-panel {
        gap: 10px;
        margin-bottom: 14px;
    }

    .products-filter-search,
    .sanpota-custom-select-trigger {
        min-height: 42px;
        border-radius: 12px;
    }

    .premium-products-grid {
        width: 100%;
        min-width: 0;
    }

    .product-detail-thumb-card {
        grid-template-columns: 22px minmax(0, 1fr) 22px;
        gap: 6px;
        padding: 10px;
    }

    .product-detail-thumb-track {
        grid-auto-columns: calc((100% - 27px) / 4);
        gap: 7px;
        padding: 2px 1px 4px;
    }

    .product-detail-thumb {
        width: 100%;
        height: 56px;
    }

    .product-detail-thumb-nav {
        width: 22px;
        height: 22px;
    }

    .products-sidebar-block,
    .products-sidebar-cta,
    .products-catalog-main {
        border-radius: 14px;
    }

    .products-catalog-main {
        padding: 14px;
    }

    .premium-products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .catalog-product-card {
        min-height: 0;
        border-radius: 16px;
        box-shadow: 0 12px 24px rgba(0, 74, 62, 0.08);
    }

    .catalog-product-img-wrapper {
        min-height: 0;
        aspect-ratio: 1.18 / 1;
        border-radius: 14px 14px 0 0;
    }

    .catalog-product-img-wrapper img {
        height: 100%;
        max-height: none;
    }

    .catalog-product-actions {
        grid-template-columns: 1fr;
    }

    .catalog-product-info {
        padding: 12px 14px 14px;
    }

    .catalog-product-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    .catalog-product-specs {
        gap: 5px 8px;
        font-size: 0.78rem;
    }

    .product-detail-hero {
        padding: 72px 0 28px;
    }

    .product-detail-premium .product-detail-hero .product-detail-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        align-items: stretch;
    }

    .product-detail-gallery {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
        order: 1;
    }

    .product-detail-copy {
        order: 2;
        min-width: 0;
    }

    .product-detail-copy p {
        font-size: 0.98rem;
        line-height: 1.52;
    }

    .product-detail-tags {
        margin: 14px 0;
        gap: 7px;
    }

    .product-detail-tags span,
    .product-detail-options span {
        min-height: 28px;
        padding: 5px 11px;
        font-size: 0.76rem;
    }

    .product-detail-copy h1 {
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.04;
        margin-bottom: 12px;
    }

    .product-detail-actions {
        flex-direction: column;
    }

    .product-detail-primary,
    .product-detail-secondary {
        width: 100%;
    }

    .product-detail-visual {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.02 / 1;
        padding: 0;
        border-radius: 20px;
    }

    .product-detail-visual img {
        min-height: 0;
        height: 100%;
        border-radius: 18px;
        object-fit: cover;
    }

    .product-detail-public-specs,
    .product-detail-options {
        margin-top: 14px;
        padding: 15px;
        border-radius: 16px;
    }

    .product-detail-public-specs dl div {
        grid-template-columns: minmax(92px, 0.75fr) 1.25fr;
        gap: 10px;
        padding: 8px 0;
    }

    .product-detail-public-specs dt,
    .product-detail-public-specs dd {
        font-size: 0.9rem;
    }

    .product-detail-spec-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-spec-columns {
        grid-template-columns: 1fr;
    }

    .product-detail-public-specs dl {
        grid-template-columns: 1fr;
    }

    .product-detail-public-specs dl .product-spec-choice-summary {
        grid-template-columns: minmax(120px, 0.7fr) 1.3fr;
    }

    .product-spec-options {
        grid-template-columns: 1fr;
    }

    .product-use-cases,
    .product-benefit-list,
    .product-related-grid {
        grid-template-columns: 1fr;
    }

    .product-accessory-grid {
        display: flex;
        gap: 12px;
        width: calc(100% + 22px);
        margin-right: -22px;
        overflow-x: auto;
        padding: 0 32px 2px 0;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .product-accessory-grid::-webkit-scrollbar {
        display: none;
    }

    .product-support-card {
        position: relative;
        overflow: hidden;
    }

    .product-support-card:first-child::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 22px;
        width: 32px;
        height: 210px;
        pointer-events: none;
        border-radius: 0 18px 18px 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 74%);
    }

    .product-accessory-swipe-hint {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin: -6px 0 14px;
        padding: 7px 11px;
        border-radius: 999px;
        background: #fff4e8;
        color: #c13627;
        font-size: 0.72rem;
        font-weight: 900;
    }

    .product-accessory-grid a {
        flex: 0 0 64%;
        border-radius: 16px;
        scroll-snap-align: start;
    }

    .product-accessory-grid a > div {
        height: auto;
        aspect-ratio: 1 / 0.92;
    }

    .product-accessory-grid img {
        object-fit: cover;
    }

    .product-accessory-grid i {
        font-size: 2rem;
    }

    .product-accessory-grid span {
        min-height: 56px;
        padding: 10px 8px;
        font-size: 0.74rem;
    }

    .product-detail-business {
        padding: 0 0 18px;
    }

    .product-detail-business .product-detail-container {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin: 0 auto;
        padding: 18px 16px;
        gap: 16px;
        border-radius: 18px;
        box-shadow: 0 14px 30px rgba(255, 183, 93, 0.12);
        position: relative;
        overflow: hidden;
    }

    .product-business-intro h2 {
        margin: 6px 0 8px;
        font-size: 1.38rem;
        line-height: 1.18;
    }

    .product-business-intro p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .product-use-swipe-hint {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-top: 12px;
        padding: 7px 11px;
        border-radius: 999px;
        background: #fff4e8;
        color: #c13627;
        font-size: 0.72rem;
        font-weight: 900;
    }

    .product-use-cases {
        display: flex;
        gap: 12px;
        width: calc(100% + 16px);
        margin-right: -16px;
        overflow-x: auto;
        padding: 0 24px 2px 0;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .product-use-cases::-webkit-scrollbar {
        display: none;
    }

    .product-detail-business .product-detail-container::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 18px;
        width: 28px;
        height: 246px;
        pointer-events: none;
        border-radius: 0 18px 18px 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 72%);
    }

    .product-use-cases > div {
        flex: 0 0 62%;
        min-height: 274px;
        border-radius: 16px;
        font-size: 0.76rem;
        line-height: 1.25;
        scroll-snap-align: start;
    }

    .product-use-case-images > div {
        align-items: stretch;
        justify-content: flex-start;
        padding: 0 0 13px;
        overflow: hidden;
    }

    .product-use-case-images img,
    .product-use-placeholder {
        height: 208px;
        margin-top: 0;
    }

    .product-use-placeholder {
        margin-bottom: 10px;
    }

    .product-use-placeholder i {
        font-size: 1.55rem;
    }

    .product-use-placeholder small {
        font-size: 0.68rem;
    }

    .product-use-mascot {
        display: none;
    }

    body.single-sanpota_product .product-detail-business .product-use-cases > div {
        flex-basis: 62% !important;
        min-height: 274px !important;
    }

    body.single-sanpota_product .product-detail-business .product-use-case-images img,
    body.single-sanpota_product .product-detail-business .product-use-placeholder {
        height: 208px !important;
    }

    .product-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-why-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .product-why-section {
        padding: 4px 16px 18px;
    }

    .product-why-card {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 0 auto;
        padding: 16px 14px 18px;
        border-radius: 18px;
    }

    .product-why-heading {
        justify-content: flex-start;
        min-height: 0;
        margin: 0;
        padding-right: 0;
    }

    .product-why-heading img {
        width: 72px;
        flex-basis: 72px;
        margin-left: 0;
        transform: none;
    }

    .product-why-heading h2 {
        max-width: 180px;
        font-size: 1.22rem;
        white-space: normal;
    }

    .product-why-grid {
        gap: 12px 0;
    }

    .product-why-grid > div {
        padding: 0 10px;
    }

    .product-why-grid strong {
        font-size: 0.78rem;
    }

    .product-why-grid span {
        font-size: 0.68rem;
    }

    .product-business-intro {
        align-items: flex-start;
    }

    .product-use-mascot {
        width: 110px;
        height: 125px;
    }

    .product-detail-cta-card {
        grid-template-columns: 1fr;
        padding: 18px;
        text-align: center;
    }

    .product-detail-cta-mascot {
        min-height: 0;
    }

    .product-detail-cta-mascot img {
        width: 150px;
    }

    .product-detail-cta-benefits,
    .product-detail-cta-form {
        grid-template-columns: 1fr;
    }

    .product-detail-cta-form,
    .product-detail-cta-form label,
    .product-detail-cta-form input,
    .product-detail-cta-form select,
    .product-detail-cta-form textarea {
        text-align: left;
    }

    .product-detail-cta-submit {
        text-align: center;
    }

    .products-hero-section {
        padding: 82px 0 28px;
        overflow: visible;
    }

    .products-hero-container {
        width: 100%;
        padding: 0 22px;
    }

    .products-hero-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .products-hero-title {
        font-size: 2.18rem;
        line-height: 1.05;
    }

    .products-hero-desc {
        font-size: 0.94rem;
    }

    .products-search-wrapper {
        grid-template-columns: auto 1fr auto;
        padding: 5px 6px 5px 15px;
    }

    .products-search-submit {
        width: 36px;
    }

    .products-hero-visual {
        align-items: flex-start;
        min-height: 240px;
        margin-top: 8px;
    }

    .products-hero-img {
        width: min(360px, 94vw);
    }

}
