/* === TRAINING SECTION === */
#training {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.trainings {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}
.training-card {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 560px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
    background: #fff;
}
.training-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    text-decoration: none;
    color: inherit;
}
.training-content {
    display: flex;
    align-items: stretch;
    min-height: 340px;
}
.training-text {
    flex: 1;
    padding: 28px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.training-text h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.3;
}
.training-subtitle {
    font-size: 0.85rem;
    color: #e94560;
    font-weight: 600;
    margin: 0 0 12px;
}
.training-desc {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 14px;
}
.training-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.training-meta span {
    font-size: 0.8rem;
    color: #777;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.training-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e94560;
    font-family: 'Roboto Condensed', sans-serif;
}
.training-discount-note {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 600;
    margin-top: 6px;
}
.training-image {
    position: relative;
    flex-shrink: 0;
    width: 240px;
    overflow: hidden;
}
.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.training-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.training-card:hover .training-overlay {
    transform: translateY(0);
}
.training-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #e94560, #1a1a2e);
    color: white;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233,69,96,0.4);
    display: inline-block;
}
.training-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(233,69,96,0.5);
}
.training-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(233,69,96,0.35);
    transform: rotate(12deg);
    z-index: 2;
    line-height: 1.15;
    text-align: center;
}
.training-discount-badge .tdb-pct {
    font-size: 1.25rem;
}
.training-discount-badge .tdb-lbl {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-top: -2px;
}
.training-discount-badge .tdb-sub {
    font-size: 0.45rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.training-note {
    max-width: 800px;
    margin: 28px auto 0;
    padding: 18px 24px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: rgba(255,255,255,0.9);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}
@media (max-width: 768px) {
    .training-content {
        flex-direction: column;
        min-height: auto;
    }
    .training-image {
        width: 100%;
        height: 220px;
    }
    .training-card:hover {
        transform: scale(1.02);
    }
    .training-text {
        padding: 20px 18px;
    }
    .training-text h2 {
        font-size: 1.1rem;
    }
    .training-meta {
        gap: 8px;
    }
    .training-meta span {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    .training-discount-badge {
        width: 65px;
        height: 65px;
    }
    .training-discount-badge .tdb-pct {
        font-size: 1rem;
    }
    .training-note {
        font-size: 0.85rem;
        padding: 14px 16px;
    }
    #training {
        padding: 0 16px;
    }
}

/* === FOOTER === */
.site-footer {
    background: #19122b;
    color: rgba(255,255,255,0.85);
    padding: 48px 0 28px;
    font-family: 'Raleway', sans-serif;
    margin-top: 60px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-brand h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 8px;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.5px;
}
.footer-brand p {
    font-size: 0.88rem;
    opacity: 0.75;
    margin: 0 0 16px;
    line-height: 1.6;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.footer-social a:hover {
    background: rgb(221, 89, 60);
    transform: translateY(-2px);
}
.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin: 0 0 14px;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--color2);
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
}
.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-contact-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-item a:hover {
    color: var(--color2);
}
.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 16px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .site-footer {
        padding: 36px 0 20px;
    }
}

/* === PERFUME LAB === */
.perfume-lab-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #e94560 100%);
    padding: 80px 24px;
    text-align: center;
    color: white;
    margin-top: -80px;
    padding-top: 140px;
}
.perfume-lab-hero h1 {
    font-family: var(--font1), sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: 1px;
}
.perfume-lab-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 0;
    font-family: var(--font2), sans-serif;
}
.lab-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}
.lab-section-title {
    font-family: var(--font1), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 8px;
}
.lab-section-sub {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    margin: 0 0 40px;
}
/* --- Builder Layout --- */
.builder-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.builder-panel {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    padding: 32px;
    border: 1px solid #f0f0f0;
}
.builder-panel h3 {
    font-family: var(--font1), sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.builder-panel .panel-sub {
    font-size: 0.85rem;
    color: #999;
    margin: 0 0 20px;
}
.builder-name-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font2), sans-serif;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.builder-name-input:focus {
    border-color: #e94560;
}
.note-group {
    margin-bottom: 24px;
}
.note-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.note-group-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    font-family: var(--font1), sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.note-group-count {
    font-size: 0.8rem;
    color: #999;
}
.note-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.note-chip {
    padding: 8px 16px;
    border-radius: 50px;
    border: 2px solid #e8e8e8;
    background: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font2), sans-serif;
    color: #555;
    user-select: none;
}
.note-chip:hover {
    border-color: #e94560;
    color: #e94560;
}
.note-chip.selected {
    border-color: #e94560;
    background: linear-gradient(135deg, #e94560, #1a1a2e);
    color: white;
}
.note-chip-layer {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.note-chip-layer.top { background: #4ecdc4; }
.note-chip-layer.heart { background: #ff6b6b; }
.note-chip-layer.base { background: #2d3436; }
.note-sliders {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #e8e8e8;
}
.note-slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 8px;
}
.note-slider-row .slider-note-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    min-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.note-slider-row input[type="range"] {
    flex: 1;
    accent-color: #e94560;
    height: 4px;
    min-width: 80px;
}
.note-slider-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e94560;
    min-width: 40px;
    text-align: right;
    font-family: 'Roboto Condensed', sans-serif;
}
/* --- Preview Panel --- */
.preview-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 32px;
    color: white;
    text-align: center;
    margin-bottom: 24px;
}
.preview-card .preview-name {
    font-family: var(--font1), sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 4px;
}
.preview-card .preview-sub {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0 0 20px;
}
.pyramid-vis {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 20px 0;
}
.pyramid-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}
.pyramid-row span {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.pyramid-row.top span { background: rgba(78, 205, 196, 0.3); color: #4ecdc4; }
.pyramid-row.heart span { background: rgba(255, 107, 107, 0.3); color: #ff6b6b; }
.pyramid-row.base span { background: rgba(255, 255, 255, 0.15); color: #ccc; }
.pyramid-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin: 8px 0 2px;
}
.name-field-row {
    position: relative;
    margin-bottom: 20px;
}
.name-required-hint {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #e94560;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
}
.builder-name-input {
    margin-bottom: 0;
    padding-right: 70px;
}
.builder-name-input:invalid {
    border-color: #e94560;
}
.oil-ml-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
}
.oil-ml-row label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    min-width: 60px;
}
.oil-ml-row input[type="range"] {
    flex: 1;
    accent-color: #e94560;
    height: 4px;
    min-width: 80px;
}
.oil-ml-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff6b6b;
    min-width: 45px;
    text-align: right;
    font-family: 'Roboto Condensed', sans-serif;
}
.oil-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 400;
    background: rgba(233,69,96,0.3);
    color: #ff6b6b;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 6px;
}
.price-display {
    margin: 16px 0 0;
    padding: 10px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #ff6b6b;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.5px;
}
.price-display span {
    color: #fff;
}
.builder-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.builder-actions button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font2), sans-serif;
}
.btn-save {
    background: linear-gradient(135deg, #e94560, #1a1a2e);
    color: white;
    box-shadow: 0 4px 15px rgba(233,69,96,0.3);
}
.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233,69,96,0.4);
}
.btn-clear {
    background: #f5f5f5;
    color: #666;
}
.btn-clear:hover {
    background: #eee;
}
.saved-creations {
    margin-top: 20px;
}
.saved-creations h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
}
.saved-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 8px;
}
.saved-item-info {
    display: flex;
    flex-direction: column;
}
.saved-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a2e;
}
.saved-item-notes {
    font-size: 0.78rem;
    color: #999;
}
.saved-item-actions {
    display: flex;
    gap: 8px;
}
.saved-item-actions button {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font2), sans-serif;
}
.saved-item-add {
    background: #e94560;
    color: white;
}
.saved-item-add:hover { background: #d63850; }
.saved-item-del {
    background: #f0f0f0;
    color: #999;
}
.saved-item-del:hover { background: #e0e0e0; }
/* --- Famous Perfume Library --- */
.famous-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.famous-filter-btn {
    padding: 10px 24px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    background: white;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font2), sans-serif;
    color: #555;
}
.famous-filter-btn:hover {
    border-color: #e94560;
    color: #e94560;
}
.famous-filter-btn.active {
    border-color: #e94560;
    background: linear-gradient(135deg, #e94560, #1a1a2e);
    color: white;
}
.famous-search {
    padding: 10px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-size: 0.88rem;
    outline: none;
    min-width: 220px;
    font-family: var(--font2), sans-serif;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.famous-search:focus {
    border-color: #e94560;
}
.famous-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.famous-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.famous-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.famous-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.famous-card-body {
    padding: 18px 20px 20px;
}
.famous-card-brand {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e94560;
    font-weight: 600;
    font-family: var(--font1), sans-serif;
}
.famous-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 2px 0 6px;
    font-family: var(--font1), sans-serif;
}
.famous-card-accords {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.famous-accord-tag {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}
.famous-accord-tag.top { background: #e0f7f5; color: #1a8a82; }
.famous-accord-tag.heart { background: #ffe0e0; color: #d63031; }
.famous-accord-tag.base { background: #e8e8e8; color: #555; }
/* --- Famous Perfume Modal --- */
.famous-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.famous-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.famous-modal {
    background: white;
    border-radius: 24px;
    padding: 40px 36px 32px;
    max-width: 520px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.famous-modal-overlay.active .famous-modal {
    transform: translateY(0);
}
.famous-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #ccc;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.famous-modal-close:hover { color: #333; }
.famous-modal-brand {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #e94560;
    font-weight: 600;
    font-family: var(--font1), sans-serif;
}
.famous-modal-name {
    font-family: var(--font1), sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 2px 0 20px;
}
.accord-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}
.accord-layer {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 16px;
}
.accord-layer.top {
    background: linear-gradient(135deg, #e0f7f5, #b2dfdb);
    width: 85%;
}
.accord-layer.heart {
    background: linear-gradient(135deg, #ffe0e0, #ffcdd2);
    width: 95%;
}
.accord-layer.base {
    background: linear-gradient(135deg, #e8e8e8, #d5d5d5);
    width: 100%;
}
.accord-layer-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    opacity: 0.6;
    margin-bottom: 6px;
}
.accord-layer.top .accord-layer-label { color: #00695c; }
.accord-layer.heart .accord-layer-label { color: #c62828; }
.accord-layer.base .accord-layer-label { color: #444; }
.accord-layer-notes {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.accord-layer-notes span {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}
.accord-layer.top .accord-layer-notes span { background: rgba(255,255,255,0.6); color: #00695c; }
.accord-layer.heart .accord-layer-notes span { background: rgba(255,255,255,0.6); color: #c62828; }
.accord-layer.base .accord-layer-notes span { background: rgba(255,255,255,0.6); color: #444; }
@media (max-width: 768px) {
    .perfume-lab-hero h1 { font-size: 2rem; }
    .builder-layout { grid-template-columns: 1fr; }
    .famous-grid { grid-template-columns: 1fr 1fr; }
    .famous-modal { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .famous-grid { grid-template-columns: 1fr; }
    .builder-actions { flex-direction: column; }
}

.first-section {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --font-family-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    --kopageColor_LeftSubmenu: #f5f6f7;
    --smoothGradient_blackBottom: linear-gradient( to bottom,hsla(0,0%,0%,0) 0,hsla(0,0%,0%,0.013) 8.1%,hsla(0,0%,0%,0.049) 15.5%,hsla(0,0%,0%,0.104) 22.5%,hsla(0,0%,0%,0.175) 29%,hsla(0,0%,0%,0.259) 35.3%,hsla(0,0%,0%,0.352) 41.2%,hsla(0,0%,0%,0.45) 47.1%,hsla(0,0%,0%,0.55) 52.9%,hsla(0,0%,0%,0.648) 58.8%,hsla(0,0%,0%,0.741) 64.7%,hsla(0,0%,0%,0.825) 71%,hsla(0,0%,0%,0.896) 77.5%,hsla(0,0%,0%,0.951) 84.5%,hsla(0,0%,0%,0.987) 91.9%,hsl(0,0%,0%) 100%);
    --kopageColor_Accent: #179BD7;
    --kopageColor_Accent_75: rgba(23,155,215,0.7);
    --kopageColor_Accent_50: rgba(23,155,215,0.5);
    --kopageColor_Accent_25: rgba(23,155,215,0.25);
    --kopageColor_AccentLight: rgba(23,155,215,0.1);
    --kopageColor_stripesAccent: repeating-linear-gradient(
    -45deg,#005f9b,#179BD7 20px,#005f9b 20px,#005f9b 50px,#179BD7 50px,#179BD7 65px);
    --kopageColor_LeftMenu: #293A4A;
    --color1: #19122b;
    --color2: rgb(221, 89, 60);
    --font1: "Roboto Condensed";
    --font2: "Raleway";
    --font3: "Helvetica Neue",sans-serif;
    --color1_rgb: 25,18,43;
    --color1_hsl: 257,41%,12%;
    --color1_hs: 257,41%;
    --color1_h: 257;
    --color1_s: 41%;
    --color1_l: 12%;
    --color1_25: #c6c4ca;
    --color1_50: #8c8995;
    --color1_75: #534d60;
    --color1_125: #130e20;
    --color1_150: #0d0916;
    --color1_175: #06050b;
    --color2_rgb: 221,89,60;
    --color2_hsl: 11,70%,55%;
    --color2_hs: 11,70%;
    --color2_h: 11;
    --color2_s: 70%;
    --color2_l: 55%;
    --color2_25: rgb(247,214,206);
    --color2_50: rgb(238,172,158);
    --color2_75: rgb(230,131,109);
    --color2_125: rgb(166,67,45);
    --color2_150: rgb(111,45,30);
    --color2_175: rgb(55,22,15);
    --color1_bw: rgba(255,255,255,0.8);
    --color1_25_bw: rgba(0,0,0,0.8);
    --color1_50_bw: rgba(255,255,255,0.8);
    --color1_75_bw: rgba(255,255,255,0.8);
    --color1_125_bw: rgba(255,255,255,0.8);
    --color1_150_bw: rgba(255,255,255,0.8);
    --color1_175_bw: rgba(255,255,255,0.8);
    --color2_bw: rgba(255,255,255,0.8);
    --color2_25_bw: rgba(0,0,0,0.8);
    --color2_50_bw: rgba(0,0,0,0.8);
    --color2_75_bw: rgba(255,255,255,0.8);
    --color2_125_bw: rgba(255,255,255,0.8);
    --color2_150_bw: rgba(255,255,255,0.8);
    --color2_175_bw: rgba(255,255,255,0.8);
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-rendering: optimizelegibility;
    visibility: visible;
    letter-spacing: -0.02em;
    font-size: 1.1rem;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font2),sans-serif;
    box-sizing: border-box;
    display: block;
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    color: rgba(255,255,255,0.7);
    box-shadow: inset 0 0 0 100vw rgba(0,0,0,0.5);
    background: var(--color1_125);
}

/* === MODERN NAVBAR === */
html {
    scroll-padding-top: 122px;
}
body {
    padding-top: 122px;
}
.main-navbar {
    position: fixed;
    top: 42px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a1a2e, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
    align-items: center;
}
.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #e94560, #1a1a2e);
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}
.nav-link:hover,
.nav-link.active {
    color: #e94560;
    background: rgba(233, 69, 96, 0.08);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    gap: 5px;
    outline: none;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: 20px 0;
        gap: 4px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s ease;
        pointer-events: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-link {
        padding: 12px 24px;
        width: 100%;
        text-align: center;
        font-size: 1.05rem;
    }
    .nav-link::after {
        display: none;
    }
}

/* === PROFILE DROPDOWN === */
.nav-profile {
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
}
.nav-profile-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50%;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    line-height: 1;
}
.nav-profile-btn:hover {
    background: rgba(233, 69, 96, 0.08);
    color: #e94560;
}
.nav-profile-btn svg {
    width: 22px;
    height: 22px;
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 170px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 100;
}
.nav-dropdown.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    text-decoration: none;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
}
.nav-dropdown-link:hover {
    background: #fafafa;
    color: #e94560;
}
.nav-dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 0;
}

/* === SIZE SELECTION MODAL === */
.size-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.size-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.size-modal {
    background: white;
    border-radius: 20px;
    padding: 36px 32px 28px;
    max-width: 400px;
        width: 90%;
        position: relative;
        max-height: 90vh;
        overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.size-modal-overlay.active .size-modal {
    transform: translateY(0);
}
.size-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.size-modal-close:hover {
    color: #333;
}
.size-modal-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.size-modal-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    color: #999;
    margin: 0 0 20px;
}
.size-modal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.size-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.size-option:hover {
    border-color: #e94560;
    background: #fff5f6;
    transform: translateX(4px);
}
.size-option-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    min-width: 60px;
}
.size-option-detail {
    font-size: 0.85rem;
    color: #999;
    flex: 1;
}
.size-option-price {
    font-size: 1rem;
    font-weight: 700;
    color: #e94560;
}
.size-modal-group {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #bbb;
    padding: 8px 4px 2px;
    margin-top: 4px;
}
.size-modal-group:first-child {
    margin-top: 0;
}

/* === ADD TO CART BUTTON === */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    justify-content: center;
}
.product-card:hover .product-overlay,
.perfume-container:hover .product-overlay {
    transform: translateY(0);
}
.add-cart-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #e94560, #1a1a2e);
    color: white;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233,69,96,0.4);
}
.add-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(233,69,96,0.5);
}

#header {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --font-family-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    --kopageColor_LeftSubmenu: #f5f6f7;
    --smoothGradient_blackBottom: linear-gradient( to bottom,hsla(0,0%,0%,0) 0,hsla(0,0%,0%,0.013) 8.1%,hsla(0,0%,0%,0.049) 15.5%,hsla(0,0%,0%,0.104) 22.5%,hsla(0,0%,0%,0.175) 29%,hsla(0,0%,0%,0.259) 35.3%,hsla(0,0%,0%,0.352) 41.2%,hsla(0,0%,0%,0.45) 47.1%,hsla(0,0%,0%,0.55) 52.9%,hsla(0,0%,0%,0.648) 58.8%,hsla(0,0%,0%,0.741) 64.7%,hsla(0,0%,0%,0.825) 71%,hsla(0,0%,0%,0.896) 77.5%,hsla(0,0%,0%,0.951) 84.5%,hsla(0,0%,0%,0.987) 91.9%,hsl(0,0%,0%) 100%);
    --kopageColor_Accent: #179BD7;
    --kopageColor_Accent_75: rgba(23,155,215,0.7);
    --kopageColor_Accent_50: rgba(23,155,215,0.5);
    --kopageColor_Accent_25: rgba(23,155,215,0.25);
    --kopageColor_AccentLight: rgba(23,155,215,0.1);
    --kopageColor_stripesAccent: repeating-linear-gradient(
    -45deg,#005f9b,#179BD7 20px,#005f9b 20px,#005f9b 50px,#179BD7 50px,#179BD7 65px);
    --kopageColor_LeftMenu: #293A4A;
    --color1: #19122b;
    --color2: rgb(221, 89, 60);
    --font1: "Roboto Condensed";
    --font2: "Raleway";
    --font3: "Helvetica Neue",sans-serif;
    --color1_rgb: 25,18,43;
    --color1_hsl: 257,41%,12%;
    --color1_hs: 257,41%;
    --color1_h: 257;
    --color1_s: 41%;
    --color1_l: 12%;
    --color1_25: #c6c4ca;
    --color1_50: #8c8995;
    --color1_75: #534d60;
    --color1_125: #130e20;
    --color1_150: #0d0916;
    --color1_175: #06050b;
    --color2_rgb: 221,89,60;
    --color2_hsl: 11,70%,55%;
    --color2_hs: 11,70%;
    --color2_h: 11;
    --color2_s: 70%;
    --color2_l: 55%;
    --color2_25: rgb(247,214,206);
    --color2_50: rgb(238,172,158);
    --color2_75: rgb(230,131,109);
    --color2_125: rgb(166,67,45);
    --color2_150: rgb(111,45,30);
    --color2_175: rgb(55,22,15);
    --color1_bw: rgba(255,255,255,0.8);
    --color1_25_bw: rgba(0,0,0,0.8);
    --color1_50_bw: rgba(255,255,255,0.8);
    --color1_75_bw: rgba(255,255,255,0.8);
    --color1_125_bw: rgba(255,255,255,0.8);
    --color1_150_bw: rgba(255,255,255,0.8);
    --color1_175_bw: rgba(255,255,255,0.8);
    --color2_bw: rgba(255,255,255,0.8);
    --color2_25_bw: rgba(0,0,0,0.8);
    --color2_50_bw: rgba(0,0,0,0.8);
    --color2_75_bw: rgba(255,255,255,0.8);
    --color2_125_bw: rgba(255,255,255,0.8);
    --color2_150_bw: rgba(255,255,255,0.8);
    --color2_175_bw: rgba(255,255,255,0.8);
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    text-rendering: optimizelegibility;
    visibility: visible;
    letter-spacing: -0.02em;
    font-size: 1.1rem;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font2),sans-serif;
    box-sizing: border-box;
    display: block;
    position: relative;
}

/* === DEMO BANNER === */
.demo-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #e94560 100%);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    padding: 9px 24px;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
    border-bottom: 2px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
}
.demo-banner strong {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.15);
    padding: 1px 10px;
    border-radius: 4px;
    margin-right: 6px;
}

/* === GLOBAL MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-container {
        padding: 0 16px;
    }
    .logo-text {
        font-size: 1.1rem;
    }

    .perfumes {
        gap: 20px;
        padding: 0 16px;
    }
    .perfume-container {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        overflow: visible;
    }
    .perfume-container .img,
    .perfume-container img.img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: cover;
        border-radius: 5px 5px 0 0;
    }
    .perfume-container:hover {
        transform: scale(1.02);
    }
    .perfume-container > div:not(.product-overlay) {
        padding: 8px 12px !important;
        text-align: center;
    }
    .perfume-container > div:not(.product-overlay) p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }
    .table-scroll table {
        min-width: 700px;
        font-size: 0.78rem;
    }
    .table-scroll th,
    .table-scroll td {
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 4px 5px;
    }
    .table-scroll input[type="number"] {
        width: 45px;
        font-size: 0.78rem;
        padding: 2px;
    }
    .table-scroll .btn {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .products-hero {
        padding: 80px 16px 50px;
    }
    .products-hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .products-hero p {
        font-size: 0.95rem;
    }

    .products-grid {
        padding: 20px 12px 50px;
        gap: 16px;
    }

    .famous-search {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .famous-controls {
        padding: 0 16px;
    }

    .lab-section {
        padding: 30px 16px;
    }
    .builder-panel {
        padding: 20px 16px;
    }
    .builder-layout {
        gap: 20px;
    }

    .note-slider-row {
        flex-wrap: wrap;
    }
    .note-slider-row .slider-note-name {
        min-width: 60px;
        font-size: 0.75rem;
    }
    .note-slider-row input[type="range"] {
        min-width: 60px;
    }

    .saved-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .saved-item-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .size-modal {
        width: 95%;
        padding: 28px 18px 20px;
        border-radius: 16px;
    }

    .preview-card {
        padding: 24px 18px;
    }
    .preview-card .preview-name {
        font-size: 1.2rem;
    }

    .contact-section img,
    img[alt="qrcode"] {
        max-width: 280px;
        width: 100%;
        height: auto;
    }

    .footer-container {
        padding: 0 16px;
    }

    .cart-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .cart-send {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .logo-text {
        font-size: 0.95rem;
    }
    .nav-container {
        padding: 0 12px;
    }
    .products-hero h1 {
        font-size: 1.7rem;
    }
    .products-hero p {
        font-size: 0.85rem;
    }
    .famous-grid {
        grid-template-columns: 1fr;
    }
    .famous-modal {
        padding: 24px 16px;
    }
    .famous-modal-name {
        font-size: 1.4rem;
    }
}

