.gps-excursions-container { 
    width: 100%;
    display: flex;
    flex-direction: column;
}
.gps-btn-add-excursion-wrapper { 
    margin-left: auto;
    margin-bottom: 10px; 
}
.gps-btn-add-excursion {
    display:          inline-block; 
    background-color: #fff !important;
    color:            #000 !important;
    border: 1px solid #000;
    border-radius:    4px;
    justify-content:  center;
    padding:          12px 12px !important;
    cursor:           pointer;
    font-family:      "Tahoma", Sans-serif;
    text-transform:   uppercase;    
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1em;
    letter-spacing: 1.7px;
    text-decoration: none !important;   
    transition: background 0.2s;
}
.gps-btn-add-excursion:hover { 
    background-color: #f9f9f9 !important; 
}

@media (min-width: 767px) {
    .gps-guide-excursions-grid {   
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        flex-direction: row;
    }
}
@media (max-width: 766px) {
    .gps-guide-excursions-grid {
        display: grid;
        margin: 0;
        padding: 0;
        grid-column-gap: 0px;
        grid-row-gap: 16px;
        list-style: none outside;
        clear: both;
    }
}
@media (min-width: 767px) {
    .gps-guide-product {
        display: flex;
        flex-wrap: wrap;
        width: calc((100% - 40px) / 3);
        background-color: #fbfbfb;
        margin: 0;
        padding: 0;
    }
}
@media (max-width: 766px) {
    .gps-guide-product {
        display: flex;
        flex-direction: column;
        float: none;
        justify-content: space-between;
        margin: 0;
        padding: 0;
        width: auto;
    }
}
.gps-guide-product_loop_item {
    border: 1px solid #dcdcdc;
    min-height: 300px;
    margin-bottom: 0px;
    position: relative;
}
@media (min-width: 767px) {
    .gps-guide-product_loop_item_preview {
        display: flex;
        flex-direction: column;
        background: #fcfcfc;
        height: auto;
        display: flex;
        position: relative;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_preview {
        background: #fcfcfc;
        height: auto;
        display: flex;
        position: relative;
        flex-direction: column;
    }
}
@media (min-width: 767px) {
    .gps-guide-product_loop_item_preview {
        display: flex;
        flex-direction: column;
        background: #fcfcfc;
        height: auto;
        display: flex;
        position: relative;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_preview {
        flex-direction: column;
        background: #fcfcfc;
        height: auto;
        display: flex;
        position: relative;
    }
}
.gps-guide-product_loop_item_image {
    padding: 0;
    margin: 0;
    border: none;
    display: block;
    position: relative;
    overflow: hidden;
}
@media (min-width: 767px) {
    .gps-guide-product_loop_item_image {
        height: 307px;
        width: 100%;
        flex-grow: 0;
        flex-shrink: 0;
        background-position: 50%;
        background-size: cover;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_image {
        height: 300px;
        width: 100%;
    }
}
.gps-guide-product_loop_item_image img {
    min-width: 100%;
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_image img {
        padding: 8px;
    }
}

.gps-guide-product_loop_item_info {
    padding: 0px 0px 0px 0px;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    display: flex !important;
    position: relative !important;
    flex-direction: column !important;
}
.gps-guide-product_loop_item_info-info {
    text-align: left;
}
@media (min-width: 767px) {
    .gps-guide-product_loop_item_info-info {
        padding-left: 15px;
        width: 100%;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_info-info {
        padding-top: 8px;
        padding-left: 8px;
        padding-right: 8px;
        width: 100%;
    }
}
.gps-guide-product_loop_item_info-title {
    font-weight: 400;
    background: none;
    line-height: 1.4;
    letter-spacing: 1.7px !important;
    text-transform: uppercase;
    color: #686868;
    font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
    margin-bottom: 0px !important;
    padding-top: 4px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 8px !important;
    text-overflow: ellipsis;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .gps-guide-product_loop_item_info-title {
        font-size: 19px !important;
        min-height: 3.5em;
        text-align: center !important;        
    }
}
@media (min-width: 767px) and (max-width: 1023px) {
    .gps-guide-product_loop_item_info-title {
        font-size: 18px !important;
        min-height: 65px;
        text-align: center !important;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_info-title {
        font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
        font-size: 14px !important;
        text-align: center !important;
        font-weight: bolder;
    }
}
.gps-guide-product_loop_item_info-short_description{
    letter-spacing: 0.0333333333em;
    text-align: center;
    background: none;
    color: #686868;
    padding-top: 0px !important;
    padding-left: 0px !important;
    padding-bottom: 0px !important;
    text-transform: inherit;
    font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
    min-height: 88px;
}
.expandable-wrapper.is-collapsed p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Ограничение в ~3 строки (примерно 250 символов) */
    overflow: hidden;
    margin-bottom: 18px;
}
/* Кнопка-символ для СВЕРНУТОГО состояния */
.expandable-wrapper.is-collapsed .toggle-button::before {
    content: "... ▼";
}
/* Кнопка-символ для РАЗВЕРНУТОГО состояния */
.expandable-wrapper:not(.is-collapsed) .toggle-button::before {
    content: "▲";
}
/* Базовые стили для кликабельного div */
.toggle-button {
    color: #a46497;
    cursor: pointer; /* Делает курсор в виде указательного пальца */
    font-weight: bold;
    margin-top: -15px;
    font-family: inherit;
    font-size: inherit;
    display: inline-block; /* Позволяет корректно задавать отступы */
    user-select: none;     /* Запрещает случайное выделение текста при клике */
    float: right;
    width: 100%;
    text-align: end;
}
.toggle-button:hover {
    text-decoration: underline;
}

.expandable-wrapper { 
}

/* СВЕРНУТОЕ СОСТОЯНИЕ (Мгновенное ограничение браузером) */
@media (min-width: 767px) {
    .expandable-wrapper.is-collapsed p {
    }
}
@media (max-width: 766px) {
    .expandable-wrapper.is-collapsed p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3; /* Ограничение в ~3 строки (примерно 250 символов) */
        overflow: hidden;
        margin-bottom: 18px;
    }
    /* Кнопка-символ для СВЕРНУТОГО состояния */
    .expandable-wrapper.is-collapsed .toggle-button::before {
        content: "... ▼";
    }
    /* Кнопка-символ для РАЗВЕРНУТОГО состояния */
    .expandable-wrapper:not(.is-collapsed) .toggle-button::before {
        content: "▲";
    }
    /* Базовые стили для кликабельного div */
    .toggle-button {
        color: #a46497;
        cursor: pointer; /* Делает курсор в виде указательного пальца */
        font-weight: bold;
        margin-top: -15px;
        font-family: inherit;
        font-size: inherit;
        display: inline-block; /* Позволяет корректно задавать отступы */
        user-select: none;     /* Запрещает случайное выделение текста при клике */
        float: right;
    }
    .toggle-button:hover {
        text-decoration: underline;
    }
}
@media (min-width: 1024px) {
    .gps-guide-product_loop_item_info-short_description {
        font-size: 15px;
        font-weight: 400;
        line-height: 20px;
        margin-top: 4px;
        margin-bottom: 4px !important;
        padding-right: 8px !important;
    }
}
@media (min-width: 767px) and (max-width: 1023px) {
    .gps-guide-product_loop_item_info-short_description {
        margin-top: 4px;
        margin-bottom: 4px !important;
        padding-right: 8px !important;
        font-size: 14px;
        font-weight: 400;
        font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
        line-height: 19.6px;
        color: #505050;    
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_info-short_description {
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
        margin-top: 4px;
        margin-bottom: 12px !important;
        padding-right: 0px !important;
    }
}
.gps-guide-product_loop_item_info-info .star-rating {
    float: right;
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    width: 5.4em;
    font-family: WooCommerce;
    display: block;
    float: none;
    margin-left: auto;
    margin-right: 8px;
    margin-bottom: 0px;
    font-size: 1.1em;
    color: #603e5a;
}
.gps-guide-product_loop_item_info-info .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}
.gps-guide-product_loop_item_info-info .star-rating::before {
    content: "SSSSS";
    color: #cfc8d8;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}
.gps-guide-product_loop_item_info-info .star-rating span::before {
    content: "SSSSS";
    top: 0;
    position: absolute;
    left: 0;
}
@media (min-width: 767px) {
    .gps-guide-product_loop_item_info-info .star-rating {
        margin-top:   0px;
        margin-right: 8px !important;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_info-info .star-rating {
        font-size: 0.9em;
        margin-top: 28px;
        margin-right: 0px !important;
    }
}

.gps-guide-product_loop_product_attributes {
    display: flex;
    flex-direction: column;
}
@media (min-width: 1024px) {
    .gps-guide-product_loop_product_attributes {
        min-height: 143px;
        margin-top: 18px;
    }
}
@media (min-width: 767px) and (max-width: 1023px) {
    .gps-guide-product_loop_product_attributes {
        min-height: 143px;
        margin-top: 7px;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_product_attributes {
        margin-bottom: 10px;
        padding-top: 4px;
        padding-left: 10px;
        padding-right: 10px;
    }
}
.gps-guide-attribute-wrapper{
    font-size: 18px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
    float: left;
    padding: 6px 4px;
    width: 100%;
    margin-bottom: 4px;
    font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
    color: #505050;
}
.gps-guide-attribute-icon {
    width: 24px;
    height: 24px;
 }
.gps-guide-attribute-value {
    margin-top: 0px;
    line-height: 1.1em;
}
.gps-guide-attribute-value p{
    margin-bottom: 0px;
}
@media (min-width: 767px) {
    .gps-guide-attribute-wrapper {
        font-size: 16px;
        padding: 2px 0px;
        gap: 10px;
    }
    .gps-guide-attribute-icon.gps-tour_duration{
        margin-top: -3px;
        margin-left: 1px;
        padding-left:  5px;
        padding-right: 5px;
        width: 28px;
        height: 20px;
    }
    .gps-guide-attribute-icon.gps-mode_of_transport {
        margin-top: -2px;
        margin-left: 4px;
        width: 24px;
        height: 20px;
    }
    .gps-guide-attribute-icon.gps-tour_format {
        width: 18px;
        height: 24px;
        margin-top: 3px;
        margin-left: 6px;       
    }
    .gps-guide-attribute-value.gps-tour_format {
        margin-left: 4px;
        display: flex;
        align-items: center; 
    }
    .gps-guide-attribute-icon.gps-tour_audience_format {
        width: 19px;
        height: 24px;
        margin-top: 0px;
        margin-left: 5px;
    }
    .gps-guide-attribute-value.gps-tour_audience_format {
        margin-top: 0px;
        margin-left: 3px;
        padding-top: 4px;
    }
}
@media (max-width: 766px) {
    .gps-guide-attribute-wrapper {
        font-size: 14px;
        padding: 2px 0px;
        gap: 10px;
    }
    .gps-guide-attribute-icon.gps-tour_duration{
        margin-top: -3px;
        margin-left: 1px;
        padding-left:  5px;
        padding-right: 5px;
        width: 28px;
        height: 20px;
    }
    .gps-guide-attribute-icon.gps-mode_of_transport {
        margin-top: -2px;
        margin-left: 4px;
        width: 24px;
        height: 20px;
    }
    .gps-guide-attribute-icon.gps-tour_format {
        width: 18px;
        height: 24px;
        margin-top: 3px;
        margin-left: 6px;
    }
    .gps-guide-attribute-value.gps-tour_format {
        margin-left: 4px;
    }
    .gps-guide-attribute-icon.gps-tour_audience_format {
        width: 19px;
        height: 24px;
        margin-top: 0px;
        margin-left: 5px;
    }
    .gps-guide-attribute-value.gps-tour_audience_format {
        margin-top: 0px;
        margin-left: 3px;
        padding-top: 4px;
    }
}
.gps-guide-product_loop_item_info-info .price {
    color: #000000 !important;
    /*font-family: "Arial", Sans-serif;*/
    /*letter-spacing: 2px !important;*/
    margin-bottom: 0px;
    width: 100%;
    text-align: center;
    font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
    line-height: 19.6px;
    font-style: italic;
}
@media (min-width: 767px) {
    .gps-guide-product_loop_item_info-info .price {
        font-size:     16px !important;
        line-height:   1.1em !important;
        font-weight:   400 !important;
        margin-bottom: 18px;
        min-height: 52px;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_item_info-info .price {
        font-size:     14px !important;
        line-height:   1.0em !important;
        font-weight:   400 !important;
        margin-bottom: 18px;        
    }
}
.gps-guide-product_loop_product_button{
    text-align: right;
    margin: 0;
    padding-bottom: 8px;
}
@media (min-width: 767px) {
    .gps-guide-product_loop_product_button {
        padding-right: 0px; 
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_product_button {
        padding-right: 0px;
    }
}
.gps-guide-product_loop_product_button a.button {
    color: #603e5a !important;
    font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
    font-size: 14px;
    line-height: 16.8px;
    font-weight: 700;
    text-align: center;
    display: block;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;    
}
.gps-guide-product_loop_product_button a.button:hover {
    background-color: unset !important;
}    
@media (min-width: 767px) {
    .gps-guide-product_loop_product_button a.button {
        font-size: 14px !important;
    }
}
@media (max-width: 766px) {
    .gps-guide-product_loop_product_button a.button {
        margin-right: 0px;
        margin-bottom: 8px;
        font-size: 14px !important;
    }
}

.card-is-draft { 
    border: 2px solid #ffc107 !important; 
}
.card-is-draft img { 
    filter: grayscale(95%); 
}
.badge-draft {
    position: absolute; 
    top: 12px; 
    left: 15px; 
    background-color: #ffc107; 
    color: #212529;
    font-size: 12px; 
    font-weight: bold; 
    padding: 4px 10px; 
    border-radius: 20px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); 
    z-index: 5;
}
.excursion-overlay-controls {
    position: absolute; 
    top:     9px;
    right:   15px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap:     10px; 
    opacity: 1; 
    transition: opacity 0.3s ease;
}
.gps-guide-product:hover .excursion-overlay-controls { 
    opacity: 1; 
}
.control-icon {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width:  32px; 
    height: 32px;
    background: #fff; 
    border-radius: 50%; 
    text-decoration: none !important; 
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
    transition: transform 0.1s, background 0.2s;
}
.control-icon:hover { 
    transform: scale(1.05); 
}
.edit-icon:hover { 
    background: #f9f9f9; 
    color: #fff !important; 
}
.delete-icon:hover { 
    background: #f9f9f9; 
    color: #000 !important; 
}
@media (max-width: 766px) {
    .badge-draft {
        top:  32px; 
        left: 32px;
    } 
    .excursion-overlay-controls {
        top:     25px;
        right:   30px;
        gap:     16px; 
    }
    .control-icon {
        width:  42px; 
        height: 42px;
    }

}

/*

.excursions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }

.excursion-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
    overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); position: relative; transition: transform 0.2s;
}
.excursion-card:hover { transform: translateY(-3px); }

.excursion-image { height: 190px; background-size: cover; background-position: center; position: relative; }




.excursion-info { padding: 15px; }
.excursion-info h3 { margin: 0 0 8px 0; font-size: 18px; color: #333; }
.excursion-price { font-weight: bold; color: #b12704; margin-bottom: 8px; font-size: 16px; }
.excursion-desc { font-size: 14px; color: #666; line-height: 1.4; }
.no-excursions-msg { grid-column: 1 / -1; text-align: center; padding: 40px; background: #f9f9f9; border-radius: 6px; color: #666; }

*/