body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f5f7f9;
    color:#222;
}

*{
    box-sizing:border-box;
}

html, body{
    overflow-x:hidden;
}

a{
    color:inherit;
}

img{
    max-width:100%;
    height:auto;
}

/* MAIN CONTAINER */
.container{
    width:min(95%, 1400px);
    max-width:1400px;
    margin:20px auto;
    padding:20px 25px 35px;
    background:#fff;
    border:1px solid #e3e7eb;
    border-radius:20px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    overflow:hidden;
}

.page-shell{
    width:min(95%, 1400px);
    max-width:1400px;
    margin:20px auto 40px;
}

/* HEADER */
.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    padding-bottom:15px;
}

/* LOGO */
.logo{
    background:#fff;
    padding:8px 12px;
    border-radius:14px;
    display:flex;
    align-items:center;
    flex:0 0 auto;
}

.logo a{
    text-decoration:none;
    outline:none;
    display:inline-block;
}

.logo img{
    height:100px;
    width:auto;
    cursor:pointer;
    transition:0.3s;
    display:block;
}

.logo img:hover{
    transform:scale(1.03);
}

/* SEARCH */
.search-form{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1 1 380px;
    min-width:260px;
    position:relative;
}

.search-wrapper{
    position:relative;
    width:100%;
    max-width:430px;
}

.search-input{
    width:100%;
    height:46px;
    padding:0 52px 0 18px;
    border-radius:999px;
    border:1px solid #d7dde3;
    outline:none;
    font-size:14px;
    background:#fff;
    transition:0.3s;
}

.search-input:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus{
    border-color:#35526d;
    box-shadow:0 0 0 3px rgba(53,82,109,0.12);
}

.search-btn-inside{
    position:absolute;
    top:50%;
    right:6px;
    transform:translateY(-50%);
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    background:#35526d;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:0.3s;
    padding:0;
    margin:0;
    font-size:14px;
    line-height:1;
}

.search-btn-inside:hover{
    background:#3f5f7d;
    transform:translateY(-50%) scale(1.05);
}

.search-btn-inside i{
    font-size:14px;
    line-height:1;
}

/* LIVE SEARCH */
.live-search-box{
    position:absolute;
    top:52px;
    left:0;
    right:0;
    background:#fff;
    border:1px solid #e4e8ec;
    border-radius:14px;
    box-shadow:0 10px 24px rgba(0,0,0,0.10);
    z-index:999;
    overflow:hidden;
    display:none;
}

.live-search-item{
    display:block;
    padding:12px 16px;
    text-decoration:none;
    border-bottom:1px solid #f1f1f1;
    transition:0.2s;
    color:#222;
    background:#fff;
}

.live-search-item:last-child{
    border-bottom:none;
}

.live-search-item:hover{
    background:#eef3f7;
    color:#35526d;
}

.live-search-title{
    font-weight:700;
    display:block;
    margin-bottom:4px;
}

.live-search-desc{
    font-size:13px;
    color:#666;
    line-height:1.4;
}

.live-search-empty{
    padding:12px 16px;
    color:#777;
    font-size:14px;
    background:#fff;
}

/* HEADER RIGHT */
.header-right{
    display:flex;
    align-items:center;
    gap:14px;
    flex:0 0 auto;
}

.cart-icon-link{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#35526d;
    color:white;
    text-decoration:none;
    border-radius:50%;
    font-size:22px;
    transition:0.3s;
    box-shadow:0 4px 10px rgba(53,82,109,0.18);
    position:relative;
    flex-shrink:0;
}

.cart-icon-link:hover{
    background:#3f5f7d;
    transform:scale(1.06);
}

.cart-badge-wrap{
    position:relative;
}

.cart-badge{
    position:absolute;
    top:-6px;
    right:-6px;
    min-width:20px;
    height:20px;
    padding:0 5px;
    border-radius:999px;
    background:#ff3b30;
    color:#fff;
    font-size:11px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid #fff;
    line-height:1;
}

/* PROFILE */
.profile-area{
    position:relative;
    cursor:pointer;
}

.profile-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #ddd;
    background:#fff;
    box-shadow:0 4px 10px rgba(53,82,109,0.10);
    display:block;
}

.dropdown{
    display:none;
    position:absolute;
    right:0;
    top:58px;
    background:#f4f7fa;
    padding:14px;
    border-radius:14px;
    width:200px;
    z-index:1000;
    box-shadow:0 10px 20px rgba(0,0,0,0.16);
    border:1px solid #e3e7eb;
}

.dropdown a{
    display:block;
    text-decoration:none;
    background:#edf2f6;
    color:#222;
    padding:10px;
    margin:8px 0;
    border-radius:10px;
    text-align:center;
    font-weight:bold;
    transition:0.3s;
}

.dropdown a:hover{
    background:#dde6ee;
}

.show{
    display:block;
}

.logout-link{
    color:red !important;
}

.greeting-text{
    text-align:center;
    font-weight:bold;
    margin-bottom:10px;
    color:#333;
    font-size:14px;
    border-bottom:1px solid #dde4ea;
    padding-bottom:8px;
}

/* NAVBAR */
.nav{
    margin-top:10px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:70px;
    font-size:19px;
    font-weight:600;
    padding:18px 0 12px;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    flex-wrap:wrap;
    text-align:center;
}

.nav a{
    text-decoration:none;
    color:#111;
    transition:0.3s;
    padding:8px 14px;
    border-radius:10px;
    letter-spacing:0.3px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:100px;
}

.nav a:hover,
.nav a.active{
    color:#000;
    background:#d9e4ef;
}

/* TEXT HELPERS */
.msg{
    text-align:center;
    color:#b54747;
    font-weight:bold;
    margin-top:15px;
}

.success-msg{
    text-align:center;
    color:#2f6f44;
    font-weight:bold;
    margin-top:15px;
}

.search-msg{
    text-align:center;
    margin-top:20px;
    font-weight:bold;
    color:#35526d;
}

.section-title{
    text-align:center;
    font-size:20px;
    font-weight:700;
    margin:10px 0 25px;
    color:#222;
}

.section-subtitle{
    text-align:center;
    color:#666;
    margin:-8px 0 24px;
}

/* BUTTONS */
.input-box{
    padding:15px;
    border:none;
    border-radius:15px;
    background:#d9e1e8;
    width:180px;
    text-align:center;
    font-weight:bold;
}

.login-btn,
.primary-btn,
.secondary-btn,
.danger-btn,
.ghost-btn{
    display:inline-block;
    padding:12px 20px;
    border:none;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
    font-size:14px;
    text-align:center;
    white-space:normal;
}

.login-btn,
.primary-btn{
    background:linear-gradient(to right,#35526d,#4b6782);
    color:white;
}

.login-btn:hover,
.primary-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(53,82,109,0.20);
}

.secondary-btn{
    background:#eef2f5;
    color:#333;
}

.secondary-btn:hover{
    background:#e2e8ee;
}

.danger-btn{
    background:#b54747;
    color:#fff;
}

.danger-btn:hover{
    background:#9f3d3d;
}

.ghost-btn{
    background:#eef3f7;
    color:#35526d;
}

.ghost-btn:hover{
    background:#dbe5ee;
}

.login-row{
    display:flex;
    gap:10px;
    align-items:center;
}

.account-row{
    width:100%;
    text-align:center;
    margin-top:8px;
    font-size:13px;
}

.divider{
    margin:0 8px;
    color:#888;
}

.forgot-link,
.signup-link{
    color:#35526d;
    text-decoration:none;
}

.forgot-link:hover,
.signup-link:hover{
    text-decoration:underline;
}

/* SLIDESHOW */
.slideshow-container{
    width:100%;
    position:relative;
    margin:25px 0 35px;
    overflow:hidden;
    border-radius:18px;
    background:#ffffff;
}

.slideshow-track{
    display:flex;
    width:100%;
    will-change:transform;
}

.mySlides{
    min-width:100%;
    flex:0 0 50%;
    text-align:center;
}

.mySlides img{
    width:100%;
    height:550px;
    object-fit:cover;
    display:block;
}

/* FORM CONTROLS */
.form-grid{
    display:grid;
    gap:16px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.form-label{
    font-weight:700;
    color:#333;
}

.form-input,
.form-textarea,
.form-select,
.state-dropdown{
    width:100%;
    padding:13px 14px;
    border:1px solid #d7dde3;
    border-radius:14px;
    background-color:#fff;
    font-size:14px;
    color:#333;
    outline:none;
}

.form-textarea{
    min-height:120px;
    resize:vertical;
}

/* PRODUCT GRID */
.product-container{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:20px;
    margin:20px auto 0;
    padding-bottom:20px;
    max-width:900px;
}

.product-card{
    width:100%;
    max-width:100%;
    min-width:0;
    background:#fff;
    border:1px solid #e4e8ec;
    border-radius:14px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:0.3s;
    text-align:center;
    cursor:pointer;
    box-shadow:0 3px 10px rgba(0,0,0,0.04);
}

.product-card:hover{
    box-shadow:0 8px 20px rgba(0,0,0,0.10);
    transform:translateY(-4px);
}

.image-wrapper{
    position:relative;
    width:100%;
    height:220px;
    background:#f6f8fa;
    overflow:hidden;
}

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

.badge{
    position:absolute;
    top:10px;
    right:10px;
    background:#b54747;
    color:white;
    padding:4px 10px;
    font-size:10px;
    font-weight:bold;
    border-radius:20px;
    z-index:2;
}

.product-info{
    padding:16px;
    flex-grow:1;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.product-info h3{
    font-size:17px;
    margin:0 0 10px;
    color:#333;
}

.product-info p{
    font-size:13px;
    color:#666;
    line-height:1.5;
    margin:0 0 16px;
}

.see-details{
    display:inline-block;
    padding:10px 16px;
    background:#35526d;
    color:white;
    border-radius:12px;
    font-size:13px;
    text-decoration:none;
    transition:0.3s;
    font-weight:600;
    text-align:center;
}

.see-details:hover{
    background:#3f5f7d;
}

/* HOME PRODUCTS */
.home-products-wrap{
    width:100%;
}

.home-products{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
    max-width:900px;
    margin:0 auto;
    align-items:start;
}

/* SHARED CONTENT CARDS */
.content-card,
.detail-card,
.form-card,
.cart-card,
.help-card,
.order-gallery,
.order-form-card,
.info-box,
.terms-page-card,
.wristband-choice-card{
    width:100%;
    max-width:100%;
    background:#fff;
    border:1px solid #e4e8ec;
    border-radius:20px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.detail-card,
.form-card,
.cart-card{
    padding:30px;
}

.detail-card{
    max-width:1100px;
    margin:0 auto 30px;
}

.detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    align-items:start;
}

.detail-image{
    background:#f6f8fa;
    border-radius:18px;
    overflow:hidden;
}

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

.detail-info h1{
    margin:0 0 14px;
    color:#222;
}

.detail-info p{
    color:#666;
    line-height:1.7;
    margin:0 0 12px;
}

.meta-list{
    display:grid;
    gap:8px;
    margin:18px 0;
}

.meta-item{
    color:#444;
}

.price-tag{
    font-size:30px;
    font-weight:800;
    color:#35526d;
    margin:20px 0;
}

.action-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
}

.action-row a,
.submit-row a,
.submit-row button{
    flex:1 1 180px;
}

/* HELP PAGE */
.help-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
    margin-top:25px;
    align-items:start;
}

.help-card{
    padding:24px;
}

.help-card h2{
    margin:0 0 14px;
    color:#35526d;
    border-bottom:2px solid #f0f0f0;
    padding-bottom:10px;
    font-size:22px;
}

.help-card p{
    color:#555;
    line-height:1.7;
}

.map-container{
    width:100%;
    height:260px;
    margin-top:16px;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #e8e8e8;
}

iframe{
    width:100%;
    height:100%;
    border:0;
}

/* FORM PAGE */
.form-page{
    min-height:calc(100vh - 80px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px 15px;
}

.form-card{
    width:100%;
    max-width:460px;
}

.form-title{
    margin:0 0 8px;
    color:#222;
    text-align:center;
}

.form-desc{
    margin:0 0 22px;
    color:#666;
    text-align:center;
}

.full-btn{
    width:100%;
}

.back-link{
    display:inline-block;
    margin-top:16px;
    text-decoration:none;
    color:#35526d;
    font-weight:700;
}

.back-link:hover{
    text-decoration:underline;
}

/* ORDER PAGE */
.order-layout{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:30px;
    margin-top:25px;
    align-items:start;
}

.order-gallery,
.order-form-card,
.info-box{
    background:#fff;
    border:1px solid #e4e8ec;
    border-radius:20px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.order-gallery{
    padding:22px;
}

.order-gallery h2,
.order-form-card h2{
    margin:0 0 16px;
    color:#222;
    font-size:24px;
}

.preview-main{
    width:100%;
    height:360px;
    border-radius:16px;
    overflow:hidden;
    background:#f6f8fa;
    border:1px solid #ececec;
    margin-bottom:16px;
}

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

.preview-thumbs{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:12px;
}

.preview-thumbs img{
    width:100%;
    height:110px;
    object-fit:cover;
    border-radius:14px;
    border:1px solid #e8e8e8;
    background:#f6f8fa;
    cursor:pointer;
    transition:0.3s;
}

.preview-thumbs img:hover{
    transform:translateY(-2px);
    box-shadow:0 5px 12px rgba(0,0,0,0.08);
}

.order-form-card{
    padding:26px;
}

.order-form-card .form-grid{
    gap:18px;
}

.inline-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    align-items:start;
}

.size-options{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.size-option{
    position:relative;
    width:auto;
}

.size-option input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.size-option label{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:120px;
    padding:12px 18px;
    border:2px solid #ddd;
    border-radius:14px;
    background:#fff;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
}

.size-option input:checked + label{
    border-color:#35526d;
    background:#eef3f7;
    color:#35526d;
}

.qty-input{
    text-align:center;
    font-weight:700;
    font-size:16px;
}

.info-box{
    padding:18px 20px;
    margin-top:18px;
    background:#f6f8fa;
    border:1px solid #dbe5ee;
}

.info-box h3{
    margin:0 0 10px;
    color:#35526d;
    font-size:18px;
}

.info-box p{
    margin:6px 0;
    color:#555;
    line-height:1.6;
    font-size:14px;
}

.note-text{
    font-size:13px;
    color:#777;
    margin-top:4px;
}

.upload-box{
    padding:16px;
    border:2px dashed #c7d3dd;
    border-radius:14px;
    background:#f6f8fa;
    text-align:center;
}

.upload-box input[type="file"]{
    width:100%;
}

.submit-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:8px;
}

.submit-row .primary-btn,
.submit-row .secondary-btn{
    min-width:160px;
    text-align:center;
}

.order-badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    background:#eef3f7;
    color:#35526d;
    font-size:12px;
    font-weight:700;
    margin-bottom:12px;
}

.highlight-box{
    padding:14px 16px;
    border-radius:14px;
    background:#f5f7f9;
    border:1px solid #ececec;
    color:#555;
    line-height:1.6;
    font-size:14px;
}

/* CART */
.cart-card{
    max-width:1100px;
    margin:0 auto 30px;
}

.cart-title{
    text-align:center;
    margin:0 0 30px;
    color:#222;
}

.cart-item{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    padding:20px 0;
    border-bottom:1px solid #eee;
    flex-wrap:wrap;
}

.cart-left{
    display:flex;
    align-items:flex-start;
    gap:18px;
    flex:1 1 auto;
    min-width:260px;
}

.cart-left img{
    width:130px;
    height:130px;
    object-fit:cover;
    border-radius:14px;
    background:#f6f8fa;
    flex-shrink:0;
}

.cart-info{
    flex:1 1 auto;
    min-width:0;
}

.cart-info h3{
    margin:0 0 8px;
    color:#333;
    word-wrap:break-word;
    overflow-wrap:break-word;
}

.cart-info p{
    margin:4px 0;
    color:#666;
    word-wrap:break-word;
    overflow-wrap:break-word;
}

.cart-right{
    text-align:right;
    min-width:auto;
}

.cart-total{
    text-align:right;
    font-size:26px;
    font-weight:bold;
    margin-top:28px;
    color:#35526d;
    word-break:break-word;
}

.empty-cart{
    text-align:center;
    color:#777;
    font-size:18px;
    padding:30px 0;
}

/* PRICE GUIDE TABLE */
.price-guide-box{
    background:#eef3f7;
    border:1px solid #d6e0e8;
    border-radius:20px;
    padding:25px;
    margin-top:20px;
    overflow-x:auto;
}

.price-guide-box h3{
    margin-bottom:15px;
    color:#35526d;
    font-size:22px;
}

.price-table{
    width:100%;
    min-width:560px;
    border-collapse:collapse;
    font-size:14px;
    overflow:hidden;
    border-radius:14px;
}

.price-table thead{
    background:#35526d;
    color:white;
}

.price-table th,
.price-table td{
    padding:12px 15px;
    text-align:left;
}

.price-table tbody tr{
    background:#fff;
    border-bottom:1px solid #eee;
    transition:0.2s;
}

.price-table tbody tr:hover{
    background:#eef3f7;
}

.price-table td:last-child{
    font-weight:bold;
    color:#333;
}

.highlight-row{
    background:#f4f7fa !important;
    font-weight:bold;
    color:#35526d;
}

/* WAH WRISTBAND FOOTER */
.wf-footer{
    margin-top:60px;
    background:#eef3f7;
    color:#243447;
    border-top:3px solid #35526d;
    width:100%;
}

.wf-footer-top{
    width:min(100%, 1200px);
    max-width:1200px;
    margin:0 auto;
    padding:24px 25px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    border-bottom:1px solid #d8e0e8;
}

.wf-feature{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:10px;
    color:#35526d;
    font-weight:700;
    font-size:15px;
}

.wf-feature i{
    font-size:28px;
    color:#35526d;
}

.wf-footer-main{
    background:#eef4f9;
}

.wf-footer-grid{
    width:min(100%, 1200px);
    max-width:1200px;
    margin:0 auto;
    padding:38px 25px;
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:35px;
}

.wf-footer-col h3{
    margin:0 0 10px;
    font-size:30px;
    font-weight:800;
    color:#22384d;
}

.wf-footer-col h4{
    margin:0 0 14px;
    font-size:19px;
    font-weight:700;
    color:#22384d;
}

.wf-footer-col p{
    margin:0 0 10px;
    font-size:14px;
    line-height:1.7;
    color:#556575;
    word-wrap:break-word;
    overflow-wrap:break-word;
}

.wf-tagline{
    color:#35526d !important;
    font-weight:700;
    margin-bottom:14px !important;
}

.wf-footer-col a{
    display:block;
    text-decoration:none;
    color:#556575;
    margin:8px 0;
    font-size:14px;
    transition:0.25s ease;
    word-wrap:break-word;
    overflow-wrap:break-word;
}

.wf-footer-col a:hover{
    color:#35526d;
    transform:translateX(4px);
}

.wf-socials{
    display:flex;
    gap:12px;
    margin-top:18px;
}

.wf-socials a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#ffffff;
    color:#35526d;
    border:1px solid #d8e1e8;
    font-size:17px;
    box-shadow:0 4px 10px rgba(0,0,0,0.06);
    transition:0.25s ease;
    margin:0;
}

.wf-socials a:hover{
    background:#35526d;
    color:#fff;
    transform:translateY(-2px);
}

.wf-footer-bottom{
    background:#dfe7ee;
    border-top:1px solid #cfd8e1;
    text-align:center;
    padding:16px 20px;
}

.wf-footer-bottom p{
    margin:0;
    font-size:13px;
    color:#5b6976;
}

/* WHATSAPP FLOAT */
.wa-float{
    position:fixed;
    bottom:25px;
    right:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#2d8b57;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 18px rgba(0,0,0,0.20);
    z-index:9999;
    transition:0.3s;
    text-decoration:none;
}

.wa-float:hover{
    transform:scale(1.08);
    box-shadow:0 10px 22px rgba(0,0,0,0.25);
}

.wa-float img{
    width:30px;
    height:30px;
    display:block;
}

/* EXTRA PAGES */
.wristband-top-actions{
    display:flex;
    justify-content:flex-start;
    margin-bottom:18px;
}

.wristband-back-btn{
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.terms-page-card{
    padding:34px;
    border-radius:24px;
}

.legal-copy{
    margin-bottom:30px;
}

.terms-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px;
    align-items:start;
}

.terms-block{
    background:#fff;
    border:1px solid #d9e3ec;
    border-radius:20px;
    padding:24px;
    box-shadow:0 8px 22px rgba(31,59,87,0.06);
}

.terms-block h2{
    margin:0 0 12px;
    font-size:20px;
    color:#223648;
}

.terms-block p{
    margin:0 0 12px;
    color:#5b6773;
    line-height:1.75;
}

.terms-block p:last-child{
    margin-bottom:0;
}

/* RESPONSIVE */
/* RESPONSIVE */
@media (max-width:1100px){
    .nav{
        gap:40px;
    }
}

@media (max-width:992px){
    .container{
        padding:18px;
    }

    .page-shell{
        margin:18px auto 32px;
    }

    .header{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        flex-wrap:nowrap;
        gap:12px;
        padding-bottom:12px;
    }

    .logo{
        flex:0 0 auto;
        padding:4px 6px;
    }

    .logo img{
        height:68px;
    }

    .search-form{
        flex:1 1 auto;
        min-width:0;
        width:auto;
        margin:0;
        justify-content:center;
    }

    .search-wrapper{
        width:100%;
        max-width:none;
    }

    .search-input{
        height:44px;
        font-size:14px;
        padding:0 48px 0 14px;
    }

    .search-btn-inside{
        width:32px;
        height:32px;
        right:6px;
    }

    .header-right{
        display:flex;
        align-items:center;
        justify-content:flex-end;
        gap:8px;
        flex:0 0 auto;
        flex-wrap:nowrap;
    }

    .cart-icon-link{
        width:44px;
        height:44px;
        font-size:20px;
    }

    .profile-icon{
        width:44px;
        height:44px;
    }

    .dropdown{
        right:0;
        top:54px;
        width:190px;
    }

    .nav{
        gap:14px 18px;
        font-size:16px;
        padding:14px 0 10px;
    }

    .nav a{
        min-width:90px;
    }

    .detail-grid,
    .help-grid,
    .order-layout,
    .inline-grid,
    .terms-grid{
        grid-template-columns:1fr;
    }

    .product-container,
    .home-products{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:16px;
    }

    .preview-main{
        height:300px;
    }

    .wf-footer-top{
        grid-template-columns:repeat(2, 1fr);
    }

    .wf-footer-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:24px;
    }

    .mySlides img{
        height:340px;
    }
}

@media (max-width:768px){
    body{
        font-size:14px;
    }

    .container{
        width:96% !important;
        margin:10px auto;
        padding:10px !important;
        border-radius:16px;
    }

    .page-shell{
        width:96% !important;
        margin:10px auto 20px !important;
    }

    .header{
        gap:8px;
    }

    .logo{
        padding:2px 4px;
    }

    .logo img{
        height:48px;
    }

    .search-form{
        min-width:0;
        flex:1 1 auto;
    }

    .search-wrapper{
        width:100%;
        max-width:none;
    }

    .search-input{
        height:40px;
        font-size:13px;
        padding:0 44px 0 12px;
    }

    .search-btn-inside{
        width:30px;
        height:30px;
        right:5px;
    }

    .header-right{
        gap:6px;
    }

    .cart-icon-link{
        width:38px;
        height:38px;
        font-size:18px;
    }

    .profile-icon{
        width:38px;
        height:38px;
    }

    .cart-badge{
        min-width:18px;
        height:18px;
        font-size:10px;
        top:-4px;
        right:-4px;
    }

    .nav{
        gap:10px;
        font-size:15px;
        padding:12px 0 10px;
    }

    .nav a{
        min-width:84px;
        padding:8px 10px;
    }

    .section-title{
        font-size:18px;
        line-height:1.4;
    }

    .detail-card,
    .form-card,
    .cart-card,
    .help-card,
    .order-gallery,
    .order-form-card,
    .info-box,
    .terms-page-card,
    .wristband-choice-card{
        padding:14px !important;
        border-radius:16px;
    }

    /* product cards */
    .product-container,
    .home-products{
        display:grid !important;
        grid-template-columns:repeat(2, 1fr) !important;
        gap:10px !important;
        max-width:100% !important;
        align-items:start;
    }

    .product-card{
        width:100% !important;
        min-width:0 !important;
        border-radius:12px;
    }

    .image-wrapper{
        height:120px !important;
    }

    .product-info{
        padding:10px !important;
    }

    .product-info h3{
        font-size:14px !important;
        line-height:1.3 !important;
        margin:0 0 6px !important;
    }

    .product-info p{
        font-size:11px !important;
        line-height:1.35 !important;
        margin:0 0 10px !important;
    }

    .see-details{
        display:block !important;
        width:100% !important;
        padding:8px 10px !important;
        font-size:11px !important;
        border-radius:10px !important;
    }

    .mySlides img{
        height:220px;
    }

    .preview-thumbs{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:10px;
    }

    .preview-thumbs img{
        height:90px;
    }

    /* order form mobile */
    .order-layout{
        grid-template-columns:1fr !important;
        gap:12px !important;
        margin-top:16px !important;
    }

    .order-gallery,
    .order-form-card{
        width:100% !important;
        max-width:100% !important;
        padding:12px !important;
        border-radius:14px !important;
    }

    .order-gallery h2,
    .order-form-card h2{
        font-size:17px !important;
        margin:0 0 10px !important;
        line-height:1.25 !important;
    }

    .order-badge{
        font-size:10px !important;
        padding:4px 8px !important;
        margin-bottom:8px !important;
    }

    .preview-main{
        height:170px !important;
        border-radius:10px !important;
        margin-bottom:10px !important;
    }

    .highlight-box,
    .info-box,
    .price-guide-box,
    .price-preview{
        padding:10px !important;
        border-radius:10px !important;
    }

    .highlight-box,
    .info-box p,
    .note-text,
    .price-preview p{
        font-size:11px !important;
        line-height:1.4 !important;
        margin:4px 0 !important;
    }

    .info-box h3,
    .price-guide-box h3,
    .price-preview h3{
        font-size:15px !important;
        margin:0 0 8px !important;
    }

    .form-grid{
        gap:10px !important;
    }

    .form-group{
        gap:5px !important;
    }

    .form-label{
        font-size:12.5px !important;
        line-height:1.3 !important;
    }

    .form-input,
    .form-textarea,
    .form-select,
    .state-dropdown{
        font-size:12.5px !important;
        padding:10px 11px !important;
        border-radius:10px !important;
    }

    .form-textarea{
        min-height:82px !important;
    }

    .qty-input{
        font-size:14px !important;
    }

    .inline-grid{
        grid-template-columns:1fr !important;
        gap:8px !important;
    }

    .size-options{
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:7px !important;
        width:100% !important;
        flex-direction:unset !important;
    }

    .size-option{
        width:100% !important;
        min-width:0 !important;
    }

    .size-option label{
        width:100% !important;
        min-width:0 !important;
        padding:9px 6px !important;
        font-size:11px !important;
        line-height:1.25 !important;
        border-radius:10px !important;
        white-space:normal !important;
        word-break:break-word !important;
        text-align:center !important;
    }

    .upload-box{
        padding:9px !important;
        border-radius:10px !important;
    }

    .upload-box input[type="file"]{
        width:100% !important;
        font-size:11px !important;
    }

    .price-preview{
        padding:10px !important;
        border-radius:10px !important;
    }

    .price-preview h3{
        font-size:15px !important;
        margin:0 0 8px !important;
    }

    .price-preview p{
        font-size:11px !important;
        line-height:1.4 !important;
        margin:4px 0 !important;
    }

    .preview-total{
        font-size:15px !important;
        font-weight:700 !important;
    }

    .submit-row{
        display:flex !important;
        flex-direction:column !important;
        gap:8px !important;
        margin-top:8px !important;
    }

    .submit-row .primary-btn,
    .submit-row .secondary-btn,
    .submit-row a,
    .submit-row button{
        width:100% !important;
        min-width:unset !important;
        flex:none !important;
        padding:10px 12px !important;
        font-size:13px !important;
        line-height:1.3 !important;
        border-radius:10px !important;
        min-height:auto !important;
        height:auto !important;
    }

    .price-table{
        min-width:360px !important;
        font-size:11px !important;
    }

    .price-table th,
    .price-table td{
        padding:8px 8px !important;
    }

    /* cart */
    .cart-item{
        display:flex;
        flex-direction:column;
        gap:16px;
    }

    .cart-left{
        flex-direction:column;
        align-items:flex-start;
        width:100%;
        gap:14px;
    }

    .cart-left img{
        width:100%;
        max-width:220px;
        height:auto;
        aspect-ratio:1 / 1;
        object-fit:cover;
    }

    .cart-right{
        width:100%;
        text-align:left;
    }

    .cart-right .danger-btn{
        width:100%;
    }

    .cart-total{
        text-align:left;
        font-size:22px;
    }

    .action-row{
        flex-direction:column;
    }

    .action-row a{
        width:100%;
    }

    .terms-page-card,
    .wristband-choice-card{
        padding:24px;
    }

    .wristband-top-actions{
        margin-bottom:14px;
    }

    /* footer mobile */
    .wf-footer{
        margin-top:40px;
    }

    .wf-footer-top{
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:16px !important;
        padding:20px 16px !important;
        width:min(100%, 1200px);
        max-width:1200px;
    }

    .wf-feature{
        min-height:92px;
        padding:8px;
        border-radius:14px;
        gap:8px;
    }

    .wf-feature i{
        font-size:24px;
    }

    .wf-feature span{
        font-size:14px;
        line-height:1.35;
    }

    .wf-footer-grid{
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:22px 16px !important;
        padding:24px 16px !important;
        align-items:start;
        width:min(100%, 1200px);
        max-width:1200px;
    }

    .wf-footer-col:first-child{
        grid-column:1 / -1;
    }

    .wf-footer-col h3{
        font-size:23px;
        line-height:1.2;
        margin:0 0 8px;
    }

    .wf-tagline{
        font-size:14px;
        margin-bottom:12px !important;
        line-height:1.5;
    }

    .wf-footer-col h4{
        font-size:16px;
        margin-bottom:10px;
        padding-bottom:6px;
    }

    .wf-footer-col h4::after{
        width:30px;
        margin-top:6px;
    }

    .wf-footer-col p,
    .wf-footer-col a{
        font-size:13px;
        line-height:1.55;
    }

    .wf-contact-line{
        margin-bottom:6px;
    }

    .wf-socials{
        gap:10px;
        margin-top:14px;
        flex-wrap:wrap;
    }

    .wf-socials a{
        width:38px;
        height:38px;
        font-size:16px;
    }

    .wf-footer-bottom{
        padding:14px 16px;
    }

    .wf-footer-bottom p{
        font-size:12px;
        line-height:1.5;
    }

    .wa-float{
        width:54px;
        height:54px;
        right:16px;
        bottom:16px;
    }

    .wa-float img{
        width:26px;
        height:26px;
    }

    .wristband-options-grid{
        grid-template-columns:1fr;
    }

    .section-copy h1{
        font-size:28px;
    }
}

@media (max-width:480px){
    .container{
        width:97% !important;
        padding:8px !important;
    }

    .page-shell{
        width:97% !important;
    }

    .header{
        gap:6px;
    }

    .logo img{
        height:42px;
    }

    .search-input{
        height:38px;
        font-size:12.5px;
        padding:0 40px 0 10px;
    }

    .search-btn-inside{
        width:28px;
        height:28px;
    }

    .cart-icon-link{
        width:36px;
        height:36px;
        font-size:17px;
    }

    .profile-icon{
        width:36px;
        height:36px;
    }

    .nav{
        font-size:14px;
        gap:8px;
    }

    .nav a{
        min-width:78px;
        padding:7px 8px;
    }

    .product-container,
    .home-products{
        display:grid !important;
        grid-template-columns:repeat(2, 1fr) !important;
        gap:8px !important;
    }

    .image-wrapper{
        height:105px !important;
    }

    .product-info{
        padding:8px !important;
    }

    .product-info h3{
        font-size:13px !important;
    }

    .product-info p{
        font-size:10px !important;
        line-height:1.3 !important;
        margin:0 0 8px !important;
    }

    .see-details{
        font-size:10px !important;
        padding:7px 8px !important;
    }

    .order-gallery,
    .order-form-card{
        padding:10px !important;
    }

    .order-gallery h2,
    .order-form-card h2{
        font-size:16px !important;
    }

    .preview-main{
        height:155px !important;
    }

    .form-label{
        font-size:12px !important;
    }

    .form-input,
    .form-textarea,
    .form-select,
    .state-dropdown{
        font-size:12px !important;
        padding:9px 10px !important;
    }

    .form-textarea{
        min-height:76px !important;
    }

    .size-options{
        grid-template-columns:1fr 1fr !important;
        gap:6px !important;
    }

    .size-option label{
        font-size:10.5px !important;
        padding:8px 5px !important;
    }

    .highlight-box,
    .info-box,
    .price-guide-box,
    .price-preview{
        padding:9px !important;
    }

    .highlight-box,
    .info-box p,
    .note-text,
    .price-preview p{
        font-size:10.5px !important;
        line-height:1.4 !important;
    }

    .info-box h3,
    .price-guide-box h3,
    .price-preview h3{
        font-size:14px !important;
    }

    .submit-row .primary-btn,
    .submit-row .secondary-btn,
    .submit-row a,
    .submit-row button{
        font-size:12.5px !important;
        padding:9px 10px !important;
    }

    .price-table{
        min-width:330px !important;
        font-size:10.5px !important;
    }

    .cart-left img{
        max-width:180px;
    }

    .wf-socials{
        flex-wrap:wrap;
    }

    .wf-footer-top{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:12px !important;
        padding:18px 12px !important;
    }

    .wf-feature{
        min-height:84px;
        padding:6px;
        gap:7px;
    }

    .wf-feature i{
        font-size:22px;
    }

    .wf-feature span{
        font-size:13px;
    }

    .wf-footer-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:18px 12px !important;
        padding:20px 12px !important;
    }

    .wf-footer-col:first-child{
        grid-column:1 / -1;
    }

    .wf-footer-col h3{
        font-size:21px;
    }

    .wf-tagline{
        font-size:13px;
    }

    .wf-footer-col h4{
        font-size:15px;
    }

    .wf-footer-col p,
    .wf-footer-col a{
        font-size:12.5px;
        line-height:1.5;
    }

    .wf-socials a{
        width:36px;
        height:36px;
        font-size:15px;
    }
}

@media (max-width:360px){
    .logo img{
        height:38px;
    }

    .search-input{
        font-size:12px;
    }

    .cart-icon-link{
        width:34px;
        height:34px;
        font-size:16px;
    }

    .profile-icon{
        width:34px;
        height:34px;
    }
}
/* =========================================
              CART MOBILE 
========================================= */

@media (max-width: 768px){
    .cart-card{
        padding:14px !important;
        border-radius:16px !important;
    }

    .cart-title{
        font-size:22px !important;
        margin:0 0 18px !important;
        line-height:1.2 !important;
    }

    .cart-item{
        display:flex !important;
        flex-direction:column !important;
        gap:12px !important;
        padding:14px 0 !important;
    }

    .cart-left{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        width:100% !important;
        gap:12px !important;
        min-width:0 !important;
    }

    .cart-left img{
        width:92px !important;
        height:92px !important;
        max-width:92px !important;
        border-radius:12px !important;
        object-fit:cover !important;
    }

    .cart-info{
        width:100% !important;
        min-width:0 !important;
    }

    .cart-tag{
        font-size:11px !important;
        padding:5px 10px !important;
        margin-bottom:8px !important;
    }

    .cart-info h3{
        font-size:16px !important;
        margin:0 0 6px !important;
        line-height:1.3 !important;
    }

    .cart-info p{
        font-size:13px !important;
        line-height:1.45 !important;
        margin:3px 0 !important;
    }

    .cart-details{
        margin-top:10px !important;
        padding:10px 12px !important;
        border-radius:12px !important;
    }

    .cart-details p{
        font-size:12px !important;
        line-height:1.45 !important;
        margin:5px 0 !important;
    }

    .cart-right{
        width:100% !important;
        text-align:left !important;
    }

    .cart-right .danger-btn{
        width:100% !important;
        flex:none !important;
        min-width:unset !important;
        padding:10px 12px !important;
        font-size:13px !important;
        line-height:1.3 !important;
        border-radius:12px !important;
        min-height:auto !important;
        height:auto !important;
    }

    .cart-total{
        text-align:left !important;
        font-size:20px !important;
        margin-top:18px !important;
        line-height:1.25 !important;
    }

    /* kecilkan action button bawah */
    .action-row{
        display:flex !important;
        flex-direction:column !important;
        gap:8px !important;
        margin-top:16px !important;
    }

    .action-row a,
    .action-row .primary-btn,
    .action-row .secondary-btn,
    .action-row .whatsapp-btn{
        width:100% !important;
        flex:none !important;
        min-width:unset !important;
        padding:10px 12px !important;
        font-size:13px !important;
        line-height:1.3 !important;
        border-radius:12px !important;
        min-height:auto !important;
        height:auto !important;
        text-align:center !important;
    }
}

@media (max-width: 480px){
    .cart-card{
        padding:12px !important;
    }

    .cart-title{
        font-size:19px !important;
        margin-bottom:16px !important;
    }

    .cart-left img{
        width:82px !important;
        height:82px !important;
        max-width:82px !important;
    }

    .cart-info h3{
        font-size:15px !important;
    }

    .cart-info p{
        font-size:12px !important;
    }

    .cart-details{
        padding:9px 10px !important;
    }

    .cart-details p{
        font-size:11.5px !important;
    }

    .cart-total{
        font-size:18px !important;
    }

    .cart-right .danger-btn,
    .action-row a,
    .action-row .primary-btn,
    .action-row .secondary-btn,
    .action-row .whatsapp-btn{
        font-size:12.5px !important;
        padding:9px 10px !important;
    }
}

/* =========================================
   GUEST LOGIN FORM MOBILE POSITION FIX
   Letak login form bawah header, atas nav
========================================= */

@media (max-width: 768px){
    .header{
        display:flex !important;
        flex-wrap:wrap !important;
        align-items:center !important;
        gap:10px !important;
    }

    .logo{
        order:1;
        flex:0 0 auto;
    }

    .search-form{
        order:2;
        flex:1 1 auto !important;
        min-width:0 !important;
    }

    .header-right{
        order:3;
        flex:0 0 auto;
    }

    /* login form / guest form dalam header */
    .header .form-card,
    .header .login-card,
    .header .login-box,
    .header .guest-login-box,
    .header .login-panel,
    .header .help-card{
        order:4 !important;
        width:100% !important;
        max-width:420px !important;
        margin:10px auto 0 !important;
        padding:14px !important;
        border-radius:16px !important;
    }

    .header .form-title,
    .header .login-title{
        font-size:18px !important;
        margin:0 0 10px !important;
        text-align:center !important;
    }

    .header .form-input,
    .header .login-input{
        font-size:13px !important;
        padding:10px 12px !important;
        border-radius:12px !important;
    }

    .header .login-btn,
    .header .primary-btn{
        width:100% !important;
        padding:10px 12px !important;
        font-size:13px !important;
        border-radius:12px !important;
    }

    .header .account-row{
        margin-top:8px !important;
        font-size:12px !important;
        text-align:center !important;
    }

    .header .forgot-link,
    .header .signup-link{
        font-size:12px !important;
    }

    .nav{
        margin-top:12px !important;
    }
}

@media (max-width: 480px){
    .header .form-card,
    .header .login-card,
    .header .login-box,
    .header .guest-login-box,
    .header .login-panel,
    .header .help-card{
        max-width:100% !important;
        padding:12px !important;
        margin-top:8px !important;
    }

    .header .form-title,
    .header .login-title{
        font-size:16px !important;
    }

    .header .form-input,
    .header .login-input{
        font-size:12px !important;
        padding:9px 10px !important;
    }

    .header .login-btn,
    .header .primary-btn{
        font-size:12px !important;
        padding:9px 10px !important;
    }
}

/* =========================================
   WRISTBAND ARTWORK SIZE PREVIEW
========================================= */
.wristband-size-preview{
    position:relative;
    margin:12px 0 8px;
    padding:34px 58px 22px 14px;
    background:#fbfbfd;
    border:1px solid #e4e4ec;
    border-radius:16px;
    overflow:hidden;
}

.wristband-preview-body{
    position:relative;
    height:56px;
    display:grid;
    grid-template-columns:58px 0 1fr 86px;
    align-items:stretch;
    background:#ffffff;
    border:1.5px solid #222;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.wristband-preview-body.size-25{
    height:72px;
}

.wristband-preview-body.has-serial{
    grid-template-columns:58px 42px 1fr 86px;
}

.wristband-security-edge{
    position:relative;
    border-right:1.5px solid #222;
    background:#fff;
    overflow:hidden;
}

.wristband-preview-body.has-serial .wristband-security-edge{
    background:#fff;
}

.wristband-security-edge span{
    position:absolute;
    left:9px;
    width:40px;
    height:8px;
    border-top:2px solid #a7abb3;
    border-radius:50%;
}
.wristband-security-edge span:nth-child(1){top:8px;}
.wristband-security-edge span:nth-child(2){top:17px;}
.wristband-security-edge span:nth-child(3){top:26px;}
.wristband-security-edge span:nth-child(4){top:35px;}
.wristband-security-edge span:nth-child(5){top:44px;}

.wristband-preview-body.has-serial .wristband-security-edge span{
    display:none;
}

.wristband-serial-area{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:0;
    overflow:hidden;
    border-right:0;
    background:#fff;
}

.wristband-preview-body.has-serial .wristband-serial-area{
    width:auto;
    border-right:1.5px solid #222;
}

.serial-code{
    color:#333;
    font-weight:800;
    font-size:13px;
    letter-spacing:1px;
    writing-mode:vertical-rl;
    transform:rotate(180deg);
}

.serial-caption{
    position:absolute;
    left:-18px;
    bottom:-30px;
    color:#777;
    font-size:11px;
    font-weight:700;
    white-space:nowrap;
    opacity:0;
}

.wristband-preview-body.has-serial .serial-caption{
    opacity:1;
}

.wristband-preview-body.has-serial .serial-caption::before{
    content:"";
    position:absolute;
    left:28px;
    bottom:17px;
    width:1px;
    height:24px;
    background:#777;
}

.wristband-design-area{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    padding:5px 8px;
    border-right:1.5px solid #222;
    overflow:hidden;
    background:#fff;
}

.wristband-design-area span{
    color:#777;
    font-weight:700;
    font-size:18px;
    letter-spacing:.4px;
    text-align:center;
}

.wristband-design-area img{
    display:none;
    width:100%;
    height:100%;
    object-fit:contain;
}

.wristband-blank-area{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#666;
    font-size:12px;
    font-weight:800;
    text-align:center;
    line-height:1.15;
    padding:4px;
    background:#fff;
}

.segment-label{
    position:absolute;
    top:13px;
    color:#333;
    font-size:12px;
    font-weight:800;
    line-height:1;
}

.segment-security{
    left:32px;
}

.segment-blank{
    right:70px;
}

.dimension-line{
    position:absolute;
    color:#333;
    font-size:12px;
    font-weight:800;
    line-height:1;
    pointer-events:none;
}

.dimension-top{
    left:72px;
    right:144px;
    top:16px;
    text-align:center;
    border-top:2px solid #333;
}

.wristband-preview-body.has-serial ~ .dimension-height,
.wristband-preview-body.has-serial + .dimension-height{
    top:34px;
}

.dimension-top::before,
.dimension-top::after{
    content:"";
    position:absolute;
    top:-6px;
    width:2px;
    height:10px;
    background:#333;
}
.dimension-top::before{left:0;}
.dimension-top::after{right:0;}
.dimension-top span{
    position:relative;
    top:-10px;
    display:inline-block;
    padding:0 8px;
    background:#fbfbfd;
}

.dimension-height{
    top:34px;
    right:14px;
    bottom:22px;
    writing-mode:vertical-rl;
    text-align:center;
    border-right:2px solid #333;
}
.dimension-height::before,
.dimension-height::after{
    content:"";
    position:absolute;
    right:-6px;
    width:10px;
    height:2px;
    background:#333;
}
.dimension-height::before{top:0;}
.dimension-height::after{bottom:0;}
.dimension-height span{
    position:relative;
    right:-10px;
    display:inline-block;
    padding:8px 0;
    background:#fbfbfd;
}

@media (max-width:768px){
    .wristband-size-preview{
        padding:32px 44px 20px 10px;
    }
    .wristband-preview-body{
        grid-template-columns:42px 0 1fr 58px;
        height:48px;
    }
    .wristband-preview-body.has-serial{
        grid-template-columns:38px 32px 1fr 58px;
    }
    .wristband-preview-body.size-25{
        height:62px;
    }
    .wristband-security-edge span{
        left:6px;
        width:28px;
        height:7px;
    }
    .wristband-security-edge span:nth-child(5){display:none;}
    .wristband-design-area span{
        font-size:13px;
    }
    .wristband-blank-area{
        font-size:9px;
    }
    .serial-code{
        font-size:10px;
    }
    .serial-caption{
        display:none;
    }
    .dimension-top{
        left:52px;
        right:94px;
    }
    .segment-security{
        left:22px;
    }
    .segment-blank{
        right:52px;
    }
}

/* Serial number preview correction: 20mm sticker + 10mm serial + 200mm design + 30mm blank */
.wristband-preview-body{
    grid-template-columns:20fr 0 200fr 30fr;
}
.wristband-preview-body.has-serial{
    grid-template-columns:20fr 10fr 200fr 30fr;
}
.wristband-preview-body.has-serial .wristband-security-edge span{
    display:block;
}
.segment-serial{
    display:none;
    left:calc(14px + ((100% - 72px) * .095));
}
.wristband-size-preview.has-serial .segment-serial{
    display:block;
}
.dimension-top{
    left:calc(14px + ((100% - 72px) * .08));
    right:calc(58px + ((100% - 72px) * .12));
}
.wristband-size-preview.has-serial .dimension-top{
    left:calc(14px + ((100% - 72px) * .11538));
    right:calc(58px + ((100% - 72px) * .11538));
}
.wristband-size-preview.has-serial .segment-security{
    left:calc(14px + ((100% - 72px) * .038));
}
.wristband-size-preview.has-serial .segment-blank{
    right:calc(58px + ((100% - 72px) * .038));
}

@media (max-width:768px){
    .wristband-preview-body{
        grid-template-columns:20fr 0 200fr 30fr;
    }
    .wristband-preview-body.has-serial{
        grid-template-columns:20fr 10fr 200fr 30fr;
    }
    .wristband-preview-body.has-serial .wristband-security-edge span{
        display:block;
    }
    .dimension-top{
        left:calc(10px + ((100% - 54px) * .08));
        right:calc(44px + ((100% - 54px) * .12));
    }
    .wristband-size-preview.has-serial .dimension-top{
        left:calc(10px + ((100% - 54px) * .11538));
        right:calc(44px + ((100% - 54px) * .11538));
    }
}


/* Uploaded artwork should fully replace the 200mm design area */
.wristband-design-area.has-uploaded-design{
    padding:0;
}

.wristband-design-area.has-uploaded-design img{
    display:block;
    width:100%;
    height:100%;
    object-fit:fill;
}


/* Senior UI polish: bigger order form border and cleaner artwork fitting */
.order-form-card{
    border:2px solid #dfe4ea;
    padding:32px;
    box-shadow:0 10px 28px rgba(0,0,0,.09);
}

.wristband-size-preview{
    border:2px solid #e2e6ec;
    padding:38px 64px 26px 16px;
}

.wristband-preview-body{
    height:68px;
    border:2px solid #222;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.wristband-preview-body.size-25{
    height:82px;
}

.wristband-security-edge,
.wristband-preview-body.has-serial .wristband-serial-area,
.wristband-design-area{
    border-right:2px solid #222;
}

.wristband-design-area.has-uploaded-design{
    padding:0;
    background:#fff;
}

.wristband-design-area.has-uploaded-design img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    background:#fff;
}

.wristband-design-area.is-loading-design{
    background:#f7f8fa;
}

.wristband-design-area.is-loading-design span{
    font-size:13px;
    color:#777;
}

@media (max-width:768px){
    .order-form-card{
        padding:24px;
    }
    .wristband-size-preview{
        padding:36px 50px 24px 12px;
    }
    .wristband-preview-body{
        height:58px;
    }
    .wristband-preview-body.size-25{
        height:72px;
    }
}

/* Requested width adjustment: smaller product preview column, wider order form column */
.order-layout{
    grid-template-columns:0.82fr 1.18fr;
    gap:28px;
}

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

/* Final column width adjustment: make product preview smaller and order details wider */
.order-layout{
    grid-template-columns:minmax(280px, 0.68fr) minmax(620px, 1.32fr) !important;
    gap:30px;
}

.order-gallery,
.order-form-card{
    min-width:0;
}

@media (max-width:1100px){
    .order-layout{
        grid-template-columns:1fr !important;
    }
}

/* Price guide width fix: keep table inside the smaller Product Preview column */
.order-gallery .price-guide-box{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    overflow-x:hidden;
}

.order-gallery .price-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
    font-size:13px;
}

.order-gallery .price-table th,
.order-gallery .price-table td{
    padding:10px 12px;
    word-break:break-word;
}

.order-gallery .price-table th:first-child,
.order-gallery .price-table td:first-child{
    width:58%;
}

.order-gallery .price-table th:last-child,
.order-gallery .price-table td:last-child{
    width:42%;
}

@media (max-width:768px){
    .order-gallery .price-table{
        font-size:12px;
    }

    .order-gallery .price-table th,
    .order-gallery .price-table td{
        padding:8px 9px;
    }
}
