/*
Theme Name: Kick&Rush
Author: Chris Gosset
Author URI: http://www.kickandrush.com
Description: Kick&Rush Design for Demo tools
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600&display=swap');

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background-color: #543DE5;
    border-radius: 20px;
}

body {
    background-color: #FFFFFF;
    font-family: 'Syne', sans-serif;
    margin: 0;
    overflow-x: hidden;
    transition: all ease .2s;
}

body.dark {
    background-color: #543DE5;
}

.background {
    width: 100%;
    height: calc(100vh + 120px);
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    overflow: hidden;
}

.visual img{
    max-width: 200px;
    position: absolute;
    left: -15px;
    top: 30%;
    transform: translateY(-50%);
    animation: up-down 3.4s infinite ease-in-out alternate;
}

.image-1{
    max-width: 200px;
    position: absolute;
    left: -15px;
    top: 30%;
    transform: translateY(-50%);
    animation: up-down 1.4s infinite ease-in-out alternate;
}

.image-2{
    max-width: 280px;
    position: absolute;
    right: -30px;
    top: 10%;
    transform: translateY(-50%);
    animation: up-down 2s infinite ease-in-out alternate;
}

.image-3{
    max-width: 200px;
    position: absolute;
    right: 15px;
    bottom: 5%;
    transform: translateY(-50%);
    animation: up-down 2.8s infinite ease-in-out alternate;
}

@keyframes up-down{
    from{
        transform: translatey(0px);
    }
    to{
        transform: translatey(-20px);
    }
}

header {
    max-width: 1380px;
    margin: 10px auto 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    background-image: url('assets/images/logo-kar-purple.png');
    width: 220px;
    height: 80px;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

.dark header .logo {
    background-image: url('assets/images/logo-kar-white.png');
}

header .menu-header-menu-container ul {
    padding: 0;
    display: flex;
}

header .menu-header-menu-container ul li {
    list-style: none;
    margin: 0 12px;
}

header .menu-header-menu-container ul li a {
    font-weight: 200;
    text-decoration: none;
    color: #7460f2;
    padding: 3px 0;
    display: block;
}

.dark header .menu-header-menu-container ul li a {
    color: #FFFFFF;
}

header .menu-header-menu-container ul li.current-menu-item a {
    font-weight: 500;
    border-bottom: solid 1px #7460f2;
}

.dark header .menu-header-menu-container ul li.current-menu-item a {
    border-bottom: solid 1px #FFFFFF;
}

header .menu-header-menu-container ul li.new {
    position: relative;
}

header .menu-header-menu-container ul li.new:after {
    content: "NEW";
    background: #0082EB;
    padding: 5px;
    border-radius: 20px;
    font-size: 10px;
    color: white;
    position: absolute;
    top: -16px;
    right: -23px;
}

header .menu-header-menu-container ul li.soon {
    position: relative;
}

header .menu-header-menu-container ul li.soon:after {
    content: "SOON";
    background: #F9D128;
    padding: 5px;
    border-radius: 20px;
    font-size: 10px;
    color: white;
    position: absolute;
    top: -16px;
    right: -23px;
}

header .menu-header-menu-container ul li.maintenance {
    position: relative;
}

header .menu-header-menu-container ul li.maintenance:after {
    content: "IN MAINTENANCE";
    background: #3d29bc;
    padding: 5px;
    border-radius: 20px;
    font-size: 10px;
    color: white;
    position: absolute;
    top: -16px;
    right: -23px;
}

header .menu-header-menu-container ul li.demo {
    position: relative;
}

header .menu-header-menu-container ul li.demo:after {
    content: "DEMO";
    background: #11bf82;
    padding: 5px;
    border-radius: 20px;
    font-size: 10px;
    color: white;
    position: absolute;
    top: -16px;
    right: -23px;
}

ul.sub-menu li a {
    color: #333333 !important;
}

ul.sub-menu li {
    margin: 0 !important;
}
ul.sub-menu {
    flex-direction: column;
    position: absolute;
    margin-left: -13px;
    z-index: 2;
    background: #FFFFFF;
    padding: 5px 12px !important;
    border-radius: 12px;
    display: none !important;
    width: 120px;
}

li.menu-item-has-children:hover .sub-menu {
    display: flex !important;
}

header .links {
    display: flex;
    width: 230px;
}

header .links .support {
    background-image: url('assets/images/icon-support.png');
    background-position: 10px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding: 7px 15px 7px 35px;
    border-radius: 25px;
    border: solid 1px #7460f2;
    background-color: #7460f2;
    color: #FFFFFF;
    font-size: 12px;
    text-decoration: none;
}

header .links .language {
    background-image: url("assets/images/icon-en-flag.png");
    background-position: 10px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding: 7px 15px 7px 35px;
    border-radius: 25px;
    /* border: solid 1px #7460f2; */
    /* background-color: #FFFFFF; */
    color: #7460f2;
    text-decoration: none;
    margin-left: 20px;
    font-size: 12px;
}

header .links .language + ul {
    position: absolute;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 0;
    top: 50px;
    right: 20px;
    display: none;
    transition: all ease .2s;
}

header .links .language:hover + ul,
header .links .language + ul:hover {
    display: block;
}

header .links .language + ul li {
    list-style: none;
    padding: 10px;
}

header .links .language + ul li a {
    text-decoration: none;
    font-size: 12px;
    color: #333333;
    text-align: center;
    background-image: url("assets/images/icon-fr-flag.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 25px;
    padding-left: 32px;
}

.dark header .links .language {
    /* background-color: #160b6f; */
    /* border: solid 1px #7460f2; */
    color: #FFFFFF;
}

.subHeader {
    max-width: 1380px;
    margin: 0 auto;
    text-align: center;
}

.subHeader .title {
    background-color: #7460f2;
    border-radius: 25px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    padding: 10px 25px;
}

.subHeader h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 600;
    margin: 35px 0;
}

.subHeader h1 span {
    font-size: 32px;
}

.subHeader h2 {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    color: #666666;
}

.dark .subHeader h1,
.dark .subHeader h2,
.dark .subHeader h3 {
    color: #FFFFFF;
}

.subHeader h3.doc a {
    background-image: url('assets/images/icon-pdf.png');
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 25px;
    text-decoration: underline;
    color: #333333;
}

.dark .subHeader h3.doc a {
    color: #FFFFFF;
}

.subHeader .actions {
    display: flex;
    max-width: 570px;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

.subHeader .actions span {
    padding: 0 20px;
}

.dark .subHeader .actions span {
    color: #FFFFFF;
}

.subHeader .actions button {
    background-color: #7460f2;
    color: #FFFFFF;
    padding: 10px 30px;
    border-radius: 30px;
    border: solid 1px #7460f2;
    font-family: "Poppins";
    font-size: 16px;
    font-weight: 600;
}

.subHeader .actions button:hover {
    cursor: pointer;
}

.dark .subHeader .actions button {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #7460f2;
}

.searchbar {
    width: 450px;
    border: solid 1px #7460f2;
    background-color: #FFFFFF;
    border-radius: 25px;
    margin: auto;
    display: flex;
    padding: 10px 20px;
}

.searchbar img {
    width: 25px;
}

.searchbar input {
    width: calc(100% - 25px);
    padding: 0 10px;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 400;
}

.searchbar input::placeholder {
    color: #999999;
}

.subHeader h3 {
    font-weight: 300;
    font-size: 14px;
    color: #666666;
}

.dark .subHeader h2 u {
    border-bottom: solid 1px #FFFFFF;
    text-decoration: none;
}

.dark .subHeader h2 label {
    border-bottom: dashed 1px #FFFFFF;
}

.subHeader h2 u {
    border-bottom: solid 1px #7460f2;
    text-decoration: none;
}

.subHeader h2 label {
    border-bottom: dashed 1px #7460f2;
}

.subHeader h2 label:hover {
    cursor: pointer;
}

.mainContent {
    max-width: 1380px;
    margin: 0 auto 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.mainContent .top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    margin-bottom: 10px;
}

.mainContent .top .filters label {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding-left: 25px;
}

.mainContent .top .filters ul li label.active {
    background-image: url('assets/images/icon-check.png');
    background-position: left center;
    background-size: 20px;
    background-repeat: no-repeat;
}

.mainContent .top .filters ul li label:hover {
    cursor: pointer;
}

.dark .mainContent .top .filters label {
    color: #FFFFFF;
}

.mainContent .top .filters ul li a {
    display: flex;
}

.dark .mainContent .top .filters a label {
    color: #000000;
}

.mainContent .top .filters label img {
    margin-left: 10px;
    width: 12px;
    transform: rotate(180deg);
    transition: all ease .2s;
}

.mainContent .top .filters label:hover {
    cursor: pointer;
}

.mainContent .top .filters label.active img {
    transform: rotate(0deg);
}

.dark .mainContent .top .filters label img {
    filter: invert();
}

.mainContent .top .filters ul {
    display: none;
    position: absolute;
    z-index: 2;
    background-color: #FFFFFF;
    width: calc(100% - 60px);
    border-radius: 10px;
    padding: 30px;
    margin: 8px 0;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.22);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.22);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.22);
}

.mainContent .top .filters ul button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: #fad128;
    font-weight: 500;
    font-size: 20px;
    font-family: "Poppins";
}

.mainContent .top .filters ul button:hover {
    cursor: pointer;
}

.mainContent .top .filters ul li {
    display: inline-block;
    list-style: none;
    margin-right: 30px;
    width: 230px;
    height: 40px;
}

.mainContent .top .viewAll {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #000000;
    margin-right: 15px;
    background: none;
    border: none;
}

.mainContent .top .viewAll:hover {
    cursor: pointer;
}

.dark .mainContent .top .viewAll {
    color: #FFFFFF;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 30px;
    grid-auto-flow: row;
    padding: 1px;
    width: 100%;
}

.grid.catalog, .grid.docs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.grid.docs h2 {
    width: 100%;
    border-bottom: solid 1px blue;
    padding: 20px;
    margin: 0;
}

.dark .grid.docs h2 {
    color: #FFFFFF;
}

.bluegreen {
    background-color: #99e6dc;
}

.green {
    background-color: #11bf82;
}

.lightblue {
    background-color: #0082ec;
    color: #FFFFFF;
}

.yellow {
    background-color: #fad128;
}

.pink {
    background-color: #ff6699;
}

.blue {
    background-color: #7460f2;
    color: #FFFFFF;
}

.card.lightblue .bottom .link img,
.card.blue .bottom .link img,
.card.lightblue.close .top .public,
.card.lightblue.open .top .public,
.card.blue.close .top .public,
.card.blue.open .top .public {
    filter: invert();
    color: #000000;
}

.card {
    padding: 1rem;
    font-size: 14px;
    font-weight: bold;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card.catalog, .card.docs {
    width: calc(33% - 50px);
    background: rgb(249,247,247);
    background: linear-gradient(0deg, rgba(249,247,247,1) 0%, rgba(234,234,234,1) 100%);
}

.card .visual {
    position: relative;
    width: 160px;
    height: 230px;
    margin: auto;
}

.card .visual img {
    max-height: 230px !important;
    bottom: -30px;
    left: 0;
    top: inherit;
}

.card.docs .visual {
    position: relative;
    width: 120px;
    height: 160px;
    margin: auto;
}

.card.docs .visual img {
    max-height: 150px !important;
    bottom: -30px;
    left: 0;
    top: inherit;
}

.card .overlay-link {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    margin: -1rem;
}

.card .overlay-link:hover {
    cursor: pointer;
}

.card .top {
    display: flex;
}

.card .top .public {
    font-size: 11px;
    font-weight: 600;
}

.card .top .desc {
    font-size: 16px;
    font-weight: 300;
}

.card .top .lang a {
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    background-color: #7460f2;
    color: #FFFFFF;
    padding: 3px 10px;
    text-decoration: none;
    border-radius: 20px;
}

.card.dark .public,
.card.dark .date,
.card.dark h4 {
    color: #FFFFFF;
    filter: invert();
}

.card.light .public,
.card.light .date,
.card.light h4 {
    color: #FFFFFF;
}

.card.close .top .public {
    background-image: url("assets/images/icon-lock.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 12px;
    padding-left: 20px;
    min-width: 70px;
}

.card.open .top .public {
    background-image: url("assets/images/icon-unlock.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-left: 24px;
    min-width: 70px;
}

.card .top .public.people {
    background-image: url("assets/images/icon-user.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-left: 24px;
    font-weight: 300;
}

.card .top .features {
    font-size: 11px;
    font-weight: 100;
    max-width: 60%;
    text-align: right;
}

.card .top .features.date {
    background-image: url('assets/images/icon-time.png');
    background-position: left;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-left: 22px;
    font-size: 11px;
    font-weight: 100;
    max-width: 80%;
    text-align: right;
}

.card .bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 30px;
}

.card .bottom h4 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.card .bottom .link img {
    width: 20px;
}

.w-1 {
    grid-column-end: span 1;
}

.w-2 {
    grid-column-end: span 2;
}

.w-3 {
    grid-column-end: span 3;
}

.w-4 {
    grid-column-end: span 4;
}

.h-1 {
    grid-row-end: span 1;
}

.h-2 {
    grid-row-end: span 2;
}

.h-3 {
    grid-row-end: span 3;
}

.h-4 {
    grid-row-end: span 4;
}

footer {
    position: fixed;
    width: 30px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: rgb(234, 233, 233);
    padding: 14px 3px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    justify-content: space-between;
}

footer.right {
    right: 0;
    left: inherit;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.dark footer {
    background: #3d29bc;
}

footer .mode a {
    padding: 40px 5px 5px 5px;
    border-radius: 50px;
    color: #7460f2;
    font-size: 12px;
    text-decoration: none;
    background-image: url(assets/images/icon-light-2.png);
    background-position: 4px 0;
    background-repeat: no-repeat;
    background-size: 20px;
    display: block;
    width: 20px;
}

.dark footer .mode a {
    background-image: url("assets/images/icon-light.png");
}

footer .discreet button {
    padding: 35px 5px 5px 5px;
    border-radius: 50px;
    color: #7460f2;
    font-size: 12px;
    text-decoration: none;
    background-image: url("assets/images/icon-eye.png");
    background-position: 5px 0px;
    background-repeat: no-repeat;
    background-size: 20px;
    display: block;
    width: 30px;
    background-color: transparent;
    border: none;
}

.dark footer .discreet button {
    background-image: url("assets/images/icon-eye-2.png");
}

footer .discreet .invisibleMode {
    display: none;
}

.popupForm {
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    display: none;
}

.popupForm button.close {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #FFFFFF;
    z-index: 9999;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    border: none;
    font-weight: bold;
    font-size: 23px;
    font-family: "Poppins";
}

.popupForm button.close:hover {
    cursor: pointer;
}

.popupForm .content {
    background-color: #1b135c;
    padding: 30px;
    border-radius: 25px;
    max-height: 640px;
    overflow: scroll;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 600px;
}

.popupForm .content h3 {
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
}

div[class^=Component__HeadingControl] {
    color: #FFFFFF;
    text-transform: uppercase;
}

div[class^=WidgetBackground__ContentContainer-] {
    height: auto !important;
}

div[class^=FieldsGrid__Row] {
    display: flex;
}

div[class^=FieldsGrid__Row]:nth-child(1), div[class^=FieldsGrid__Row]:nth-child(1) div {
    width: 100%;
}

div[class^=FormFieldLayout__Container] {
    width: 50%;
}

.shop div[class^=FieldsGrid__Row]:nth-child(4) div, .shop div[class^=FieldsGrid__Row]:nth-child(5) div {
    width: 100%;
}

/* .shop div[class^=FieldsGrid__Row]:nth-child(4), .shop div[class^=FieldsGrid__Row]:nth-child(5) {
    float: left;
    width: 50%;
} */

/* .catalog div[class^=FieldsGrid__Row]:nth-child(2), .catalog div[class^=FieldsGrid__Row]:nth-child(3) {
    float: left;
    width: 50%;
} */

.catalog div[class^=FieldsGrid__Row]:nth-child(2) div, .catalog div[class^=FieldsGrid__Row]:nth-child(3) div {
    width: 100%;
}

div[class^=FormLayout__ButtonsGroup] {
    clear: both;
}

div[class^=Footer__WidgetFooter-] {
    display: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-left: -10px;
    transform: rotate(90deg);
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #7460f2;
}

input:focus + .slider {
    box-shadow: 0 0 1px #7460f2;
}

input:checked + .slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

input.filter {
    display: none;
}

#f-multilanguage:checked ~ .grid > *:not(.f-multilanguage),
#f-custom-currency:checked ~ .grid > *:not(.f-custom-currency),
#f-email-domains-limited:checked ~ .grid > *:not(.f-email-domains-limited),
#f-customer-approval:checked ~ .grid > *:not(.f-customer-approval),
#f-product-label:checked ~ .grid > *:not(.f-product-label),
#f-on-demand:checked ~ .grid > *:not(.f-on-demand),
#f-personalisation:checked ~ .grid > *:not(.f-personalisation),
#f-collect-in-store:checked ~ .grid > *:not(.f-collect-in-store),
#f-po-number:checked ~ .grid > *:not(.f-po-number),
#f-cost-center:checked ~ .grid > *:not(.f-cost-center),
#f-order-approval:checked ~ .grid > *:not(.f-order-approval),
#f-custom-form:checked ~ .grid > *:not(.f-custom-form),
#f-group-switcher:checked ~ .grid > *:not(.f-group-switcher),
#f-group-selector:checked ~ .grid > *:not(.f-group-selector),
#f-sso:checked ~ .grid > *:not(.f-sso),
#f-punchout:checked ~ .grid > *:not(.f-punchout),
#f-e-catalog:checked ~ .grid > *:not(.f-e-catalog),
#f-guided-tour:checked ~ .grid > *:not(.f-guided-tour),
#f-fixed-address:checked ~ .grid > *:not(.f-fixed-address),
#f-budget:checked ~ .grid > *:not(.f-budget),
#f-recommended-products:checked ~ .grid > *:not(.f-recommended-products),
#f-eco-score:checked ~ .grid > *:not(.f-eco-score),
#f-group-purchase:checked ~ .grid > *:not(.f-group-purchase),
#f-employee-voucher:checked ~ .grid > *:not(.f-employee-voucher),
#f-order-import:checked ~ .grid > *:not(.f-order-import),
#f-surcharge:checked ~ .grid > *:not(.f-surcharge),
#f-pro:checked ~ .grid > *:not(.f-pro),
#f-proplus:checked ~ .grid > *:not(.f-proplus),
#f-premium:checked ~ .grid > *:not(.f-premium) {
    width: 0;
    padding: 0;
    margin: 0;
    height: 0;
    overflow: hidden;
}

input.filter:checked ~ .grid {
    grid-gap: 0px;
    display: flex;
    flex-wrap: wrap;
}

input.filter:checked ~ .grid .card {
    margin: 15px;
    width: calc(33% - 58px);
}

.warning {
    background-color: #F9D128;
    color: #000000;
    padding: 12px;
    text-align: center;
}

.page-ai-assistant section,
.page-image-creator section, 
.page-content-generator section {
    max-width: 1200px;
    margin: 50px auto;
}

.page-ai-assistant .actions,
.page-image-creator .actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-image-creator .actions {
    margin: 30px 0;
}

.page-ai-assistant .actions .microphone,
.page-ai-assistant .actions .mute,
.page-image-creator .actions .microphone,
.page-image-creator .actions .mute {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    text-align: center;
    line-height: 50px;
    position: relative;
}

.page-image-creator .actions .microphone {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    text-align: center;
    line-height: 50px;
    margin-right: 15px;
    position: relative;
}

.page-ai-assistant .actions .microphone img,
.page-image-creator .actions .microphone img,
.page-ai-assistant .actions .mute img,
.page-image-creator .actions .mute img {
    max-height: 25px;
    max-width: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.page-ai-assistant .actions .button,
.page-image-creator .actions .button {
    background: #7460F2;
    margin: 0 20px;
    color: white;
    border-radius: 25px;
    padding: 10px 20px;
}

.page-ai-assistant .actions .button button,
.page-image-creator .actions .button button {
    border: none;
    background-color: #FFFFFF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 29px;
    font-weight: bold;
    font-family: "Syne";
    font-size: 16px;
    margin-left: 8px;
}

.page-ai-assistant .actions .button button:hover,
.page-image-creator .actions .button button:hover,
.page-ai-assistant .actions .button button:hover,
.page-image-creator .actions .button button:hover {
    cursor: pointer;
}

.page-ai-assistant .actions .button input,
.page-image-creator .actions .button input {
    background: none;
    border: none;
    border-bottom: solid 1px #FFFFFF;
    color: #FFFFFF;
    outline: none;
    font-family: "Syne";
    font-size: 16px;
}

.page-image-creator .actions .button input {
    width: 450px;
}

.actions .button input::placeholder {
    color: #FFFFFF;
}

.page-image-creator .forms {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: white;
    font-size: 24px;
}

.page-ai-assistant .forms {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.page-ai-assistant .forms textarea {
    width: 48%;
    min-height: 450px;
    border: none;
    border-radius: 25px;
    padding: 20px;
}

.loading {
    background: rgba(255,255,255,0.5);
    position: fixed;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    display: none;
}

.loading img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    border-radius: 20px;
    max-width: 230px;
    padding: 20px;
    background: #FFFFFF;
    border: dashed 1px #533DE4;
}

.loading:after {
    content: "This can take a little moment, but dont worry, you save a lot of time by using the K&R AI assistant.";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 80px;
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;
    max-width: 420px;
}

.loading button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #533DE4;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 18px;
    color: white;
    font-family: "Syne";
}

.loading button:hover {
    cursor: pointer;
}

.lds-ripple {
    /* display: none; */
    position: absolute;
    z-index: 9999;
    width: 80px;
    height: 80px;
    margin: auto;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

a.gift-link, a.demo-link {
    position: absolute;
    z-index: 9999;
    color: #333333;
    margin-top: 20px;
    text-decoration: none;
    background: #FFFFFF;
    padding: 5px;
    border-radius: 5px;
}

a.demo-link {
    left: 100px;
}

.kr-tabs {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 18px auto 70px;
    justify-content: center;
}
.tab {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 16px;
    padding: 8px 0;
    opacity: 0.85;
}
.tab.active {
    opacity: 1;
    border-bottom: 2px solid #fff;
}
.hero-copy {
    text-align: center;
    margin: 32px auto 0;
    max-width: 700px;
    position: relative;
    z-index: 2;
}
.pill {
    display: inline-flex;
    padding: 14px 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 14px;
    font-weight: 700;
}
.pill.mini {
    padding: 8px 16px;
    font-size: 11px;
    color: #fff;
}
.hero-copy h1 {
    font-size: 44px;
    line-height: 1.14;
    margin: 26px 0 28px;
    font-weight: 700;
    letter-spacing: -1px;
}
.hero-copy p {
    font-size: 18px;
    margin: 0 0 18px;
}
.hero-copy small {
    display: block;
    margin-top: 14px;
}
.search-wrap {
    height: 52px;
    background: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
    color: #111;
    padding: 0 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.search-icon {
    font-size: 36px;
    font-weight: 400;
    transform: rotate(-25deg);
    line-height: 1;
}
.search-wrap input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 18px;
    background: transparent;
}
.floating-product {
    position: absolute;
    border-radius: 26px;
    filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.22));
    opacity: 0.98;
}
.product-left {
    width: 112px;
    height: 260px;
    background: linear-gradient(135deg, #fd7b2f, #e95a19);
    left: 50px;
    top: 255px;
    transform: rotate(-22deg);
    border-radius: 34px 34px 18px 18px;
}
.product-left:before {
    content: "";
    position: absolute;
    width: 72px;
    height: 28px;
    border: 14px solid #d94910;
    border-right: 0;
    border-radius: 30px 0 0 30px;
    left: -44px;
    top: 35px;
}
.product-right {
    width: 210px;
    height: 118px;
    background: linear-gradient(135deg, #8de5ff, #3faedb);
    right: 42px;
    top: 140px;
    transform: rotate(-24deg);
    border: 11px solid #e7f2f6;
}
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 34px 26px;
    margin-top: -20px;
}
.filters-toggle,
.ghost-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 0;
    color: #fff;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 15px;
}
.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.actions select {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 13px 14px;
    outline: 0;
}
.actions option {
    color: #111;
}
.primary-btn {
    background: #fff;
    color: var(--kr-purple);
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
}
.panel {
    display: none;
    padding: 0 34px 48px;
}
.panel.active {
    display: block;
}
.grid.compact .idea-card {
    min-height: 250px;
}
.idea-card {
    grid-column: span 4;
    min-height: 210px;
    border-radius: var(--kr-card-radius);
    padding: 20px 20px 18px;
    color: #070707;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.idea-card:nth-child(5n + 1) {
    background: var(--kr-green);
}
.idea-card:nth-child(5n + 2) {
    background: var(--kr-mint);
}
.idea-card:nth-child(5n + 3) {
    background: var(--kr-yellow);
}
.idea-card:nth-child(5n + 4) {
    background: var(--kr-pink);
}
.idea-card:nth-child(5n + 5) {
    background: var(--kr-violet);
    color: #fff;
}
.idea-card.large {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 380px;
}
.meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
}
.tags {
    font-size: 12px;
    text-align: right;
    max-width: 55%;
}
.card-title {
    font-size: 28px;
    line-height: 1.05;
    margin: 26px 0 8px;
    font-weight: 700;
}
.card-description {
    font-size: 13px;
    line-height: 1.35;
    max-width: 86%;
}
.card-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}
.date {
    font-size: 12px;
    opacity: 0.78;
}
.arrow {
    font-size: 34px;
    line-height: 1;
    color: #000000;
    text-decoration: none;
}
.thumbs {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.thumbs img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.section-head h2 {
    font-size: 34px;
    margin: 0;
}
.empty-state {
    display: none;
    text-align: center;
    padding: 42px;
}
.empty-state.show {
    display: block;
}
.modal {
    border: 0;
    background: transparent;
    padding: 0;
    width: min(760px, calc(100vw - 28px));
}
.modal::backdrop {
    background: rgba(16, 12, 70, 0.68);
    backdrop-filter: blur(6px);
}
.modal-card {
    background: #fff;
    color: #111;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}
.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}
.modal-head h2 {
    margin: 12px 0 0;
    font-size: 28px;
}
.modal .pill {
    background: var(--kr-purple);
}
.icon-btn {
    border: 0;
    background: #f0effa;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 24px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
input,
select,
textarea {
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 15px;
    background: #fff;
    color: #111;
}
textarea {
    min-height: 96px;
    resize: vertical;
}
.preview-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.preview-row img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}
.modal .ghost-btn {
    background: #f0effa;
    color: #111;
}
.modal .primary-btn {
    background: var(--kr-purple);
    color: #fff;
}
.form-error {
    color: #d5164d;
    font-size: 13px;
    min-height: 18px;
}
@media (max-width: 980px) {
    .idea-card,
    .idea-card.large {
        grid-column: span 6;
    }
    .product-right {
        display: none;
    }
}
@media (max-width: 680px) {
    .kr-topbar,
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .kr-tabs {
        margin: 18px 0 0;
        gap: 18px;
    }
    .hero-copy h1 {
        font-size: 34px;
    }
    .idea-card,
    .idea-card.large {
        grid-column: span 12;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .product-left {
        opacity: 0.28;
    }
    .actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
}

.background {
    width: 100%;
    height: calc(100vh + 120px);
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    overflow: hidden;
}

.visual img{
    max-width: 200px;
    position: absolute;
    left: -15px;
    top: 30%;
    transform: translateY(-50%);
    animation: up-down 3.4s infinite ease-in-out alternate;
}

.image-1{
    max-width: 200px;
    position: absolute;
    left: -15px;
    top: 30%;
    transform: translateY(-50%);
    animation: up-down 1.4s infinite ease-in-out alternate;
}

.image-2{
    max-width: 280px;
    position: absolute;
    right: -30px;
    top: 10%;
    transform: translateY(-50%);
    animation: up-down 2s infinite ease-in-out alternate;
}

.image-3{
    max-width: 200px;
    position: absolute;
    right: 15px;
    bottom: 5%;
    transform: translateY(-50%);
    animation: up-down 2.8s infinite ease-in-out alternate;
}

@keyframes up-down{
    from{
        transform: translatey(0px);
    }
    to{
        transform: translatey(-20px);
    }
}
/* Card gallery + fullscreen lightbox */
.card-gallery {
    margin: -8px -8px 16px;
}
.gallery-main {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
}
.gallery-main img {
    display: block;
    width: 100%;
    height: 185px;
    object-fit: cover;
    background: rgba(255,255,255,.2);
    transition: transform .25s ease;
}
.gallery-main:hover img {
    transform: scale(1.04);
}
.gallery-count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}
.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 9px 2px 1px;
}
.gallery-thumb {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    background: transparent;
    opacity: .72;
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.9);
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(5,5,12,.92);
    backdrop-filter: blur(10px);
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.lightbox-btn {
    position: absolute;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    display: grid;
    place-items: center;
    backdrop-filter: blur(10px);
}
.lightbox-close {
    top: 22px;
    right: 22px;
}
.lightbox-prev {
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-next {
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
}
body.lightbox-open {
    overflow: hidden;
}
@media (max-width: 680px) {
    .gallery-main img {
        height: 220px;
    }
    .lightbox {
        padding: 18px;
    }
    .lightbox-btn {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }
}
