:root{--blue:#1d8cf8;--blue-dark:#0f5faa;--blue-soft:#eef7ff;--text:#172033;--muted:#69758a;--border:#dbe8f5;--card:#ffffff;--bg:#f7fbff;--danger:#d93025;--success:#137333}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1160px,92vw);margin:0 auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);border-bottom:1px solid var(--border);backdrop-filter:saturate(180%) blur(14px)}.nav-wrap{display:flex;align-items:center;justify-content:space-between;height:72px}.brand{display:flex;align-items:center;gap:12px;font-weight:700}.brand img{width:42px;height:42px;border-radius:12px;object-fit:cover}.nav{display:flex;align-items:center;gap:22px;color:#334155}.nav a,.link-button{font:inherit;border:0;background:#eaf6ff;color:#0f5faa;cursor:pointer;border-radius:999px;padding:8px 12px;line-height:1;border:1px solid #d2eaff}.nav a:hover,.link-button:hover{color:var(--blue);background:#dff1ff;border-color:#9bd3ff}.nav-toggle{display:none}.hero{padding:76px 0 56px;background:linear-gradient(180deg,#fff 0%,#eaf6ff 100%)}.hero-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:40px;align-items:center}.eyebrow{margin:0 0 10px;color:var(--blue-dark);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:13px}.hero h1,.page-title h1{font-size:clamp(34px,5vw,58px);line-height:1.1;margin:0 0 18px}.hero-text{font-size:18px;color:var(--muted);max-width:680px}.search-bar{display:flex;gap:12px;margin-top:28px}.search-bar input,input,textarea{width:100%;border:1px solid var(--border);border-radius:14px;background:#fff;padding:13px 15px;font:inherit;outline:none}.search-bar input:focus,input:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(29,140,248,.12)}.search-bar.narrow{max-width:680px}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--text);padding:12px 18px;font:inherit;cursor:pointer;white-space:nowrap}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.primary:hover{background:var(--blue-dark)}.btn.small{padding:8px 12px;border-radius:999px;font-size:14px}.btn.large{padding:15px 24px}.btn.full{width:100%}.btn.ghost{background:transparent}.hero-card,.info-card,.product-card,.auth-card,.content-block,.notice-mini,.step{background:var(--card);border:1px solid var(--border);border-radius:24px;box-shadow:0 14px 40px rgba(15,95,170,.08)}.hero-card{padding:34px}.hero-card-slim{text-align:center;padding:22px 28px;display:flex;align-items:center;justify-content:center;min-height:80px}.hero-card-slim strong{font-size:15px;font-weight:600;line-height:1.4;white-space:nowrap}.hero-card span{display:inline-block;color:var(--blue-dark);background:var(--blue-soft);border-radius:999px;padding:6px 12px;margin-bottom:18px}.hero-card strong{display:block;font-size:24px;line-height:1.25;margin-bottom:12px}.hero-card p,.muted{color:var(--muted)}.section{padding:58px 0}.section.soft{background:#eef7ff}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.section h2,.section-head h2{font-size:30px;margin:0}.text-link{color:var(--blue-dark);font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product-card{overflow:hidden;transition:.2s transform,.2s box-shadow}.product-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(15,95,170,.14)}.product-card img{width:100%;height:220px;object-fit:cover;background:#e9f4ff}.product-card-body{padding:18px}.product-card h3{font-size:18px;margin:0 0 8px}.product-card p{color:var(--muted);min-height:50px}.product-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-meta strong,.price{color:var(--blue-dark);font-weight:800}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.info-card{padding:36px 32px;min-height:180px;display:flex;flex-direction:column;justify-content:center;text-align:center}.info-card strong{font-size:18px;margin-bottom:12px;display:block}.info-card p{font-size:15px;line-height:1.7;margin:0;color:var(--muted)}.page-title{padding:56px 0 28px;background:#fff;border-bottom:1px solid var(--border)}.detail-grid{display:grid;grid-template-columns:1fr .85fr;gap:40px}.gallery-main{width:100%;aspect-ratio:1/1;border-radius:28px;object-fit:cover;background:#eaf6ff;border:1px solid var(--border)}.thumbs{display:flex;gap:12px;margin-top:14px;overflow:auto}.thumbs button{border:1px solid var(--border);border-radius:14px;background:#fff;padding:4px;cursor:pointer}.thumbs img{width:82px;height:82px;border-radius:10px;object-fit:cover}.detail-info h1{font-size:42px;line-height:1.15;margin:0 0 12px}.price{font-size:34px;margin:8px 0 18px}.summary{font-size:17px;color:#334155}.notice-mini{padding:20px;margin-top:22px}.content-block{padding:30px}.rich-text{white-space:pre-wrap;color:#334155}.clean-list{padding-left:20px}.clean-list li{margin:12px 0}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.step{padding:24px}.step span{display:inline-flex;width:36px;height:36px;border-radius:50%;background:var(--blue);color:#fff;align-items:center;justify-content:center;margin-bottom:12px}.site-footer{padding:34px 0;background:#0e223a;color:#d8e8f8}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px}.site-footer p{color:#aac1d8;margin:6px 0}.modal[hidden]{display:none}.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}.modal-mask{position:absolute;inset:0;background:rgba(8,24,42,.55)}.contact-card{position:relative;width:min(420px,94vw);background:#fff;border-radius:26px;padding:28px;text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.24)}.modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:30px;cursor:pointer}.qr{width:180px;height:180px;margin:14px auto;border:1px solid var(--border);border-radius:18px;object-fit:contain}.contact-lines{text-align:left;background:var(--blue-soft);border-radius:18px;padding:12px 16px;margin:16px 0}.auth-section{min-height:60vh;display:grid;place-items:center}.auth-card{width:min(440px,92vw);padding:30px}.auth-card h1{margin-top:0}.auth-card label,.admin-form label{display:block;margin:16px 0;font-weight:700}.auth-card input,.admin-form input,.admin-form textarea{display:block;margin-top:8px;font-weight:400}.alert{padding:12px 14px;border-radius:14px;margin-bottom:14px}.alert.error{background:#fdecea;color:var(--danger)}.alert.success{background:#e8f5e9;color:var(--success)}.small-text{font-size:13px}.admin-bar{display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-actions{display:flex;gap:12px}.table-wrap{overflow:auto;margin-top:20px}.admin-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden}.admin-table th,.admin-table td{padding:14px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.admin-table th:nth-child(3),.admin-table td:nth-child(3){white-space:nowrap}.admin-table th:nth-child(5),.admin-table td:nth-child(5){white-space:nowrap}.admin-product{display:flex;align-items:center;gap:12px}.admin-product img{width:54px;height:54px;border-radius:12px;object-fit:cover;background:#edf7ff}.status-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700;line-height:1;border:1px solid transparent}.status-on{color:#137333;background:#e8f5e9;border-color:#81c995}.status-off{color:#d93025;background:#fdecea;border-color:#f4a7a1}.ops{display:flex;align-items:center;gap:10px;white-space:nowrap;flex-wrap:nowrap}.ops form{display:inline;margin:0}.ops a,.ops button{display:inline-flex;align-items:center;white-space:nowrap}.ops button{border:0;background:transparent;color:var(--blue-dark);cursor:pointer;font:inherit;padding:0}.ops .danger{color:var(--danger)}.form-shell{max-width:840px}.admin-form{background:#fff;border:1px solid var(--border);border-radius:24px;padding:26px}.check{display:flex!important;align-items:center;gap:10px}.check input{width:auto;margin:0}.form-actions{display:flex;gap:12px;margin-top:20px}.image-list{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:10px}.image-item{border:1px solid var(--border);border-radius:16px;padding:8px;margin:0!important}.image-item img{height:120px;width:100%;object-fit:cover;border-radius:12px}.empty{grid-column:1/-1;background:#fff;border:1px dashed var(--border);border-radius:20px;padding:32px;text-align:center;color:var(--muted)}@media(max-width:900px){.nav-toggle{display:block}.nav{display:none;position:absolute;left:4vw;right:4vw;top:72px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px;flex-direction:column;align-items:flex-start}.nav.open{display:flex}.hero-grid,.detail-grid,.footer-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr)}.info-grid,.steps{grid-template-columns:1fr 1fr}.hero{padding-top:48px}.search-bar{flex-direction:column}}@media(max-width:560px){.product-grid,.info-grid,.steps{grid-template-columns:1fr}.product-card img{height:240px}.section-head,.admin-bar{align-items:flex-start;flex-direction:column}.detail-info h1{font-size:32px}.price{font-size:28px}.image-list{grid-template-columns:1fr 1fr}.ops{flex-direction:row;align-items:center;flex-wrap:nowrap}}
.product-image-wrap{position:relative;overflow:hidden;border-radius:20px 20px 0 0}.product-image-wrap>a{display:block}.product-card.sold-out{opacity:.78}.product-card.sold-out img{filter:grayscale(1)}.sold-badge{position:absolute;top:12px;right:12px;background:#64748b;color:#fff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;box-shadow:0 8px 18px rgba(15,23,42,.18)}.onsale-badge{position:absolute;top:12px;right:12px;background:#e60012;color:#fff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;box-shadow:0 8px 18px rgba(230,0,18,.35);border:2px solid #e60012}.btn.disabled{background:#e5e7eb!important;color:#64748b!important;border-color:#d1d5db!important;cursor:not-allowed;pointer-events:none}.detail-image-list{display:grid;gap:18px;margin-top:18px}.detail-image-list img{width:100%;border-radius:16px;border:1px solid var(--border);background:#fff;box-shadow:0 10px 30px rgba(15,95,170,.08)}.detail-text{margin-bottom:18px;color:var(--muted)}.upload-section{border:1px dashed var(--border);border-radius:18px;padding:18px;margin:18px 0;background:#fbfdff}.upload-section .upload-block{display:block;margin:0!important;font-weight:600}.upload-section .upload-title{display:block;margin-bottom:10px;color:var(--blue-dark);font-weight:700}.upload-section .upload-title .muted{font-weight:400;margin-left:6px}.upload-section input[type=file]{margin-top:8px;padding:10px;background:#fff;border:1px solid var(--border);border-radius:12px;width:100%}.cover-preview{display:flex;align-items:center;gap:14px;margin-bottom:10px;padding:10px;border:1px solid var(--border);border-radius:12px;background:#fff}.cover-preview img{width:96px;height:96px;border-radius:10px;object-fit:cover;border:1px solid var(--border)}.upload-section+.upload-section{margin-top:24px}.detail-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;padding:8px 0}.detail-image-card{display:block;width:100%;padding:18px;margin:8px 0;background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 8px 22px rgba(15,95,170,.06);cursor:pointer;overflow:hidden;transition:transform .2s,box-shadow .2s}.detail-image-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(15,95,170,.14)}.detail-image-card img{width:100%;height:auto;max-height:520px;object-fit:contain;background:#f4faff;border-radius:12px;display:block}.lightbox{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.92);touch-action:none;overscroll-behavior:contain}.lightbox[hidden]{display:none}.lightbox-mask{position:absolute;inset:0;z-index:0}.lightbox-img{position:relative;z-index:1;max-width:92vw;max-height:86vh;object-fit:contain;border-radius:8px;box-shadow:0 0 40px rgba(0,0,0,.5);user-select:none;-webkit-user-select:none;touch-action:none}.lightbox-btn{position:absolute;z-index:2;border:0;background:rgba(255,255,255,.15);color:#fff;font-size:36px;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(4px);transition:background .2s}.lightbox-btn:hover{background:rgba(255,255,255,.3)}.lightbox-close{top:20px;right:20px;font-size:40px;width:48px;height:48px}.lightbox-prev{left:16px;top:50%;transform:translateY(-50%)}.lightbox-next{right:16px;top:50%;transform:translateY(-50%)}.lightbox-counter{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:2;color:#fff;font-size:15px;background:rgba(0,0,0,.5);padding:6px 16px;border-radius:20px}.lightbox-zoom-in,.lightbox-zoom-out,.lightbox-zoom-reset{position:absolute;z-index:2;color:#fff;font-size:20px;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.2);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;line-height:1;transition:background .15s}.lightbox-zoom-in:hover,.lightbox-zoom-out:hover,.lightbox-zoom-reset:hover{background:rgba(0,0,0,.75)}.lightbox-zoom-in{top:12px;left:12px}.lightbox-zoom-out{top:60px;left:12px}.lightbox-zoom-reset{top:108px;left:12px}.lightbox-zoom-label{position:absolute;bottom:20px;right:20px;z-index:2;color:#fff;font-size:13px;background:rgba(0,0,0,.5);padding:4px 12px;border-radius:14px;display:none}.lightbox-img{cursor:zoom-in}.lightbox-img[style*="scale"]{cursor:grab}@media(max-width:560px){.lightbox-btn{width:44px;height:44px;font-size:28px}.lightbox-close{top:12px;right:12px}.lightbox-prev{left:8px}.lightbox-next{right:8px}}.terms-intro{text-align:center;font-size:15px;color:var(--muted);margin-bottom:28px;padding:10px;background:#fff;border:1px solid var(--border);border-radius:12px}.terms-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}@media(max-width:768px){.terms-grid{grid-template-columns:1fr}}.terms-col{background:#fff;border:1px solid var(--border);border-radius:18px;padding:24px}.terms-title{font-size:18px;color:var(--blue-dark);margin:0 0 16px;padding-bottom:10px;border-bottom:2px solid var(--blue-soft)}.terms-item{margin-bottom:16px}.terms-item:last-child{margin-bottom:0}.terms-item strong{display:block;font-size:14px;color:var(--text);margin-bottom:4px}.terms-item p{margin:0;font-size:13px;color:var(--muted);line-height:1.7}.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}@media(max-width:768px){.process-steps{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.process-steps{grid-template-columns:1fr}}.process-step{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px 20px;text-align:center;position:relative;transition:transform .2s,box-shadow .2s}.process-step:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,95,170,.1)}.step-num{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--blue);color:#fff;font-size:16px;font-weight:700;margin-bottom:12px}.process-step strong{display:block;font-size:15px;margin-bottom:6px}.process-step p{margin:0;font-size:13px;color:var(--muted);line-height:1.6}.tips-banner{display:flex;align-items:center;gap:10px;margin-top:28px;padding:16px 20px;background:#fff8e1;border:1px solid #ffe082;border-radius:14px;font-size:14px;color:#7a5c00}.tips-icon{font-size:20px}

/* Mobile home/product list compact layout - 202608090523 */
@media (max-width: 768px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box !important;
    }

    .container,
    .site-header .container,
    .hero .container,
    .section .container,
    .products-section .container,
    .product-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .site-header,
    .hero,
    .section,
    .products-section,
    .product-section,
    .site-main,
    main {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .hero {
        padding-top: 24px !important;
        padding-bottom: 32px !important;
    }

    .hero h1,
    .hero-title,
    .page-title h1 {
        max-width: 100% !important;
        font-size: 28px !important;
        line-height: 1.22 !important;
        letter-spacing: -0.5px !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .hero p,
    .hero-subtitle,
    .page-title p {
        max-width: 100% !important;
        font-size: 15px !important;
        line-height: 1.7 !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .search-card,
    .search-form,
    .hero-search,
    .search-box {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .search-card input,
    .search-form input,
    .hero-search input,
    .search-box input,
    .search-card button,
    .search-form button,
    .hero-search button,
    .search-box button {
        width: 100% !important;
        max-width: 100% !important;
    }

    .process-card,
    .steps-card,
    .guide-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .process-card h2,
    .steps-card h2,
    .guide-card h2,
    .process-card strong,
    .steps-card strong,
    .guide-card strong {
        font-size: 22px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        word-break: keep-all !important;
    }

    .product-grid,
    .products-grid,
    .grid.products,
    .latest-products .product-grid,
    .latest-products .products-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .product-card,
    .product-item,
    .goods-card,
    article.product-card {
        display: grid !important;
        grid-template-columns: 126px minmax(0, 1fr) !important;
        gap: 12px !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 13px 0 !important;
        border-radius: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #eef1f5 !important;
        box-shadow: none !important;
        background: #fff !important;
        overflow: hidden !important;
    }

    .product-card > a:first-child,
    .product-card .product-cover,
    .product-card .product-image,
    .product-card .cover,
    .product-item .product-cover,
    .goods-card .product-cover {
        grid-column: 1 !important;
        grid-row: 1 / span 4 !important;
        width: 126px !important;
        height: 126px !important;
        max-width: 126px !important;
        overflow: hidden !important;
        border-radius: 9px !important;
        background: #f3f6fa !important;
        display: block !important;
    }

    .product-card img,
    .product-item img,
    .goods-card img {
        width: 126px !important;
        height: 126px !important;
        max-width: 126px !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 9px !important;
    }

    .product-card .product-body,
    .product-card .product-info,
    .product-card .card-body,
    .product-card .content,
    .product-item .product-body,
    .goods-card .product-body {
        grid-column: 2 !important;
        min-width: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .product-card h3,
    .product-card .product-title,
    .product-card .card-title,
    .product-item h3,
    .goods-card h3 {
        margin: 0 0 6px !important;
        font-size: 17px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
        color: #111827 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
        word-break: break-all !important;
    }

    .product-card p,
    .product-card .summary,
    .product-card .product-summary,
    .product-card .desc,
    .product-item p,
    .goods-card p {
        margin: 0 0 8px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        color: #9ca3af !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 1 !important;
        overflow: hidden !important;
        word-break: break-all !important;
    }

    .product-card .product-meta,
    .product-card .meta,
    .product-card .price-row,
    .product-item .product-meta,
    .goods-card .product-meta {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin-top: 4px !important;
        min-width: 0 !important;
    }

    .product-card .price,
    .product-card .product-price,
    .product-card .amount,
    .product-item .price,
    .goods-card .price {
        color: #e60012 !important;
        font-size: 24px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .product-card .btn,
    .product-card .button,
    .product-card .detail-link,
    .product-card a.btn,
    .product-item .btn,
    .goods-card .btn {
        min-width: auto !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .section-title,
    .latest-products h2,
    .products-title {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
    }
}

@media (max-width: 390px) {
    .product-card,
    .product-item,
    .goods-card,
    article.product-card {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .product-card > a:first-child,
    .product-card .product-cover,
    .product-card .product-image,
    .product-card .cover,
    .product-card img,
    .product-item img,
    .goods-card img {
        width: 112px !important;
        height: 112px !important;
        max-width: 112px !important;
    }

    .product-card h3,
    .product-card .product-title,
    .product-card .card-title {
        font-size: 16px !important;
    }

    .product-card .price,
    .product-card .product-price,
    .product-card .amount {
        font-size: 22px !important;
    }
}

/* Mobile header/menu/full-width fix - 202608090529 */
@media (max-width: 900px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .site-header {
        overflow: visible !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .nav-wrap {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 78px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .brand {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .brand img {
        width: 46px !important;
        height: 46px !important;
        border-radius: 14px !important;
        flex: 0 0 auto !important;
    }

    .brand span {
        min-width: 0 !important;
        font-size: 17px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .nav-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 64px !important;
        height: 38px !important;
        padding: 0 16px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%) !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em !important;
        box-shadow: 0 10px 22px rgba(29, 140, 248, 0.32) !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        flex: 0 0 auto !important;
    }

    .nav-toggle::after {
        content: "";
        width: 7px;
        height: 7px;
        margin-left: 8px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 0.18s ease;
    }

    .nav-toggle.is-open::after,
    .nav-toggle[aria-expanded="true"]::after {
        transform: rotate(225deg) translate(-2px, -1px);
    }

    .nav {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 14px !important;
        right: 14px !important;
        width: auto !important;
        max-width: calc(100vw - 28px) !important;
        padding: 10px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        border: 1px solid rgba(29, 140, 248, 0.16) !important;
        border-radius: 18px !important;
        background: linear-gradient(180deg, #e8f6ff 0%, #ffffff 100%) !important;
        box-shadow: 0 18px 38px rgba(15, 95, 170, 0.18) !important;
        z-index: 1001 !important;
    }

    .nav.open,
    .nav[data-open="true"] {
        display: flex !important;
    }

    .nav a,
    .nav .link-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        border: 1px solid rgba(29, 140, 248, 0.18) !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #2797ff 0%, #0f6fca 100%) !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        box-shadow: 0 8px 18px rgba(29, 140, 248, 0.18) !important;
    }

    .nav .link-button {
        appearance: none !important;
        -webkit-appearance: none !important;
    }

    main,
    .hero,
    .section,
    .container,
    .hero-grid,
    .section-head,
    .product-grid,
    .info-grid {
        max-width: 100% !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .hero-card,
    .hero-card-slim,
    .search-bar,
    .search-bar input,
    .search-bar button,
    .btn.primary {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-card-slim {
        padding: 18px 16px !important;
        overflow: visible !important;
    }

    .hero-card-slim strong {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: anywhere !important;
        font-size: 22px !important;
        line-height: 1.38 !important;
    }

    .search-bar {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

@media (max-width: 390px) {
    .nav-wrap {
        height: 72px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .brand span {
        font-size: 16px !important;
    }

    .brand img {
        width: 42px !important;
        height: 42px !important;
    }

    .nav-toggle {
        min-width: 58px !important;
        height: 36px !important;
        padding: 0 13px !important;
        font-size: 13px !important;
    }

    .nav {
        left: 12px !important;
        right: 12px !important;
        max-width: calc(100vw - 24px) !important;
    }

    .hero h1,
    .page-title h1 {
        font-size: 26px !important;
    }

    .hero-card-slim strong {
        font-size: 20px !important;
    }
}

/* Front price red text fix - 202608090536 */
.product-card .product-meta strong,
.product-card .product-card-body .product-meta strong,
.product-card .price,
.product-card .product-price,
.product-card .amount,
.product-detail .price,
.detail-info .price {
    color: #e60012 !important;
    font-weight: 800 !important;
}

.product-card.sold-out .product-meta strong {
    color: #64748b !important;
}

/* Mobile sticky header/contact modal fix - 202608090538 */
@media (max-width: 900px) {
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 900 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        transform: translateZ(0) !important;
    }

    body {
        padding-top: 78px !important;
    }

    .nav {
        z-index: 901 !important;
    }

    .modal {
        z-index: 3000 !important;
        padding: 10px !important;
        align-items: center !important;
        justify-items: center !important;
    }

    .modal-mask {
        z-index: 0 !important;
    }

    .contact-card {
        z-index: 1 !important;
        width: min(400px, calc(100vw - 24px)) !important;
        max-height: calc(100dvh - 34px) !important;
        overflow-y: auto !important;
        border-radius: 22px !important;
        padding: 24px 24px 22px !important;
    }

    .contact-card h2 {
        margin: 0 38px 12px !important;
        font-size: 24px !important;
        line-height: 1.25 !important;
    }

    .contact-card .muted {
        margin: 0 0 14px !important;
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .modal-close {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        right: 18px !important;
        top: 16px !important;
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        color: #1d8cf8 !important;
        font-size: 34px !important;
        line-height: 30px !important;
        font-weight: 300 !important;
        z-index: 2 !important;
        opacity: 1 !important;
        visibility: visible !important;
        cursor: pointer !important;
    }

    .contact-card .qr {
        width: min(190px, 52vw) !important;
        height: min(190px, 52vw) !important;
        margin: 12px auto 16px !important;
        border-radius: 16px !important;
    }

    .contact-lines {
        margin: 12px 0 16px !important;
        padding: 16px 18px !important;
        border-radius: 18px !important;
    }

    .contact-lines p {
        margin: 8px 0 !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .contact-card .btn.primary,
    .contact-card .btn {
        height: 50px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 390px) {
    body {
        padding-top: 72px !important;
    }

    .contact-card {
        width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 28px) !important;
        padding: 22px 20px 20px !important;
        border-radius: 20px !important;
    }

    .contact-card h2 {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }

    .contact-card .muted {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .contact-card .qr {
        width: min(174px, 50vw) !important;
        height: min(174px, 50vw) !important;
    }

    .contact-lines {
        padding: 14px 16px !important;
    }

    .contact-lines p {
        font-size: 14px !important;
    }
}

/* Preview cursor and brand title background fix - 202608090546 */
.brand span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 6px 12px !important;
    border: 1px solid #d2eaff !important;
    border-radius: 999px !important;
    background: #eaf6ff !important;
    color: #0f5faa !important;
    line-height: 1.2 !important;
}

.gallery-main,
.product-detail .gallery img,
.detail-image-card,
.detail-image-card img {
    cursor: pointer !important;
}

@media (max-width: 900px) {
    .brand span {
        min-height: 38px !important;
        padding: 8px 13px !important;
        border: 0 !important;
        background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%) !important;
        color: #fff !important;
        box-shadow: 0 10px 22px rgba(29, 140, 248, 0.22) !important;
    }

    .gallery-main,
    .product-detail .gallery img,
    .detail-image-card,
    .detail-image-card img {
        cursor: pointer !important;
    }
}

/* Home/card cover cursor fix - 202608090548 */
.product-card img,
.product-card .product-image-wrap,
.product-card .product-image-wrap a {
    cursor: pointer !important;
}

/* Mobile brand compact pill fix - 202608090550 */
@media (max-width: 900px) {
    .brand {
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: calc(100% - 86px) !important;
        display: inline-flex !important;
    }

    .brand span {
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: calc(100vw - 170px) !important;
        display: inline-flex !important;
        justify-content: center !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* PC product card description clamp and price row align - 202608090552 */
@media (min-width: 769px) {
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    .product-card .product-image-wrap {
        flex: 0 0 auto !important;
    }

    .product-card-body {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 236px !important;
        padding: 18px !important;
    }

    .product-card h3 {
        min-height: 52px !important;
        max-height: 52px !important;
        margin: 0 0 10px !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
        line-height: 1.45 !important;
    }

    .product-card p {
        min-height: 110px !important;
        max-height: 110px !important;
        margin: 0 0 14px !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 5 !important;
        overflow: hidden !important;
        line-height: 22px !important;
    }

    .product-card .product-meta {
        margin-top: auto !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
    }

    .product-card .product-meta strong {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 42px !important;
        line-height: 1 !important;
    }
}

/* Sold product price label fix - 202608091955 */
.product-card.sold-out .product-meta strong.sold-price,
.product-meta strong.sold-price {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #64748b !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.sold-price-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 24px !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: #64748b !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

.sold-price-amount {
    color: #64748b !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: rgba(100, 116, 139, 0.65) !important;
}

/* Products sticky search and 30-item pagination local test - 202608101542 */
.products-sticky-toolbar {
    position: sticky;
    top: 72px;
    z-index: 850;
    padding: 18px 0 16px;
    background: rgba(247, 251, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: saturate(180%) blur(12px);
}

.products-toolbar-inner {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(320px, 1.2fr);
    gap: 14px 22px;
    align-items: end;
}

.products-toolbar-title .eyebrow {
    margin-bottom: 4px;
}

.products-toolbar-title h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
}

.products-search-bar {
    margin: 0;
    max-width: none;
}

.products-top-pagination {
    grid-column: 1 / -1;
    width: 100%;
}

.products-top-pagination .product-pagination {
    justify-content: center;
    margin: 0;
}

.products-list-section {
    padding-top: 28px;
}

.product-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 32px 0 10px;
}

.product-pagination .page-link,
.product-pagination .page-dot {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: #0f5faa;
    font-size: 14px;
    font-weight: 700;
}

.product-pagination .page-prev,
.product-pagination .page-next {
    padding: 0 14px;
    min-width: 72px;
}

.product-pagination .page-link.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.product-pagination .page-link.disabled {
    background: #eef2f7;
    color: #94a3b8;
    cursor: not-allowed;
}

.product-pagination .page-dot {
    border-color: transparent;
    background: transparent;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .products-sticky-toolbar {
        top: 78px;
        z-index: 820;
        padding: 10px 0 10px;
        background: rgba(255, 255, 255, 0.98);
        overflow: visible !important;
    }

    .products-toolbar-inner {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .products-toolbar-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .products-toolbar-title .eyebrow {
        display: none;
    }

    .products-toolbar-title h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .products-search-bar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 70px !important;
        gap: 8px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .products-search-bar input {
        width: 100% !important;
        max-width: 100% !important;
        height: 42px !important;
        padding: 0 12px !important;
        border-radius: 12px !important;
        font-size: 14px !important;
    }

    .products-search-bar button,
    .products-search-bar .btn.primary {
        width: 70px !important;
        max-width: 70px !important;
        height: 42px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        font-size: 14px !important;
    }

    .products-top-pagination {
        display: none !important;
    }

    .products-list-section {
        padding-top: 10px !important;
    }

    .product-card .product-image-wrap {
        grid-column: 1 !important;
        grid-row: 1 / span 4 !important;
        width: 126px !important;
        height: 126px !important;
        max-width: 126px !important;
        border-radius: 9px !important;
        overflow: hidden !important;
    }

    .product-card .product-card-body {
        grid-column: 2 !important;
        min-width: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .product-pagination {
        gap: 6px;
        justify-content: center !important;
        margin: 22px auto 4px;
        padding-bottom: 14px;
    }

    .product-pagination .page-link,
    .product-pagination .page-dot {
        min-width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 13px;
    }

    .product-pagination .page-prev,
    .product-pagination .page-next {
        min-width: 62px;
        padding: 0 8px;
    }

}

@media (max-width: 390px) {
    .products-sticky-toolbar {
        top: 72px;
    }

    .products-search-bar {
        grid-template-columns: minmax(0, 1fr) 62px !important;
    }

    .products-search-bar button {
        width: 62px !important;
    }
}

/* Admin access log feature - 202608101509 */
.admin-filter {display:grid;grid-template-columns:180px minmax(260px,1fr) auto auto;gap:12px;align-items:end;margin:0 0 20px;padding:18px;border:1px solid var(--border);border-radius:20px;background:#fff}
.admin-filter label{display:block;font-weight:700;color:var(--text)}
.admin-filter input,.admin-filter select{width:100%;margin-top:8px;border:1px solid var(--border);border-radius:14px;background:#fff;padding:12px 14px;font:inherit}
.log-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.log-stats .info-card{min-height:112px;padding:22px}
.log-stats .info-card strong{font-size:26px;color:var(--blue-dark)}
.access-log-table th,.access-log-table td{white-space:nowrap}
.access-log-table .path-cell code{display:inline-block;max-width:320px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.access-log-table .ua-cell{min-width:220px;max-width:360px;white-space:normal}
.access-log-table .ua-cell small{display:block;color:var(--muted);margin-top:4px}
.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px}
@media(max-width:900px){.admin-filter,.log-stats{grid-template-columns:1fr}}

/* Product detail button light-blue style - 202608110034 */
.product-card .btn.small,
.product-card a.btn.small {
    background: #eaf6ff !important;
    color: #0f5faa !important;
    border: 1px solid #d2eaff !important;
    box-shadow: none !important;
}

.product-card .btn.small:hover,
.product-card a.btn.small:hover {
    background: #dff1ff !important;
    color: #1d8cf8 !important;
    border-color: #9bd3ff !important;
}

.product-card .btn.small.disabled,
.product-card .btn.small[aria-disabled="true"] {
    background: #e5e7eb !important;
    color: #64748b !important;
    border-color: #d1d5db !important;
}

/* Mobile latest products heading/link size fix - 20260905 */
@media (max-width: 768px) {
    .section-head h2,
    .latest-products h2,
    .products-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }

    .section-head .text-link {
        font-size: 22px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
    }
}
