aside .menu{
    display: flex;
    flex-direction:column;
    width:280px;
    clip-path: path("M140.999 29.7576C140.999 13.3229 127.676 0 111.241 0H40.999C18.9076 0 .998985 17.9086 .998985 40V1103C.998985 1103.55 .44771 4582.5 .999994 4582.5H279.999L279.999 1104C280.551 1104 280.999 1103.55 280.999 1103V99.5152C280.999 77.4238 263.09 59.5152 240.999 59.5152H170.757C154.322 59.5152 140.999 46.1923 140.999 29.7576Z");
    background-color:#e9e3f1;
    border-radius:40px;
    z-index:999999;
    position:absolute;
    padding:0!important
    
}

aside .menu li{
    height:60px
}
aside .menu li a{
    
    
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
}

aside .menu li:last-child, header .menu li:last-child a{
    border-radius:0 0 1rem 1rem
}

aside .menu a{
    height:100%;
    width:100%;
    color:#876dae!important;
    font-family:Montserrat,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-weight:600
}

aside .menu_head{
    width:100%;
    height:80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='452px' height='125px' style='shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath style='opacity:0.999' fill='%23e8e2f0' d='M 25.5,-0.5 C 96.8333,-0.5 168.167,-0.5 239.5,-0.5C 255.053,5.56306 264.219,16.8964 267,33.5C 265.277,47.7052 268.277,60.7052 276,72.5C 283.517,81.1754 293.017,86.0087 304.5,87C 343.167,87.3333 381.833,87.6667 420.5,88C 436.681,92.3489 447.015,102.516 451.5,118.5C 451.5,120.5 451.5,122.5 451.5,124.5C 300.833,124.5 150.167,124.5 -0.5,124.5C -0.5,91.5 -0.5,58.5 -0.5,25.5C 4.5,13.1667 13.1667,4.5 25.5,-0.5 Z'/%3E%3C/g%3E%3C/svg%3E") center center/contain no-repeat;
    border-radius:0 0 40px 40px;
    -moz-border-radius-bottomright:40px;
    -moz-border-radius-bottomright:40px
    
}

aside .menu_head p{
    color:#73539e;
    font-family:Montserrat;
    vertical-align:middle;
    font-size:18px;
    line-height:1.15;
    font-weight:600;
    background-position:center center;
    border-color:transparent;
    border-style:solid;
    position:relative;
    top:-9px;left:57px
    
}

aside .menu_head::before{
    content:url("data:image/svg+xml,%3Csvg width='100%' height='100%' viewBox='0 0 42 54' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.17063 17.9084H36.1946C36.6517 17.9084 37.0901 17.6726 37.4133 17.2528C37.7365 16.833 37.9181 16.2636 37.9181 15.6699C37.9181 15.0762 37.7365 14.5068 37.4133 14.087C37.0901 13.6672 36.6517 13.4313 36.1946 13.4313H5.17063C4.71352 13.4313 4.27513 13.6672 3.9519 14.087C3.62867 14.5068 3.44708 15.0762 3.44708 15.6699C3.44708 16.2636 3.62867 16.833 3.9519 17.2528C4.27513 17.6726 4.71352 17.9084 5.17063 17.9084ZM36.1946 35.8169H5.17063C4.71352 35.8169 4.27513 36.0527 3.9519 36.4726C3.62867 36.8924 3.44708 37.4617 3.44708 38.0555C3.44708 38.6492 3.62867 39.2185 3.9519 39.6383C4.27513 40.0582 4.71352 40.294 5.17063 40.294H36.1946C36.6517 40.294 37.0901 40.0582 37.4133 39.6383C37.7365 39.2185 37.9181 38.6492 37.9181 38.0555C37.9181 37.4617 37.7365 36.8924 37.4133 36.4726C37.0901 36.0527 36.6517 35.8169 36.1946 35.8169ZM36.1946 24.6241H5.17063C4.71352 24.6241 4.27513 24.86 3.9519 25.2798C3.62867 25.6996 3.44708 26.269 3.44708 26.8627C3.44708 27.4564 3.62867 28.0258 3.9519 28.4456C4.27513 28.8654 4.71352 29.1012 5.17063 29.1012H36.1946C36.6517 29.1012 37.0901 28.8654 37.4133 28.4456C37.7365 28.0258 37.9181 27.4564 37.9181 26.8627C37.9181 26.269 37.7365 25.6996 37.4133 25.2798C37.0901 24.86 36.6517 24.6241 36.1946 24.6241Z' fill='%2373539E'/%3E%3C/svg%3E");
    width:30px;
    height:30px;
    position:relative;
    top:12px;
    left:9px;
    margin-left:10px;
    display:block
}


/* Стили для галереи на content-single-product.php */
.gallery-nav {
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-nav:hover {
    opacity: 1;
    transform: scale(1.1);
}

.gallery-zoom {
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-zoom:hover {
    opacity: 1;
}

.gallery-counter {
    z-index: 10;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Конец стилей; для галереи на content-single-product.php */


/* Стили для popup */
#share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-popup-content {
    position: absolute;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.share-btn {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-5px);
}

.vk-color {
    background-color: #0077FF;
}