*{box-sizing:border-box}

html,body{
    margin:0;
    min-height:100%;
}

body{
    background:
        radial-gradient(circle at 15% -10%,rgba(47,107,255,.18),transparent 28%),
        radial-gradient(circle at 90% 0%,rgba(0,214,255,.08),transparent 26%),
        #050914;
    color:#fff;
    font-family:Inter,Arial,sans-serif;
}

a{color:inherit}

.container{
    width:min(1260px,calc(100% - 36px));
    margin:0 auto;
}

.site-header{
    border-bottom:1px solid #18253a;
    background:rgba(5,9,20,.86);
    backdrop-filter:blur(18px);
}

.header-inner{
    height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    text-decoration:none;
    font-size:28px;
    font-weight:950;
    letter-spacing:-1px;
    color:#fff;
}

.brand b{color:#2f6bff}

.hf-hero-compact{
    padding:42px 0 20px;
}

.hf-hero-top{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:32px;
    align-items:end;
}

.eyebrow{
    color:#6ea2ff;
    font-size:13px;
    font-weight:950;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.hf-hero-top h1{
    margin:14px 0 10px;
    max-width:780px;
    font-size:36px;
    line-height:1.04;
    letter-spacing:-1.9px;
}

.hf-hero-top p{
    margin:0;
    max-width:720px;
    color:#aebdda;
    font-size:17px;
    line-height:1.6;
}

.hf-search{
    display:flex;
    gap:10px;
    background:#080f1d;
    border:1px solid #1f2f4a;
    border-radius:16px;
    padding:8px;
}

.hf-search input{
    flex:1;
    min-width:0;
    background:transparent;
    border:0;
    outline:0;
    color:#fff;
    padding:10px 12px;
    font-size:15px;
}

.hf-search button{
    border:0;
    border-radius:12px;
    background:#2f6bff;
    color:#fff;
    padding:0 20px;
    font-weight:900;
    cursor:pointer;
}

.hf-categories{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:16px 0 20px;
}

.hf-cat{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:#aebdda;
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:999px;
    padding:9px 14px;
    font-size:14px;
    font-weight:850;
}

.hf-cat span{
    color:#78a8ff;
    background:#111d34;
    border-radius:999px;
    padding:2px 7px;
    font-size:12px;
}

.hf-cat.active,
.hf-cat:hover{
    color:#fff;
    background:#102553;
    border-color:#2f6bff;
}

.hf-products-section{
    padding:18px 0 70px;
}

.hf-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:12px;
}

.hf-section-head > div{
    display:flex;
    align-items:center;
    gap:12px;
}

.hf-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#1769ff;
    box-shadow:0 0 22px rgba(47,107,255,.95);
}

.hf-section-head h2{
    margin:0;
    font-size:21px;
    letter-spacing:-.4px;
}

.hf-view-all{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#d7e4fa;
    background:#070d19;
    border:1px solid #1e2d47;
    border-radius:10px;
    padding:10px 15px;
    font-size:14px;
    font-weight:850;
}

.hf-product-list{
    background:linear-gradient(180deg,rgba(13,20,34,.98),rgba(6,11,21,.98));
    border:1px solid #1c2940;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 24px 80px rgba(0,0,0,.24);
}

.hf-product-row{
    display:grid;
    grid-template-columns:72px minmax(360px,1fr) 150px 175px 105px;
    align-items:center;
    gap:18px;
    min-height:78px;
    padding:10px 14px;
    border-bottom:1px solid #1c2940;
    background:
        radial-gradient(circle at 0% 50%,rgba(47,107,255,.07),transparent 30%),
        linear-gradient(180deg,rgba(13,21,36,.92),rgba(8,13,24,.92));
}

.hf-product-row:last-child{border-bottom:0}

.hf-product-row:hover{
    background:
        radial-gradient(circle at 0% 50%,rgba(47,107,255,.15),transparent 34%),
        linear-gradient(180deg,rgba(16,27,47,.98),rgba(9,15,28,.98));
}

.hf-product-icon{
    width:62px;
    height:62px;
    border-radius:10px;
    overflow:hidden;
    display:grid;
    place-items:center;
    text-decoration:none;
    background:linear-gradient(135deg,#2f6bff,#17c7a1);
}

.hf-product-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.hf-product-icon span{
    font-size:28px;
    font-weight:950;
    color:#fff;
}

.hf-product-title-line{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:7px;
}

.hf-badge{
    min-width:72px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    padding:6px 9px;
    font-size:12px;
    font-weight:900;
}

.hf-badge.featured{
    background:#08245a;
    color:#61a0ff;
}

.hf-badge.new{
    background:#063c1d;
    color:#5cf28e;
}

.hf-product-title-line h3{
    margin:0;
    font-size:16px;
    line-height:1.25;
}

.hf-product-title-line h3 a{
    text-decoration:none;
    color:#fff;
}

.hf-product-title-line h3 a:hover{color:#6ea2ff}

.hf-product-main p{
    margin:0;
    color:#a7b4ca;
    font-size:14px;
    line-height:1.35;
}

.hf-product-stats strong{
    display:block;
    color:#dce8ff;
    font-size:16px;
}

.hf-product-stats span{
    display:block;
    color:#8b99af;
    font-size:14px;
    margin-top:2px;
}

.hf-product-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

.hf-product-actions a,
.hf-product-actions button{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:9px;
    border:1px solid #263750;
    background:#08101d;
    color:#dce8ff;
    text-decoration:none;
    cursor:pointer;
    font-size:16px;
}

.hf-product-actions a:hover,
.hf-product-actions button:hover{
    border-color:#2f6bff;
    color:#6ea2ff;
}

.hf-seller{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.hf-avatar{
    width:42px;
    height:42px;
    border-radius:999px;
    display:grid;
    place-items:center;
    position:relative;
    color:#fff;
    font-weight:950;
    background:linear-gradient(135deg,#ff9f1c,#6b3cff);
    border:2px solid #22324d;
}

.hf-avatar span{
    position:absolute;
    right:0;
    bottom:1px;
    width:10px;
    height:10px;
    border-radius:999px;
    background:#00d26a;
    border:2px solid #07101d;
}

.hf-seller strong{
    display:block;
    max-width:115px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    color:#dce8ff;
    font-size:13px;
}

.hf-seller small{
    display:block;
    color:#2f7cff;
    font-size:12px;
    margin-top:2px;
}

.hf-price{
    color:#2f7cff;
    font-size:22px;
    font-weight:950;
    text-align:right;
}

.hf-empty{
    background:#0b1220;
    border:1px solid #22324d;
    border-radius:18px;
    padding:36px;
    color:#9fb0cc;
}

.site-footer{
    border-top:1px solid #18253a;
    color:#7f94b4;
}

.footer-inner{
    min-height:74px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}

/* Product detail fallback styles */
.product-page{padding:46px 0}
.product-layout{display:grid;grid-template-columns:1fr 390px;gap:28px;align-items:start}
.detail-preview,.detail-panel,.buy-panel{
    background:#0b1220;
    border:1px solid #22324d;
    border-radius:24px;
    overflow:hidden;
}
.detail-preview img{width:100%;display:block}
.detail-panel,.buy-panel{padding:26px}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:16px}
.gallery img{width:100%;height:110px;object-fit:cover;border-radius:14px}
.price{font-size:42px;font-weight:950;color:#fff}
.buy-btn{width:100%;height:54px;background:#2f6bff;color:#fff;border:0;border-radius:14px;font-weight:900}

@media(max-width:1180px){
    .hf-product-row{
        grid-template-columns:72px minmax(260px,1fr) 120px 100px;
    }
    .hf-seller{display:none}
}

@media(max-width:880px){
    .hf-hero-top{grid-template-columns:1fr}
    .hf-search{width:100%}
    .hf-product-row{
        grid-template-columns:64px 1fr;
        align-items:start;
        padding:14px;
    }
    .hf-product-actions,.hf-price{
        grid-column:2;
        text-align:left;
        justify-content:flex-start;
    }
}

@media(max-width:560px){
    .container{width:min(100% - 24px,1260px)}
    .hf-search{flex-direction:column}
    .hf-search button{height:44px}
    .hf-section-head{align-items:flex-start;flex-direction:column}
    .hf-product-title-line{align-items:flex-start;flex-direction:column;gap:7px}
    .footer-inner{flex-direction:column;align-items:flex-start;padding:20px 0}
}

/* Premium Product Detail Page */

.hf-detail-page{
    padding:34px 0 70px;
}

.hf-detail-back{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.hf-detail-back a{
    text-decoration:none;
    color:#aebdda;
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:999px;
    padding:9px 14px;
    font-size:14px;
    font-weight:850;
}

.hf-detail-back a:hover{
    color:#fff;
    border-color:#2f6bff;
    background:#102553;
}

.hf-detail-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 390px;
    gap:24px;
    align-items:start;
}

.hf-detail-left{
    min-width:0;
}

.hf-detail-preview{
    width:100%;
    min-height:440px;
    border-radius:18px;
    overflow:hidden;
    background:
        radial-gradient(circle at 20% 20%,rgba(47,107,255,.18),transparent 34%),
        linear-gradient(135deg,#08101d,#0d1628);
    border:1px solid #1e2d47;
    box-shadow:0 24px 80px rgba(0,0,0,.24);
}

.hf-detail-preview img{
    width:100%;
    height:100%;
    max-height:620px;
    object-fit:cover;
    display:block;
}

.hf-detail-placeholder{
    min-height:440px;
    display:grid;
    place-items:center;
    color:#6ea2ff;
    font-size:42px;
    font-weight:950;
}

.hf-detail-gallery{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-top:14px;
}

.hf-detail-gallery a{
    display:block;
    height:112px;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #1e2d47;
    background:#08101e;
}

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

.hf-detail-gallery a:hover{
    border-color:#2f6bff;
}

.hf-detail-box{
    margin-top:20px;
    background:linear-gradient(180deg,rgba(13,20,34,.98),rgba(6,11,21,.98));
    border:1px solid #1c2940;
    border-radius:18px;
    padding:24px;
}

.hf-box-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}

.hf-box-title span{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#1769ff;
    box-shadow:0 0 22px rgba(47,107,255,.95);
}

.hf-box-title h2{
    margin:0;
    font-size:21px;
}

.hf-description{
    color:#b8c8e5;
    line-height:1.75;
    font-size:15.5px;
}

.hf-detail-sidebar{
    position:sticky;
    top:96px;
    background:linear-gradient(180deg,rgba(13,20,34,.98),rgba(6,11,21,.98));
    border:1px solid #1c2940;
    border-radius:18px;
    padding:22px;
    box-shadow:0 24px 80px rgba(0,0,0,.24);
}

.hf-product-badge-line{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.hf-category-pill{
    display:inline-flex;
    align-items:center;
    color:#aebdda;
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:999px;
    padding:7px 11px;
    font-size:12px;
    font-weight:900;
}

.hf-detail-sidebar h1{
    margin:0 0 12px;
    font-size:30px;
    line-height:1.12;
    letter-spacing:-1px;
}

.hf-detail-summary{
    margin:0;
    color:#a8b4c9;
    line-height:1.55;
    font-size:15px;
}

.hf-detail-price{
    margin:22px 0;
    color:#2f7cff;
    font-size:42px;
    line-height:1;
    font-weight:950;
}

.hf-detail-actions{
    display:grid;
    gap:10px;
    margin-bottom:22px;
}

.hf-primary-btn,
.hf-secondary-btn{
    width:100%;
    height:50px;
    border-radius:13px;
    font-weight:950;
    cursor:pointer;
}

.hf-primary-btn{
    border:0;
    background:#2f6bff;
    color:#fff;
}

.hf-primary-btn:hover{
    filter:brightness(1.08);
}

.hf-secondary-btn{
    border:1px solid #263750;
    background:#08101d;
    color:#dce8ff;
}

.hf-secondary-btn:hover{
    border-color:#2f6bff;
    color:#6ea2ff;
}

.hf-detail-meta{
    display:grid;
    gap:0;
    border-top:1px solid #1c2940;
    border-bottom:1px solid #1c2940;
    margin-bottom:18px;
}

.hf-detail-meta div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:13px 0;
    border-bottom:1px solid #1c2940;
}

.hf-detail-meta div:last-child{
    border-bottom:0;
}

.hf-detail-meta span{
    color:#8796ad;
    font-size:14px;
}

.hf-detail-meta strong{
    color:#fff;
    font-size:14px;
    text-align:right;
}

.hf-secure-box{
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:14px;
    padding:15px;
}

.hf-secure-box strong{
    display:block;
    margin-bottom:7px;
    color:#dce8ff;
}

.hf-secure-box p{
    margin:0;
    color:#8e9db4;
    line-height:1.5;
    font-size:14px;
}

.hf-related-section{
    padding:0 0 70px;
}

@media(max-width:980px){
    .hf-detail-layout{
        grid-template-columns:1fr;
    }

    .hf-detail-sidebar{
        position:static;
    }
}

@media(max-width:640px){
    .hf-detail-preview,
    .hf-detail-placeholder{
        min-height:280px;
    }

    .hf-detail-gallery{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .hf-detail-sidebar h1{
        font-size:25px;
    }

    .hf-detail-price{
        font-size:34px;
    }
}

.hf-public-nav{
    display:flex;
    align-items:center;
    gap:12px;
}

.hf-public-nav a{
    text-decoration:none;
    color:#aebdda;
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:999px;
    padding:9px 14px;
    font-size:14px;
    font-weight:850;
}

.hf-public-nav a:hover,
.hf-public-nav .nav-cta{
    color:#fff;
    border-color:#2f6bff;
    background:#102553;
}

.hf-auth-page{
    min-height:calc(100vh - 160px);
    display:grid;
    place-items:center;
    padding:54px 0;
}

.hf-auth-card{
    width:min(100%,460px);
    background:linear-gradient(180deg,rgba(13,20,34,.98),rgba(6,11,21,.98));
    border:1px solid #1c2940;
    border-radius:22px;
    padding:30px;
    box-shadow:0 24px 80px rgba(0,0,0,.24);
}

.hf-auth-card h1{
    margin:12px 0 8px;
    font-size:32px;
    letter-spacing:-1px;
}

.hf-auth-card p{
    margin:0 0 22px;
    color:#a8b4c9;
    line-height:1.55;
}

.hf-auth-form{
    display:grid;
    gap:11px;
}

.hf-auth-form label{
    color:#b8c8e5;
    font-weight:850;
    font-size:14px;
    margin-top:5px;
}

.hf-auth-form input{
    width:100%;
    background:#080f1d;
    border:1px solid #1f2f4a;
    color:#fff;
    border-radius:13px;
    padding:14px 15px;
    outline:none;
}

.hf-auth-form input:focus{
    border-color:#2f6bff;
}

.hf-auth-form button{
    margin-top:12px;
    height:50px;
    border:0;
    border-radius:13px;
    background:#2f6bff;
    color:#fff;
    font-weight:950;
    cursor:pointer;
}

.hf-auth-switch{
    margin-top:20px;
    color:#8e9db4;
    text-align:center;
}

.hf-auth-switch a{
    color:#6ea2ff;
    font-weight:900;
}

.hf-alert{
    background:#4b1111;
    border:1px solid #9d2b2b;
    color:#ffb4b4;
    border-radius:13px;
    padding:12px 14px;
    margin:18px 0;
    font-weight:750;
}

.hf-alert.ok{
    background:#063b18;
    border-color:#137a35;
    color:#86ffad;
}

.hf-account-page{
    padding:48px 0 70px;
}

.hf-account-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}

.hf-account-head h1{
    margin:12px 0 8px;
    font-size:38px;
    letter-spacing:-1.4px;
}

.hf-account-head p{
    margin:0;
    color:#a8b4c9;
}

.hf-logout-btn{
    text-decoration:none;
    color:#fff;
    background:#4b1111;
    border:1px solid #9d2b2b;
    border-radius:999px;
    padding:11px 16px;
    font-weight:900;
}

.hf-account-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin-bottom:22px;
}

.hf-account-card,
.hf-account-panel{
    background:linear-gradient(180deg,rgba(13,20,34,.98),rgba(6,11,21,.98));
    border:1px solid #1c2940;
    border-radius:18px;
    padding:22px;
}

.hf-account-card span{
    display:block;
    color:#8e9db4;
    font-size:14px;
    margin-bottom:10px;
}

.hf-account-card strong{
    display:block;
    color:#fff;
    font-size:20px;
    word-break:break-word;
}

.hf-account-panel h2{
    margin:0 0 8px;
}

.hf-account-panel p{
    margin:0;
    color:#a8b4c9;
}

@media(max-width:850px){
    .hf-account-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .header-inner{
        gap:14px;
        height:auto;
        padding:18px 0;
        flex-direction:column;
        align-items:flex-start;
    }

    .hf-account-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .hf-account-grid{
        grid-template-columns:1fr;
    }
}

.hf-orders-list{
    display:grid;
    gap:12px;
    margin-top:18px;
}

.hf-order-row{
    display:grid;
    grid-template-columns:1.3fr .6fr .6fr .6fr .9fr;
    gap:14px;
    align-items:center;
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:14px;
    padding:14px;
}

.hf-order-row strong{
    display:block;
    color:#fff;
}

.hf-order-row small,
.hf-order-row span{
    display:block;
    color:#8e9db4;
    margin-top:4px;
}

.hf-order-row b{
    color:#dce8ff;
    font-size:14px;
}

.hf-status{
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:5px 9px;
    border-radius:999px;
    font-size:12px;
    font-weight:950;
    text-transform:capitalize;
}

.hf-status.paid,
.hf-status.completed{
    background:#063b18;
    color:#86ffad;
}

.hf-status.unpaid,
.hf-status.pending{
    background:#39220b;
    color:#ffd08a;
}

.hf-status.failed,
.hf-status.cancelled{
    background:#4b1111;
    color:#ff9d9d;
}

.hf-status.refunded{
    background:#222235;
    color:#b7b7ff;
}

@media(max-width:850px){
    .hf-order-row{
        grid-template-columns:1fr;
    }
}

.hf-download-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    text-decoration:none;
    background:#2f6bff;
    color:#fff;
    border-radius:999px;
    padding:7px 12px;
    font-size:13px;
    font-weight:950;
}

.hf-download-btn:hover{
    filter:brightness(1.08);
}

.hf-download-locked{
    display:inline-flex;
    width:max-content;
    background:#39220b;
    color:#ffd08a !important;
    border-radius:999px;
    padding:7px 12px;
    font-size:13px !important;
    font-weight:950;
}

.hf-coupon-field{
    display:grid;
    gap:7px;
}

.hf-coupon-field label{
    color:#aebdda;
    font-size:13px;
    font-weight:850;
}

.hf-coupon-field input{
    width:100%;
    background:#080f1d;
    border:1px solid #1f2f4a;
    color:#fff;
    border-radius:13px;
    padding:13px 14px;
    outline:none;
}

.hf-coupon-field input:focus{
    border-color:#2f6bff;
}

.hf-order-link{
    color:#fff;
    text-decoration:none;
}

.hf-order-link:hover{
    color:#6ea2ff;
}

.hf-checkout-page{
    padding:48px 0 80px;
}

.hf-checkout-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}

.hf-checkout-head h1{
    margin:12px 0 8px;
    font-size:38px;
    letter-spacing:-1.4px;
}

.hf-checkout-head p{
    margin:0;
    color:#a8b4c9;
}

.hf-back-account{
    text-decoration:none;
    color:#d7e4fa;
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:999px;
    padding:11px 16px;
    font-weight:900;
}

.hf-back-account:hover{
    border-color:#2f6bff;
    color:#fff;
}

.hf-checkout-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    gap:24px;
    align-items:start;
}

.hf-checkout-main{
    display:grid;
    gap:20px;
}

.hf-checkout-box,
.hf-checkout-summary{
    background:linear-gradient(180deg,rgba(13,20,34,.98),rgba(6,11,21,.98));
    border:1px solid #1c2940;
    border-radius:18px;
    padding:24px;
    box-shadow:0 24px 80px rgba(0,0,0,.22);
}

.hf-checkout-items{
    display:grid;
    gap:14px;
}

.hf-checkout-item{
    display:grid;
    grid-template-columns:68px 1fr auto;
    align-items:center;
    gap:16px;
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:14px;
    padding:12px;
}

.hf-checkout-thumb{
    width:56px;
    height:56px;
    border-radius:12px;
    overflow:hidden;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#2f6bff,#6b3cff);
}

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

.hf-checkout-thumb strong{
    color:#fff;
    font-size:24px;
}

.hf-checkout-item h3{
    margin:0 0 4px;
    font-size:17px;
}

.hf-checkout-item small{
    color:#8e9db4;
}

.hf-checkout-item-price{
    color:#2f7cff;
    font-size:18px;
}

.hf-payment-pending,
.hf-payment-ready{
    border-radius:14px;
    padding:18px;
    margin-bottom:18px;
}

.hf-payment-pending{
    background:#39220b;
    border:1px solid #8a5a18;
}

.hf-payment-ready{
    background:#063b18;
    border:1px solid #137a35;
}

.hf-payment-pending h3,
.hf-payment-ready h3{
    margin:0 0 7px;
}

.hf-payment-pending p,
.hf-payment-ready p{
    margin:0;
    color:#dce8ff;
    line-height:1.55;
}

.hf-download-list{
    display:grid;
    gap:10px;
}

.hf-checkout-summary{
    position:sticky;
    top:96px;
}

.hf-checkout-summary h2{
    margin:0 0 18px;
}

.hf-summary-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-bottom:1px solid #1c2940;
    padding:13px 0;
}

.hf-summary-row span{
    color:#8e9db4;
}

.hf-summary-row strong{
    color:#fff;
}

.hf-summary-total{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:20px 0;
}

.hf-summary-total span{
    color:#dce8ff;
    font-weight:900;
}

.hf-summary-total strong{
    color:#2f7cff;
    font-size:34px;
    font-weight:950;
}

.hf-payment-soon,
.hf-payment-ready-btn{
    width:100%;
    min-height:50px;
    border-radius:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:950;
}

.hf-payment-soon{
    border:1px solid #263750;
    background:#08101d;
    color:#dce8ff;
    cursor:not-allowed;
}

.hf-payment-ready-btn{
    background:#2f6bff;
    color:#fff;
}

@media(max-width:920px){
    .hf-checkout-layout{
        grid-template-columns:1fr;
    }

    .hf-checkout-summary{
        position:static;
    }
}

@media(max-width:620px){
    .hf-checkout-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .hf-checkout-item{
        grid-template-columns:56px 1fr;
    }

    .hf-checkout-item-price{
        grid-column:2;
    }
}

.hf-wallet-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:14px;
}

.hf-wallet-actions a{
    text-decoration:none;
    background:#2f6bff;
    color:#fff;
    border-radius:999px;
    padding:10px 15px;
    font-weight:950;
}

.hf-wallet-form{
    display:grid;
    grid-template-columns:1fr 1fr 1fr auto;
    gap:12px;
    align-items:end;
    margin-top:18px;
}

.hf-wallet-form label{
    display:block;
    color:#aebdda;
    font-size:13px;
    font-weight:850;
    margin-bottom:7px;
}

.hf-wallet-form input,
.hf-wallet-form select{
    width:100%;
    background:#080f1d;
    border:1px solid #1f2f4a;
    color:#fff;
    border-radius:13px;
    padding:13px 14px;
    outline:none;
}

.hf-wallet-form button{
    border:0;
    border-radius:13px;
    background:#2f6bff;
    color:#fff;
    font-weight:950;
    padding:14px 18px;
    cursor:pointer;
}

.hf-wallet-note{
    margin-top:14px;
    color:#8e9db4;
}

.hf-pay-balance-form{
    margin-bottom:18px;
}

.hf-pay-balance-form button{
    width:100%;
    border:0;
    border-radius:13px;
    background:#2f6bff;
    color:#fff;
    font-weight:950;
    padding:15px 18px;
    cursor:pointer;
}

.hf-status.completed,
.hf-status.confirming{
    background:#063b18;
    color:#86ffad;
}

.hf-status.expired,
.hf-status.failed{
    background:#4b1111;
    color:#ff9d9d;
}

@media(max-width:900px){
    .hf-wallet-form{
        grid-template-columns:1fr;
    }
}

.hf-wallet-form-clean{
    display:grid;
    grid-template-columns:1fr 1fr 1fr auto;
    gap:12px;
    align-items:end;
    margin-top:18px;
}

.hf-wallet-field label{
    display:block;
    color:#aebdda;
    font-size:13px;
    font-weight:850;
    margin-bottom:7px;
}

.hf-wallet-field input,
.hf-wallet-field select{
    width:100%;
    background:#080f1d;
    border:1px solid #1f2f4a;
    color:#fff;
    border-radius:13px;
    padding:13px 14px;
    outline:none;
}

.hf-wallet-field input:focus,
.hf-wallet-field select:focus{
    border-color:#2f6bff;
}

.hf-wallet-method-info{
    grid-column:1 / -1;
    background:#08101e;
    border:1px solid #1e2d47;
    color:#aebdda;
    border-radius:13px;
    padding:13px 14px;
    line-height:1.5;
}

.hf-wallet-form-clean button{
    border:0;
    border-radius:13px;
    background:#2f6bff;
    color:#fff;
    font-weight:950;
    padding:14px 18px;
    cursor:pointer;
    white-space:nowrap;
}

.hf-wallet-form-clean button:hover{
    filter:brightness(1.08);
}

@media(max-width:1100px){
    .hf-wallet-form-clean{
        grid-template-columns:1fr 1fr;
    }

    .hf-wallet-form-clean button{
        grid-column:1 / -1;
    }
}

@media(max-width:620px){
    .hf-wallet-form-clean{
        grid-template-columns:1fr;
    }
}

.hf-crypto-paybox{
    margin-top:12px;
    display:grid;
    gap:6px;
    background:#060c17;
    border:1px solid #1e2d47;
    border-radius:12px;
    padding:12px;
}

.hf-crypto-paybox span{
    color:#8e9db4;
    font-size:12px;
    margin:0;
}

.hf-crypto-paybox strong{
    color:#86ffad;
    font-size:16px;
}

.hf-crypto-paybox code{
    display:block;
    color:#dce8ff;
    background:#0b1324;
    border:1px solid #263750;
    border-radius:9px;
    padding:9px;
    overflow:auto;
    white-space:nowrap;
    max-width:100%;
}

.hf-deposits-list{
    display:grid;
    gap:14px;
    margin-top:18px;
}

.hf-deposit-row{
    display:grid;
    grid-template-columns:minmax(360px,1fr) 160px 160px 190px;
    gap:18px;
    align-items:start;
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:14px;
    padding:16px;
}

.hf-deposit-row strong{
    display:block;
    color:#fff;
}

.hf-deposit-row small,
.hf-deposit-row span{
    display:block;
    color:#8e9db4;
    margin-top:4px;
}

.hf-deposit-row b{
    display:block;
    color:#dce8ff;
    margin-top:4px;
}

.hf-deposit-main{
    min-width:0;
}

.hf-crypto-paybox{
    margin-top:14px;
    display:grid;
    gap:7px;
    background:#060c17;
    border:1px solid #1e2d47;
    border-radius:12px;
    padding:13px;
}

.hf-crypto-paybox span{
    color:#8e9db4;
    font-size:12px;
    margin:0;
}

.hf-crypto-paybox strong{
    color:#86ffad;
    font-size:17px;
}

.hf-crypto-paybox code{
    display:block;
    color:#dce8ff;
    background:#0b1324;
    border:1px solid #263750;
    border-radius:9px;
    padding:9px;
    overflow:auto;
    white-space:nowrap;
    max-width:100%;
}

@media(max-width:950px){
    .hf-deposit-row{
        grid-template-columns:1fr;
    }
}

.hf-crypto-paybox{
    grid-template-columns:180px minmax(0,1fr);
    align-items:start;
}

.hf-crypto-qr{
    display:grid;
    gap:8px;
    justify-items:center;
}

.hf-crypto-qr img{
    width:160px;
    height:160px;
    background:#fff;
    border-radius:14px;
    padding:8px;
    border:1px solid #263750;
}

.hf-crypto-qr small{
    color:#8e9db4;
    font-size:11px;
    text-align:center;
}

.hf-crypto-fields{
    display:grid;
    gap:7px;
    min-width:0;
}

.hf-copy-line{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
}

.hf-copy-line code{
    min-width:0;
}

.hf-copy-btn{
    border:1px solid #2f6bff;
    background:#102553;
    color:#fff;
    border-radius:9px;
    padding:9px 11px;
    font-size:12px;
    font-weight:950;
    cursor:pointer;
    white-space:nowrap;
}

.hf-copy-btn:hover,
.hf-copy-btn.copied{
    background:#2f6bff;
}

@media(max-width:720px){
    .hf-crypto-paybox{
        grid-template-columns:1fr;
    }

    .hf-copy-line{
        grid-template-columns:1fr;
    }

    .hf-crypto-qr{
        justify-items:start;
    }
}

.hf-crypto-detail-box{
    margin-top:18px;
}

.hf-checkout-summary .hf-status{
    justify-content:center;
}

.hf-footer-links{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-top:12px;
}

.hf-footer-links a{
    color:#8e9db4;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.hf-footer-links a:hover{
    color:#ffffff;
}

.hf-legal-page{
    padding-top:46px;
    padding-bottom:70px;
}

.hf-legal-hero{
    max-width:860px;
    margin-bottom:24px;
}

.hf-legal-hero h1{
    margin:8px 0 10px;
    font-size:42px;
    letter-spacing:-.04em;
}

.hf-legal-hero p{
    color:#9aa8bd;
    font-size:16px;
    line-height:1.7;
}

.hf-legal-card{
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:22px;
    padding:30px;
    box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.hf-legal-card h2{
    margin:26px 0 10px;
    color:#fff;
    font-size:20px;
}

.hf-legal-card h2:first-child{
    margin-top:0;
}

.hf-legal-card p{
    color:#a9b6c9;
    line-height:1.75;
    margin:0 0 12px;
}

.hf-legal-updated{
    margin-top:28px !important;
    color:#6f7f98 !important;
    font-size:13px;
}

@media(max-width:700px){
    .hf-legal-hero h1{
        font-size:32px;
    }

    .hf-legal-card{
        padding:22px;
    }
}

/* Footer alignment fix */
.hf-footer,
footer{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hf-footer-links{
    width:100%;
    justify-content:center;
    align-items:center;
    order:1;
    margin-top:0;
    margin-bottom:14px;
}

.hf-footer p,
footer p{
    order:2;
    margin:0;
    text-align:center;
    width:100%;
}


.hf-error-page{
    min-height:68vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding-top:60px;
    padding-bottom:80px;
}

.hf-error-card{
    position:relative;
    width:min(760px, 100%);
    overflow:hidden;
    background:
        radial-gradient(circle at top left, rgba(47,107,255,.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(134,255,173,.10), transparent 30%),
        #08101e;
    border:1px solid #1e2d47;
    border-radius:28px;
    padding:48px;
    text-align:center;
    box-shadow:0 28px 90px rgba(0,0,0,.36);
}

.hf-error-code{
    position:absolute;
    top:-28px;
    right:26px;
    font-size:124px;
    line-height:1;
    font-weight:1000;
    letter-spacing:-.08em;
    color:rgba(255,255,255,.045);
    pointer-events:none;
}

.hf-error-card h1{
    margin:10px 0 12px;
    color:#fff;
    font-size:46px;
    letter-spacing:-.045em;
}

.hf-error-card p{
    max-width:560px;
    margin:0 auto;
    color:#9aa8bd;
    line-height:1.75;
    font-size:16px;
}

.hf-error-actions{
    margin-top:28px;
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
}

.hf-error-primary,
.hf-error-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 18px;
    border-radius:13px;
    text-decoration:none;
    font-weight:950;
}

.hf-error-primary{
    background:#2f6bff;
    color:#fff;
    box-shadow:0 14px 34px rgba(47,107,255,.25);
}

.hf-error-secondary{
    background:#0b1324;
    color:#dce8ff;
    border:1px solid #263750;
}

.hf-error-primary:hover{
    filter:brightness(1.08);
}

.hf-error-secondary:hover{
    border-color:#2f6bff;
}

@media(max-width:700px){
    .hf-error-card{
        padding:34px 22px;
    }

    .hf-error-code{
        font-size:92px;
        top:-18px;
        right:18px;
    }

    .hf-error-card h1{
        font-size:34px;
    }
}

/* ================================
   HiddenFiles Public Mobile Polish
   ================================ */

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

img,
video,
iframe{
    max-width:100%;
}

.container{
    width:min(1180px, calc(100% - 32px));
    margin-left:auto;
    margin-right:auto;
}

@media(max-width:900px){
    .container{
        width:calc(100% - 26px);
    }

    /* Header */
    header,
    .site-header,
    .hf-header{
        width:100%;
    }

    header .container,
    .site-header .container,
    .hf-header .container{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        flex-wrap:wrap;
    }

    header nav,
    .site-header nav,
    .hf-header nav{
        width:100%;
        display:flex;
        gap:10px;
        overflow-x:auto;
        padding-bottom:4px;
        -webkit-overflow-scrolling:touch;
    }

    header nav a,
    .site-header nav a,
    .hf-header nav a{
        white-space:nowrap;
    }

    /* Hero / page titles */
    .hero,
    .hf-hero,
    .hf-account-head,
    .hf-legal-hero{
        text-align:left;
    }

    .hero h1,
    .hf-hero h1,
    .hf-account-head h1,
    .hf-legal-hero h1{
        font-size:34px;
        line-height:1.05;
        letter-spacing:-.04em;
    }

    .hero p,
    .hf-hero p,
    .hf-account-head p,
    .hf-legal-hero p{
        font-size:15px;
        line-height:1.65;
    }

    /* Product listing rows/cards */
    .hf-product-row,
    .product-row,
    .market-product-row,
    .hf-market-row{
        grid-template-columns:1fr !important;
        gap:14px !important;
        padding:16px !important;
    }

    .hf-product-row img,
    .product-row img,
    .market-product-row img,
    .hf-market-row img{
        width:100% !important;
        max-height:240px;
        object-fit:cover;
        border-radius:16px;
    }

    .hf-product-actions,
    .product-actions{
        justify-content:flex-start;
        flex-wrap:wrap;
    }

    .hf-product-price,
    .product-price{
        text-align:left !important;
        align-items:flex-start !important;
    }

    /* Product detail */
    .hf-product-detail,
    .product-detail,
    .hf-product-layout,
    .product-layout{
        grid-template-columns:1fr !important;
        gap:20px !important;
    }

    .hf-product-media,
    .product-media{
        min-width:0;
    }

    .hf-product-summary,
    .product-summary,
    .hf-buy-panel{
        position:static !important;
        width:100% !important;
    }

    .hf-product-gallery,
    .product-gallery{
        display:flex;
        gap:10px;
        overflow-x:auto;
        padding-bottom:6px;
        -webkit-overflow-scrolling:touch;
    }

    .hf-product-gallery img,
    .product-gallery img{
        min-width:86px;
        width:86px;
        height:86px;
        object-fit:cover;
        border-radius:12px;
    }

    /* Account / Wallet / Checkout */
    .hf-account-grid,
    .account-grid,
    .stat-grid{
        grid-template-columns:1fr 1fr !important;
        gap:12px !important;
    }

    .hf-account-card,
    .stat-card{
        padding:15px !important;
    }

    .hf-account-card strong,
    .stat-card strong{
        font-size:20px !important;
    }

    .hf-checkout-layout,
    .checkout-layout{
        grid-template-columns:1fr !important;
        gap:18px !important;
    }

    .hf-checkout-summary,
    .checkout-summary{
        position:static !important;
        width:100% !important;
    }

    .hf-wallet-form-clean,
    .wallet-form,
    .hf-form-grid{
        grid-template-columns:1fr !important;
    }

    .hf-wallet-form-clean button,
    .wallet-form button,
    .hf-payment-ready-btn,
    .hf-error-primary,
    .hf-error-secondary{
        width:100%;
    }

    /* Deposit rows */
    .hf-deposit-row{
        grid-template-columns:1fr !important;
        gap:14px !important;
    }

    .hf-crypto-paybox{
        grid-template-columns:1fr !important;
    }

    .hf-crypto-qr{
        justify-items:start !important;
    }

    .hf-copy-line{
        grid-template-columns:1fr !important;
    }

    .hf-copy-btn{
        width:100%;
    }

    .hf-crypto-paybox code{
        white-space:normal;
        word-break:break-all;
    }

    /* Legal / error */
    .hf-legal-page,
    .hf-error-page{
        padding-top:28px;
        padding-bottom:48px;
    }

    .hf-legal-card,
    .hf-error-card{
        border-radius:20px;
        padding:22px !important;
    }

    .hf-error-card h1{
        font-size:34px !important;
    }

    .hf-error-code{
        font-size:88px !important;
    }

    /* Footer */
    .hf-footer-links{
        justify-content:center;
        gap:12px;
    }
}

@media(max-width:560px){
    .container{
        width:calc(100% - 20px);
    }

    body{
        font-size:14px;
    }

    /* Header logo */
    .logo,
    .brand,
    .hf-logo{
        font-size:24px !important;
    }

    header,
    .site-header,
    .hf-header{
        padding-top:14px !important;
        padding-bottom:14px !important;
    }

    header .container,
    .site-header .container,
    .hf-header .container{
        gap:10px;
    }

    header nav,
    .site-header nav,
    .hf-header nav{
        font-size:13px;
    }

    /* Hero */
    .hero,
    .hf-hero{
        padding-top:28px !important;
        padding-bottom:24px !important;
    }

    .hero h1,
    .hf-hero h1,
    .hf-account-head h1,
    .hf-legal-hero h1{
        font-size:29px !important;
    }

    /* Product rows */
    .hf-product-row,
    .product-row,
    .market-product-row,
    .hf-market-row{
        border-radius:16px !important;
    }

    .hf-product-row h2,
    .hf-product-row h3,
    .product-row h2,
    .product-row h3,
    .market-product-row h2,
    .market-product-row h3{
        font-size:20px !important;
        line-height:1.2;
    }

    /* Account cards single column on small phones */
    .hf-account-grid,
    .account-grid,
    .stat-grid{
        grid-template-columns:1fr !important;
    }

    .hf-account-head{
        gap:14px;
    }

    .hf-account-head .hf-logout-btn,
    .hf-logout-btn{
        width:100%;
        text-align:center;
        justify-content:center;
    }

    /* Checkout boxes */
    .hf-checkout-box,
    .hf-account-panel{
        padding:18px !important;
        border-radius:18px !important;
    }

    .hf-summary-row{
        gap:10px;
        align-items:flex-start;
    }

    .hf-summary-row strong{
        text-align:right;
        word-break:break-word;
    }

    /* Forms */
    input,
    select,
    textarea{
        font-size:16px !important; /* iPhone zoom prevention */
    }

    button,
    .btn,
    .hf-error-primary,
    .hf-error-secondary{
        min-height:46px;
    }

    /* QR */
    .hf-crypto-qr img{
        width:150px !important;
        height:150px !important;
    }

    /* Legal text */
    .hf-legal-card h2{
        font-size:18px;
    }

    .hf-legal-card p{
        font-size:14px;
    }

    /* Footer */
    footer,
    .hf-footer{
        padding-left:10px;
        padding-right:10px;
    }

    .hf-footer-links{
        flex-direction:column;
        gap:8px;
    }
}

@media(max-width:390px){
    .hero h1,
    .hf-hero h1,
    .hf-account-head h1,
    .hf-legal-hero h1{
        font-size:26px !important;
    }

    .hf-error-card h1{
        font-size:29px !important;
    }

    .hf-account-card strong,
    .stat-card strong{
        font-size:18px !important;
    }
}

/* ================================
   Mobile Product Card Fix
   ================================ */

@media(max-width:700px){

    .hf-section-head,
    .section-head{
        gap:14px;
        align-items:flex-start;
    }

    .hf-section-head h2,
    .section-head h2{
        font-size:22px !important;
    }

    .hf-category-tabs,
    .category-tabs,
    .hf-tabs{
        overflow-x:auto;
        display:flex;
        gap:10px;
        padding-bottom:4px;
        -webkit-overflow-scrolling:touch;
    }

    .hf-category-tabs a,
    .category-tabs a,
    .hf-tabs a{
        white-space:nowrap;
        flex:0 0 auto;
    }

    /* Product list/card compact mobile layout */
    .hf-product-row,
    .product-row,
    .market-product-row,
    .hf-market-row{
        display:grid !important;
        grid-template-columns:86px minmax(0,1fr) !important;
        gap:14px !important;
        align-items:start !important;
        padding:16px !important;
        min-height:auto !important;
    }

    .hf-product-row > *,
    .product-row > *,
    .market-product-row > *,
    .hf-market-row > *{
        min-width:0;
    }

    .hf-product-row img,
    .product-row img,
    .market-product-row img,
    .hf-market-row img{
        width:70px !important;
        height:70px !important;
        min-width:70px !important;
        max-width:70px !important;
        max-height:70px !important;
        object-fit:cover !important;
        border-radius:14px !important;
    }

    .hf-product-row h2,
    .hf-product-row h3,
    .product-row h2,
    .product-row h3,
    .market-product-row h2,
    .market-product-row h3,
    .hf-market-row h2,
    .hf-market-row h3{
        font-size:20px !important;
        line-height:1.18 !important;
        margin:0 0 6px !important;
        word-break:break-word;
    }

    .hf-product-row p,
    .product-row p,
    .market-product-row p,
    .hf-market-row p{
        font-size:14px !important;
        line-height:1.45 !important;
        margin:0 0 12px !important;
        color:#9aa8bd !important;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .hf-product-actions,
    .product-actions,
    .market-product-actions{
        display:flex !important;
        gap:8px !important;
        flex-wrap:wrap !important;
        margin-top:10px !important;
    }

    .hf-product-actions a,
    .hf-product-actions button,
    .product-actions a,
    .product-actions button,
    .market-product-actions a,
    .market-product-actions button{
        width:40px !important;
        height:40px !important;
        min-width:40px !important;
        border-radius:12px !important;
        padding:0 !important;
    }

    .hf-product-price,
    .product-price,
    .market-product-price{
        margin-top:12px !important;
        text-align:left !important;
        align-items:flex-start !important;
        justify-content:flex-start !important;
    }

    .hf-product-price strong,
    .product-price strong,
    .market-product-price strong{
        font-size:24px !important;
        line-height:1 !important;
    }

    .badge,
    .hf-badge,
    .product-badge{
        font-size:12px !important;
        padding:7px 12px !important;
        border-radius:8px !important;
        margin-bottom:8px !important;
        display:inline-flex !important;
        width:auto !important;
    }

    /* Footer mobile center fix */
    footer,
    .hf-footer{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        text-align:center !important;
        gap:12px !important;
    }

    footer p,
    .hf-footer p{
        width:100% !important;
        text-align:center !important;
        margin:0 !important;
    }

    .hf-footer-links{
        width:100% !important;
        display:flex !important;
        flex-direction:row !important;
        justify-content:center !important;
        align-items:center !important;
        gap:16px !important;
        margin:0 !important;
    }
}

@media(max-width:430px){
    .hf-product-row,
    .product-row,
    .market-product-row,
    .hf-market-row{
        grid-template-columns:78px minmax(0,1fr) !important;
        gap:12px !important;
        padding:14px !important;
    }

    .hf-product-row img,
    .product-row img,
    .market-product-row img,
    .hf-market-row img{
        width:64px !important;
        height:64px !important;
        min-width:64px !important;
        max-width:64px !important;
        max-height:64px !important;
    }

    .hf-product-row h2,
    .hf-product-row h3,
    .product-row h2,
    .product-row h3,
    .market-product-row h2,
    .market-product-row h3,
    .hf-market-row h2,
    .hf-market-row h3{
        font-size:18px !important;
    }

    .hf-product-price strong,
    .product-price strong,
    .market-product-price strong{
        font-size:22px !important;
    }
}


/* ================================
   Mobile Product Card Fix
   ================================ */

@media(max-width:700px){

    .hf-section-head,
    .section-head{
        gap:14px;
        align-items:flex-start;
    }

    .hf-section-head h2,
    .section-head h2{
        font-size:22px !important;
    }

    .hf-category-tabs,
    .category-tabs,
    .hf-tabs{
        overflow-x:auto;
        display:flex;
        gap:10px;
        padding-bottom:4px;
        -webkit-overflow-scrolling:touch;
    }

    .hf-category-tabs a,
    .category-tabs a,
    .hf-tabs a{
        white-space:nowrap;
        flex:0 0 auto;
    }

    /* Product list/card compact mobile layout */
    .hf-product-row,
    .product-row,
    .market-product-row,
    .hf-market-row{
        display:grid !important;
        grid-template-columns:86px minmax(0,1fr) !important;
        gap:14px !important;
        align-items:start !important;
        padding:16px !important;
        min-height:auto !important;
    }

    .hf-product-row > *,
    .product-row > *,
    .market-product-row > *,
    .hf-market-row > *{
        min-width:0;
    }

    .hf-product-row img,
    .product-row img,
    .market-product-row img,
    .hf-market-row img{
        width:70px !important;
        height:70px !important;
        min-width:70px !important;
        max-width:70px !important;
        max-height:70px !important;
        object-fit:cover !important;
        border-radius:14px !important;
    }

    .hf-product-row h2,
    .hf-product-row h3,
    .product-row h2,
    .product-row h3,
    .market-product-row h2,
    .market-product-row h3,
    .hf-market-row h2,
    .hf-market-row h3{
        font-size:20px !important;
        line-height:1.18 !important;
        margin:0 0 6px !important;
        word-break:break-word;
    }

    .hf-product-row p,
    .product-row p,
    .market-product-row p,
    .hf-market-row p{
        font-size:14px !important;
        line-height:1.45 !important;
        margin:0 0 12px !important;
        color:#9aa8bd !important;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .hf-product-actions,
    .product-actions,
    .market-product-actions{
        display:flex !important;
        gap:8px !important;
        flex-wrap:wrap !important;
        margin-top:10px !important;
    }

    .hf-product-actions a,
    .hf-product-actions button,
    .product-actions a,
    .product-actions button,
    .market-product-actions a,
    .market-product-actions button{
        width:40px !important;
        height:40px !important;
        min-width:40px !important;
        border-radius:12px !important;
        padding:0 !important;
    }

    .hf-product-price,
    .product-price,
    .market-product-price{
        margin-top:12px !important;
        text-align:left !important;
        align-items:flex-start !important;
        justify-content:flex-start !important;
    }

    .hf-product-price strong,
    .product-price strong,
    .market-product-price strong{
        font-size:24px !important;
        line-height:1 !important;
    }

    .badge,
    .hf-badge,
    .product-badge{
        font-size:12px !important;
        padding:7px 12px !important;
        border-radius:8px !important;
        margin-bottom:8px !important;
        display:inline-flex !important;
        width:auto !important;
    }

    /* Footer mobile center fix */
    footer,
    .hf-footer{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        text-align:center !important;
        gap:12px !important;
    }

    footer p,
    .hf-footer p{
        width:100% !important;
        text-align:center !important;
        margin:0 !important;
    }

    .hf-footer-links{
        width:100% !important;
        display:flex !important;
        flex-direction:row !important;
        justify-content:center !important;
        align-items:center !important;
        gap:16px !important;
        margin:0 !important;
    }
}

@media(max-width:430px){
    .hf-product-row,
    .product-row,
    .market-product-row,
    .hf-market-row{
        grid-template-columns:78px minmax(0,1fr) !important;
        gap:12px !important;
        padding:14px !important;
    }

    .hf-product-row img,
    .product-row img,
    .market-product-row img,
    .hf-market-row img{
        width:64px !important;
        height:64px !important;
        min-width:64px !important;
        max-width:64px !important;
        max-height:64px !important;
    }

    .hf-product-row h2,
    .hf-product-row h3,
    .product-row h2,
    .product-row h3,
    .market-product-row h2,
    .market-product-row h3,
    .hf-market-row h2,
    .hf-market-row h3{
        font-size:18px !important;
    }

    .hf-product-price strong,
    .product-price strong,
    .market-product-price strong{
        font-size:22px !important;
    }
}


/* ================================
   Exact Mobile Marketplace Row Fix
   ================================ */

@media(max-width:700px){

    body .hf-product-row{
        display:grid !important;
        grid-template-columns:72px minmax(0, 1fr) !important;
        grid-template-areas:
            "icon main"
            "icon actions"
            "icon price" !important;
        gap:8px 14px !important;
        align-items:start !important;
        padding:16px !important;
        min-height:0 !important;
        height:auto !important;
    }

    body .hf-product-row .hf-product-icon{
        grid-area:icon !important;
        width:72px !important;
        height:72px !important;
        min-width:72px !important;
        border-radius:16px !important;
        overflow:hidden !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
    }

    body .hf-product-row .hf-product-icon img{
        width:72px !important;
        height:72px !important;
        min-width:72px !important;
        max-width:72px !important;
        max-height:72px !important;
        object-fit:cover !important;
        border-radius:16px !important;
    }

    body .hf-product-row .hf-product-main{
        grid-area:main !important;
        min-width:0 !important;
        padding:0 !important;
    }

    body .hf-product-row .hf-product-title-line{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:7px !important;
        margin:0 0 6px !important;
    }

    body .hf-product-row .hf-badge{
        order:0 !important;
        font-size:11px !important;
        line-height:1 !important;
        padding:7px 12px !important;
        border-radius:8px !important;
        margin:0 !important;
    }

    body .hf-product-row h3{
        order:1 !important;
        margin:0 !important;
        font-size:19px !important;
        line-height:1.15 !important;
        letter-spacing:-.02em !important;
    }

    body .hf-product-row h3 a{
        color:#fff !important;
        text-decoration:none !important;
        display:block !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        white-space:nowrap !important;
        max-width:100% !important;
    }

    body .hf-product-row p{
        margin:0 !important;
        font-size:13px !important;
        line-height:1.35 !important;
        color:#9aa8bd !important;
        display:-webkit-box !important;
        -webkit-line-clamp:1 !important;
        -webkit-box-orient:vertical !important;
        overflow:hidden !important;
    }

    body .hf-product-row .hf-product-actions{
        grid-area:actions !important;
        display:flex !important;
        gap:8px !important;
        margin:4px 0 0 !important;
        padding:0 !important;
        align-items:center !important;
        justify-content:flex-start !important;
    }

    body .hf-product-row .hf-product-actions a,
    body .hf-product-row .hf-product-actions button{
        width:38px !important;
        height:38px !important;
        min-width:38px !important;
        border-radius:12px !important;
        padding:0 !important;
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        font-size:16px !important;
    }

    body .hf-product-row .hf-seller{
        display:none !important;
    }

    body .hf-product-row .hf-price{
        grid-area:price !important;
        margin:4px 0 0 !important;
        padding:0 !important;
        text-align:left !important;
        align-items:flex-start !important;
        justify-content:flex-start !important;
        font-size:24px !important;
        line-height:1 !important;
    }

    body .hf-product-row .hf-price div,
    body .hf-product-row .hf-price strong{
        font-size:24px !important;
        line-height:1 !important;
    }

    /* Homepage spacing */
    body .hf-section-title,
    body .section-title{
        margin-bottom:14px !important;
    }

    body .hf-products-list,
    body .products-list{
        gap:12px !important;
    }

    /* Footer exact classes */
    body .site-footer{
        text-align:center !important;
        padding:24px 0 !important;
    }

    body .site-footer .footer-inner{
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        gap:8px !important;
        text-align:center !important;
    }

    body .site-footer .footer-inner span{
        display:block !important;
        width:100% !important;
        text-align:center !important;
    }

    body .site-footer .hf-footer-links{
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        justify-content:center !important;
        gap:16px !important;
        margin-top:12px !important;
        width:100% !important;
        text-align:center !important;
    }
}

@media(max-width:420px){
    body .hf-product-row{
        grid-template-columns:66px minmax(0, 1fr) !important;
        gap:8px 12px !important;
        padding:14px !important;
    }

    body .hf-product-row .hf-product-icon,
    body .hf-product-row .hf-product-icon img{
        width:66px !important;
        height:66px !important;
        min-width:66px !important;
        max-width:66px !important;
        max-height:66px !important;
        border-radius:14px !important;
    }

    body .hf-product-row h3{
        font-size:18px !important;
    }

    body .hf-product-row .hf-price,
    body .hf-product-row .hf-price div,
    body .hf-product-row .hf-price strong{
        font-size:22px !important;
    }

    body .hf-product-row .hf-product-actions a,
    body .hf-product-row .hf-product-actions button{
        width:36px !important;
        height:36px !important;
        min-width:36px !important;
    }
}


/* ================================
   Product Detail Mobile Polish
   ================================ */

@media(max-width:700px){

    body .hf-product-page{
        padding-top:18px !important;
    }

    body .hf-product-page .container,
    body .hf-product-page.container{
        width:calc(100% - 14px) !important;
    }

    body .hf-product-nav,
    body .hf-product-back,
    body .hf-product-top{
        display:flex !important;
        gap:10px !important;
        flex-wrap:wrap !important;
        margin-bottom:14px !important;
    }

    body .hf-product-nav a,
    body .hf-product-back a,
    body .hf-product-top a{
        min-height:42px !important;
        padding:0 14px !important;
        border-radius:999px !important;
        font-size:14px !important;
    }

    body .hf-product-layout,
    body .hf-product-detail,
    body .hf-product-page .hf-product-grid{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:16px !important;
    }

    /* Main image: prevent huge vertical portrait preview */
    body .hf-product-media{
        border-radius:18px !important;
        overflow:hidden !important;
    }

    body .hf-product-media > img,
    body .hf-product-media .hf-main-image,
    body .hf-product-media .hf-product-preview,
    body .hf-product-media picture img{
        width:100% !important;
        height:auto !important;
        max-height:420px !important;
        aspect-ratio:4 / 3 !important;
        object-fit:contain !important;
        background:#08101e !important;
        border-radius:18px !important;
        display:block !important;
    }

    /* Gallery */
    body .hf-product-gallery{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:12px !important;
        margin-top:12px !important;
        overflow:visible !important;
        padding-bottom:0 !important;
    }

    body .hf-product-gallery img,
    body .hf-product-gallery a,
    body .hf-product-gallery picture{
        width:100% !important;
        height:125px !important;
        min-width:0 !important;
        border-radius:14px !important;
        overflow:hidden !important;
    }

    body .hf-product-gallery img{
        object-fit:cover !important;
        display:block !important;
    }

    /* Description card */
    body .hf-product-description,
    body .hf-detail-description,
    body .hf-checkout-box{
        border-radius:20px !important;
        padding:22px !important;
    }

    body .hf-product-description h2,
    body .hf-detail-description h2,
    body .hf-checkout-box h2{
        font-size:24px !important;
        line-height:1.15 !important;
        margin-bottom:14px !important;
    }

    body .hf-product-description p,
    body .hf-detail-description p{
        font-size:15px !important;
        line-height:1.65 !important;
    }

    /* Buy / summary card */
    body .hf-detail-summary,
    body .hf-buy-panel,
    body .hf-product-summary{
        position:static !important;
        width:100% !important;
        border-radius:20px !important;
        padding:24px 22px !important;
    }

    body .hf-detail-summary h1,
    body .hf-buy-panel h1,
    body .hf-product-summary h1{
        font-size:30px !important;
        line-height:1.1 !important;
        margin:18px 0 10px !important;
        letter-spacing:-.035em !important;
    }

    body .hf-detail-summary .hf-price,
    body .hf-buy-panel .hf-price,
    body .hf-product-summary .hf-price{
        font-size:38px !important;
        line-height:1 !important;
        margin:10px 0 22px !important;
    }

    body .hf-detail-summary input,
    body .hf-buy-panel input,
    body .hf-product-summary input{
        height:54px !important;
        border-radius:15px !important;
        font-size:16px !important;
    }

    body .hf-detail-summary button,
    body .hf-buy-panel button,
    body .hf-product-summary button,
    body .hf-detail-summary .btn,
    body .hf-buy-panel .btn,
    body .hf-product-summary .btn{
        width:100% !important;
        min-height:56px !important;
        border-radius:15px !important;
        font-size:15px !important;
    }

    body .hf-summary-row,
    body .hf-meta-row{
        padding:14px 0 !important;
        gap:12px !important;
    }

    body .hf-summary-row span,
    body .hf-meta-row span{
        font-size:14px !important;
    }

    body .hf-summary-row strong,
    body .hf-meta-row strong{
        font-size:15px !important;
        text-align:right !important;
        word-break:break-word !important;
    }
}

@media(max-width:430px){
    body .hf-product-media > img,
    body .hf-product-media .hf-main-image,
    body .hf-product-media .hf-product-preview,
    body .hf-product-media picture img{
        max-height:360px !important;
        aspect-ratio:1 / 1 !important;
    }

    body .hf-product-gallery img,
    body .hf-product-gallery a,
    body .hf-product-gallery picture{
        height:110px !important;
    }

    body .hf-detail-summary h1,
    body .hf-buy-panel h1,
    body .hf-product-summary h1{
        font-size:28px !important;
    }

    body .hf-detail-summary .hf-price,
    body .hf-buy-panel .hf-price,
    body .hf-product-summary .hf-price{
        font-size:34px !important;
    }
}


.hf-home-search,
.hf-search-page-form{
    margin-top:22px;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 140px;
    gap:12px;
    max-width:720px;
}

.hf-home-search input,
.hf-search-page-form input{
    height:54px;
    background:#08101e;
    border:1px solid #1e2d47;
    color:#fff;
    border-radius:16px;
    padding:0 16px;
    outline:none;
    font-weight:700;
}

.hf-home-search input:focus,
.hf-search-page-form input:focus{
    border-color:#2f6bff;
    box-shadow:0 0 0 4px rgba(47,107,255,.12);
}

.hf-home-search button,
.hf-search-page-form button{
    height:54px;
    border:0;
    border-radius:16px;
    background:#2f6bff;
    color:#fff;
    font-weight:950;
    cursor:pointer;
}

.hf-empty-state{
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:22px;
    padding:30px;
    text-align:center;
}

.hf-empty-state h3{
    margin:0 0 8px;
    color:#fff;
    font-size:24px;
}

.hf-empty-state p{
    margin:0;
    color:#9aa8bd;
}

@media(max-width:700px){
    .hf-home-search,
    .hf-search-page-form{
        grid-template-columns:1fr;
        max-width:100%;
    }

    .hf-home-search button,
    .hf-search-page-form button{
        width:100%;
    }
}

.hf-contact-page{
    padding-top:46px;
    padding-bottom:70px;
}

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

.hf-contact-card,
.hf-contact-side{
    background:#08101e;
    border:1px solid #1e2d47;
    border-radius:22px;
    padding:28px;
}

.hf-contact-card h2,
.hf-contact-side h2{
    margin:0 0 18px;
    color:#fff;
}

.hf-contact-form{
    display:grid;
    gap:11px;
}

.hf-contact-form label{
    color:#dce8ff;
    font-weight:900;
}

.hf-contact-form input,
.hf-contact-form textarea{
    width:100%;
    background:#090f1b;
    border:1px solid #263750;
    color:#fff;
    border-radius:14px;
    padding:14px;
    outline:none;
}

.hf-contact-form input:focus,
.hf-contact-form textarea:focus{
    border-color:#2f6bff;
    box-shadow:0 0 0 4px rgba(47,107,255,.12);
}

.hf-contact-form button{
    min-height:52px;
    border:0;
    border-radius:14px;
    background:#2f6bff;
    color:#fff;
    font-weight:950;
    cursor:pointer;
}

.hf-honeypot{
    position:absolute !important;
    left:-9999px !important;
    opacity:0 !important;
    pointer-events:none !important;
}

.hf-contact-tip{
    border-top:1px solid #1e2d47;
    padding:16px 0;
}

.hf-contact-tip:first-of-type{
    border-top:0;
}

.hf-contact-tip strong{
    color:#fff;
}

.hf-contact-tip p{
    margin:6px 0 0;
    color:#9aa8bd;
    line-height:1.55;
}

@media(max-width:850px){
    .hf-contact-layout{
        grid-template-columns:1fr;
    }

    .hf-contact-card,
    .hf-contact-side{
        padding:22px;
    }
}

/* Homepage search cleanup: keep only product search and make it full width */
.hf-home-search{
    display:none !important;
}

.hf-market-section form:has(input[placeholder="Search products..."]),
.hf-section-head form:has(input[placeholder="Search products..."]),
form:has(input[placeholder="Search products..."]){
    width:100% !important;
    max-width:100% !important;
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 100px !important;
    gap:10px !important;
}

.hf-market-section form:has(input[placeholder="Search products..."]) input,
.hf-section-head form:has(input[placeholder="Search products..."]) input,
form:has(input[placeholder="Search products..."]) input{
    width:100% !important;
}

@media(max-width:700px){
    .hf-market-section form:has(input[placeholder="Search products..."]),
    .hf-section-head form:has(input[placeholder="Search products..."]),
    form:has(input[placeholder="Search products..."]){
        grid-template-columns:1fr !important;
    }
}



/* ================================
   HiddenFiles Cart System
   ================================ */

.hf-product-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
}

.hf-cart-inline-form{
    margin:0 !important;
    padding:0 !important;
    display:inline-flex !important;
}

.hf-cart-icon-btn{
    width:44px;
    height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    border:1px solid rgba(88,123,180,.42);
    background:#0b1425;
    color:#dbe8ff;
    cursor:pointer;
    transition:.18s ease;
}

.hf-cart-icon-btn svg{
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.hf-cart-icon-btn:hover{
    transform:translateY(-1px);
    background:#101d34;
    border-color:#3b82f6;
    box-shadow:0 12px 28px rgba(47,107,255,.18);
}

.hf-header-cart{
    position:relative;
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    border:1px solid rgba(88,123,180,.42);
    background:#0b1425;
    color:#dbe8ff;
    text-decoration:none;
    transition:.18s ease;
}

.hf-header-cart svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.hf-header-cart:hover{
    background:#101d34;
    border-color:#3b82f6;
}

.hf-header-cart b{
    position:absolute;
    top:-7px;
    right:-7px;
    min-width:20px;
    height:20px;
    padding:0 6px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#2f6bff;
    color:#fff;
    border:2px solid #071020;
    font-size:11px;
    line-height:1;
    font-weight:1000;
}

.hf-cart-page{
    width:min(1180px, calc(100% - 32px));
    margin:0 auto;
    padding:34px 0 58px;
}

.hf-cart-hero{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
    padding:24px;
    border:1px solid rgba(48,70,110,.95);
    border-radius:24px;
    background:
        radial-gradient(circle at top left, rgba(47,107,255,.16), transparent 34%),
        linear-gradient(180deg, #0b1220 0%, #070c16 100%);
    box-shadow:0 20px 55px rgba(0,0,0,.22);
}

.hf-cart-eyebrow{
    display:inline-flex;
    margin-bottom:10px;
    color:#8db1ff;
    font-size:12px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.hf-cart-hero h1{
    margin:0;
    color:#fff;
    font-size:34px;
    line-height:1.05;
    letter-spacing:-.045em;
}

.hf-cart-hero p{
    margin:8px 0 0;
    max-width:620px;
    color:#8fa2bf;
    font-size:14px;
    line-height:1.55;
}

.hf-cart-back,
.hf-cart-primary,
.hf-cart-checkout{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 18px;
    border:0;
    border-radius:14px;
    background:linear-gradient(135deg, #2f6bff, #5b7cff);
    color:#fff !important;
    text-decoration:none;
    font-size:14px;
    font-weight:1000;
    cursor:pointer;
    box-shadow:0 14px 32px rgba(47,107,255,.22);
}

.hf-cart-back{
    background:#0c1628;
    border:1px solid #223452;
    box-shadow:none;
    color:#dbe8ff !important;
}

.hf-cart-alert{
    margin-bottom:16px;
    padding:13px 15px;
    border-radius:16px;
    font-size:14px;
    font-weight:850;
}

.hf-cart-alert.success{
    background:rgba(34,197,94,.12);
    border:1px solid rgba(34,197,94,.35);
    color:#86efac;
}

.hf-cart-alert.error{
    background:rgba(239,68,68,.13);
    border:1px solid rgba(239,68,68,.36);
    color:#ff9cad;
}

.hf-cart-empty{
    padding:44px 24px;
    border-radius:24px;
    border:1px solid rgba(48,70,110,.95);
    background:#080f1c;
    text-align:center;
}

.hf-cart-empty-icon{
    width:70px;
    height:70px;
    margin:0 auto 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:22px;
    background:#0c1628;
    border:1px solid #223452;
    font-size:30px;
}

.hf-cart-empty h2{
    margin:0;
    color:#fff;
    font-size:24px;
}

.hf-cart-empty p{
    margin:8px auto 20px;
    max-width:430px;
    color:#8fa2bf;
}

.hf-cart-shell{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 340px;
    gap:18px;
    align-items:start;
}

.hf-cart-list{
    display:grid;
    gap:12px;
}

.hf-cart-item{
    display:grid;
    grid-template-columns:76px minmax(0, 1fr) 110px auto;
    gap:16px;
    align-items:center;
    padding:14px;
    border-radius:20px;
    border:1px solid #1d2d47;
    background:
        radial-gradient(circle at top left, rgba(47,107,255,.08), transparent 32%),
        #080f1c;
}

.hf-cart-thumb{
    width:76px;
    height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:17px;
    background:#0c1628;
    border:1px solid #223452;
    color:#8db1ff;
    font-weight:1000;
    text-decoration:none;
}

.hf-cart-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hf-cart-title{
    display:block;
    color:#fff !important;
    text-decoration:none;
    font-size:15px;
    font-weight:1000;
    line-height:1.25;
    margin-bottom:8px;
}

.hf-cart-title:hover{
    color:#9bb7ff !important;
}

.hf-cart-meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.hf-cart-meta span{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:0 9px;
    border-radius:999px;
    background:#0c1628;
    border:1px solid #223452;
    color:#8fa2bf;
    font-size:12px;
    font-weight:850;
}

.hf-cart-price{
    text-align:right;
}

.hf-cart-price small{
    display:block;
    margin-bottom:5px;
    color:#8fa2bf;
    font-size:12px;
    font-weight:850;
}

.hf-cart-price strong{
    color:#fff;
    font-size:16px;
    font-weight:1000;
}

.hf-cart-remove-form{
    margin:0;
}

.hf-cart-remove{
    min-height:38px;
    padding:0 12px;
    border-radius:12px;
    border:1px solid rgba(239,68,68,.32);
    background:rgba(239,68,68,.10);
    color:#ff9cad;
    font-size:12px;
    font-weight:1000;
    cursor:pointer;
}

.hf-cart-remove:hover{
    background:rgba(239,68,68,.16);
}

.hf-cart-summary{
    position:sticky;
    top:18px;
}

.hf-cart-summary-card{
    padding:18px;
    border-radius:22px;
    border:1px solid rgba(48,70,110,.95);
    background:
        radial-gradient(circle at top left, rgba(47,107,255,.13), transparent 34%),
        #080f1c;
    box-shadow:0 18px 48px rgba(0,0,0,.24);
}

.hf-cart-summary-card h2{
    margin:0 0 16px;
    color:#fff;
    font-size:20px;
    letter-spacing:-.03em;
}

.hf-cart-summary-row,
.hf-cart-summary-total{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 0;
    border-top:1px solid #1d2d47;
}

.hf-cart-summary-row span,
.hf-cart-summary-total span{
    color:#8fa2bf;
    font-size:13px;
    font-weight:850;
}

.hf-cart-summary-row strong{
    color:#dbe8ff;
    font-size:13px;
}

.hf-cart-summary-total strong{
    color:#fff;
    font-size:24px;
    font-weight:1000;
}

.hf-cart-checkout{
    width:100%;
    margin-top:16px;
}

.hf-cart-clear{
    width:100%;
    min-height:42px;
    margin-top:10px;
    border-radius:14px;
    border:1px solid #223452;
    background:#0c1628;
    color:#dbe8ff;
    font-size:13px;
    font-weight:950;
    cursor:pointer;
}

.hf-cart-note{
    margin:13px 0 0;
    color:#8fa2bf;
    font-size:12px;
    line-height:1.45;
    text-align:center;
}

@media(max-width:980px){
    .hf-cart-shell{
        grid-template-columns:1fr;
    }

    .hf-cart-summary{
        position:static;
    }
}

@media(max-width:720px){
    .hf-cart-page{
        width:min(100% - 20px, 1180px);
        padding-top:18px;
    }

    .hf-cart-hero{
        align-items:flex-start;
        flex-direction:column;
        padding:18px;
    }

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

    .hf-cart-item{
        grid-template-columns:64px minmax(0, 1fr);
    }

    .hf-cart-thumb{
        width:64px;
        height:64px;
    }

    .hf-cart-price,
    .hf-cart-remove-form{
        grid-column:2;
        text-align:left;
    }
}



/* ================================
   HiddenFiles Checkout Success Page
   ================================ */

.hf-success-page{
    width:min(1180px, calc(100% - 32px));
    margin:0 auto;
    padding:34px 0 58px;
}

.hf-success-hero{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:18px;
    padding:24px;
    border-radius:24px;
    border:1px solid rgba(48,70,110,.95);
    background:
        radial-gradient(circle at top left, rgba(34,197,94,.16), transparent 30%),
        linear-gradient(180deg, #0b1220 0%, #070c16 100%);
    box-shadow:0 20px 55px rgba(0,0,0,.24);
}

.hf-success-check{
    width:68px;
    height:68px;
    flex:0 0 68px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:22px;
    background:rgba(34,197,94,.14);
    border:1px solid rgba(34,197,94,.38);
    color:#86efac;
    font-size:34px;
    font-weight:1000;
    box-shadow:0 0 0 7px rgba(34,197,94,.06);
}

.hf-success-eyebrow{
    display:inline-flex;
    margin-bottom:8px;
    color:#86efac;
    font-size:12px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.hf-success-hero h1{
    margin:0;
    color:#fff;
    font-size:34px;
    line-height:1.05;
    letter-spacing:-.045em;
}

.hf-success-hero p{
    margin:8px 0 0;
    max-width:720px;
    color:#8fa2bf;
    font-size:14px;
    line-height:1.55;
}

.hf-success-alert{
    margin-bottom:16px;
    padding:13px 15px;
    border-radius:16px;
    font-size:14px;
    font-weight:850;
}

.hf-success-alert.success{
    background:rgba(34,197,94,.12);
    border:1px solid rgba(34,197,94,.35);
    color:#86efac;
}

.hf-success-alert.error{
    background:rgba(239,68,68,.13);
    border:1px solid rgba(239,68,68,.36);
    color:#ff9cad;
}

.hf-success-layout{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 340px;
    gap:18px;
    align-items:start;
}

.hf-success-card,
.hf-success-summary{
    border-radius:22px;
    border:1px solid rgba(48,70,110,.95);
    background:
        radial-gradient(circle at top left, rgba(47,107,255,.10), transparent 34%),
        #080f1c;
    box-shadow:0 18px 48px rgba(0,0,0,.22);
}

.hf-success-card{
    overflow:hidden;
}

.hf-success-card-head{
    min-height:72px;
    padding:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    border-bottom:1px solid #1d2d47;
    background:rgba(255,255,255,.02);
}

.hf-success-card-head h2,
.hf-success-summary h2{
    margin:0;
    color:#fff;
    font-size:20px;
    letter-spacing:-.03em;
}

.hf-success-card-head p{
    margin:5px 0 0;
    color:#8fa2bf;
    font-size:13px;
}

.hf-success-card-head > span{
    display:inline-flex;
    min-height:30px;
    align-items:center;
    padding:0 12px;
    border-radius:999px;
    border:1px solid rgba(47,107,255,.34);
    background:rgba(47,107,255,.11);
    color:#b9ccff;
    font-size:12px;
    font-weight:1000;
    white-space:nowrap;
}

.hf-success-download-list{
    display:grid;
}

.hf-success-download{
    display:grid;
    grid-template-columns:76px minmax(0, 1fr) 100px auto;
    gap:16px;
    align-items:center;
    padding:14px 18px;
    border-bottom:1px solid rgba(29,45,71,.82);
}

.hf-success-download:last-child{
    border-bottom:0;
}

.hf-success-thumb{
    width:76px;
    height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:17px;
    background:#0c1628;
    border:1px solid #223452;
    color:#8db1ff;
    font-weight:1000;
    text-decoration:none;
}

.hf-success-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hf-success-title{
    display:block;
    color:#fff !important;
    text-decoration:none;
    font-size:15px;
    font-weight:1000;
    line-height:1.25;
    margin-bottom:8px;
}

.hf-success-title:hover{
    color:#9bb7ff !important;
}

.hf-success-meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.hf-success-meta span{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:0 9px;
    border-radius:999px;
    background:#0c1628;
    border:1px solid #223452;
    color:#8fa2bf;
    font-size:12px;
    font-weight:850;
}

.hf-success-badge.completed,
.hf-success-badge.paid{
    background:rgba(34,197,94,.12) !important;
    border-color:rgba(34,197,94,.35) !important;
    color:#86efac !important;
}

.hf-success-badge.pending,
.hf-success-badge.processing{
    background:rgba(255,179,71,.13) !important;
    border-color:rgba(255,179,71,.38) !important;
    color:#ffd18a !important;
}

.hf-success-badge.failed,
.hf-success-badge.expired,
.hf-success-badge.cancelled{
    background:rgba(239,68,68,.14) !important;
    border-color:rgba(239,68,68,.38) !important;
    color:#ff9cad !important;
}

.hf-success-price{
    text-align:right;
}

.hf-success-price small{
    display:block;
    margin-bottom:5px;
    color:#8fa2bf;
    font-size:12px;
    font-weight:850;
}

.hf-success-price strong{
    color:#fff;
    font-size:16px;
    font-weight:1000;
}

.hf-success-download-btn,
.hf-success-primary,
.hf-success-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 15px;
    border-radius:14px;
    text-decoration:none;
    font-size:13px;
    font-weight:1000;
}

.hf-success-download-btn,
.hf-success-primary{
    background:linear-gradient(135deg, #2f6bff, #5b7cff);
    color:#fff !important;
    box-shadow:0 14px 32px rgba(47,107,255,.22);
}

.hf-success-secondary{
    background:#0c1628;
    border:1px solid #223452;
    color:#dbe8ff !important;
}

.hf-success-summary{
    position:sticky;
    top:18px;
    padding:18px;
}

.hf-success-step{
    display:grid;
    grid-template-columns:32px minmax(0, 1fr);
    gap:11px;
    align-items:start;
    padding:14px 0;
    border-top:1px solid #1d2d47;
}

.hf-success-step:first-of-type{
    margin-top:14px;
}

.hf-success-step b{
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(47,107,255,.11);
    border:1px solid rgba(47,107,255,.34);
    color:#b9ccff;
    font-size:13px;
}

.hf-success-step span{
    color:#8fa2bf;
    font-size:13px;
    line-height:1.45;
}

.hf-success-actions{
    display:grid;
    gap:10px;
    margin-top:16px;
}

.hf-success-empty{
    padding:34px 18px;
    text-align:center;
}

.hf-success-empty h3{
    margin:0;
    color:#fff;
}

.hf-success-empty p{
    margin:8px auto 18px;
    max-width:420px;
    color:#8fa2bf;
}

@media(max-width:980px){
    .hf-success-layout{
        grid-template-columns:1fr;
    }

    .hf-success-summary{
        position:static;
    }
}

@media(max-width:720px){
    .hf-success-page{
        width:min(100% - 20px, 1180px);
        padding-top:18px;
    }

    .hf-success-hero{
        align-items:flex-start;
        flex-direction:column;
        padding:18px;
    }

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

    .hf-success-download{
        grid-template-columns:64px minmax(0, 1fr);
    }

    .hf-success-thumb{
        width:64px;
        height:64px;
    }

    .hf-success-price,
    .hf-success-download-btn{
        grid-column:2;
        justify-self:start;
        text-align:left;
    }
}



/* ================================
   HiddenFiles Account Purchases Page
   ================================ */

.hf-account-purchases-cta{
    width:100%;
    margin:0 0 20px;
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-radius:22px;
    border:1px solid rgba(48,70,110,.95);
    background:
        radial-gradient(circle at top left, rgba(47,107,255,.15), transparent 32%),
        linear-gradient(180deg, #0b1220 0%, #070c16 100%);
    box-shadow:0 18px 48px rgba(0,0,0,.20);
}

.hf-account-purchases-cta span{
    display:inline-flex;
    margin-bottom:8px;
    color:#8db1ff;
    font-size:12px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.hf-account-purchases-cta h2{
    margin:0;
    color:#fff;
    font-size:22px;
    letter-spacing:-.03em;
}

.hf-account-purchases-cta p{
    margin:6px 0 0;
    color:#8fa2bf;
    font-size:14px;
}

.hf-account-purchases-cta a{
    min-height:44px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:linear-gradient(135deg, #2f6bff, #5b7cff);
    color:#fff !important;
    text-decoration:none;
    font-size:14px;
    font-weight:1000;
    white-space:nowrap;
    box-shadow:0 14px 32px rgba(47,107,255,.22);
}

.hf-purchases-page{
    width:min(1180px, calc(100% - 32px));
    margin:0 auto;
    padding:34px 0 58px;
}

.hf-purchases-hero{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:20px;
    padding:24px;
    border-radius:24px;
    border:1px solid rgba(48,70,110,.95);
    background:
        radial-gradient(circle at top left, rgba(47,107,255,.16), transparent 34%),
        linear-gradient(180deg, #0b1220 0%, #070c16 100%);
    box-shadow:0 20px 55px rgba(0,0,0,.24);
}

.hf-purchases-eyebrow{
    display:inline-flex;
    margin-bottom:10px;
    color:#8db1ff;
    font-size:12px;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.hf-purchases-hero h1{
    margin:0;
    color:#fff;
    font-size:34px;
    line-height:1.05;
    letter-spacing:-.045em;
}

.hf-purchases-hero p{
    margin:8px 0 0;
    max-width:650px;
    color:#8fa2bf;
    font-size:14px;
    line-height:1.55;
}

.hf-purchases-hero-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.hf-purchases-primary,
.hf-purchases-secondary,
.hf-purchase-download,
.hf-purchase-view,
.hf-purchases-contact{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 15px;
    border-radius:14px;
    text-decoration:none;
    font-size:13px;
    font-weight:1000;
}

.hf-purchases-primary,
.hf-purchase-download{
    background:linear-gradient(135deg, #2f6bff, #5b7cff);
    color:#fff !important;
    box-shadow:0 14px 32px rgba(47,107,255,.22);
}

.hf-purchases-secondary,
.hf-purchase-view,
.hf-purchases-contact{
    background:#0c1628;
    border:1px solid #223452;
    color:#dbe8ff !important;
}

.hf-purchases-alert{
    margin-bottom:16px;
    padding:13px 15px;
    border-radius:16px;
    font-size:14px;
    font-weight:850;
}

.hf-purchases-alert.error{
    background:rgba(239,68,68,.13);
    border:1px solid rgba(239,68,68,.36);
    color:#ff9cad;
}

.hf-purchases-shell{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 330px;
    gap:18px;
    align-items:start;
}

.hf-purchases-card,
.hf-purchases-side-card{
    border-radius:22px;
    border:1px solid rgba(48,70,110,.95);
    background:
        radial-gradient(circle at top left, rgba(47,107,255,.10), transparent 34%),
        #080f1c;
    box-shadow:0 18px 48px rgba(0,0,0,.22);
}

.hf-purchases-card{
    overflow:hidden;
}

.hf-purchases-card-head{
    min-height:72px;
    padding:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    border-bottom:1px solid #1d2d47;
    background:rgba(255,255,255,.02);
}

.hf-purchases-card-head h2,
.hf-purchases-side-card h2{
    margin:0;
    color:#fff;
    font-size:20px;
    letter-spacing:-.03em;
}

.hf-purchases-card-head p{
    margin:5px 0 0;
    color:#8fa2bf;
    font-size:13px;
}

.hf-purchases-card-head > span{
    display:inline-flex;
    min-height:30px;
    align-items:center;
    padding:0 12px;
    border-radius:999px;
    border:1px solid rgba(47,107,255,.34);
    background:rgba(47,107,255,.11);
    color:#b9ccff;
    font-size:12px;
    font-weight:1000;
    white-space:nowrap;
}

.hf-purchases-list{
    display:grid;
}

.hf-purchase-row{
    display:grid;
    grid-template-columns:76px minmax(0, 1fr) 100px 170px;
    gap:16px;
    align-items:center;
    padding:14px 18px;
    border-bottom:1px solid rgba(29,45,71,.82);
}

.hf-purchase-row:last-child{
    border-bottom:0;
}

.hf-purchase-thumb{
    width:76px;
    height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:17px;
    background:#0c1628;
    border:1px solid #223452;
    color:#8db1ff;
    font-weight:1000;
    text-decoration:none;
}

.hf-purchase-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hf-purchase-title{
    display:block;
    color:#fff !important;
    text-decoration:none;
    font-size:15px;
    font-weight:1000;
    line-height:1.25;
    margin-bottom:8px;
}

.hf-purchase-title:hover{
    color:#9bb7ff !important;
}

.hf-purchase-meta,
.hf-purchase-badges{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.hf-purchase-meta span{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:0 9px;
    border-radius:999px;
    background:#0c1628;
    border:1px solid #223452;
    color:#8fa2bf;
    font-size:12px;
    font-weight:850;
}

.hf-purchase-badges{
    margin-top:8px;
}

.hf-purchase-badge{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:0 9px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,.28);
    background:rgba(148,163,184,.12);
    color:#cbd5e1;
    font-size:11px;
    font-weight:1000;
    font-style:normal;
    text-transform:capitalize;
}

.hf-purchase-badge.completed,
.hf-purchase-badge.paid{
    background:rgba(34,197,94,.12);
    border-color:rgba(34,197,94,.35);
    color:#86efac;
}

.hf-purchase-badge.pending,
.hf-purchase-badge.processing{
    background:rgba(255,179,71,.13);
    border-color:rgba(255,179,71,.38);
    color:#ffd18a;
}

.hf-purchase-badge.failed,
.hf-purchase-badge.expired,
.hf-purchase-badge.cancelled{
    background:rgba(239,68,68,.14);
    border-color:rgba(239,68,68,.38);
    color:#ff9cad;
}

.hf-purchase-price{
    text-align:right;
}

.hf-purchase-price small{
    display:block;
    margin-bottom:5px;
    color:#8fa2bf;
    font-size:12px;
    font-weight:850;
}

.hf-purchase-price strong{
    color:#fff;
    font-size:16px;
    font-weight:1000;
}

.hf-purchase-actions{
    display:grid;
    gap:9px;
}

.hf-purchase-disabled{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 15px;
    border-radius:14px;
    background:rgba(148,163,184,.10);
    border:1px solid rgba(148,163,184,.22);
    color:#8fa2bf;
    font-size:13px;
    font-weight:1000;
}

.hf-purchases-empty{
    padding:42px 18px;
    text-align:center;
}

.hf-purchases-empty-icon{
    width:68px;
    height:68px;
    margin:0 auto 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:22px;
    background:#0c1628;
    border:1px solid #223452;
    color:#8db1ff;
    font-size:32px;
    font-weight:1000;
}

.hf-purchases-empty h3{
    margin:0;
    color:#fff;
    font-size:22px;
}

.hf-purchases-empty p{
    margin:8px auto 18px;
    max-width:420px;
    color:#8fa2bf;
}

.hf-purchases-side-card{
    position:sticky;
    top:18px;
    padding:18px;
}

.hf-purchases-info-row{
    padding:14px 0;
    border-top:1px solid #1d2d47;
}

.hf-purchases-info-row:first-of-type{
    margin-top:12px;
}

.hf-purchases-info-row b{
    display:block;
    color:#fff;
    font-size:18px;
    margin-bottom:4px;
}

.hf-purchases-info-row span{
    display:block;
    color:#8fa2bf;
    font-size:13px;
    line-height:1.45;
}

.hf-purchases-contact{
    width:100%;
    margin-top:14px;
}

@media(max-width:1050px){
    .hf-purchases-shell{
        grid-template-columns:1fr;
    }

    .hf-purchases-side-card{
        position:static;
    }
}

@media(max-width:780px){
    .hf-account-purchases-cta,
    .hf-purchases-hero{
        align-items:flex-start;
        flex-direction:column;
    }

    .hf-purchases-page{
        width:min(100% - 20px, 1180px);
        padding-top:18px;
    }

    .hf-purchase-row{
        grid-template-columns:64px minmax(0, 1fr);
    }

    .hf-purchase-thumb{
        width:64px;
        height:64px;
    }

    .hf-purchase-price,
    .hf-purchase-actions{
        grid-column:2;
        text-align:left;
    }
}

