/* ===========================
   Floating Gift Builder
=========================== */

#jorasha-gift-widget{

    position:fixed;

    right:24px;

    bottom:28px;

    width:68px;

    height:68px;

    background:#ffffff;

    border-radius:22px;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:0 10px 35px rgba(0,0,0,.15);

    cursor:pointer;

    z-index:999999;

    transition:.3s;

}

#jorasha-gift-widget:hover{

    transform:translateY(-4px);

}

#jorasha-gift-widget svg{

    width:32px;

    height:32px;

    color:#6B46F2;

}

#jorasha-gift-count{

    position:absolute;

    top:-6px;

    right:-6px;

    width:24px;

    height:24px;

    border-radius:50%;

    background:#E91E63;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:12px;

    font-weight:600;

}






/*====================================================PRODUCT List====================================================*/
/*=====================================================   Page  ====================================================*/

/*====================================================
    GIFT BUILDER PAGE
====================================================*/

.jorasha-gift-builder{

    max-width:1200px;
    width:100%;
    margin:auto;
    padding:0 16px;
    box-sizing:border-box;

}

.jorasha-builder-header{

    margin-bottom:16px;

}

.jorasha-builder-header h1{

    font-size:28px;
    font-weight:800;
    color:#241f31;
    margin:0 0 4px;
    letter-spacing:-.01em;

}

.jorasha-builder-header p{

    color:#828282;
    font-size:15px;
    margin:0;

}


/*====================================================
    PACKAGE CARD
====================================================*/

.jorasha-package-card{

    background:#fff;
    width:100%;
    max-width:none;
    box-sizing:border-box;

    border-radius:14px;

    padding:22px 26px;

    box-shadow:0 6px 18px rgba(20,20,43,.06);

    border:1px solid #eee;

    margin-bottom:16px;

}


.jorasha-package-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:14px;

    padding-bottom:14px;

    border-bottom:1px solid #ececec;

}

/*====================================================
    PACKAGE HEADER
====================================================*/

.jorasha-package-left-title{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:12px;

}

.jorasha-package-count-box{

    display:flex;

    align-items:center;

    gap:8px;

    margin-left:10px;

}

.jorasha-times{

    font-size:18px;

    font-weight:700;

    color:#555;

}

.jorasha-package-input{

    width:44px;

    height:34px;

    text-align:center;

    font-size:16px;

    font-weight:700;

    border:1px solid #ddd;

    border-radius:8px;

    outline:none;

}

.jorasha-package-input:focus{

    border-color:#7B4DFF;

}

.jorasha-package-label-small{

    color:#9a9a9a;

    font-style:italic;

    font-size:13.5px;

}


.jorasha-package-title h2{

    margin:0;

    font-size:20px;

    font-weight:700;

    color:#241f31;

}


/*=========================================================
| Package Action Buttons
=========================================================*/

.jorasha-package-actions{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

}

.jorasha-rename,
.jorasha-duplicate,
.jorasha-delete{

    background:#fff;

    color:#333;

    border:1px solid #ddd;

    transition:all .25s ease;

}

.jorasha-rename:hover,
.jorasha-duplicate:hover,
.jorasha-delete:hover{

    background:#F3EEFF;

    border-color:#7B4DFF;

    color:#7B4DFF;

}

.jorasha-package-actions button{

    min-width:104px;

    height:38px;

    border-radius:8px;

    font-weight:600;

    font-size:14px;

    cursor:pointer;

}

/*====================================================
    PRODUCT TABLE
====================================================*/

.jorasha-product-table{

    width:100%;
    min-width:0;

    border-collapse:separate;

    border-spacing:0;

    table-layout:fixed;

    border:1px solid #f0dde7;

    border-radius:12px;

    overflow:hidden;

}

.jorasha-product-table th,
.jorasha-product-table td{

    border-bottom:1px solid #f2eaef;

    border-right:1px solid #f2eaef;

    text-align:center;

    vertical-align:middle;

    padding:12px 10px;

}

.jorasha-product-table th:last-child,
.jorasha-product-table td:last-child{

    border-right:none;

}

.jorasha-product-table tbody tr:last-child td{

    border-bottom:none;

}

.jorasha-product-table thead th{

    background:#fdf0f5;

    font-size:14px;

    font-weight:700;

    color:#6b5b63;

    letter-spacing:.02em;

    padding:14px 10px;

}

.jorasha-product-table tbody tr{

    height:88px;

    transition:background .2s ease;

}

.jorasha-product-table tbody tr:hover{

    background:#fcfbff;

}

/* column widths */
.jorasha-col-no{        width:60px;  }
.jorasha-col-image{     width:100px; }
.jorasha-col-name{      width:auto;  }
.jorasha-col-rate{      width:100px; }
.jorasha-col-qty{       width:120px; }
.jorasha-col-total{     width:110px; }
.jorasha-col-remove{    width:46px;  }


.jorasha-serial{

    font-size:14px;

    color:#a3a3a3;

    font-weight:600;

}

/*
|--------------------------------------------------------------------------
| Product Image - fixed size everywhere, never scales with column/table
|--------------------------------------------------------------------------
*/

.jorasha-product-image{

    display:flex;

    align-items:center;

    justify-content:center;

    width:72px;

    height:72px;

    flex:0 0 72px;

}

.jorasha-product-image img{

    width:72px;

    height:72px;

    max-width:72px;

    max-height:72px;

    min-width:72px;

    min-height:72px;

    object-fit:cover;

    border-radius:10px;

    border:1px solid #f0f0f0;

    flex-shrink:0;

}


.jorasha-product-info{

    text-align:left;

    padding-left:12px;

}

.jorasha-product-info h3{

    margin:0;

    color:#222;

    font-size:16px;

    font-weight:700;

    line-height:1.35;

}


.jorasha-product-rate{

    color:#ff2e6a;

    font-size:15px;

    font-weight:700;

}


/*====================================================
    QUANTITY
====================================================*/

.jorasha-qty{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

}


.jorasha-qty button{

    display:flex;

    align-items:center;

    justify-content:center;

    width:26px;

    height:26px;

    padding:0;

    margin:0;

    border:none;

    border-radius:7px;

    background:#FFF4F8;

    color:#ff2e6a;

    font-size:15px;

    line-height:1;

    cursor:pointer;

    transition:.25s ease;

}

.jorasha-qty button:hover{

    background:#ff2e6a;

    color:#fff;

}

.jorasha-qty span{

    font-size:15px;

    font-weight:600;

    min-width:16px;

    text-align:center;

    color:#241f31;

}


.jorasha-total{

    font-size:15px;

    font-weight:700;

    color:#241f31;

}


.jorasha-remove{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:28px;

    height:28px;

    border-radius:8px;

    font-size:14px;

    font-weight:700;

    color:#a3a3a3;

    background:#f7f7f7;

    cursor:pointer;

    transition:.25s ease;

}

.jorasha-remove:hover{

    color:#fff;

    background:#ff2e6a;

    transform:scale(1.08);

}


/*====================================================
    ADD PRODUCT
====================================================*/

.jorasha-add-product{

    margin:14px 0 4px;

}


.jorasha-add-product button{

    width:100%;

    border:1.5px dashed #ff2e6a;

    background:#fff8fb;

    color:#ff2e6a;

    border-radius:10px;

    padding:12px;

    font-size:14.5px;

    font-weight:700;

    letter-spacing:.02em;

    cursor:pointer;

    transition:.25s ease;

}


.jorasha-add-product button:hover{

    background:#ff2e6a;

    color:#fff;

}


/*====================================================
    PACKAGING
====================================================*/

.jorasha-packaging{

    margin-top:16px;

}


.jorasha-packaging select{

    width:100%;

    padding:10px 12px;

    font-size:14.5px;

    border-radius:9px;

    border:1px solid #e0e0e0;

    background:#fff;

    color:#333;

}

.jorasha-packaging select:focus{

    outline:none;

    border-color:#7B4DFF;

}


/*====================================================
    PACKAGE TOTAL
====================================================*/

.jorasha-package-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:12px;

    padding-top:12px;

    border-top:1px solid #ececec;

    font-size:16px;

    font-weight:700;

    color:#241f31;

}


/*====================================================
    EMPTY STATE
====================================================*/

.jorasha-empty-builder{

    text-align:center;

    background:#fff;

    border:1px solid #eee;

    border-radius:14px;

    padding:36px 20px;

    box-shadow:0 6px 18px rgba(20,20,43,.06);

}

.jorasha-empty-builder h2{

    margin:0 0 8px;

    font-size:19px;

    color:#241f31;

}

.jorasha-empty-builder p{

    margin:0;

    color:#888;

    font-size:14.5px;

}


/*====================================================
    SUMMARY
====================================================*/

.jorasha-summary{

    margin-top:18px;

    background:#fff;

    padding:18px 20px;

    border-radius:14px;

    box-shadow:0 6px 18px rgba(20,20,43,.06);

    border:1px solid #eee;

}

.jorasha-summary h3{

    margin:0 0 4px;

    font-size:15px;

    font-weight:700;

    color:#241f31;

}


#jorasha-grand-total{

    color:#ff2e6a;

    font-size:20px;

    font-weight:800;

    margin:4px 0 12px;

}


#jorasha-checkout{

    width:100%;

    border:none;

    padding:12px;

    border-radius:10px;

    color:#fff;

    font-size:14.5px;

    font-weight:700;

    letter-spacing:.02em;

    cursor:pointer;

    background:linear-gradient(135deg,#ff2e6a,#7B4DFF);

    transition:.25s ease;

}

#jorasha-checkout:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(123,77,255,.25);

}


/*
|--------------------------------------------------------------------------
| Gift Wrapping Cards - fixed equal size, narrower than before
|--------------------------------------------------------------------------
*/

.jorasha-packaging h3{

    font-size:16px;

    font-weight:600;

    color:#241f31;

    margin-bottom:8px;

}

.jorasha-wrap-subtitle{

    color:#777;

    font-size:13.5px;

    margin:2px 0 12px;

}

.jorasha-wrap-options{

    display:flex;

    flex-wrap:wrap;

    justify-content:flex-start;

    gap:14px;

    margin-top:10px;

}

.jorasha-wrap-card{

    display:flex;

    flex-direction:column;

    background:#fff;

    border:1.5px solid #eadfff;

    border-radius:12px;

    padding:14px;

    cursor:pointer;

    transition:.25s;

    box-sizing:border-box;

    width:220px;

    height:200px;

    flex:0 0 220px;

    overflow:hidden;

}

.jorasha-wrap-card:hover{

    border-color:#d946ef;

    box-shadow:0 6px 16px rgba(217,70,239,.15);

    transform:translateY(-2px);

}

.jorasha-wrap-card input{

    margin-right:6px;

    vertical-align:top;

    margin-top:-1px;

}



.jorasha-wrap-card strong{

    display:block;

    color:#6d28d9;

    font-size:15.5px;

    margin-bottom:8px;

}

.jorasha-wrap-card ul{

    margin:0;

    padding-left:18px;

}

.jorasha-wrap-card li{

    margin-bottom:5px;

    color:#555;

    font-size:13px;

    line-height:1.4;

}

/* Selected Card */

.jorasha-wrap-card.active{

    background:#fff;

    border-color:#d946ef;

    box-shadow:none;

}


.jorasha-wrap-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:8px;

}

.jorasha-wrap-top strong{

    color:#6d28d9;

    font-size:15.5px;

    margin:0;

}

.jorasha-wrap-top input{

    transform:scale(1.1);

}


.jorasha-footer-row{

    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-top:14px;

}

.jorasha-footer-row .jorasha-add-product{

    width:240px;
    flex:none;
    margin:0;

}

.jorasha-footer-row .jorasha-add-product button{

    width:100%;

}

.jorasha-products-subtotal{

    display:flex;
    align-items:center;
    gap:8px;
    font-size:16px;
    font-weight:600;

}

.jorasha-products-subtotal strong{

    display:inline;
    color:#777;
    font-size:14.5px;
    font-weight:600;

}

.jorasha-products-subtotal span{

    color:#241f31;
    font-size:16px;
    font-weight:700;

}

/*
|--------------------------------------------------------------------------
| Package Summary
|--------------------------------------------------------------------------
*/

.jorasha-package-summary{

    margin-top:14px;

    background:#fafafa;

    border:1px solid #ececec;

    border-radius:12px;

    padding:16px 18px;

}

.jorasha-package-summary h3{

    margin:0 0 10px;

    font-size:16px;

    font-weight:700;

    color:#241f31;

}

.jorasha-summary-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:6px 0;

    font-size:14.5px;

}

.jorasha-summary-row span{

    color:#666;

}

.jorasha-summary-row strong{

    color:#241f31;

    font-weight:700;

}

.jorasha-package-summary hr{

    margin:10px 0;

    border:none;

    border-top:1px solid #e5e5e5;

}

.jorasha-summary-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:16.5px;

    font-weight:700;

}

.jorasha-summary-total strong{

    color:#E91E63;

    font-size:20px;

}

/*====================================================
    Package Collapse Toggle
====================================================*/

.jorasha-toggle{

    background:transparent;

    border:none;

    color:#241f31;

    font-size:15px;

    cursor:pointer;

    padding:0;

    width:auto;

    height:auto;

}

.jorasha-toggle:hover{

    color:#7B4DFF;

}

/*====================================================
    BUILDER SUMMARY
====================================================*/

.jorasha-builder-summary{

    position:sticky;

    top:0px;

    z-index:999;

    display:flex;

    flex-wrap:wrap;

    justify-content:space-between;

    align-items:center;

    gap:12px;

    padding:14px 18px;

    margin-bottom:16px;

    background:#ffffff;

    border:1.5px solid #6B46F2;

    border-radius:12px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.jorasha-builder-stats{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:12px;

    font-size:15px;

    color:#333;

}

.jorasha-builder-stats strong{

    color:#000;

}

#jorasha-top-checkout{

    background:#7B4DFF;

    color:#fff;

    border:none;

    padding:10px 18px;

    border-radius:9px;

    cursor:pointer;

    font-weight:600;

    font-size:14.5px;

    transition:.25s;

}

#jorasha-top-checkout:hover{

    background:#6237df;

}

/*====================================================
    BOTTOM SECTION
====================================================*/

.jorasha-bottom-section{

    display:flex;

    gap:22px;

    margin-top:16px;

    align-items:flex-start;

}

.jorasha-bottom-left{

    flex:3;

    min-width:0;

}

.jorasha-bottom-right{

    flex:1;

    min-width:0;

    border-left:1px solid #ececec;

    padding-left:18px;

}

/*====================================================
    GIFT MESSAGE
====================================================*/

.jorasha-gift-message{

    margin-top:18px;

    padding-top:16px;

    border-top:1px solid #ececec;

}

.jorasha-gift-message h3{

    margin-bottom:8px;

    font-size:16px;

    color:#241f31;

}

.jorasha-gift-message textarea{

    width:100%;

    min-height:80px;

    resize:vertical;

    border:1px solid #ddd;

    border-radius:10px;

    padding:10px;

    font-size:14.5px;

    box-sizing:border-box;

}


/* Remove browser arrows from number input */

.jorasha-package-input::-webkit-outer-spin-button,
.jorasha-package-input::-webkit-inner-spin-button{

    -webkit-appearance:none;

    margin:0;

}

.jorasha-package-input{

    appearance:textfield;

    -moz-appearance:textfield;

}


.jorasha-create-package{

    background:#6B46F2;

    color:#fff;

    border:none;

    border-radius:9px;

    padding:11px 20px;

    font-weight:700;

    font-size:14.5px;

    transition:.25s;

}

.jorasha-create-package:hover{

    background:#5a38d8;

}


/*====================================================
    RESPONSIVE
====================================================*/

@media (max-width:900px){

    .jorasha-wrap-card{

        width:200px;

        flex:0 0 200px;

    }

}

@media (max-width:768px){

    /* Product table -> stacked card rows. Image size stays fixed. */

    .jorasha-product-table thead{

        display:none;

    }

    .jorasha-product-table,
    .jorasha-product-table tbody,
    .jorasha-product-table tr,
    .jorasha-product-table td{

        display:block;

        width:100% !important;

    }

    .jorasha-product-table{

        border-radius:12px;

    }

    .jorasha-product-table tbody tr{

        height:auto;

        padding:12px 0;

        border-bottom:1px solid #f2eaef;

    }

    .jorasha-product-table tbody tr:last-child{

        border-bottom:none;

    }

    .jorasha-product-table td{

        border:none;

        padding:6px 14px;

        font-size:15px;

    }

    .jorasha-product-info{

        text-align:center;

        padding-left:0;

    }

    .jorasha-product-image{

        margin:0 auto;

    }

    /* Package card + header stack cleanly */

    .jorasha-package-card{

        padding:16px 16px;

    }

    .jorasha-package-title{

        flex-direction:column;

        align-items:flex-start;

    }

    .jorasha-package-actions{

        width:100%;

    }

    .jorasha-package-actions button{

        flex:1;

        min-width:0;

    }

    /* Bottom section stacks instead of side-by-side */

    .jorasha-bottom-section{

        flex-direction:column;

        gap:16px;

    }

    .jorasha-bottom-right{

        border-left:none;

        border-top:1px solid #ececec;

        padding-left:0;

        padding-top:16px;

        width:100%;

    }

    .jorasha-bottom-left{

        width:100%;

    }

    /* Footer row (Add product + subtotal) stacks */

    .jorasha-footer-row{

        flex-direction:column;

        align-items:stretch;

    }

    .jorasha-footer-row .jorasha-add-product{

        width:100%;

    }

    .jorasha-products-subtotal{

        justify-content:space-between;

    }

    /* Builder summary bar stacks on small screens */

    .jorasha-builder-summary{

        flex-direction:column;

        align-items:stretch;

        text-align:center;

    }

    #jorasha-top-checkout{

        width:100%;

    }

}

@media (max-width:600px){

    /* Wrapping cards go full width, one per row, but stay equal to each other */

    .jorasha-wrap-options{

        flex-direction:column;

    }

    .jorasha-wrap-card{

        width:100%;

        height:auto;

        flex:0 0 auto;

    }

}

@media (max-width:420px){

    .jorasha-gift-builder{

        padding:0 10px;

    }

    .jorasha-package-card{

        padding:14px 12px;

    }

    .jorasha-builder-header h1{

        font-size:23px;

    }

}