﻿@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,700);

body {
    font-family: 'Source Sans Pro', sans-serif !important;
}

a {
    color: rgb(46, 151, 107);
}

    a:hover {
        color: rgb(35, 116, 82);
    }

.bg-cover {
    background-attachment: static;
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
    /*background-image: linear-gradient(to top, rgba(225, 227, 225, 0.3) 0%,rgba(255,255,255,0.4) 100%), url('Images/title_bg.png');*/
    background-image: url('Images/title_bg.png');
}

.cart-item-title {
    margin-bottom: .5rem;
    font-size: 3rem !important;
}

.cursor-hand {
    cursor: pointer;
}

.game-icon {
    top: -30px;
    left: 20px;
    width: 80px;
    height: 80px;
    padding: 15px;
    position: absolute;
    background: #28a645;
    border-radius: 40px;
}

.game-icon-sm {
    top: -10px;
    left: 10px;
    width: 60px;
    height: 60px;
    padding: 15px;
    position: absolute;
    background: #28a645;
    border-radius: 40px;
}

.game-category {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 1px;
    padding-right: 1px;
    text-align: left;
    font-size: 1.0em;
    color: #9e9e9e;
}

.field-validation-error {
    background-color: #f8d7da;
    color: #721c24;
    font-weight: 400;
    padding: 2px;
    margin-top: 3px;
    width: 100%;
    display: block;
    border-radius: 5px;
    text-align: center;
}

.field-validation-error-top {
    color: #721c24;
    background-color: #f8d7da;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid tomato;
}

.validation-summary-errors {
    margin-top: 10px;
    color: white;
    font-weight: 500;
    font-size: 1em;
}

.validation-summary-valid {
    display: none;
}

.btn-outline-paymethod {
    color: #dc3545;
    /*border-color: #dc3545;*/
    background-color: #fff;
}

    .btn-outline-paymethod:hover {
        /*color: #fff;*/
        /*background-color: #dc3545;*/
        border-color: #dc3545;
    }

    .btn-outline-paymethod:focus, .btn-outline-paymethod.focus {
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
    }

    .btn-outline-paymethod.disabled, .btn-outline-paymethod:disabled {
        color: #dc3545;
        background-color: transparent;
    }

    .btn-outline-paymethod:not(:disabled):not(.disabled):active, .btn-outline-paymethod:not(:disabled):not(.disabled).active,
    .show > .btn-outline-paymethod.dropdown-toggle {
        color: #fff;
        background-color: #dc3545;
        border-color: #dc3545;
    }

        .btn-outline-paymethod:not(:disabled):not(.disabled):active:focus, .btn-outline-paymethod:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-danger.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
        }



.btn-outline-success-paymethod {
    color: #28a745;
    /*border-color: #28a745;*/
    background-color: #fff;
}

    .btn-outline-success-paymethod:hover {
        /*color: #fff;*/
        /*background-color: #28a745;*/
        border-color: #28a745;
    }

    .btn-outline-success-paymethod:focus, .btn-outline-success-paymethod.focus {
        box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
    }

    .btn-outline-success-paymethod.disabled, .btn-outline-success-paymethod:disabled {
        color: #28a745;
        background-color: transparent;
    }

    .btn-outline-success-paymethod:not(:disabled):not(.disabled):active, .btn-outline-success-paymethod:not(:disabled):not(.disabled).active,
    .show > .btn-outline-success-paymethod.dropdown-toggle {
        color: #fff;
        background-color: #28a745;
        border-color: #28a745;
    }

        .btn-outline-success-paymethod:not(:disabled):not(.disabled):active:focus, .btn-outline-success-paymethod:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-success-paymethod.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
        }

.btn-outline-success-deliverymethod {
    color: #28a745;
    /*border-color: #28a745;*/
    background-color: #fff;
}

    .btn-outline-success-deliverymethod:hover {
        /*color: #fff;*/
        /*background-color: #28a745;*/
        border-color: #28a745;
    }

    .btn-outline-success-deliverymethod:focus, .btn-outline-success-deliverymethod.focus {
        box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
    }

    .btn-outline-success-deliverymethod.disabled, .btn-outline-success-deliverymethod:disabled {
        color: #28a745;
        background-color: transparent;
    }

    .btn-outline-success-deliverymethod:not(:disabled):not(.disabled):active, .btn-outline-success-deliverymethod:not(:disabled):not(.disabled).active,
    .show > .btn-outline-success-deliverymethod.dropdown-toggle {
        color: #fff;
        background-color: #28a745;
        border-color: #28a745;
    }

        .btn-outline-success-deliverymethod:not(:disabled):not(.disabled):active:focus, .btn-outline-success-deliverymethod:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-success-deliverymethod.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
        }


.gray-scale {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.gray-scale-50 {
    -webkit-filter: grayscale(50%); /* Safari 6.0 - 9.0 */
    filter: grayscale(50%);
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-100 {
    opacity: 1.0 !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.w-50 {
    width: 50% !important;
}

.w-60 {
    width: 60% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.rotate-10 {
    -ms-transform: rotate(10deg); /* IE 9 */
    transform: rotate(10deg);
}

.rotate-20 {
    -ms-transform: rotate(20deg); /* IE 9 */
    transform: rotate(20deg);
}

.text-twitter {
    color: rgba(29, 161, 242, 1.00);
}

.text-facebook {
    color: #4267B2;
}

.text-instagram {
    /*background-color: linear-gradient(45DEG, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);*/
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    /*background: linear-gradient(45DEG, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);*/
    -webkit-background-clip: text;
    /* Also define standard property for compatibility */
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-green {
    color: rgba(46, 151, 107, 1);
}

.info-box-text {
    white-space: normal !important;
}

.bg-green {
    background-color: rgba(46, 151, 107, 1);
}

.bg-gradient-green-light {
    background: rgb(91,175,113);
    background: linear-gradient(180deg, rgba(91,175,113,1) 0%, rgba(79,176,101,1) 44%, rgba(34,145,74,1) 100%);
}


.text-black {
    color: rgba(46, 46, 46, 1);
}

.text-stroke {
    -webkit-text-stroke: 2px black;
    -webkit-text-fill-color: white;
}

.text-voucher {
    font-family: sans-serif !important;
}

.text-xxs {
    font-size: 0.65rem !important;
}

.link-green {
    color: rgb(46, 151, 107) !important;
}

.link-green a {
    color: rgb(46, 151, 107) !important;
}

    .link-green:hover, .link-green:focus, .link-green:active {
        color: rgb(35, 116, 82) !important;
    }

.link-green-hover {
}

    .link-green-hover:hover, .link-green-hover:focus {
        color: rgb(53, 172, 73) !important;
    }

.active.link-green-hover:hover, .active.link-green-hover:focus, .active.link-green-hover:active {
    color: rgb(255, 255, 255) !important;
}

.link-black {
    color: rgb(0, 0, 0) !important;
}

    .link-black:hover, .link-black:focus {
        color: rgb(0, 0, 0) !important;
    }

.game-attributes-card {
    box-shadow: none;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.display-6 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.item-price {
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .item-price {
        font-size: 3.5rem !important;
    }
}

.item-price-full {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: rgb(142, 142, 142) line-through solid;
}

.item-price-full-sm {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 0.6;
    text-decoration: rgb(142, 142, 142) line-through solid;
}

@media (min-width: 576px) {
    .item-price-full { font-size: 2rem !important; }
}

.fa-15x {
    font-size: 1.5em;
}

.fa-25x {
    font-size: 2.5em;
}

.fa-35x {
    font-size: 3.5em;
}

.fa-45x {
    font-size: 4.5em;
}

.fa-55x {
    font-size: 5.5em;
}

/* 
Extra small devices (portrait phones, less than 544px) 
No media query since this is the default in Bootstrap because it is "mobile first"
*/
h1 {font-size: 1rem;} /*1rem = 16px*/
/*
####################################################
M E D I A  Q U E R I E S
####################################################
*/

/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Bootstrap 4 breakpoints
*/
/* Small devices (landscape phones, 320px and up) */
@media (min-width: 320px) {
    h1 { font-size: 1.5rem; }/*1rem = 16px*/
}

/* Small devices (landscape phones, 360px and up) */
@media (min-width: 360px) {
    h1 { font-size: 2rem; } /*1rem = 16px*/
}

/* Small devices (landscape phones, 544px and up) */
@media (min-width: 544px) {
    h1 { font-size: 2.3rem; } /*1rem = 16px*/
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    h1 { font-size: 2.8rem; } /*1rem = 16px*/
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h1 { font-size: 3rem; } /*1rem = 16px*/
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    h1 { font-size: 3.5rem; } /*1rem = 16px*/
}

/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Custom media queries
*/

/* Set width to make card deck cards 100% width */
@media (min-width: 950px) and (max-width:1100px) {
    h1 {
        font-size: 2.75rem;
    }
}





/* Switch custom  */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch-toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.switch-toggle-sm {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

.switch-toggle-sm input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider-toggle:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

.slider-toggle-sm {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider-toggle-sm:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider-toggle {
    background-color: #2196F3;
}

input:focus + .slider-toggle {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider-toggle-warning {
    background-color: #ffc107;
}

input:focus + .slider-toggle-warning {
    box-shadow: 0 0 1px #ffc107;
}

input:checked + .slider-toggle-sm-warning {
    background-color: #ffc107;
}

input:focus + .slider-toggle-sm-warning {
    box-shadow: 0 0 1px #ffc107;
}

.custom-control-input-danger:checked ~ .custom-control-label::before {
    border-color: #dc3545;
    background-color: #dc3545;
}

.custom-control-input-success:checked ~ .custom-control-label::before {
    border-color: #28a745;
    background-color: #28a745;
}

input:checked + .slider-toggle:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


input:checked + .slider-toggle-sm:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

/* Rounded sliders */
.slider-toggle.round {
    border-radius: 34px;
}

    .slider-toggle.round:before {
        border-radius: 50%;
    }

.slider-toggle-sm.round {
    border-radius: 17px;
}

.slider-toggle-sm.round:before {
    border-radius: 50%;
}

/* Sale items */
.sale-wrapper {
    height: 70px;
    overflow: hidden;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 70px;
    z-index: 10;
}

    .sale-wrapper.sale-lg {
        height: 120px;
        width: 120px;
    }

        .sale-wrapper.sale-lg .sale {
            right: 0px;
            top: 26px;
            width: 160px;
        }

    .sale-wrapper.sale-xl {
        height: 180px;
        width: 180px;
    }

        .sale-wrapper.sale-xl .sale {
            right: 4px;
            top: 47px;
            width: 240px;
        }

    .sale-wrapper .sale {
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
        font-size: 0.8rem;
        line-height: 100%;
        padding: 0.375rem 0;
        position: relative;
        right: -2px;
        text-align: center;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
        text-transform: uppercase;
        top: 10px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        width: 90px;
    }

        .sale-wrapper .sale::before, .sale-wrapper .sale::after {
            border-left: 3px solid transparent;
            border-right: 3px solid transparent;
            border-top: 3px solid #9e9e9e;
            bottom: -3px;
            content: '';
            position: absolute;
        }

        .sale-wrapper .sale::before {
            left: 0;
        }

        .sale-wrapper .sale::after {
            right: 0;
        }


/*Ribbon half circle */
.box {
    /*border: 1px solid #CCC;*/
    /*padding: 40px 25px;*/
    background: #FFF;
    /*max-width: 400px;*/
    position: relative;
    margin: 0 auto;
}

.box.ofh {
    overflow: hidden;
}
.half-circle-ribbon {
    background: #EA4335;
    color: #FFF;
    height: 100px;
    width: 100px;
    text-align: left;
    padding-bottom: 1px;
    padding-left: 1px;
    position: absolute;
    bottom: -1px;
    left: -1px;
    flex-direction: row;
    border-radius: 0 100% 0 0;
    border: 1px dashed #FFF;
    box-shadow: 0 0 0 3px #EA4335;
}
.ribbon-content {
    left: 5px;
    top: 35px;
    position: absolute;
    font-size: 1.5em;
    transform: rotate(45deg);
    letter-spacing: 5px;
    font-weight: bold;
}

/* ===================== Cart UX (Fáze 2) ===================== */
/* Alpine.js x-cloak: skryje prvky, dokud se Alpine neinicializuje */
[x-cloak] {
    display: none !important;
}

/* --- Mini-košík (offcanvas) --- */
.eg-minicart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1040;
}

.eg-minicart {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 380px;
    max-width: 90vw;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
    z-index: 1045;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.eg-minicart-open {
    transform: translateX(0);
}

/* Horní progress indikátor probíhající operace v mini-košíku */
.eg-minicart-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    background-size: 40% 100%;
    background-repeat: no-repeat;
    animation: eg-progress-slide 1s linear infinite;
    z-index: 2;
}

@@keyframes eg-progress-slide {
    0% { background-position: -40% 0; }
    100% { background-position: 140% 0; }
}

.eg-minicart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
}

.eg-minicart-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
}

.eg-minicart-close:hover {
    color: #343a40;
}

.eg-minicart-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.5rem 1rem;
}

.eg-minicart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.eg-minicart-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 auto;
    background: #f8f9fa;
}

.eg-minicart-info {
    flex: 1 1 auto;
    min-width: 0;
}

.eg-minicart-title {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eg-minicart-price {
    font-size: 0.85rem;
    color: #495057;
    margin: 0.15rem 0;
}

.eg-minicart-remove {
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    flex: 0 0 auto;
}

.eg-minicart-remove:hover {
    color: #dc3545;
}

.eg-minicart-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e9ecef;
}

.eg-minicart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* --- Qty ovládání (+/-) --- */
.eg-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.eg-qty-inline {
    margin-top: 0.35rem;
}

.eg-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ced4da;
    background: #fff;
    border-radius: 6px;
    color: #495057;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background 0.15s, border-color 0.15s;
}

.eg-qty-btn:hover {
    background: #f1f3f5;
    border-color: #adb5bd;
}

.eg-qty-btn:disabled {
    opacity: 0.55;
    cursor: default;
    background: #f1f3f5;
}

.eg-qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 600;
}

/* --- Toasty --- */
.eg-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.eg-toast {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 220px;
    max-width: 340px;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    animation: eg-toast-in 0.25s ease-out;
}

.eg-toast-success {
    background: #28a745;
}

.eg-toast-info {
    background: #17a2b8;
}

.eg-toast-danger {
    background: #dc3545;
}

@@keyframes eg-toast-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobilní úpravy mini-košíku */
@@media (max-width: 575.98px) {
    .eg-minicart {
        width: 100vw;
        max-width: 100vw;
    }

    .eg-toast-container {
        left: 1rem;
        right: 1rem;
    }

    .eg-toast {
        min-width: 0;
        max-width: none;
    }
}