/* DIYAPP light-blue customer-facing theme. */
:root {
    --acg-bg-overlay: rgba(232, 247, 255, .4);
    --acg-primary: #2f9ae8;
    --acg-secondary: #78d2f6;
    --acg-text-strong: #183650;
    --acg-text-muted: #668197;
    --acg-card-bg: rgba(255, 255, 255, .9);
    --acg-border: rgba(95, 181, 231, .28);
}

body {
    min-height: 100vh;
    color: var(--acg-text-strong);
    background-color: #e9f8ff !important;
    background-image:
        radial-gradient(circle at 9% 13%, rgba(117, 210, 251, .42) 0, rgba(117, 210, 251, 0) 30%),
        radial-gradient(circle at 90% 8%, rgba(194, 235, 255, .72) 0, rgba(194, 235, 255, 0) 31%),
        radial-gradient(circle at 52% 100%, rgba(132, 205, 246, .25) 0, rgba(132, 205, 246, 0) 42%),
        linear-gradient(145deg, #f8fdff 0%, #eaf8ff 46%, #d9f1ff 100%) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

.navbar-acg {
    border-bottom: 1px solid rgba(80, 173, 226, .18);
    background: rgba(247, 252, 255, .9);
    box-shadow: 0 12px 32px rgba(53, 142, 198, .1);
}

.navbar-acg .navbar-brand > span {
    color: #188dcc !important;
}

.navbar-acg .nav-link {
    color: #5f7a90;
}

.navbar-acg .nav-link:hover,
.navbar-acg .nav-link.active {
    color: #168fd5;
}

.navbar-acg .nav-guide-item .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.navbar-acg .nav-guide-item .nav-icon {
    color: #328fbd;
    font-size: .82em;
}

@media (min-width: 992px) {
    .navbar-acg .navbar-nav .nav-link {
        padding-right: .48rem;
        padding-left: .48rem;
        font-size: 1rem;
        font-weight: 500;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-acg .search-input {
        display: none !important;
    }

    .navbar-acg .navbar-nav .nav-link {
        padding-right: .36rem;
        padding-left: .36rem;
        font-size: .9rem;
    }
}

.search-input .input-group-text,
.search-input .form-control {
    border-color: rgba(66, 157, 211, .28);
    background-color: rgba(255, 255, 255, .68);
}

.panel {
    border: 1px solid rgba(96, 184, 232, .24);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 18px 46px rgba(45, 128, 181, .11);
}

.panel::before {
    background: linear-gradient(145deg, rgba(255, 255, 255, .5), rgba(222, 244, 255, .2));
}

.panel-header {
    border-bottom: 1px solid rgba(98, 181, 226, .16);
    box-shadow: 0 8px 24px rgba(51, 139, 194, .07);
}

.panel-header .icon,
.panel-title {
    color: #1b78ae;
}

.panel-body {
    color: #274a63;
}

.chip {
    color: #39708f;
    background: rgba(234, 248, 255, .92);
    border: 1px solid rgba(76, 166, 218, .18);
    box-shadow: 0 5px 16px rgba(55, 144, 199, .1);
}

.chip.is-primary,
.sku.is-primary,
.optional-card.is-primary {
    color: #fff;
    background: linear-gradient(135deg, #2f9ae8, #75cdf4);
    border-color: transparent;
    box-shadow: 0 9px 22px rgba(47, 154, 232, .25);
}

.acg-card {
    border: 1px solid rgba(91, 180, 229, .22);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 15px 36px rgba(47, 126, 178, .13);
}

.badge-soft-primary {
    color: #167db9;
    background: rgba(65, 173, 232, .13);
    border-color: rgba(65, 173, 232, .25);
}

.dropdown-menu {
    border: 1px solid rgba(85, 176, 226, .2);
    background: rgba(247, 252, 255, .94);
    box-shadow: 0 14px 32px rgba(47, 126, 178, .14);
}

.dropdown-item:hover,
#userDropdown:hover {
    background-color: rgba(63, 169, 229, .11);
}

.lang-switch.show .lang-switch__btn,
.lang-switch__btn:focus-visible,
.lang-switch__btn:hover {
    --bs-btn-border-color: rgba(45, 153, 216, .2);
    --bs-btn-hover-border-color: rgba(45, 153, 216, .2);
    --bs-btn-active-border-color: rgba(45, 153, 216, .2);
    color: #176f9f;
    border-color: rgba(45, 153, 216, .2);
    background-color: rgba(63, 169, 229, .1);
}

.lang-switch__menu .dropdown-item.active,
.lang-switch__menu .dropdown-item:active {
    color: #176f9f;
    background-color: rgba(63, 169, 229, .13);
}

.lang-switch__menu .dropdown-item.active::after {
    color: #168fd5;
}

.order-item,
.goods-section,
.card-display-content,
.load-more-end,
.load-more-loading {
    border-color: rgba(91, 180, 229, .2);
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 12px 30px rgba(47, 126, 178, .1);
}

.order-query-form .form-control {
    border-color: rgba(91, 180, 229, .3);
    background: rgba(255, 255, 255, .92);
}

body .btn-primary,
body .btn-info,
.btn-gradient {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #2f9ae8, #69c9f2);
    box-shadow: 0 7px 18px rgba(47, 154, 232, .2);
}

.auth-wrapper {
    background: transparent;
}

.auth-wrapper::before {
    background: #6ecdf5;
}

.auth-wrapper::after {
    background: #b9e9ff;
}

.auth-card {
    color: #5f7a90;
    border: 1px solid rgba(91, 180, 229, .25);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 20px 52px rgba(47, 126, 178, .16);
}

.auth-title,
.text-link {
    color: #168fd5;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    color: #183650;
    border-color: rgba(91, 180, 229, .3);
    background: rgba(255, 255, 255, .86);
}

.form-floating > label {
    color: #668197;
}

.form-control:focus {
    color: #183650;
    border-color: #50afe4;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 0 0 .25rem rgba(47, 154, 232, .13);
}

.brand-icon {
    box-shadow: 0 8px 24px rgba(47, 154, 232, .25);
}

footer {
    color: #668197;
}

/* Storefront footer: calm, compact and consistent with the light-blue theme. */
.site-footer {
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding: 0 0 28px;
    color: var(--acg-text-muted);
}

.site-footer__panel {
    position: relative;
    overflow: hidden;
    padding: 24px 26px 18px;
    border: 1px solid rgba(91, 180, 229, .24);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 4%, rgba(106, 202, 245, .18), transparent 31%),
        linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(235, 248, 255, .78));
    box-shadow: 0 16px 42px rgba(47, 126, 178, .1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-footer__panel::before {
    content: "";
    position: absolute;
    top: -58px;
    right: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(126, 213, 250, .14);
    pointer-events: none;
}

.site-footer__main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) auto minmax(190px, .75fr);
    align-items: center;
    gap: 24px;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.site-footer__logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    object-fit: contain;
    border-radius: 13px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 20px rgba(47, 154, 232, .15);
}

.site-footer__brand-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.site-footer__brand-copy strong {
    overflow: hidden;
    color: var(--acg-text-strong);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer__brand-copy small {
    color: var(--acg-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.site-footer__nav a {
    padding: 8px 10px;
    border-radius: 10px;
    color: #47728e;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.site-footer__support {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    min-width: 176px;
    padding: 10px 12px;
    border: 1px solid rgba(47, 154, 232, .2);
    border-radius: 15px;
    color: #176f9f;
    background: rgba(234, 248, 255, .74);
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.site-footer__support-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #2f9ae8, #74cef4);
    box-shadow: 0 7px 16px rgba(47, 154, 232, .22);
    font-size: 17px;
}

.site-footer__support-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}

.site-footer__support-copy small {
    color: var(--acg-text-muted);
    font-size: 11px;
    line-height: 1.2;
}

.site-footer__support-copy strong {
    color: #176f9f;
    font-size: 13px;
    line-height: 1.3;
}

.site-footer__support-arrow {
    color: #77a8c4;
    font-size: 11px;
}

.site-footer__assurances {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding: 13px 0;
    border-top: 1px solid rgba(91, 180, 229, .15);
    border-bottom: 1px solid rgba(91, 180, 229, .15);
}

.site-footer__assurances span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #567c94;
    font-size: 12px;
    font-weight: 600;
}

.site-footer__assurances i {
    color: #2f9ae8;
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    color: #7b92a3;
    font-size: 11px;
    line-height: 1.6;
}

.site-footer__icp,
.site-footer__icp a {
    color: inherit;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .site-footer__nav a:hover {
        color: #168fd5;
        background: rgba(63, 169, 229, .1);
        transform: translateY(-1px);
    }

    .site-footer__support:hover {
        color: #176f9f;
        border-color: rgba(47, 154, 232, .34);
        background: rgba(241, 251, 255, .96);
        box-shadow: 0 10px 24px rgba(47, 126, 178, .12);
        transform: translateY(-2px);
    }
}

@media (max-width: 991.98px) {
    .site-footer__main {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-footer__nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        margin-top: 2px;
        padding: 0 0 16px;
    }

    .site-footer__panel {
        padding: 18px 16px 15px;
        border-radius: 20px;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .site-footer__nav {
        grid-column: auto;
        grid-row: auto;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
        white-space: nowrap;
    }

    .site-footer__nav a {
        flex: 0 0 auto;
        padding: 7px 8px;
    }

    .site-footer__support {
        width: 100%;
        justify-self: stretch;
    }

    .site-footer__assurances {
        flex-wrap: wrap;
        gap: 9px 16px;
        margin-top: 16px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* Footer v2 mirrors the simple, full-width navigation bar above. */
.site-footer {
    margin: 24px 0 0;
    padding: 12px 0;
    border-top: 1px solid rgba(80, 173, 226, .18);
    background: rgba(247, 252, 255, .9);
    box-shadow: 0 -12px 32px rgba(53, 142, 198, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-footer__panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 28px;
    min-height: 58px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-footer__panel::before {
    content: none;
}

.site-footer__brand {
    justify-self: start;
}

.site-footer__logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
}

.site-footer__brand-copy strong {
    color: #188dcc;
    font-size: 16px;
    font-weight: 700;
}

.site-footer__brand-copy small {
    font-size: 11px;
    line-height: 1.45;
}

.site-footer__assurances {
    justify-content: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
}

.site-footer__bottom {
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
}

@media (max-width: 991.98px) {
    .site-footer__panel {
        grid-template-columns: minmax(240px, 1fr) auto;
    }

    .site-footer__bottom {
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid rgba(80, 173, 226, .12);
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        margin-top: 16px;
        padding: 14px 0;
    }

    .site-footer__panel {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
        border-radius: 0;
    }

    .site-footer__assurances {
        justify-content: flex-start;
        gap: 9px 16px;
        margin: 0;
    }

    .site-footer__bottom {
        grid-column: auto;
        padding-top: 10px;
    }
}

/* Footer v3: trust-first, two-tier layout inspired by mature storefront footers. */
.site-footer {
    margin-top: 32px;
    padding: 0 0 18px;
    border-top: 1px solid rgba(80, 173, 226, .2);
    background: linear-gradient(180deg, rgba(240, 250, 255, .96), rgba(249, 253, 255, .94));
    box-shadow: 0 -10px 30px rgba(53, 142, 198, .06);
}

.site-footer__panel {
    display: block;
    min-height: 0;
}

.site-footer__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 25px 0 23px;
    border-bottom: 1px solid rgba(80, 173, 226, .14);
}

.site-footer__feature {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
}

.site-footer__feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 0;
    width: 1px;
    height: 38px;
    background: rgba(80, 173, 226, .16);
}

.site-footer__feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(70, 171, 226, .16);
    border-radius: 14px;
    color: #188dcc;
    background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(221, 244, 255, .92));
    box-shadow: 0 8px 20px rgba(47, 154, 232, .12);
    font-size: 18px;
}

.site-footer__feature-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.site-footer__feature-copy strong {
    overflow: hidden;
    color: #315d78;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer__feature-copy small {
    overflow: hidden;
    color: #8198a8;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 17px;
}

.site-footer__bar .site-footer__brand {
    justify-self: auto;
}

.site-footer__bar .site-footer__bottom {
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .site-footer__feature {
        gap: 9px;
        padding: 0 12px;
    }

    .site-footer__feature-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }
}

@media (max-width: 767.98px) {
    .site-footer__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 0;
        padding: 22px 0;
    }

    .site-footer__feature {
        justify-content: flex-start;
    }

    .site-footer__feature:nth-child(2)::after {
        content: none;
    }

    .site-footer__bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-footer__bar .site-footer__bottom {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(80, 173, 226, .12);
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        margin-top: 22px;
        padding-bottom: 15px;
    }

    .site-footer__features {
        gap: 18px 0;
        padding: 20px 0 18px;
    }

    .site-footer__feature {
        gap: 8px;
        padding: 0 8px;
    }

    .site-footer__feature-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 11px;
        font-size: 15px;
    }

    .site-footer__feature-copy strong {
        font-size: 13px;
    }

    .site-footer__feature-copy small {
        font-size: 10px;
    }

    .site-footer__bar {
        padding-top: 14px;
    }

    .site-footer__bar .site-footer__nav {
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 6px;
        overflow: visible;
        white-space: normal;
    }

    .site-footer__bar .site-footer__nav a {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 5px;
        padding: 7px 5px;
        white-space: normal;
    }
}

@media (hover: hover) and (pointer: fine) {
    .acg-card:hover {
        box-shadow: 0 20px 44px rgba(47, 126, 178, .19);
    }

    .chip:hover {
        border-color: rgba(47, 154, 232, .32);
        box-shadow: 0 8px 20px rgba(47, 154, 232, .16);
    }
}

@media (max-width: 575.98px) {
    body {
        background-image:
            radial-gradient(circle at 8% 5%, rgba(117, 210, 251, .35) 0, rgba(117, 210, 251, 0) 35%),
            linear-gradient(160deg, #f7fcff 0%, #e8f7ff 52%, #d9f1ff 100%) !important;
    }

    .panel,
    .auth-card {
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 12px 30px rgba(47, 126, 178, .1);
    }
}

/* Home notice: compact and always fully visible. */
.home-notice-panel {
    overflow: hidden;
    border-color: rgba(74, 166, 219, .25);
    background: rgba(255, 255, 255, .82);
}

.home-notice-header {
    position: relative;
    gap: 8px;
    margin-bottom: 0;
    padding: 9px 14px;
    border-bottom-color: rgba(78, 166, 216, .14);
    background: linear-gradient(90deg, rgba(231, 247, 255, .96), rgba(255, 255, 255, .76));
    box-shadow: none;
}

.home-notice-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    color: #fff !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #f5aa3c, #ffcc6d);
    box-shadow: 0 4px 10px rgba(224, 151, 45, .18);
}

.home-notice-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.home-notice-heading .panel-title {
    color: #1b5679;
    font-size: 17px;
    font-weight: 850;
}

.home-notice-panel > .panel-body {
    padding: 0;
}

.home-notice-viewport {
    position: relative;
    max-height: none;
    overflow: visible;
}

.home-notice-content {
    display: block;
    column-count: 2;
    column-gap: 20px;
    padding: 10px 14px 12px;
    color: #2f5269;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.home-notice-content p,
.home-notice-content ul,
.home-notice-content ol {
    margin: 0;
    break-inside: avoid;
}

/* Read the full notice from the left column to the right; keep the disclaimer together. */
.home-notice-disclaimer-start {
    break-before: column;
}

.home-notice-contact {
    display: block;
    margin-top: 10px !important;
    padding: 9px 12px !important;
    overflow: hidden;
    color: #075f8d;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.45;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .92);
    border: 1px solid rgba(47, 175, 232, .4);
    border-radius: 10px;
    background: linear-gradient(110deg, #e5f7ff 0%, #fff 38%, #a9e8ff 50%, #fff 62%, #e5f7ff 100%);
    background-size: 220% 100%;
    box-shadow: 0 5px 16px rgba(38, 157, 216, .16);
    animation: home-notice-contact-shine 2.8s linear infinite,
               home-notice-contact-glow 1.5s ease-in-out infinite alternate;
}

@keyframes home-notice-contact-shine {
    from {
        background-position: 120% 0;
    }
    to {
        background-position: -120% 0;
    }
}

@keyframes home-notice-contact-glow {
    from {
        border-color: rgba(47, 175, 232, .32);
        box-shadow: 0 4px 12px rgba(38, 157, 216, .12);
    }
    to {
        border-color: rgba(47, 175, 232, .68);
        box-shadow: 0 6px 20px rgba(38, 157, 216, .28);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-notice-contact {
        animation: none;
    }
}

.home-notice-content a {
    color: #1888c6;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(24, 136, 198, .3);
    text-underline-offset: 3px;
}

.home-notice-content strong,
.home-notice-content b {
    color: #183f58;
    font-weight: 850;
}

/* Home catalog: scalable card grid and a stronger single-product presentation. */
.home-page {
    max-width: 1240px;
}

.catalog-panel {
    overflow: hidden;
    background: rgba(255, 255, 255, .8);
}

.catalog-panel .panel-header {
    margin-bottom: 0;
    padding: 18px 20px;
    background: linear-gradient(90deg, rgba(232, 248, 255, .88), rgba(255, 255, 255, .72));
    box-shadow: none;
}

.catalog-panel .panel-header .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    border-radius: 11px;
    background: linear-gradient(135deg, #2f9ae8, #70cef4);
    box-shadow: 0 8px 18px rgba(47, 154, 232, .23);
}

.catalog-panel .panel-title {
    color: #1c5678;
    font-size: 1.08rem;
    font-weight: 850;
}

.catalog-subtitle {
    margin: 2px 0 0;
    color: #7b94a5;
    font-size: .78rem;
}

.catalog-panel > .panel-body {
    padding: 18px 20px 20px;
}

.catalog-toolbar {
    margin-bottom: 16px;
}

.catalog-panel .chip-list {
    gap: 8px;
}

.catalog-panel .chip {
    min-height: 34px;
    padding: .42rem .82rem;
    color: #4c7087;
    border: 1px solid rgba(73, 162, 214, .2);
    background: rgba(244, 251, 255, .92);
    box-shadow: none;
    font-size: .9rem;
    font-weight: 750;
}

.catalog-panel .chip.is-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #2f9ae8, #69c9f2);
    box-shadow: 0 8px 18px rgba(47, 154, 232, .22);
}

.item-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-product-link {
    display: block;
    min-width: 0;
    color: inherit;
}

.home-product-card {
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(77, 168, 220, .23);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px rgba(44, 126, 177, .11);
}

.home-product-media {
    position: relative;
    height: 210px;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 15%, rgba(151, 222, 255, .38), transparent 42%),
        linear-gradient(145deg, #f7fcff, #e7f7ff);
}

.home-product-media img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 15px;
    object-fit: contain;
    transition: transform .3s ease;
}

.home-delivery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: .36rem;
    padding: .42rem .65rem;
    color: #238355;
    border: 1px solid rgba(46, 161, 105, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 7px 18px rgba(40, 127, 82, .12);
    backdrop-filter: blur(10px);
    font-size: .8rem;
    font-weight: 800;
}

.home-product-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px;
}

.home-product-card .tags {
    min-height: 0;
    margin-bottom: 8px;
}

.home-product-card .goods-title {
    min-height: 2.7em;
    color: #193d54;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.42;
}

.home-product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 14px 0 12px;
}

.home-product-card .price {
    color: #ef4666;
    font-size: 1.65rem;
    line-height: 1;
}

.home-product-card .price .unit {
    margin-right: 2px;
    color: #ef4666;
    font-size: .92rem;
}

.home-product-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 36px;
    padding: 0 13px;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(135deg, #2f9ae8, #65c8f1);
    box-shadow: 0 7px 17px rgba(47, 154, 232, .23);
    font-size: .84rem;
    font-weight: 800;
}

.home-product-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 11px;
    color: #718a9b;
    border-top: 1px solid rgba(82, 166, 214, .14);
    font-size: .82rem;
}

.home-product-stats span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.home-product-stats i {
    color: #54a9da;
}

.home-product-stats strong {
    color: #3f657c;
    font-weight: 800;
}

.home-product-link:only-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 760px;
    justify-self: center;
}

.home-product-link:only-child .home-product-card {
    display: grid;
    grid-template-columns: minmax(300px, 44%) 1fr;
    min-height: 300px;
}

.home-product-link:only-child .home-product-media {
    height: 100%;
    min-height: 300px;
}

.home-product-link:only-child .home-product-body {
    justify-content: center;
    padding: 24px;
}

.home-product-link:only-child .home-product-price-row {
    margin-top: 18px;
}

.home-product-link:only-child .home-product-card .goods-title {
    min-height: 0;
    font-size: 1.35rem;
}

.home-product-link:only-child .home-product-card .price {
    font-size: 2rem;
}

@media (hover: hover) and (pointer: fine) {
    .home-product-card:hover {
        transform: translateY(-4px);
        border-color: rgba(47, 154, 232, .4);
        box-shadow: 0 20px 44px rgba(42, 126, 179, .17);
    }

    .home-product-card:hover .home-product-media img {
        transform: scale(1.035);
    }
}

@media (max-width: 991.98px) {
    .item-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .home-notice-header {
        gap: 6px;
        padding: 6px 8px;
    }

    .home-notice-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px !important;
    }

    .home-notice-heading .panel-title {
        font-size: 15px;
    }

    .home-notice-content {
        display: block;
        column-count: 1;
        column-gap: 0;
        padding: 6px 8px 7px;
        font-size: 13px;
        line-height: 1.35;
    }

    .home-notice-content p,
    .home-notice-content ul,
    .home-notice-content ol {
        margin: 0;
    }

    .home-notice-disclaimer-start {
        break-before: auto;
    }

    .home-notice-contact {
        margin-top: 6px !important;
        padding: 7px 9px !important;
        font-size: 15px;
        line-height: 1.4;
    }

    .home-page {
        padding-top: 14px !important;
        padding-bottom: 24px !important;
    }

    .catalog-panel .panel-header {
        padding: 15px;
    }

    .catalog-panel > .panel-body {
        padding: 13px;
    }

    .catalog-toolbar {
        margin-bottom: 12px;
    }

    .catalog-panel .chip-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .catalog-panel .chip {
        flex: 0 0 auto;
    }

    .item-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-product-link:only-child {
        max-width: none;
    }

    .home-product-link:only-child .home-product-card {
        display: flex;
        min-height: 0;
    }

    .home-product-link:only-child .home-product-media,
    .home-product-media {
        height: 200px;
        min-height: 200px;
    }

    .home-product-link:only-child .home-product-body,
    .home-product-body {
        justify-content: flex-start;
        padding: 14px;
    }

    .home-product-link:only-child .home-product-price-row {
        margin-top: 0;
    }

    .home-product-link:only-child .home-product-card .goods-title,
    .home-product-card .goods-title {
        min-height: 0;
        font-size: 1.03rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .home-product-price-row {
        padding: 12px 0 10px;
    }

    .home-product-link:only-child .home-product-card .price,
    .home-product-card .price {
        font-size: 1.55rem;
    }

    .home-product-buy {
        min-height: 34px;
        padding: 0 11px;
    }
}

/* Product page: clearer hierarchy, compact checkout and mobile-first actions. */
.item-seo-summary {
    max-width: 680px;
    margin: 10px 0 14px;
    color: #607f93;
    font-size: .92rem;
    line-height: 1.65;
}

.item-page {
    max-width: 1240px;
}

.item-breadcrumb {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 24px;
    color: var(--acg-text-muted);
    font-size: .92rem;
}

.item-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #2c86ba;
    font-weight: 700;
}

.item-breadcrumb > i {
    color: #9bc7df;
    font-size: .7rem;
}

.item-purchase-panel {
    overflow: hidden;
    border-color: rgba(82, 168, 219, .27);
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 24px 64px rgba(34, 119, 171, .14);
}

.item-purchase-panel > .panel-body {
    padding: 22px;
}

.item-visual {
    position: relative;
    min-height: 480px;
    cursor: default;
    border-radius: 20px;
    background:
        radial-gradient(circle at 25% 12%, rgba(154, 224, 255, .38), transparent 38%),
        linear-gradient(145deg, rgba(246, 252, 255, .98), rgba(226, 245, 255, .9));
    box-shadow: inset 0 0 0 1px rgba(95, 181, 231, .16), 0 18px 42px rgba(45, 128, 181, .12);
}

.item-visual:hover {
    transform: none;
}

.item-visual .item-cover {
    width: 100%;
    height: 100%;
    max-height: 510px;
    min-height: 420px;
    padding: 22px;
    object-fit: contain;
}

.item-visual__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .8rem;
    color: #147fb9;
    border: 1px solid rgba(58, 161, 220, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 22px rgba(31, 126, 181, .14);
    backdrop-filter: blur(12px);
    font-weight: 800;
    font-size: .88rem;
}

.item-summary {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 4px 2px 2px;
}

.item-title {
    margin: 0 0 10px;
    color: #15374e;
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 850;
    line-height: 1.28;
    letter-spacing: -.02em;
}

.item-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 13px;
}

.item-meta-row .badge-soft {
    padding: .32rem .62rem;
    border-radius: 8px;
    font-weight: 700;
}

.item-meta-row .shared-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 29px;
    min-height: 27px;
}

.item-price-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(83, 174, 226, .22);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(235, 248, 255, .94), rgba(255, 255, 255, .98));
}

.item-price-label {
    color: #6d8799;
    font-size: .9rem;
    font-weight: 700;
}

.item-price-box .price {
    color: #ef4666;
    font-size: 2rem;
    line-height: 1;
}

.item-price-box .price .unit {
    margin-right: 2px;
    color: #ef4666;
    font-size: 1rem;
}

.item-price-note {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #278659;
    font-size: .85rem;
    font-weight: 750;
}

.item-assurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

.item-assurance span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 36px;
    padding: .45rem .5rem;
    color: #52758c;
    border: 1px solid rgba(91, 180, 229, .18);
    border-radius: 10px;
    background: rgba(241, 250, 255, .78);
    font-size: .85rem;
    font-weight: 700;
}

.item-assurance i {
    color: #2f9ae8;
}

.item-order-form {
    gap: 12px !important;
}

.item-order-form .item-field > .form-label,
.item-order-form > div > .form-label {
    margin-bottom: 6px !important;
    color: #496a80;
    font-size: .9rem;
    font-weight: 750;
}

.item-order-form .form-control {
    min-height: 42px;
    padding: .62rem .8rem;
    color: #183650;
    border: 1px solid rgba(84, 162, 208, .28);
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
}

.item-order-form .form-control:hover {
    border-color: rgba(47, 154, 232, .42);
}

.item-order-form .form-control:focus {
    border-color: #4faee4;
    box-shadow: 0 0 0 3px rgba(47, 154, 232, .11);
}

.item-order-form .qty-group {
    width: 150px;
    min-height: 42px;
    gap: 8px;
    padding: 4px 6px;
    border: 1px solid rgba(67, 160, 215, .3);
    border-radius: 11px;
    background: #f5fbff;
    box-shadow: none;
}

.item-order-form .qty-group > button {
    width: 34px;
    height: 32px;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, #2f9ae8, #68c8f1);
    box-shadow: 0 6px 14px rgba(47, 154, 232, .22);
}

.item-order-form .qty-group > input[type=number] {
    color: #1d719f;
}

.item-captcha-field .input-group {
    width: min(100%, 260px) !important;
}

.item-captcha-field .captcha-img {
    min-width: 84px;
    border-color: rgba(84, 162, 208, .28);
    background: #fff;
}

.item-page .cash-pay {
    margin-top: 2px;
    padding: 13px;
    border: 1px solid rgba(65, 165, 221, .25);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(239, 250, 255, .98), rgba(255, 255, 255, .98));
    box-shadow: 0 12px 30px rgba(39, 128, 181, .11);
}

.cash-pay__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}

.cash-pay__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(135deg, #2f9ae8, #71cef4);
    box-shadow: 0 7px 16px rgba(47, 154, 232, .23);
}

.cash-pay__heading strong,
.cash-pay__heading small {
    display: block;
}

.cash-pay__heading strong {
    color: #214b65;
    font-size: .96rem;
}

.cash-pay__heading small {
    margin-top: 1px;
    color: #7790a1;
    font-size: .78rem;
}

.item-page .cash-pay .pay-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 0;
    border-top: 0;
}

.item-page .pay-list .pay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 7px 6px;
    border: 1px solid rgba(51, 155, 216, .28);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(42, 125, 177, .08);
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.item-page .pay-provider,
.item-page .pay-list .pay .pay-check {
    display: inline-flex;
    align-items: center;
}

.item-page .pay-provider {
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.item-page .pay-provider img {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 7px;
}

.item-page .pay-provider > span {
    color: #355a72;
    font-size: .84rem;
    font-weight: 800;
    white-space: nowrap;
}

.item-page .pay-list .pay .pay-check {
    display: none;
}

.item-page .pay-list .pay:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 154, 232, .5);
    box-shadow: 0 10px 24px rgba(42, 125, 177, .14);
}

.item-page .pay-list .pay.selected {
    transform: none;
    border-color: #2f9ae8;
    background: linear-gradient(135deg, #2f9ae8, #64c7f1);
    box-shadow: 0 8px 18px rgba(47, 154, 232, .25);
}

.item-page .pay-list .pay.selected .pay-provider > span {
    color: #fff;
}

.item-page .pay-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 0 18px;
    color: #fff;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #218fdc, #65c9f2);
    box-shadow: 0 9px 20px rgba(47, 154, 232, .25);
    font-size: .96rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
}

.item-page .pay-submit:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(47, 154, 232, .32);
    filter: brightness(1.02);
}

.item-page .pay-submit:disabled {
    color: #8ca6b6;
    background: #dcecf4;
    box-shadow: none;
    cursor: not-allowed;
    opacity: .86;
}

.item-page .pay-submit.is-loading i {
    animation: item-pay-submit-pulse .8s ease-in-out infinite alternate;
}

@keyframes item-pay-submit-pulse {
    to { transform: translateX(4px); }
}

.item-detail {
    overflow: hidden;
    background: rgba(255, 255, 255, .84);
}

.item-detail .panel-header {
    margin-bottom: 0;
    padding: 18px 22px;
    background: linear-gradient(90deg, rgba(231, 247, 255, .9), rgba(255, 255, 255, .72));
    box-shadow: none;
}

.item-detail .panel-header .icon {
    width: 32px;
    height: 32px;
}

.item-detail .panel-title {
    color: #1d587b;
    font-size: 1.08rem;
    font-weight: 850;
}

.item-detail .panel-body {
    padding: 22px;
    color: #35566c;
    font-size: .96rem;
    line-height: 1.82;
}

@media (max-width: 991.98px) {
    .item-visual {
        min-height: 360px;
    }

    .item-visual .item-cover {
        min-height: 330px;
        max-height: 430px;
    }
}

@media (max-width: 575.98px) {
    .item-page {
        padding-top: 14px !important;
        padding-bottom: 24px !important;
    }

    .item-breadcrumb {
        padding: 0 2px;
        font-size: .84rem;
    }

    .item-purchase-panel {
        margin-top: 11px !important;
        border-radius: 18px;
    }

    .item-purchase-panel > .panel-body {
        padding: 12px;
    }

    .item-purchase-panel .row {
        --bs-gutter-y: 1rem;
    }

    .item-visual {
        min-height: 250px;
        border-radius: 15px;
    }

    .item-visual .item-cover {
        min-height: 230px;
        max-height: 290px;
        padding: 14px;
    }

    .item-visual__badge {
        top: 10px;
        left: 10px;
        padding: .4rem .65rem;
        font-size: .78rem;
    }

    .item-summary {
        padding: 0 2px 2px;
    }

    .item-title {
        margin-bottom: 8px;
        font-size: 1.32rem;
    }

    .item-price-box {
        grid-template-columns: auto 1fr;
        padding: 11px 12px;
    }

    .item-price-box .price {
        font-size: 1.75rem;
    }

    .item-price-note {
        display: none;
    }

    .item-assurance {
        gap: 6px;
    }

    .item-assurance span {
        min-height: 34px;
        padding: .35rem .25rem;
        font-size: .76rem;
    }

    .item-order-form .form-control {
        min-height: 44px;
        font-size: 16px;
    }

    .item-captcha-field .input-group {
        width: 100% !important;
    }

    .item-order-form .qty-group {
        width: 100%;
    }

    .item-page .cash-pay {
        padding: 11px;
        border-radius: 14px;
    }

    .item-page .pay-list .pay {
        min-height: 44px;
        padding: 7px 4px;
    }

    .item-page .pay-provider {
        gap: 4px;
    }

    .item-page .pay-provider img {
        width: 20px;
        height: 20px;
    }

    .item-page .pay-provider > span {
        font-size: .76rem;
    }

    .item-page .pay-submit {
        min-height: 48px;
    }

    .item-detail .panel-header,
    .item-detail .panel-body {
        padding: 16px;
    }
}

/* Editorial guide: readable, trustworthy and visually consistent with the store. */
.item-buying-guide__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 32px;
}

.item-buying-guide__grid h3 {
    margin: 0 0 8px;
    color: #245773;
    font-size: 1rem;
    font-weight: 750;
}

.item-buying-guide__grid p {
    margin: 0;
    color: #526e80;
    font-size: .94rem;
    line-height: 1.85;
}

.item-buying-guide__grid a,
.guide-content p a,
.guide-checklist a,
.guide-region-card a {
    color: #167cab;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
    .item-buying-guide__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.item-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: -3px 0 15px;
    color: #247eaf;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none;
}

.item-guide-link i:last-child {
    font-size: .7rem;
    transition: transform .18s ease;
}

.item-guide-link:hover {
    color: #0f91d3;
}

.item-guide-link:hover i:last-child {
    transform: translateX(3px);
}

.guide-page {
    max-width: 1180px;
}

.guide-breadcrumb {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 14px;
    color: #7893a5;
    font-size: .9rem;
}

.guide-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #2c86ba;
    font-weight: 700;
    text-decoration: none;
}

.guide-breadcrumb > i {
    color: #9bc7df;
    font-size: .7rem;
}

.guide-article {
    overflow: hidden;
    border: 1px solid rgba(77, 169, 222, .2);
    border-radius: 26px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 24px 64px rgba(34, 119, 171, .12);
}

.guide-hero {
    position: relative;
    overflow: hidden;
    padding: 56px clamp(24px, 7vw, 78px) 48px;
    background:
        radial-gradient(circle at 88% 8%, rgba(86, 194, 241, .22), transparent 34%),
        linear-gradient(145deg, #f2fbff 0%, #e3f6ff 48%, #f9fdff 100%);
}

.guide-hero::after {
    content: "DIY";
    position: absolute;
    right: clamp(18px, 5vw, 62px);
    bottom: -24px;
    color: rgba(45, 157, 218, .055);
    font-size: clamp(88px, 14vw, 170px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    pointer-events: none;
}

.guide-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    padding: 7px 11px;
    border: 1px solid rgba(48, 158, 218, .18);
    border-radius: 999px;
    color: #1687c5;
    background: rgba(255, 255, 255, .7);
    font-size: .78rem;
    font-weight: 800;
}

.guide-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0;
    color: #174d6c;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.guide-hero > p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 20px 0 0;
    color: #56788e;
    font-size: 1.05rem;
    line-height: 1.9;
}

.guide-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 23px;
    color: #7894a7;
    font-size: .82rem;
}

.guide-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.guide-alert {
    display: flex;
    gap: 15px;
    margin: 28px clamp(18px, 5vw, 54px) 0;
    padding: 18px 20px;
    border: 1px solid rgba(224, 165, 49, .24);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(255, 250, 231, .95), rgba(255, 254, 246, .98));
}

.guide-alert__icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #a56d0d;
    background: #fff2c8;
    font-size: 1rem;
}

.guide-alert strong {
    display: block;
    margin: 1px 0 4px;
    color: #75500f;
    font-size: .96rem;
}

.guide-alert p {
    margin: 0;
    color: #79663d;
    font-size: .88rem;
    line-height: 1.75;
}

.guide-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 60px);
    padding: 38px clamp(22px, 6vw, 66px) 54px;
}

.guide-toc {
    position: sticky;
    top: 18px;
    display: flex;
    height: max-content;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
    border: 1px solid rgba(65, 161, 218, .16);
    border-radius: 16px;
    background: rgba(240, 250, 255, .8);
}

.guide-toc strong {
    margin: 0 8px 7px;
    color: #315d78;
    font-size: .88rem;
}

.guide-toc a {
    padding: 7px 8px;
    border-radius: 9px;
    color: #648399;
    font-size: .78rem;
    font-weight: 650;
    text-decoration: none;
}

.guide-toc a:hover {
    color: #178ac8;
    background: rgba(66, 169, 227, .1);
}

.guide-content {
    min-width: 0;
}

.guide-section {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    scroll-margin-top: 18px;
}

.guide-section + .guide-section {
    margin-top: 54px;
    padding-top: 46px;
    border-top: 1px solid rgba(80, 173, 226, .14);
}

.guide-step {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(61, 169, 226, .18);
    border-radius: 14px;
    color: #178dcb;
    background: linear-gradient(145deg, #f5fcff, #dff4ff);
    box-shadow: 0 7px 18px rgba(47, 154, 232, .1);
    font-size: .78rem;
    font-weight: 900;
}

.guide-section h2 {
    margin: 4px 0 16px;
    color: #214f69;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 850;
    letter-spacing: -.02em;
}

.guide-section p {
    margin: 0 0 14px;
    color: #526f82;
    font-size: .96rem;
    line-height: 1.9;
}

.guide-source {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    color: #1a87c3;
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none;
}

.guide-region-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 4px 0 18px;
}

.guide-region-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 104px;
    padding: 17px;
    border: 1px solid rgba(76, 170, 222, .16);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(248, 253, 255, .96), rgba(236, 249, 255, .82));
}

.guide-region-card strong {
    color: #217bab;
    font-size: .96rem;
}

.guide-region-card span {
    color: #698496;
    font-size: .84rem;
    line-height: 1.65;
}

.guide-note {
    padding: 13px 15px;
    border-left: 3px solid #54b5e7;
    border-radius: 4px 12px 12px 4px;
    background: #eef9ff;
    font-size: .87rem !important;
}

.guide-note i {
    margin-right: 5px;
    color: #2798d4;
}

.guide-note a {
    color: #137fb9;
    font-weight: 750;
}

.guide-steps {
    display: grid;
    gap: 10px;
    margin: 0 0 17px;
    padding: 0;
    counter-reset: guide-counter;
    list-style: none;
}

.guide-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 64px;
    padding: 12px 14px 12px 54px;
    border: 1px solid rgba(69, 166, 220, .14);
    border-radius: 14px;
    background: #fbfeff;
    counter-increment: guide-counter;
}

.guide-steps li::before {
    content: counter(guide-counter);
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #2697d9, #69c9f1);
    font-size: .75rem;
    font-weight: 850;
}

.guide-steps strong {
    color: #315d76;
    font-size: .91rem;
}

.guide-steps span {
    color: #71899a;
    font-size: .84rem;
    line-height: 1.65;
}

.guide-checklist {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #567488;
    font-size: .91rem;
    line-height: 1.7;
}

.guide-checklist i {
    margin-top: 5px;
    color: #2aa274;
}

.guide-trouble-list,
.guide-faq-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.guide-trouble-list details,
.guide-faq-list > div {
    padding: 15px 17px;
    border: 1px solid rgba(75, 168, 221, .16);
    border-radius: 14px;
    background: rgba(248, 253, 255, .9);
}

.guide-trouble-list summary,
.guide-faq-list h3 {
    color: #315c75;
    font-size: .92rem;
    font-weight: 800;
}

.guide-trouble-list summary {
    cursor: pointer;
}

.guide-trouble-list p,
.guide-faq-list p {
    margin: 9px 0 0;
    color: #718798;
    font-size: .85rem;
    line-height: 1.72;
}

.guide-faq .guide-step {
    font-size: .65rem;
}

.guide-faq-list h3 {
    margin: 0;
}

.guide-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 44px;
}

.guide-related > a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(66, 164, 219, .18);
    border-radius: 15px;
    color: #2788bd;
    background: linear-gradient(145deg, rgba(248, 253, 255, .98), rgba(232, 248, 255, .88));
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.guide-related > a:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 151, 211, .34);
    box-shadow: 0 12px 24px rgba(37, 137, 193, .1);
}

.guide-related > a > i:first-child {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #1588c7;
    background: #dff4ff;
}

.guide-related span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.guide-related strong {
    color: #315d76;
    font-size: .9rem;
}

.guide-related small {
    color: #71899a;
    font-size: .76rem;
    line-height: 1.5;
}

.guide-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 50px;
    padding: 22px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #238fd0, #67c7ed);
    box-shadow: 0 15px 32px rgba(34, 143, 208, .2);
}

.guide-cta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
}

.guide-cta strong {
    font-size: 1rem;
}

.guide-cta span {
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
}

.guide-cta > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 12px;
    color: #157dad;
    background: #fff;
    box-shadow: 0 8px 18px rgba(16, 101, 151, .16);
    font-size: .84rem;
    font-weight: 850;
    text-decoration: none;
}

.guide-cta div a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.guide-disclaimer {
    margin: 18px 3px 0 !important;
    color: #90a3af !important;
    font-size: .74rem !important;
    line-height: 1.7 !important;
}

@media (max-width: 991.98px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-toc {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .guide-toc strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .site-footer__bar .site-footer__nav {
        justify-content: flex-start;
    }

    .guide-hero {
        padding: 38px 24px 34px;
    }

    .guide-hero > p {
        font-size: .96rem;
    }

    .guide-alert {
        margin: 18px 16px 0;
    }

    .guide-layout {
        gap: 30px;
        padding: 28px 20px 38px;
    }

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

    .guide-region-grid {
        grid-template-columns: 1fr;
    }

    .guide-related {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .item-guide-link {
        align-items: flex-start;
        line-height: 1.55;
    }

    .guide-page {
        padding-top: 14px !important;
        padding-bottom: 24px !important;
    }

    .guide-article {
        border-radius: 20px;
    }

    .guide-hero {
        padding: 30px 19px 29px;
    }

    .guide-hero h1 {
        font-size: 1.78rem;
    }

    .guide-meta {
        gap: 9px 14px;
    }

    .guide-alert {
        gap: 10px;
        padding: 15px;
    }

    .guide-alert__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .guide-layout {
        padding: 24px 16px 32px;
    }

    .guide-toc {
        display: flex;
    }

    .guide-section {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .guide-section + .guide-section {
        margin-top: 40px;
        padding-top: 34px;
    }

    .guide-step {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .guide-section h2 {
        margin-top: 0;
    }

    .guide-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 19px;
    }

    .guide-cta > a {
        justify-content: center;
    }
}

/* Trust pages, product editorial content and footer policy links. */
.site-footer__bar {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 9px 24px;
}

.site-footer__bar .site-footer__brand {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.site-footer__bar .site-footer__nav {
    grid-column: 2;
    grid-row: 1;
}

.site-footer__policy {
    display: flex;
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 16px;
}

.site-footer__policy a {
    color: #6f899a;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer__policy a:hover {
    color: #178ac8;
}

.site-footer__bar .site-footer__bottom {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.site-footer__disclaimer {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding-top: 13px;
    border-top: 1px solid rgba(80, 173, 226, .12);
    color: #8ba0ad;
    font-size: .72rem;
    line-height: 1.7;
}

.trust-layout {
    display: grid;
    gap: 0;
    padding: 38px clamp(22px, 6vw, 66px) 54px;
}

.trust-intro,
.trust-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 8px;
}

.trust-intro > div,
.trust-status-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    border: 1px solid rgba(71, 165, 218, .16);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(249, 253, 255, .98), rgba(234, 248, 255, .88));
}

.trust-intro i,
.trust-status-grid i {
    color: #208dc9;
    font-size: 1.15rem;
}

.trust-intro strong,
.trust-status-grid strong {
    color: #315d76;
    font-size: .94rem;
}

.trust-intro span,
.trust-status-grid span {
    color: #6e8798;
    font-size: .84rem;
    line-height: 1.7;
}

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

.trust-status-grid .is-positive {
    border-color: rgba(46, 166, 116, .2);
    background: linear-gradient(145deg, rgba(248, 255, 252, .98), rgba(232, 249, 241, .88));
}

.trust-status-grid .is-positive i {
    color: #2a9f72;
}

.trust-status-grid .is-caution {
    border-color: rgba(221, 162, 52, .2);
    background: linear-gradient(145deg, rgba(255, 253, 247, .98), rgba(255, 247, 222, .88));
}

.trust-status-grid .is-caution i {
    color: #b57a10;
}

.trust-section {
    padding: 34px 0 0;
}

.trust-section + .trust-section {
    margin-top: 34px;
    border-top: 1px solid rgba(80, 173, 226, .14);
}

.trust-section h2 {
    margin: 0 0 14px;
    color: #214f69;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 850;
    letter-spacing: -.02em;
}

.trust-section p {
    margin: 0 0 13px;
    color: #526f82;
    font-size: .95rem;
    line-height: 1.9;
}

.trust-section p a {
    color: #167cab;
    font-weight: 720;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.trust-list,
.trust-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-list li {
    position: relative;
    padding-left: 24px;
    color: #567488;
    font-size: .92rem;
    line-height: 1.78;
}

.trust-list li::before {
    content: "";
    position: absolute;
    top: .68em;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #46addf;
    box-shadow: 0 0 0 4px rgba(70, 173, 223, .12);
}

.trust-steps {
    counter-reset: trust-step;
    margin-bottom: 17px;
}

.trust-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 68px;
    padding: 13px 15px 13px 56px;
    border: 1px solid rgba(69, 166, 220, .14);
    border-radius: 14px;
    background: #fbfeff;
    counter-increment: trust-step;
}

.trust-steps li::before {
    content: counter(trust-step);
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #2697d9, #69c9f1);
    font-size: .75rem;
    font-weight: 850;
}

.trust-steps strong {
    color: #315d76;
    font-size: .91rem;
}

.trust-steps span {
    color: #71899a;
    font-size: .84rem;
    line-height: 1.65;
}

.trust-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 44px;
    padding: 21px 23px;
    border-radius: 18px;
    background: linear-gradient(135deg, #238fd0, #67c7ed);
    box-shadow: 0 15px 32px rgba(34, 143, 208, .18);
}

.trust-contact div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
}

.trust-contact span {
    color: rgba(255, 255, 255, .84);
    font-size: .82rem;
}

.trust-contact a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 11px 15px;
    border-radius: 12px;
    color: #157dad;
    background: #fff;
    font-size: .84rem;
    font-weight: 850;
    text-decoration: none;
}

.item-editorial__lead {
    margin: 0 0 16px;
    color: #597488;
    font-size: .94rem;
    line-height: 1.8;
}

.item-comparison__wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(70, 166, 220, .16);
    border-radius: 15px;
    -webkit-overflow-scrolling: touch;
}

.item-comparison__table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    color: #5d788a;
    font-size: .86rem;
    line-height: 1.6;
}

.item-comparison__table th,
.item-comparison__table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(70, 166, 220, .12);
    text-align: left;
    vertical-align: top;
}

.item-comparison__table thead th {
    color: #285d79;
    background: #eef9ff;
    font-weight: 800;
}

.item-comparison__table tbody th {
    width: 100px;
    color: #347596;
    background: #f9fdff;
    font-weight: 800;
}

.item-comparison__table tr:last-child th,
.item-comparison__table tr:last-child td {
    border-bottom: 0;
}

.item-use-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.item-use-steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
    border: 1px solid rgba(70, 166, 220, .15);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(249, 253, 255, .98), rgba(237, 249, 255, .82));
}

.item-use-steps li > span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #2697d9, #69c9f1);
    font-size: .72rem;
    font-weight: 900;
}

.item-use-steps strong {
    color: #315d76;
    font-size: .92rem;
}

.item-use-steps p {
    margin: 5px 0 0;
    color: #6e8798;
    font-size: .84rem;
    line-height: 1.7;
}

.item-region-note {
    display: flex;
    gap: 11px;
    margin: 15px 0 0;
    padding: 14px 15px;
    border-left: 3px solid #54b5e7;
    border-radius: 4px 13px 13px 4px;
    color: #5c788a;
    background: #eef9ff;
    font-size: .86rem;
    line-height: 1.72;
}

.item-region-note i {
    margin-top: 4px;
    color: #278fc7;
}

.item-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.item-faq-list > div {
    padding: 16px 17px;
    border: 1px solid rgba(75, 168, 221, .16);
    border-radius: 14px;
    background: rgba(248, 253, 255, .9);
}

.item-faq-list h3 {
    margin: 0;
    color: #315c75;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.55;
}

.item-faq-list p {
    margin: 9px 0 0;
    color: #718798;
    font-size: .85rem;
    line-height: 1.75;
}

.item-trust-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.item-trust-links > a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(66, 164, 219, .18);
    border-radius: 15px;
    color: #2788bd;
    background: linear-gradient(145deg, rgba(248, 253, 255, .98), rgba(232, 248, 255, .88));
    text-decoration: none;
}

.item-trust-links > a > i {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #1588c7;
    background: #dff4ff;
}

.item-trust-links span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.item-trust-links strong {
    color: #315d76;
    font-size: .9rem;
}

.item-trust-links small {
    color: #71899a;
    font-size: .76rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .site-footer__bar {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .site-footer__bar .site-footer__brand {
        grid-column: 1;
        grid-row: 1;
    }

    .site-footer__bar .site-footer__nav {
        grid-column: 2;
        grid-row: 1;
    }

    .site-footer__policy {
        grid-column: 2;
        grid-row: 2;
    }

    .site-footer__bar .site-footer__bottom {
        grid-column: 1;
        grid-row: 2;
        width: auto;
        padding-top: 0;
        border-top: 0;
    }
}

@media (max-width: 767.98px) {
    .site-footer__bar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .site-footer__bar .site-footer__brand,
    .site-footer__bar .site-footer__nav,
    .site-footer__policy,
    .site-footer__bar .site-footer__bottom,
    .site-footer__disclaimer {
        grid-column: 1;
        grid-row: auto;
    }

    .site-footer__policy {
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(80, 173, 226, .12);
    }

    .site-footer__bar .site-footer__bottom {
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(80, 173, 226, .12);
    }

    .trust-intro {
        grid-template-columns: 1fr;
    }

    .item-use-steps,
    .item-faq-list,
    .item-trust-links {
        grid-template-columns: 1fr;
    }

    .navbar-acg .nav-guide-item .nav-link {
        display: flex;
        padding-top: .62rem;
        padding-bottom: .62rem;
    }
}

@media (max-width: 575.98px) {
    .site-footer__bar .site-footer__nav {
        grid-template-columns: 1fr;
    }

    .site-footer__policy {
        gap: 6px 14px;
    }

    .site-footer__disclaimer {
        font-size: .69rem;
    }

    .trust-layout {
        padding: 26px 17px 34px;
    }

    .trust-status-grid {
        grid-template-columns: 1fr;
    }

    .trust-section {
        padding-top: 27px;
    }

    .trust-section + .trust-section {
        margin-top: 27px;
    }

    .trust-contact {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .trust-contact a {
        justify-content: center;
    }

    .item-comparison .panel-body,
    .item-use-guide .panel-body,
    .item-faq .panel-body {
        padding: 15px;
    }

    .item-use-steps li {
        padding: 15px;
    }
}
