/* Flame Team - Custom Styles */

/* Swiper custom styles */
.swiper-button-next,
.swiper-button-prev {
    color: #D4A853 !important;
}

.swiper-pagination-bullet-active {
    background: #D4A853 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #D4A853;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c49a3f;
}

/* Product card hover effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Tree view styles */
.tree-container {
    padding: 20px;
    min-width: 600px;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #D4A853;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notification */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
    max-width: 350px;
}

.toast-success {
    background: #22c55e;
}

.toast-error {
    background: #ef4444;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive table */
@media (max-width: 768px) {
    .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 13px;
    }
}

/* Focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
}

/* No image placeholder */
.no-image {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Perfumes page */
.perfumes-page {
    --perfume-dark: #121d3a;
    --perfume-green: #0da347;
    --perfume-hero-muted: #5f6f85;
    --perfume-blue-bg: #eff5fd;
    --perfume-blue: #3976eb;
    --perfume-pink-bg: #fdf7f8;
    --perfume-pink: #f35f83;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

.perfume-hero {
    background: #ffffff;
    padding: 92px 24px 86px;
    text-align: center;
}

.perfume-hero__inner {
    max-width: 1150px;
    margin: 0 auto;
}

.perfume-hero__kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.42em;
    color: #d7a44f;
    margin-bottom: 30px;
}

.perfume-hero__title {
    margin: 0;
    color: var(--perfume-dark);
    font-size: clamp(42px, 5.6vw, 86px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.perfume-hero__title span {
    display: block;
}

.perfume-hero__title-accent {
    color: var(--perfume-green);
}

.perfume-hero__quote {
    max-width: 980px;
    margin: 44px auto 34px;
    color: var(--perfume-hero-muted);
    font-size: clamp(18px, 1.85vw, 30px);
    line-height: 1.65;
    font-style: italic;
}

.perfume-hero__footer-label {
    display: flex;
    justify-content: center;
}

.perfume-hero__footer-label span {
    position: relative;
    color: #a3afbf;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    padding: 0 76px;
}

.perfume-hero__footer-label span::before,
.perfume-hero__footer-label span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 56px;
    border-top: 1px solid #d3dce9;
}

.perfume-hero__footer-label span::before {
    left: 0;
}

.perfume-hero__footer-label span::after {
    right: 0;
}

.perfume-block {
    position: relative;
    overflow: hidden;
    padding: 106px 24px;
}

.perfume-block--blue {
    background: var(--perfume-blue-bg);
}

.perfume-block--pink {
    background: var(--perfume-pink-bg);
}

.perfume-block__word {
    position: absolute;
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(106px, 14vw, 280px);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #a9c5f4;
    opacity: 0.2;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

.perfume-block__word--right {
    left: auto;
    right: 3%;
    color: #f6c0d0;
}

.perfume-block__container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(400px, 1fr);
    gap: 94px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.perfume-block__visual {
    width: 100%;
}

.perfume-image-frame {
    position: relative;
    width: min(100%, 500px);
    margin: 0 auto;
    background: #ffffff;
}

.perfume-image-frame--square {
    aspect-ratio: 1 / 1;
    padding: 48px;
    box-shadow: 0 30px 70px rgba(72, 109, 171, 0.12);
}

.perfume-image-frame--square::before,
.perfume-image-frame--square::after {
    content: "";
    position: absolute;
    width: 132px;
    height: 132px;
    border-color: #bdd6ff;
}

.perfume-image-frame--square::before {
    top: -24px;
    left: -24px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.perfume-image-frame--square::after {
    right: -24px;
    bottom: -24px;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

.perfume-image-frame--arch {
    aspect-ratio: 1 / 1.08;
    padding: 58px 54px 34px;
    border: 8px solid rgba(255, 255, 255, 0.92);
    border-radius: 220px 220px 14px 14px;
    box-shadow: 0 30px 70px rgba(233, 122, 154, 0.14);
}

.perfume-image-frame--arch::before {
    content: "";
    position: absolute;
    top: -42px;
    right: -30px;
    width: 142px;
    height: 142px;
    border: 1px solid rgba(246, 181, 198, 0.75);
    border-radius: 50%;
}

.perfume-image-frame--arch::after {
    content: "";
    position: absolute;
    bottom: -24px;
    left: -34px;
    width: 76px;
    height: 76px;
    background: rgba(248, 198, 212, 0.32);
    border-radius: 50%;
}

.perfume-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.perfume-image--blue {
    filter: grayscale(1) brightness(1.1) contrast(0.92);
}

.perfume-image--pink {
    transform: translateY(8px);
}

.perfume-block__kicker {
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.45em;
    text-transform: uppercase;
}

.perfume-block__kicker--blue {
    color: #4d88f0;
}

.perfume-block__kicker--pink {
    color: #f58ba2;
}

.perfume-block__title {
    margin: 0 0 22px;
    line-height: 1.02;
}

.perfume-block__title-thin,
.perfume-block__title-strong {
    display: block;
    letter-spacing: -0.02em;
}

.perfume-block__title-thin {
    color: #1a2238;
    font-size: clamp(44px, 4vw, 74px);
    font-weight: 400;
}

.perfume-block__title-strong {
    font-size: clamp(54px, 4.8vw, 92px);
    font-weight: 800;
}

.perfume-block__title-strong--blue {
    color: var(--perfume-blue);
}

.perfume-block__title-strong--pink {
    color: var(--perfume-pink);
}

.perfume-block__description {
    margin: 0;
    max-width: 620px;
    font-size: clamp(18px, 1.45vw, 26px);
    line-height: 1.65;
    color: #68758a;
}

.perfume-block__divider {
    width: 176px;
    height: 16px;
    margin: 26px 0 20px;
    position: relative;
}

.perfume-block__divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 7px;
    border-top: 1px solid currentColor;
}

.perfume-block__divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid currentColor;
    background: #ffffff;
}

.perfume-block__divider--blue {
    color: #98b6e9;
}

.perfume-block__divider--pink {
    color: #f4b7c7;
}

.perfume-block__quote {
    margin: 0;
    max-width: 640px;
    color: #9aa6b8;
    font-size: clamp(16px, 1.18vw, 22px);
    line-height: 1.6;
    font-style: italic;
}

@media (max-width: 1100px) {
    .perfume-block__container {
        gap: 56px;
        grid-template-columns: 1fr;
    }

    .perfume-block__content {
        text-align: center;
        max-width: 760px;
        margin: 0 auto;
    }

    .perfume-block__description,
    .perfume-block__quote {
        margin-left: auto;
        margin-right: auto;
    }

    .perfume-block__divider {
        margin-left: auto;
        margin-right: auto;
    }

    .perfume-block__word {
        top: 14%;
        transform: none;
        opacity: 0.16;
    }

    .perfume-block__word--right {
        top: auto;
        bottom: 8%;
    }
}

@media (max-width: 768px) {
    .perfume-hero {
        padding: 74px 16px 64px;
    }

    .perfume-hero__kicker {
        letter-spacing: 0.28em;
    }

    .perfume-hero__quote {
        margin: 32px auto 28px;
        line-height: 1.6;
    }

    .perfume-hero__footer-label span {
        padding: 0 52px;
    }

    .perfume-hero__footer-label span::before,
    .perfume-hero__footer-label span::after {
        width: 36px;
    }

    .perfume-block {
        padding: 78px 16px;
    }

    .perfume-block__word {
        font-size: clamp(66px, 24vw, 132px);
        left: 4%;
    }

    .perfume-block__word--right {
        right: 2%;
    }

    .perfume-image-frame--square {
        padding: 32px;
    }

    .perfume-image-frame--arch {
        padding: 42px 30px 24px;
        border-width: 6px;
    }

    .perfume-block__kicker {
        letter-spacing: 0.28em;
    }
}

/* About page (custom layout) */
.about-crafted {
    font-family: "Poppins", "Segoe UI", sans-serif;
    background: #f5f5f5;
}

.about-crafted-hero {
    background: #eef2f7;
}

.about-crafted-hero img {
    width: 100%;
    height: clamp(280px, 43vw, 540px);
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-crafted-main {
    max-width: 1260px;
    margin: 0 auto;
    padding: 56px 20px 110px;
}

.about-crafted-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 78px;
}

.about-crafted-intro img {
    width: min(280px, 70vw);
    margin: 0 auto 28px;
}

.about-crafted-intro h1 {
    margin: 0 0 14px;
    color: #1a1f2e;
    font-size: clamp(36px, 3.2vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.about-crafted-intro p {
    margin: 0;
    color: #737b87;
    font-size: clamp(15px, 1.06vw, 20px);
    line-height: 1.75;
}

.about-crafted-row {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(340px, 1fr);
    gap: 72px;
    align-items: center;
    margin-bottom: 104px;
}

.about-crafted-row:last-child {
    margin-bottom: 0;
}

.about-crafted-image-card {
    background: #ffffff;
    border-radius: 32px;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    box-shadow: 0 26px 45px rgba(13, 19, 33, 0.1);
}

.about-crafted-image-card img {
    width: 100%;
    max-width: 480px;
    max-height: 400px;
    object-fit: contain;
}

.about-crafted-image-card--green {
    border: 2px solid #c8f2d7;
}

.about-crafted-image-card--gold {
    border: 2px solid #f1de97;
}

.about-crafted-copy h2 {
    margin: 0 0 18px;
    color: #141d35;
    line-height: 1.04;
}

.about-crafted-copy h2 span {
    display: block;
    letter-spacing: -0.015em;
}

.about-crafted-copy h2 span:first-child {
    font-size: clamp(42px, 3.9vw, 72px);
    font-weight: 800;
}

.about-crafted-accent {
    font-size: clamp(54px, 4.9vw, 88px);
    font-weight: 800;
}

.about-crafted-accent--green {
    color: #00b548;
}

.about-crafted-accent--gold {
    color: #e5a902;
}

.about-crafted-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
    border-radius: 999px;
    padding: 5px 14px 4px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.about-crafted-kicker--green {
    color: #0da649;
    background: #d7f6e4;
}

.about-crafted-kicker--gold {
    color: #d49f00;
    background: #fff0bc;
}

.about-crafted-copy blockquote {
    margin: 0;
    padding-left: 20px;
    border-left: 4px solid #0dbb54;
    color: #2f3a4d;
    font-size: clamp(14px, 1.04vw, 19px);
    line-height: 1.88;
    font-style: italic;
    font-weight: 600;
}

.about-crafted-paragraph {
    margin: 0 0 10px;
    color: #2f3a4d;
    font-size: clamp(14px, 1.04vw, 19px);
    line-height: 1.84;
    font-weight: 600;
}

.about-crafted-note {
    margin: 0 0 26px;
    color: #db9f00;
    font-size: clamp(14px, 1.04vw, 20px);
    line-height: 1.7;
    font-style: italic;
    font-weight: 700;
}

.about-crafted-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.about-crafted-btn--green {
    border: 2px solid #13bf5b;
    color: #0ea54a;
}

.about-crafted-btn--green:hover {
    background: #13bf5b;
    color: #ffffff;
}

.about-crafted-btn--gold {
    border: 2px solid #e0af08;
    color: #cf9a00;
}

.about-crafted-btn--gold:hover {
    background: #e0af08;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .about-crafted-main {
        padding-top: 48px;
        padding-bottom: 92px;
    }

    .about-crafted-row {
        grid-template-columns: 1fr;
        gap: 38px;
        margin-bottom: 84px;
    }

    .about-crafted-row--reverse .about-crafted-copy {
        order: 1;
    }

    .about-crafted-row--reverse .about-crafted-image-card {
        order: 2;
    }

    .about-crafted-copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .about-crafted-copy blockquote {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-crafted-main {
        padding: 36px 14px 72px;
    }

    .about-crafted-intro {
        margin-bottom: 58px;
    }

    .about-crafted-intro h1 {
        font-size: clamp(28px, 8vw, 46px);
    }

    .about-crafted-image-card {
        border-radius: 24px;
        min-height: 300px;
        padding: 20px;
    }

    .about-crafted-copy blockquote {
        padding-left: 14px;
    }

    .about-crafted-btn {
        min-width: 132px;
        height: 42px;
    }
}

/* Contact page (custom layout) */
.contact-crafted {
    font-family: "Poppins", "Segoe UI", sans-serif;
    background: #f6f6f7;
    padding-bottom: 76px;
}

.contact-crafted__container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-crafted__crumb-wrap {
    background: #f1f1f2;
    border-top: 1px solid #e8e8ea;
    border-bottom: 1px solid #e8e8ea;
}

.contact-crafted__crumb {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6b7281;
    font-size: 18px;
    font-weight: 500;
}

.contact-crafted__crumb a {
    color: inherit;
    text-decoration: none;
}

.contact-crafted__crumb a:hover {
    color: #121b34;
}

.contact-crafted__main {
    padding-top: 100px;
}

.contact-crafted__intro {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.contact-crafted__intro h1 {
    margin: 0;
    color: #111b35;
    font-size: clamp(40px, 5vw, 74px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.contact-crafted__underline {
    display: block;
    width: 96px;
    height: 6px;
    border-radius: 99px;
    background: #17c85f;
    margin: 16px auto 38px;
}

.contact-crafted__intro p {
    margin: 0 auto;
    max-width: 980px;
    color: #495469;
    font-size: clamp(19px, 1.55vw, 30px);
    line-height: 1.64;
}

.contact-crafted__cards {
    margin-top: 84px;
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 34px;
}

.contact-crafted__card {
    background: #f1f2f4;
    border-radius: 18px;
    padding: 38px 36px 34px;
    min-height: 302px;
}

.contact-crafted__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(17, 27, 53, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #12c85d;
    font-size: 27px;
    margin-bottom: 26px;
}

.contact-crafted__card h2 {
    margin: 0 0 16px;
    color: #111b35;
    font-size: clamp(30px, 2.2vw, 42px);
    line-height: 1.2;
    font-weight: 700;
}

.contact-crafted__card p {
    margin: 0 0 8px;
    color: #495469;
    font-size: clamp(17px, 1.3vw, 24px);
    line-height: 1.6;
}

.contact-crafted__strong {
    color: #222f45;
    font-weight: 700;
}

.contact-crafted__muted {
    color: #7b8597;
}

.contact-crafted__status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.contact-crafted__status strong {
    color: #1f2f4a;
    font-size: clamp(24px, 1.8vw, 34px);
    font-weight: 700;
}

.contact-crafted__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: #dff7e8;
    color: #49b173;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .contact-crafted {
        padding-bottom: 88px;
    }

    .contact-crafted__main {
        padding-top: 76px;
    }

    .contact-crafted__cards {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-crafted__container {
        padding: 0 14px;
    }

    .contact-crafted__crumb {
        min-height: 60px;
        font-size: 14px;
    }

    .contact-crafted__main {
        padding-top: 54px;
    }

    .contact-crafted__underline {
        width: 72px;
        height: 5px;
        margin-bottom: 22px;
    }

    .contact-crafted__cards {
        margin-top: 48px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-crafted__card {
        min-height: 0;
        padding: 24px 20px 22px;
        border-radius: 14px;
    }

    .contact-crafted__icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .contact-crafted__badge {
        height: 30px;
        font-size: 14px;
        padding: 0 12px;
    }
}
