﻿/*TOYPANIC*/

/*-----------------------------------------------*/
/*CUSTOM BRAND SPECIFIC STYLES*/
/*-----------------------------------------------*/

.brand_color {
    color: #7030A0;
}

.brand_border {
    border-top: 1px solid black;
}

.brand_background_color {
    background-color: #9900CC;
}

.brand_card_template {
    /*Faint hint of black layer*/
    border: 1px solid rgba(0,0,0,0.18);
    background: rgba(0,0,0,0.04);
}

.dataContainerColor {
    background-color: white;
}

.product {
    border: solid lightgray 1px;
    border-radius: 8px;
}

.product .image-container {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}


.product_description {
    font-weight: normal;
}

.title_font {
    font-size: 12pt;
    /*font-weight:bold;*/
    padding: 3px;
    color: #3498DB;

    /* Truncate text with ellipsis if it exceeds the container width */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;

    text-overflow: ellipsis;
    word-break: break-word; /* Prevent long words from breaking layout */

}

.desc_font {
    font-size:12pt;
    padding:3px;
    color:#333;
}

/*-----------------------------------------------*/
/*PRECART ITEM STYLES*/
/*-----------------------------------------------*/

.box_precart {
    border: solid lightgray 1px;
    border-radius: 8px; /* card rounded corners */
}

.box_content {
    border-radius: 8px;
}

.box img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/*-----------------------------------------------*/
/*---Mouseover underline for hyperlink---*/
/*-----------------------------------------------*/

.link {
    COLOR: #7030A0;
    TEXT-DECORATION: none;
}

.link:hover {
    TEXT-DECORATION: underline;
}


/*----------------------------------*/
/*BUTTON*/
/*----------------------------------*/
.buttonaddtocart {
    color: #FFFFFF; /*background-color: #5B2783; */ /*ori purple*/
    /*background-color: #9900CC;*/ /*truepurple */ /*font-weight:bold;*/ /*font-size:10pt;*/
    /*font-family: 'Montserrat' , sans-serif;*/
    border: 1px solid #9900CC;
    padding: 5px 5px 5px 5px; /*padding-left:5px;
padding-right:5px;*/
    text-align: center;
    cursor: pointer;
}

.buttonpreorder {
    color: #FFFFFF;
    /*background-color: #339933; */ /*green*/

    background-color: #32cd32; /*lime green*/
    /*font-weight:bold;*/
    /*font-size:10pt;*/
    /*font-family: 'Montserrat', sans-serif;*/
    border: 1px solid #32cd32;
    padding: 5px 5px 5px 5px;
    /*padding-left:5px;
padding-right:5px;*/
    text-align: center;
    cursor: pointer;
}

.wishlist {
    color: #FFFFFF;
    background-color: #B00000;
    /*color:#B00000;*/
    /*font-weight:bold;*/
    /*font-size:10pt;*/
    /*font-family: 'Montserrat', sans-serif;*/
    border: 1px solid #B00000;
    padding: 5px 5px 5px 5px;
    /*padding-left:5px;
padding-right:5px;*/
    text-align: center;
    cursor: pointer;
}

.buttonsoldout {
    display: inline-flex !important; /* 👈 !important ensures it overrides any ASP.NET engine defaults */
    align-items: center; /* Vertically centers the text */
    justify-content: center; /* Horizontally centers the text */

    color: #B00000;
    border: 1px solid #B00000;
    padding: 5px 5px 5px 5px;
    text-align: center;
}

.buttondiscontinued {
    display: inline-flex !important; /* 👈 !important ensures it overrides any ASP.NET engine defaults */
    align-items: center; /* Vertically centers the text */
    justify-content: center; /* Horizontally centers the text */

    color: #CCCCCC;
    border: 1px solid #CCCCCC;
    padding: 5px 5px 5px 5px;
    text-align: center;
}

.buttoncomingsoon {
    display: inline-flex !important; /* 👈 !important ensures it overrides any ASP.NET engine defaults */
    align-items: center; /* Vertically centers the text */
    justify-content: center; /* Horizontally centers the text */

    color: #000000;
    border: 2px solid #000000;
    padding: 5px 5px 5px 5px;
    text-align: center;
}

.advancesearch {
    /*color: #FFFFFF; background-color: #339933; */ /*green*/
    background-color: #F28E10; /*orangy*/ /*font-family: 'Montserrat' , sans-serif;*/
    border: 1px solid #F28E10;
    padding: 5px 5px 5px 5px; /*padding-left:5px;
padding-right:5px;*/
    text-align: center;
}

.buttonmultiplier {
    color: #990099;
    /*background-color: #5B2783; */ /*ori purple*/
    /*background-color: #FFFFFF; truepurple */
    /*font-weight:bold;*/
    /*font-size:10pt;*/
    /*font-family: 'Montserrat', sans-serif;*/
    border: 1px solid #990099;
    padding: 5px 5px 5px 5px;
    /*padding-left:5px;
padding-right:5px;*/
    text-align: center;
}

/*----------------------------------*/
/*DISCOUNT COUPON*/
/*----------------------------------*/
.ticket {
    display: inline-block;
    background-color: #cc0000; /* darkred color */
    color: white;
    /*font-weight: bold;*/
    padding: 3px 8px;
    font-size: small;
    border-radius: 5px;
    position: relative;
    text-align: center;
}

/* Add cut-out effect on the left and right */
.ticket::before,
.ticket::after {
    content: "";
    width: 10px; /* Size of the "cut-out" */
    height: 10px;
    background-color: white;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.ticket::before {
    left: -5px; /* Position left cut-out, half the size of cut-out (10px) so it will appear as semi-circle */
}

.ticket::after {
    /*right: -2px;*/ /* Position right cut-out */
    right: -10px; /* Position right cut-out, had it at 8 px the same size of the cut-off so it won't be shown */
}

/*----------------------------------*/
/* HORIZONTAL BADGE */
/*----------------------------------*/
/* HORIZONTAL BADGE */
.panicBadge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #990099;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: medium;
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
}

.salesBadge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: medium;
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
}

/*----------------------------------*/
/* MOBILE */
/*----------------------------------*/
@media (max-width: 768px) {

    /* Vertical tab button hugging the left edge */
    #filterToggle {
        display: block;
        position: fixed;
        left: 0;
        top: 50%;
        transform: translate(0, -50%);
        transition: transform 0.25s ease;
        z-index: 1103;
        width: 24px;
        height: 100px;
        border: 0;
        border-radius: 0 12px 12px 0;
        cursor: pointer;
        background: #6F3FAA;
        color: #fff;
        font-weight: 800;
        letter-spacing: 2px;
        font-size: 12px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 6px 0 16px rgba(0,0,0,0.18);
    }


    /* Slide-out panel */
    #dropdownContainer {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 85vw;
        /*max-width: 360px;*/

        overflow-y: auto;
        background: #fff;
        z-index: 1102;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        box-shadow: 8px 0 20px rgba(0,0,0,0.2);
        /* remove your negative margin on mobile */
        margin-top: 0;
    }

        /* Open state */
        #dropdownContainer.is-open {
            transform: translateX(0);
        }

    #filterOverlay.is-open {
        display: block;
    }

    /* When panel is open, slide the button with it */
    #dropdownContainer.is-open ~ #filterToggle,
    #filterToggle.is-open {
        transform: translate(calc(85vw - 1px), -50%);
    }

    /*workaround stop fix the iphone dropdown view issue, where the text are hidden*/
    select.textbox {
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
        color: #000; /* or whatever your site text color is */
    }
}