:root {
    /* New 5-color design system */
    --main-black: #000000;
    --main-pink: #dd0085;
    --accent-orange: #ff6420;
    --supporting-pink: #f9ace8;
    --supporting-light-pink: #ffe6fa;

    /* Legacy aliases (safety) */
    --dark-pink: #dd0085;
    --very-dark-pink: #dd0085;
    --light-pink: #f9ace8;
    --primary-bg: #000000;
    --input-bg: #ffe6fa;
    --primary-text: #ffffff;
    --page-title: #ffffff;
}

@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/Clash Display/ClashDisplay-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Switzer';
    src: url('../fonts/Switzer_Complete/Fonts/WEB/fonts/Switzer-Variable.woff2') format('woff2'),
         url('../fonts/Switzer_Complete/Fonts/WEB/fonts/Switzer-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Black Signature';
    src: url('../fonts/Black-Signatures-10255958/Black Signature.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Typography system */
h1, h2, h3 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

h4, h5, h6 {
    font-family: 'Switzer', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
}

p, body {
    letter-spacing: 0.02em;
}

/* Decorative accent utility class */
.accent-text {
    font-family: 'Black Signature', cursive;
    font-weight: 400;
    letter-spacing: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body > .container {
    animation: fadeInUp 0.4s ease-out;
}

/*general*/
html {
    padding-top: 70px;
    padding-bottom: 60px;
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    padding-top: 90px;
    font-size: 16px;
  }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
    background-color: var(--main-black);
    color: var(--primary-text);
}

/* Active nav item */
.nav-active {
    border-bottom: 2px solid var(--main-pink);
    color: var(--main-pink) !important;
}

/*inputs*/

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
    border-color: var(--main-pink);
    box-shadow: 0 0 0 0.2rem rgba(221,0,133,0.25);
    fill: var(--main-pink);
}

.form-check-input:checked {
    background-color: var(--main-pink);
    border-color: var(--main-pink);
}

.FormInput, .FormInput:focus, .FormInput:read-only {
    color: #000000;
    background-color: #ffffff;
    border: 1px solid var(--supporting-pink);
    border-radius: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.FormInput:focus {
    border-color: var(--main-pink);
    box-shadow: 0 2px 8px rgba(221,0,133,0.10);
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #000000 !important;
}

/*specific elements*/

.PageTitle {
    color: var(--page-title);
}

.Logo {
    height: 50px;
}

.LoginContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 160px);
}

.LoginWidth {
    width: 100%;
    max-width: 420px;
}

.FrVsEn {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .FrVsEn {
        grid-template-columns: 1fr 1fr;
    }
}

.FrVsEn > div {
    min-width: 0; /* Prevents content from breaking grid layout */
}

.FrVsEn input[type="text"],
.FrVsEn textarea {
    width: 100%;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/*menu view page*/

.RoundedBorders {
    border-radius: 25px;
}

.image-container {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Creates a square container */
    position: relative;
    background-color: white; /* Add white background for padding */
    overflow: hidden;
}

.responsive-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.FlagsContainer {
    position: absolute;
    top: 1%;
    left: 1%;
    display: flex;
    flex-direction: column;
}

.Flags {
    padding: .375rem .75rem;
    margin: .2rem;
    background-color: var(--accent-orange);
    font-family: 'Switzer', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .8rem;
    width: fit-content;
    color: white;
    box-shadow: 0 2px 8px rgba(255,100,32,0.3);
}

.MenuTitleBox {
    background-color: var(--main-pink);
    padding: 25px;
    margin: 20px;
    border-radius: 40px;
    color: white;
    box-shadow: 0 4px 20px rgba(221,0,133,0.25);
    transition: box-shadow 0.3s ease;
}

.ProductElements {
    position: relative;
    display: inline-block;
}

.ProductElements img {
    display: block;
    width: 100%;
    height: auto;
}

.DescriptionFilter {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--supporting-pink);
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .CenterProducts {
        justify-content: center;
    }
}

/*///////////////////////////////////////*/

.WhishlistRow {
    display: flex;
    flex-direction: row;
}

.ExBtn {
    color: var(--supporting-pink);
}

.ExBtn:hover {
    color: white;
}

.IsWish {
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    color: green;
    background-color: rgba(161,255,161, 0.6);
    font-size: 3rem;
    z-index: 10;
}

/* Toast notifications */
#toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.app-toast {
    padding: 12px 24px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    max-width: 90vw;
    text-align: center;
}

.app-toast-show {
    opacity: 1;
    transform: translateY(0);
}

.app-toast-success {
    background-color: var(--main-pink);
    box-shadow: 0 4px 16px rgba(221,0,133,0.35);
}

.app-toast-error {
    background-color: #dc3545;
    box-shadow: 0 4px 16px rgba(220,53,69,0.35);
}

/* telerik*/
/* Doesn't work AFTER R1 2022 */
.k-input {
    background-color: var(--supporting-light-pink);
}
/* Doesn't work BEFORE R1 2022 */
.k-input-inner {
    background-color: var(--supporting-light-pink);
}
.k-label {
    color: #ffffff;
}
