.auth-google-box { margin-bottom: 4px; }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 18px;
    color: #8a939a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dde3e8;
}
.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    background: #fff;
    color: #3c4043;
    font-weight: 600;
}
.btn-google:hover {
    background: #f8f9fa;
    color: #202124;
    text-decoration: none;
    border-color: #c6cbd1;
}
.btn-google-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #ea4335;
    font-size: 18px;
    line-height: 1;
}
.auth-form { margin-top: 4px; }

.lang-menu {
    min-width: 140px;
}

.lang-menu .dropdown-item.active {
    font-weight: 600;
}

.account-menu {
    min-width: 220px;
    padding: 0;
    overflow: hidden;
}
.account-menu-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}
.account-menu-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #e2e8f0;
    color: #64748b;
    font-size: 14px;
}
.account-menu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.account-menu-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    word-break: break-word;
}
.account-menu .account-menu-link {
    font-size: 12.5px;
    font-weight: 500;
    color: #334155;
    padding: 8px 14px;
    border-bottom: 1px solid #eef2f7;
    margin: 0;
    width: 100%;
    text-align: left;
    background: transparent;
}
.account-menu .account-menu-link:last-child {
    border-bottom: 0;
}
.account-menu form .account-menu-link {
    border-radius: 0;
}
.account-menu .account-menu-link:hover,
.account-menu .account-menu-link:focus {
    background: #f8fafc;
    color: #0f172a;
}

.product-img > img,
.product-img-link > img {
    height: var(--shop-image, 280px);
    object-fit: cover;
}

.product-img-link {
    display: block;
    color: inherit;
}

.product-img-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Keep zoom; remove white wash and hover icon strip from theme CSS. */
.product-item:hover .product-action {
    background: transparent !important;
}
.product-action {
    display: none !important;
}

.product-cart-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    color: #3d464d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.product-cart-btn:hover {
    background: #ffd333;
    color: #3d464d;
    text-decoration: none;
}

.shop-products .product-img {
    border-radius: 6px;
}

.shop-products .product-img > img,
.shop-products .product-img-link > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.shop-products .shop-card-copy {
    padding: 0 4px 8px;
    text-align: center;
}

.shop-products .shop-card-title {
    display: block;
    margin: 8px 0 0;
    line-height: 1.2;
    font-size: 15.5px;
    font-weight: 700;
    color: #3d464d;
}

.product-card-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.product-card-body {
    padding-top: 0.85rem !important;
}

.shop-products .shop-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-top: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8ecef;
}

.shop-products .shop-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.shop-products .shop-card-price h5 {
    margin: 0;
    font-size: 16.5px;
    line-height: 1;
    font-weight: 700;
    color: #3d464d;
}

.shop-products .shop-card-price h6 {
    margin: 0;
    font-size: 12.5px;
    line-height: 1;
    font-weight: 400;
}

.shop-card-seller {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    min-width: 0;
    color: #6c757d;
    font-size: 12px;
    line-height: 1.2;
}

.shop-card-seller-center {
    justify-content: center;
}

.shop-card-seller img,
.shop-card-seller-fallback {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
}

.shop-card-seller-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f6;
    color: #94a3b8;
    font-size: 12px;
}

.shop-card-seller-name {
    min-width: 0;
    font-weight: 500;
    color: #3d464d;
}

.shop-card-seller-rating {
    flex: 0 0 auto;
    padding-left: 7px;
    margin-left: 1px;
    border-left: 1px solid #d7dde3;
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.shop-products .shop-stars {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0;
    line-height: 1;
}

.shop-products .shop-star {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 12px;
    color: #FFD333;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
}

.favorite-toggle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 29px;
    height: 29px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.favorite-toggle img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.format-tags {
    position: absolute;
    left: 6px;
    bottom: 6px;
    right: 6px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 3px;
    pointer-events: none;
}

.bundle-badge {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.format-tag {
    display: inline-block;
    padding: 0 4px;
    border: 1px solid #4b5563;
    border-radius: 3px;
    background: #fff;
    color: #374151;
    font-size: 9px;
    font-weight: 600;
    line-height: 13px;
    letter-spacing: .2px;
}

.free-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 29px;
    height: 29px;
    line-height: 0;
    pointer-events: none;
}

.free-badge img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.free-badge.below-favorite {
    top: 41px;
}

.free-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.free-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.free-switch-track {
    position: relative;
    display: block;
    width: 72px;
    height: 31px;
    border-radius: 16px;
    background: #e2e8f0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15);
    transition: background .25s ease;
}

.free-switch-text {
    position: absolute;
    top: 0;
    right: 11px;
    line-height: 31px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #64748b;
    transition: right .25s ease, color .25s ease;
}

.free-switch-knob {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
    transition: left .25s ease;
}

.free-switch input:checked + .free-switch-track {
    background: #FFD333;
}

.free-switch input:checked + .free-switch-track .free-switch-text {
    right: 38px;
    color: #3D464D;
}

.free-switch input:checked + .free-switch-track .free-switch-knob {
    left: 45px;
}

.free-switch-wide .free-switch-track {
    width: 92px;
}

.free-switch-wide input:checked + .free-switch-track .free-switch-text {
    right: 32px;
}

.free-switch-wide input:checked + .free-switch-track .free-switch-knob {
    left: 65px;
}

.free-download {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 40px;
}

.free-download-card {
    width: min(720px, 100%);
    padding: 34px 30px;
    text-align: center;
}

.free-download-eyebrow {
    margin: 0 0 6px;
    color: #6C757D;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.free-download-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #3D464D;
    overflow-wrap: anywhere;
}

.free-download-file {
    margin: 6px 0 0;
    color: #6C757D;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.free-countdown {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 26px auto 14px;
}

.free-countdown svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.free-countdown circle {
    fill: none;
    stroke-width: 8;
}

.free-countdown-track {
    stroke: #e2e8f0;
}

.free-countdown-ring {
    stroke: #FFD333;
    stroke-linecap: round;
}

.free-countdown.is-done .free-countdown-ring {
    stroke: #22a35a;
}

.free-countdown-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #3D464D;
}

.free-countdown-value strong {
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
}

.free-countdown-value span {
    margin-top: 4px;
    font-size: 12px;
    color: #6C757D;
}

.free-download-wait {
    margin: 0 0 14px;
    color: #3D464D;
    font-weight: 600;
}

.free-download-button {
    padding: 10px 34px;
    border-radius: 24px;
    font-weight: 700;
}

.free-download-message {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    text-align: left;
    overflow-wrap: anywhere;
}

.free-download-message img {
    max-width: 100%;
    height: auto;
}

.shop-sort {
    height: 31px;
    padding: 0 34px 0 14px;
    border: 0;
    border-radius: 16px;
    background: #e2e8f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15);
    color: #3D464D;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color .25s ease;
}

.shop-sort:hover {
    background-color: #d8dee8;
}

.shop-sort:focus {
    outline: none;
}

.shop-sort:focus-visible {
    outline: 2px solid #3D464D;
    outline-offset: 2px;
}

.free-switch input:focus-visible + .free-switch-track {
    outline: 2px solid #3D464D;
    outline-offset: 2px;
}

.error-page {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    margin-top: 24px;
}
.error-page-code {
    margin: 0 0 8px;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #cbd5e1;
    line-height: 1;
}
.error-page-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}
.error-page-message {
    margin: 0 auto 20px;
    max-width: 42ch;
    color: #64748b;
    line-height: 1.5;
}
.error-page-id {
    margin: 0 0 18px;
    font-size: 12px;
    color: #94a3b8;
    word-break: break-all;
}
.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.password-field {
    position: relative;
    display: block;
    width: 100%;
}
.password-field .form-control {
    padding-right: 44px;
}
.password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42px;
    height: auto;
    border: 0;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
    z-index: 2;
}
.password-toggle:hover { color: #3d464d; }
.password-toggle:focus { outline: none; color: #3d464d; }

.register-verify { margin: 18px 0 8px; }
.register-send-code {
    width: 100%;
    padding: 14px 16px !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
}
.register-send-code:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.register-code-input {
    letter-spacing: .2em;
    font-weight: 700;
    font-size: 18px;
}
.register-verify-status,
.register-verify-timer,
.register-verify-ok,
.register-verify-error {
    margin: 8px 0 0;
    font-size: 14px;
}
.register-verify-sent { color: #067647; font-weight: 600; }
.register-verify-resend { color: #6c757d; }
.register-verify-timer { color: #3d464d; font-weight: 600; }

.password-modal[hidden] { display: none !important; }
.password-modal { position: fixed; inset: 0; z-index: 1050; display: grid; place-items: center; padding: 16px; }
.password-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.password-modal-dialog { position: relative; z-index: 1; width: min(420px, 100%); background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(15, 23, 42, .25); padding: 18px 18px 16px; }
.password-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.password-modal-head h2 { margin: 0; font-size: 18px; }
.password-modal-x { border: 0; background: transparent; font-size: 24px; line-height: 1; color: #64748b; cursor: pointer; padding: 0 4px; }
.password-modal-form { display: grid; gap: 12px; }
.password-modal-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #334155; margin: 0; }
.password-modal-form input { width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; padding: 9px 10px; font: inherit; }
.password-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.password-modal-field { position: relative; display: block; }
.password-modal-field input { padding-right: 40px; }
.password-modal-eye { position: absolute; top: 0; right: 0; bottom: 0; width: 38px; border: 0; background: transparent; color: #64748b; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.password-modal-eye:hover, .password-modal-eye:focus { color: #334155; outline: none; }
.password-modal-actions .btn-panel { background: #ffd333; color: #3d464d; border: 0; border-radius: 4px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
.password-modal-actions .btn-line { background: #fff; color: #334155; border: 1px solid #cbd5e1; border-radius: 4px; padding: 8px 12px; font-weight: 600; cursor: pointer; }

.cat-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.vendor-carousel .bg-light {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-carousel img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.detail-gallery {
    width: 100%;
    margin-left: 0;
}

@media (min-width: 992px) {
    .detail-top > .col-lg-4 { padding-right: 8px; }
    .detail-top > .col-lg-8 { padding-left: 12px; position: relative; }
}

.detail-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f4f4;
    border-radius: 6px;
}

.detail-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-arrow,
.detail-thumb-arrow {
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: #3d464d;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.detail-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.detail-arrow.prev { left: 10px; }
.detail-arrow.next { right: 10px; }

.detail-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.detail-thumb-window {
    overflow: hidden;
    flex: 1;
}

.detail-thumb-track {
    display: flex;
    gap: 8px;
}

.detail-thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: #f4f4f4;
    overflow: hidden;
    cursor: pointer;
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-thumb.active {
    border-color: #FFD333;
}

.detail-title {
    font-size: 1.925rem;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6e6e6;
}

.detail-buyline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.detail-offer {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.detail-price {
    margin: 0 2px 0 0;
    font-size: 1.65rem;
    line-height: 1;
    white-space: nowrap;
}

.shop-notice {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    background: #067647;
    color: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(6, 118, 71, 0.28);
    max-width: 320px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.shop-notice-hide {
    opacity: 0;
}

.detail-price small {
    margin-left: 6px;
    font-size: 0.85rem;
}

.detail-review-count {
    margin-left: 2px;
    line-height: 1;
}

.detail-cart {
    flex: 0 0 auto;
    min-width: 310px;
    margin-left: auto;
    font-size: 1.1rem;
    padding: 0.41rem 1.1rem;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 12px;
}

.detail-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 13.5px;
}

.detail-stat-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-weight: 600;
}

.detail-stat-label > i {
    color: #FFD333;
    font-size: 0.95em;
    line-height: 1;
}

.detail-stat-value {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3d464d;
    font-weight: 600;
    white-space: nowrap;
}

.detail-favorite {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.detail-stat:has(.detail-favorite[data-on="true"]) .detail-stat-label > i { color: #e0245e; }
.detail-favorite:disabled { opacity: 0.6; }

.detail-kind {
    background: #067647;
    border: 1px solid #067647;
    color: #fff;
    cursor: default;
}

.detail-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 14px 0 6px;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    color: #3d464d;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

button.detail-icon { cursor: pointer; }
button.detail-icon:hover { border-color: #FFD333; }

.detail-icon i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: #FFD333;
}

.detail-icons .detail-share-link {
    font-size: 13.5px;
    font-weight: 600;
}

.detail-lead p {
    font-size: 21.6px; /* 1.35rem at 16px root — fixed so mobile browsers do not inflate it */
    line-height: 1.45;
    color: #3d464d;
    white-space: pre-line;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.detail-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    line-height: 1;
}

.detail-star {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 16px;
    color: #FFD333;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
}

.detail-block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 18px;
}

.detail-block h4 {
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3d464d;
    margin-bottom: 12px;
}

.detail-tabs {
    padding: 0;
    overflow: hidden;
}

.detail-tabs .nav-tabs {
    border-bottom: 1px solid #eee;
    padding: 0 8px;
}

.detail-tabs .nav-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: #8a939a;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 16px 18px;
}

.detail-tabs .nav-tabs .nav-link:hover,
.detail-tabs .nav-tabs .nav-link:focus {
    border-color: transparent;
    color: #3d464d;
}

.detail-tabs .nav-tabs .nav-link.active {
    color: #3d464d;
    background: transparent;
    border-bottom-color: #FFD333;
}

.detail-tabs .tab-pane {
    padding: 22px 24px;
}

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

.detail-facts div {
    min-width: 0;
}

.detail-facts dt {
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #8a939a;
    margin-bottom: 2px;
}

.detail-facts dd {
    margin: 0;
    color: #3d464d;
}

.detail-share,
.detail-broken,
.detail-report {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 16px;
    background: #fff;
}

.detail-share-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3d464d;
    font-weight: 500;
    word-break: break-all;
}

@media (min-width: 992px) {
    .detail-lead.is-pinned { position: absolute; left: 12px; right: 15px; margin: 0; overflow-y: auto; }
}

@media (max-width: 991.98px) {
    /* Keep Short description type size stable; iOS otherwise enlarges rem/text. */
    .detail-lead p {
        font-size: 16px !important;
        line-height: 1.45;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* About 70% shorter than a full unwrapped block — read the rest by scrolling. */
    .detail-lead {
        max-height: 30vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #detail-desc,
    #detail-facts {
        max-height: 30vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #detail-desc p {
        font-size: 16px;
        line-height: 1.45;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

@media (max-width: 767.98px) {
    .detail-gallery { width: 100%; }
    .detail-facts { grid-template-columns: 1fr; }
    .detail-buyline { flex-direction: column; align-items: stretch; }
    .detail-icons { grid-template-columns: 1fr; }
    .detail-gallery { margin-left: 0; }
    .detail-cart { margin-left: 0; min-width: 0; }
    .detail-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.blog-cover {
    height: 220px;
    object-fit: cover;
}

.blog-hero {
    max-height: 460px;
    object-fit: cover;
}

.blog-content p {
    margin-bottom: 1rem;
}

.alert {
    border-radius: 0;
}

.category-menu .category-root {
    display: flex;
    align-items: center;
    background: #e6e6e6;
    border-bottom: 1px solid #f7f7f7;
}

.category-menu .category-toggle {
    flex: 0 0 28px;
    width: 28px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2c3338;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.category-menu .category-root-link {
    flex: 1;
    display: block;
    padding: 7px 12px 7px 2px;
    color: #2c3338;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.category-menu .category-root-link.is-solo {
    padding-left: 12px;
}

.category-menu .category-root-link:hover,
.category-menu .category-child:hover {
    color: #1b1f23;
    text-decoration: none;
}

.category-menu .category-children {
    display: none;
    background: #fff;
}

.category-menu .category-children.is-open {
    display: block;
}

.category-menu .category-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 12px;
    color: #5c656d;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
}

.category-menu .category-count {
    margin-right: 10px;
    flex: 0 0 auto;
    font-weight: 400;
}

.category-menu .is-current {
    color: #111;
}

.category-menu .shop-all-files {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 8px 12px;
    color: #2c3338;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.category-menu .shop-all-files:hover {
    color: #1b1f23;
    text-decoration: none;
}

.category-menu .filter-option {
    margin: 0;
    padding-left: 12px;
    cursor: pointer;
}

.category-menu .filter-range {
    padding: 8px 12px 10px;
}

.category-menu .filter-apply {
    padding: 12px;
}

.shop-theme .text-primary { color: var(--shop-primary) !important; }
.shop-theme .bg-primary { background-color: var(--shop-primary) !important; }
.shop-theme .btn-primary { background-color: var(--shop-primary) !important; border-color: var(--shop-primary) !important; color: var(--shop-dark) !important; }
.shop-theme .bg-dark { background-color: var(--shop-dark) !important; }
.shop-theme .bg-secondary { background-color: var(--shop-secondary) !important; }
.shop-theme { font-size: var(--shop-font, 16px); color: var(--shop-body, #6C757D); }

.seller-store-hero {
    position: relative; overflow: hidden; border-radius: 18px; min-height: 300px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 42%, #334155 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}
.seller-store-banner-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.seller-store-hero.is-plain .seller-store-banner-img { display: none; }
.seller-store-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .72) 0%, rgba(15, 23, 42, .35) 55%, rgba(15, 23, 42, .15) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, .4), transparent 58%);
    pointer-events: none;
}
.seller-store-layout {
    position: relative; z-index: 1; min-height: 300px; padding: 28px 32px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.seller-store-copy { max-width: 640px; color: #f8fafc; }
.seller-store-kicker {
    margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fde68a;
}
.seller-store-copy h1 {
    margin: 0 0 10px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; color: #fff;
}
.seller-store-slogan { margin: 0 0 12px; font-size: 18px; color: #e2e8f0; line-height: 1.45; }
.seller-store-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: #f8fafc; font-size: 13px; font-weight: 600; }
.seller-store-meta span {
    display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16);
}
.seller-store-profile {
    display: flex; flex-direction: column; align-items: center; gap: 14px; margin-left: auto;
}
.seller-store-avatar {
    width: clamp(120px, 18vw, 168px); height: clamp(120px, 18vw, 168px); border-radius: 50%;
    overflow: hidden; border: 5px solid rgba(255,255,255,.92); background: linear-gradient(160deg, #e2e8f0, #94a3b8);
    box-shadow: 0 16px 36px rgba(0,0,0,.35); display: grid; place-items: center; color: #475569; font-size: 48px;
}
.seller-store-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seller-profile-btn {
    min-width: 140px; border: 0; border-radius: 10px; padding: 12px 22px; font-size: 16px; font-weight: 800;
    background: #ffd333; color: #1e293b; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.seller-profile-btn:hover { filter: brightness(1.05); }
.seller-profile-modal[hidden] { display: none !important; }
.seller-profile-modal {
    position: fixed; inset: 0; z-index: 1050; display: grid; place-items: center; padding: 16px;
}
.seller-profile-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.seller-profile-dialog {
    position: relative; z-index: 1; width: min(440px, 100%); background: #fff; border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .35); padding: 18px 18px 16px;
}
.seller-profile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.seller-profile-head h2 { margin: 0; font-size: 20px; color: #0f172a; }
.seller-profile-x { border: 0; background: transparent; font-size: 28px; line-height: 1; color: #64748b; cursor: pointer; padding: 0 4px; }
.seller-profile-facts { display: grid; gap: 12px; margin: 0; }
.seller-profile-facts div { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid #eef2f7; }
.seller-profile-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.seller-profile-facts dt { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #64748b; font-weight: 700; }
.seller-profile-facts dd { margin: 0; color: #0f172a; line-height: 1.45; word-break: break-word; }
.seller-profile-social { white-space: normal; }
.seller-profile-social-links { display: grid; gap: 8px; }
.seller-profile-social-links a {
    display: inline-flex; align-items: center; gap: 8px; color: #0f172a; text-decoration: none; font-weight: 600;
}
.seller-profile-social-links a:hover { color: #2563eb; text-decoration: underline; }
.seller-profile-social-links i { width: 18px; text-align: center; color: #64748b; }
body.seller-profile-open { overflow: hidden; }

.seller-store-tabs {
    display: flex; gap: 8px; margin: 0 0 18px; padding: 6px; border-radius: 12px;
    background: rgba(15, 23, 42, .08); border: 1px solid rgba(15, 23, 42, .08);
}
.seller-store-tab {
    flex: 1; border: 0; border-radius: 9px; padding: 11px 14px; font-weight: 800; font-size: 15px;
    background: transparent; color: #475569; cursor: pointer;
}
.seller-store-tab.is-active {
    background: #ffd333; color: #1e293b; box-shadow: 0 6px 16px rgba(15, 23, 42, .12);
}
.seller-store-about {
    border-radius: 12px; padding: 22px 24px; border: 1px solid #e2e8f0;
}
.seller-store-about h2 { margin: 0 0 12px; font-size: 22px; color: #0f172a; }
.seller-store-about-body { white-space: pre-wrap; line-height: 1.65; color: #334155; }
.seller-store-empty-cats { margin: 0; padding: 12px; color: #64748b; font-size: 13px; }

.seller-store-shell {
    width: 100%;
    padding: 8px 28px 36px;
    box-sizing: border-box;
}
.seller-store-frame {
    background: #e8edf2;
    border: 1px solid #d7dee6;
    border-radius: 18px;
    padding: 18px 12px 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}
.seller-store-frame > .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
}
@media (max-width: 768px) {
    .seller-store-shell { padding: 8px 12px 24px; }
    .seller-store-frame { border-radius: 14px; padding: 12px 4px 18px; }
    .seller-store-layout { padding: 22px 16px; align-items: center; }
    .seller-store-profile { margin: 0 auto; }
    .seller-store-copy { text-align: center; }
    .seller-store-meta { justify-content: center; }
}
