/* Perfume Notes Widget Styles */

.perfume-notes-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Title */
.perfume-notes-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 40px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000;
}

/* Notes Grid - Base */
.notes-grid {
    width: 100%;
}

/* Grid Layout */
.perfume-layout-grid .notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Flex Layout */
.perfume-layout-flex .notes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Note Item - Base */
.note-item {
    --card-scale: 1;
    background: #FFFFFF;
    border: 1px solid #E8E4DD;
    border-radius: 12px;
    padding: calc(20px * var(--card-scale));
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(20px * var(--card-scale));
    position: relative;
    box-sizing: border-box;
}

/* Grid items take full space */
.perfume-layout-grid .note-item {
    width: 100%;
    height: 100%;
}

/* Hover Effect */
.note-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Note Image Wrapper */
.note-image-wrapper {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.note-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(var(--note-image-scale, 1)) rotate(var(--note-image-rotate, 0deg));
    transform-origin: center center;
    transition: transform 0.3s ease;
    filter:
        drop-shadow(var(--note-shadow-x, 0px) var(--note-shadow-y, 0px) var(--note-shadow-blur, 0px) var(--note-shadow-color, rgba(0, 0, 0, 0))) 
        drop-shadow(var(--note-shadow-x-2, 0px) var(--note-shadow-y-2, 0px) var(--note-shadow-blur-2, 0px) var(--note-shadow-color-2, rgba(0, 0, 0, 0)));
}

.note-item:hover .note-image {
    transform: scale(calc(var(--note-image-scale, 1) * 1.1)) translateY(-5px) rotate(var(--note-image-rotate, 0deg));
}

/* Note Separator */
.note-separator {
    width: 95%;
    height: 2px;
    background-color: #bbbbbb7a;
    border-radius: 100%;
    flex-shrink: 0;
}

/* Horizontal layout separator */
.note-item[style*="flex-direction: row"] .note-separator,
.note-item[style*="flex-direction: row-reverse"] .note-separator {
    width: 2px;
    height: 95%;
    min-height: 80px;
}

/* Note Content */
.note-content {
    display: flex;
    flex-direction: column;
    gap: calc(10px * var(--card-scale));
    flex: 1;
    width: 100%;
}

/* Note Name */
.note-name {
    font-size: calc(18px * var(--card-scale));
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-transform: capitalize;
    line-height: 1.3;
}

/* Note Description */
.note-description {
    font-size: calc(14px * var(--card-scale));
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .perfume-layout-grid .notes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .perfume-notes-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .perfume-notes-title {
        font-size: 24px;
        margin: 30px 0;
    }

    .perfume-layout-grid .notes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .perfume-layout-flex .notes-grid {
        gap: 15px;
    }

    .note-item {
        padding: calc(15px * var(--card-scale));
    }

    .note-image-wrapper {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .perfume-notes-container {
        padding: 15px;
    }

    .perfume-notes-title {
        font-size: 20px;
    }

    .note-image-wrapper {
        width: 100px;
        height: 100px;
    }
}