* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Darker Grotesque", sans-serif;
    background-color: #f8f6f3;
    color: #365261;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

:is(h1, h2, h3, h4, h5, h6) {
    font-family: "Anybody", sans-serif;
    color: #365261;
    font-weight: 600;
}

.header {
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    z-index: 1000; /* Increased z-index to ensure it's always on top */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 120px;
}

.menu-icon {
    font-size: 18px;
    cursor: pointer;
    color: #365261;
}

.wedding-invite-icon {
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.wedding-invite-icon:hover {
    transform: scale(1.1);
}

.logo {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #365261;
}

.logo svg {
    height: 18px;
    fill: #365261;
}

.profile-icon {
    width: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 120px;
}

.header-icon {
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

.header-icon path {
    fill: #365261;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 2px;
}

.screen {
    display: none;
    padding-bottom: 60px;
    position: fixed;
    top: 60px; /* Height of the header */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background-color: #FAF7F4;
    height: calc(100% - 60px);
    overflow-y: auto;
}

.screen.active {
    display: block;
}

/* Main Menu */

.menu-item {
    position: relative;
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/1;
    margin-left: auto;
    margin-right: auto;
    height: auto;
}

.menu-item:hover {
    transform: scale(1.04);
}

 .menu-item h2 {
    position: relative;
    color: white;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    z-index: 3;
    margin: 0;
    padding: 0 20px;
}

.menu-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
}

.menu-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

/* Friends Grid */
.friends-grid {
    padding: 20px;
}

.friends-grid h2 {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.friends-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.friend-card {
    position: relative;
    background: white;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.friend-card:hover {
    transform: translateY(-2px);
}

.friend-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e3d0c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.friend-info {
    padding: 15px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.friend-name {
    font-weight: bold;
    margin-bottom: 2px;
    color: #fff;
    text-align: left;
    font-size: 20px;
    font-family: 'Anybody', sans-serif;
}

.friend-username {
    font-size: 0.85em;
    color: #fff;
    text-align: left;
}

/* Profile */
.profile-header {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

#main-menu .profile-header,
#friend-profile .profile-header {
    display: grid;
    grid-template-areas:
        "profile-avatar profile-metrics"
        "profile-ctas profile-ctas";
    grid-template-columns: 35% 65%;
}

#friend-profile {
    padding: 20px;
}

#friend-profile.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F8E5E5 0%, #E5D0D0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #365261;
    overflow: hidden;
    position: relative;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
}

.profile-stats {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 10px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 18px;
    font-weight: 600;
    display: block;
    font-family: 'Anybody', sans-serif;
}

.stat-label {
    font-size: 14px;
    color: #6C6C6C;
}

.profile-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    grid-area: profile-ctas;
}

.combined-profile-info {
    grid-area: profile-metrics;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.btn {
    padding: 10px 25px;
    border: 1px solid #365261;
    background: #365261;
    cursor: pointer;
    font-size: 18px;
    border-radius: 2px;
    transition: all 0.2s;
    min-width: 120px;
    color: #fff;
    font-family: 'Darker Grotesque';
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-edit-cta, .profile-share-cta {
    background-color: transparent;
    border: 1px solid #365261;
    color: #365261;
}

.btn:hover {
    background: #365261;
    color: white;
}

.btn-primary {
    background: #365261;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #2d3748;
}

/* Lists */

.lists-screen-header {
    padding: 20px;
}

.lists-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.lists-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.lists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.list-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.list-card:hover {
    transform: translateY(-2px);
}

.list-preview {
    height: 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
}

.list-preview-item {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #999;
    overflow: hidden;
}

.list-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-preview-item:nth-child(1) { background: #E8D5C4; }
.list-preview-item:nth-child(2) { background: #C3A6A0; }
.list-preview-item:nth-child(3) { background: #E8C4C4; }
.list-preview-item:nth-child(4) { background: #F8E5E5; }
.list-preview-item:nth-child(5) { background: #E5E8F8; }
.list-preview-item:nth-child(6) { background: #E5F8E8; }

.list-info {
    padding: 15px;
    text-align: center;
}

.list-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Anybody', sans-serif;
}

.list-count {
    font-size: 14px;
    color: #6C6C6C;
}

/* Closet */
.closet-header {
    background: #365261;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.closet-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.closet-name {
    font-size: 32px;
    font-weight: 600;
}

.filter-sort {
    padding: 15px 20px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.products-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.product-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 125%;
    background: #f5f5f5;
}

.add-to-closet {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 2;
}

.add-to-closet svg {
    fill: #365261
}

.add-to-closet:hover {
    transform: scale(1.1);
}

.add-to-closet.added-to-closet {
    color: #e74c3c;
}

.add-to-box {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 2;
}

.add-to-box:hover {
    transform: scale(1.1);
}

.add-to-box.added-to-box {
    color: #365261;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Anybody';
}

.product-brand {
    font-size: 18px;
    color: #6C6C6C;
    font-family: 'Darker-Grotesque', sans-serif;
}

/* Feed */
.feed-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.create-post-btn {
    width: 100%;
    padding: 10px 15px;
    background: #365261;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Darker Grotesque', sans-serif;
}

.create-post-btn:hover {
    background: #2d3748;
    transform: translateY(-2px);
}

.feed-post {
    background: white;
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.feed-post:nth-child(2) .post-avatar {
    background: #F8E5E5;
    color: #365261;
}

.feed-post:nth-child(3) .post-avatar {
    background: #E5E8F8;
    color: #365261;
}

.post-username {
    font-weight: 600;
    color: #6C6C6C;
}

.post-image-container {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 8px;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-image-container:hover .post-image {
    transform: scale(1.05);
}

/* Remove all placeholder scenes and polygons as we're using real images now */

/* Jenny's dinner date outfit - restaurant scene */
.feed-post:nth-child(2) .post-image-placeholder {
    background: linear-gradient(to bottom, #2C1810 0%, #3E2723 50%, #5D4037 100%);
}

.feed-post:nth-child(2) .post-image-placeholder::before {
    background: #8B7355;
    left: 35%;
}

.feed-post:nth-child(2) .post-image-placeholder::after {
    background: linear-gradient(135deg, #000000 0%, #212121 100%);
    width: 50%;
    left: 25%;
}

/* Add table and ambiance */
.feed-post:nth-child(2) .post-image-placeholder .scene-element {
    position: absolute;
    width: 80%;
    height: 20%;
    bottom: 20%;
    left: 10%;
    background: #4E342E;
    border-radius: 50%;
    transform: perspective(100px) rotateX(45deg);
}

/* Nova's summer outfit - beach scene */
.feed-post:nth-child(3) .post-image-placeholder {
    background: linear-gradient(to bottom, #87CEEB 0%, #98D8E8 40%, #F5DEB3 40%, #F4E4C1 100%);
}

.feed-post:nth-child(3) .post-image-placeholder::before {
    background: #D2691E;
    left: 40%;
    top: 25%;
}

.feed-post:nth-child(3) .post-image-placeholder::after {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    width: 45%;
    left: 27.5%;
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.post-actions {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.post-action {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.post-action:hover {
    transform: scale(1.1);
}

.post-action.liked {
    color: #e74c3c;
}

.post-content {
    padding: 0 15px 15px;
}

.post-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.star {
    color: #ffd700;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s;
}

.star:hover {
    transform: scale(1.2);
}

.star.active {
    color: #ffd700;
}

.post-caption {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #2C2C2C;
}

.post-fit {
    font-size: 18px;
    color: #6C6C6C;
}

/* Events */
.events-container {
    padding: 20px;
}

.event-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.event-card:hover {
    transform: translateY(-2px);
}

.event-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.event-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: white;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
}

.event-info {
    padding: 20px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Anybody', sans-serif;
}

.event-description {
    font-size: 18px;
    color: #6C6C6C;
    line-height: 1.2;
}

/* Event Participants */
.event-participants {
    display: flex;
    margin-top: 15px;
    align-items: center;
}

#events .event-owner, #events .event-participant {
    margin-right: -10px;
}

.event-owner, .event-participant {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #365261;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: -15px;
    border: 2px solid white;
    z-index: 100 !important;
}

.event-owner {
    background-color: #e74c3c;
    z-index: 4;
}

.event-participant:nth-child(2) {
    z-index: 3;
    background-color: #3498db;
}

.event-participant:nth-child(3) {
    z-index: 2;
    background-color: #2ecc71;
}

.event-participant:nth-child(4) {
    z-index: 1;
}

.more-participants {
    background-color: #95a5a6;
    font-size: 12px;
}

/* Product Detail */
.product-detail {
    background: white;
    min-height: 100vh;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #FAF7F4;
}

.product-detail-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-info {
    padding: 20px;
    background-color: #FAF7F4;
}

.product-detail-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

#productRatingSection, #productSizingSection {
    margin-top: 20px;
}

.product-detail-brand {
    font-size: 18px;
    color: #6C6C6C;
    margin-bottom: 20px;
}

.product-comments-feed {
    padding: 10px;
    border: 1px solid lightgray;
    border-radius: 2px;
    margin: 20px 0px;
}

.product-detail-price {
    font-size: 20px;
    margin-bottom: 20px;
}

.product-detail-description {
    font-size: 18px;
    line-height: 1.2;
    color: #6C6C6C;
    margin-bottom: 30px;
    font-family: 'Darker Grotesque';
}

.size-selector {
    margin-bottom: 30px;
}

.size-selector h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-option {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
}

.size-option:hover,
.size-option.selected {
    border-color: #365261;
    background: #365261;
    color: white;
}

.add-to-bag-btn {
    width: 100%;
    padding: 15px;
    background: #365261;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 2px;
    margin-bottom: 10px;
}

.add-to-list-btn {
    width: 100%;
    padding: 15px;
    background: white;
    color: #365261;
    border: 1px solid #365261;
    font-size: 18px;
    cursor: pointer;
    border-radius: 2px;
}

#productCommentsSection {
    margin-top: 25px;
}

#productCommentsSection h3 {
    justify-content: space-between;
    display: flex;
}

/* Fullscreen Image */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: none;
}

.fullscreen-overlay.active {
    display: flex;
    flex-direction: column;
}

.fullscreen-header {
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-fullscreen {
    font-size: 24px;
    cursor: pointer;
}

.fullscreen-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    padding: 20px;
}

.fullscreen-image {
    max-width: 100%;
    max-height: calc(100vh - 200px);
    object-fit: contain;
}

.fullscreen-actions {
    background: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
}

.comment-section {
    margin-top: 20px;
}

.comment-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-size: 18px;
    height: 46px;
    font-family: 'Darker Grotesque';
}

.product-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-actions button {
    width: 50%;
}

/* Notifications Dropdown */
.notifications-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    overflow: hidden;
}

.notifications-dropdown.active {
    display: block;
}

.logo svg:focus {
    outline: none;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f8f8f8;
}

.notification-item:last-child {
    border-bottom: none;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #365261;
    color: white;
    padding: 15px 25px;
    border-radius: 2px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 300;
}

.toast.active {
    opacity: 1;
}

/* Invite Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 2px;
    padding: 30px;
    text-align: center;
}

.modal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.modal h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-btn {
    padding: 15px;
    border: none;
    border-radius: 2px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn-primary {
    background: #365261;
    color: white;
}

.modal-btn-secondary {
    background: white;
    color: #6C6C6C;
    border: 1px solid #e0e0e0;
}

/* Back Button */
.back-btn {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #6C6C6C;
}

#edit-profile h3 {
    font-size: 26px;
    margin-bottom: 20px !important;
}

.lists-screen-header .back-btn {
    padding-left: 0px;
    padding-top: 0px;
}

.back-btn:hover {
    color: #365261;
}

#listsCommentsSection {
    padding: 20px;
}

#listsCommentsSection h3 {
    margin-bottom: 20px;
}

/* Wedding Shared List Styling */
.wedding-closet-header {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF69B4 100%);
}

.wedding-contributors {
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.contributor-avatars {
    display: flex;
    align-items: center;
}

.contributor-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #365261;
    margin-right: -10px;
    border: 2px solid white;
}

.contributor-avatar:nth-child(1) {
    background: linear-gradient(135deg, #F8E5E5 0%, #E5D0D0 100%);
    z-index: 3;
}

.contributor-avatar:nth-child(2) {
    background: linear-gradient(135deg, #E5E8F8 0%, #D0D5E5 100%);
    z-index: 2;
}

.contributor-avatar:nth-child(3) {
    background: #e0e0e0;
    z-index: 1;
}

/* Product placeholder variations for wedding collection */
.wedding-dress {
    background: linear-gradient(135deg, #FFFFF0 0%, #FAFAD2 100%);
}

.wedding-dress::before {
    background: #FFFFFF;
    clip-path: polygon(20% 0%, 80% 0%, 90% 35%, 85% 100%, 15% 100%, 10% 35%);
}

.formal-suit {
    background: linear-gradient(135deg, #2C3E50 0%, #1A2530 100%);
}

.formal-suit::before {
    background: #000000;
    clip-path: polygon(30% 0%, 70% 0%, 70% 20%, 80% 20%, 80% 100%, 20% 100%, 20% 20%, 30% 20%);
}

.cocktail-dress {
    background: linear-gradient(135deg, #800080 0%, #4B0082 100%);
}

.cocktail-dress::before {
    background: #9400D3;
    clip-path: polygon(25% 0%, 75% 0%, 85% 30%, 80% 100%, 20% 100%, 15% 30%);
}

.formal-jumpsuit {
    background: linear-gradient(135deg, #CD853F 0%, #8B4513 100%);
}

.formal-jumpsuit::before {
    background: #D2691E;
    clip-path: polygon(25% 0%, 75% 0%, 70% 20%, 65% 100%, 35% 100%, 30% 20%);
}

/* Edit Profile Styling */
.edit-avatar-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: #365261;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    cursor: pointer;
    border: 2px solid white;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #6C6C6C;
    margin-bottom: 5px;
}

.profile-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-size: 14px;
    font-family: inherit;
}

.input-group-row {
    display: flex;
    gap: 10px;
}

.input-group-row .input-group {
    flex: 1;
}

.toggle-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 25px;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #365261;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.post-image-container {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 8px;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-image-container:hover .post-image {
    transform: scale(1.05);
}

/* Remove all placeholder scenes and polygons as we're using real images now */

/* Product Montage in Feed */
.list-montage {
    background: white;
}

.list-title-header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.list-title-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.product-montage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2px;
    border-radius: 0;
    overflow: hidden;
}

.montage-item {
    aspect-ratio: 1;
    overflow: hidden;
}

.montage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.montage-item:hover img {
    transform: scale(1.05);
}

/* User Suggestion Styles */
.user-suggestion {
    padding: 15px;
}

.suggestion-header {
    margin-bottom: 15px;
    margin-top: 40px;
}

.suggestion-header h3 {
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    color: #365261;
}

.suggested-user {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.suggested-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e3d0c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-right: 10px;
}

.suggested-user-info {
    flex: 1;
}

.suggested-user-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.suggested-user-match {
    font-size: 13px;
    color: #6C6C6C;
}

.follow-btn {
    background: #365261;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 2px;
    font-size: 18px;
    cursor: pointer;
    font-family: 'Darker Grotesque';
}

.follow-btn:hover {
    background: #2d3748;
}

.user-profile-avatar, #friend-profile .profile-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1/1;
}

#edit-profile .user-profile-avatar {
    margin: 0 auto 20px;
}

.user-profile-avatar img, 
#friend-profile .profile-avatar img  {
    width: 110px;
}

.create-list, .view-all {
    color: #365261;
    cursor: pointer;
    margin-left: 15px;
    font-size: 18px;
}

.create-list {
    border-right: 1px solid #365261;
    padding-right: 15px;
}

.share-btn, .friend-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 100px;
}

/* Main Menu Screen Specific Styling */
#main-menu {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 0;
}

.my-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.section-title {
    margin: 20px 0 15px;
    font-size: 26px;
    font-weight: 600;
    color: #365261;
}

.lists-section {
    width: 100%;
}