/* PLUGIN --- Tour Product Page Architecture (WooCommerce Style Layout) --- */
/* --- Premium Full-Width WooCommerce Tour Layout --- */

.tour-full-width-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tour-layout-content-col {
    width: 100%;
}

.tour-product-main-row {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.tour-main-image-column {
    flex: 1;
    max-width: 50%;
}

.tour-large-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tour-main-meta-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f9fbfd;
    padding: 35px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.tour-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.tour-meta-line:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.tour-meta-line strong {
    color: var(--st-primary-color);
    font-weight: 600;
}

.tour-status-badge {
    background: #e6f4ea;
    color: #137333;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.tour-price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--st-primary-color);
}

.tour-operator-link {
    color: var(--st-primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.tour-operator-link:hover {
    color: var(--st-secondary-color);
}

.tour-booking-action-wrapper {
    margin-top: 15px;
}

.tour-purchase-btn {
    display: block;
    text-align: center;
    width: 100%;
    background: var(--st-primary-color);
    color: #ffffff;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(11, 60, 93, 0.15);
    transition: background 0.2s ease-in-out, transform 0.2s;
}

.tour-purchase-btn:hover {
    background: var(--st-secondary-color);
}

.tour-full-description-block,
.tour-media-gallery-section {
    margin-bottom: 50px;
}

.tour-full-description-block h2,
.tour-media-gallery-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--st-primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.tour-content-body {
    font-size: 18px;
    line-height: 1.8;
    color: #2d3748;
}

.tour-gallery-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.tour-gallery-image-cell img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    transition: transform 0.2s;
}

.tour-gallery-image-cell img:hover {
    transform: scale(1.02);
}

.st-supplier-link {

    color: #ffcc05; 

    text-decoration: none;
    transition: all 0.3s ease;
}

/* Эффект при наведении */
.st-supplier-link:hover {
    color: #0B3C5D;
    text-decoration: none;
}

/* Responsive configurations for small/mobile layouts */
@media (max-width: 991px) {
    .tour-product-main-row {
        flex-direction: column;
        gap: 30px;
    }
    .tour-main-image-column {
        max-width: 100%;
    }
    .tour-gallery-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   11.  Single Product Tour Page 
   ========================================================================== */

   /* --- Premium Full-Width WooCommerce Tour Layout (Fixed Authentic Keys) --- */

.tour-full-width-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tour-layout-content-col {
    width: 100%;
}

.tour-product-main-row {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.tour-main-image-column {
    flex: 1;
    max-width: 50%;
}

.tour-large-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tour-main-meta-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f9fbfd;
    padding: 35px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.tour-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.tour-meta-line:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.tour-meta-line strong {
    color: var(--st-primary-color);
    font-weight: 600;
}

.tour-status-badge {
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}
.tour-status-badge.status-approved {
    background: #e6f4ea;
    color: #137333;
}
.tour-status-badge.status-pending {
    background: #fff8e1;
    color: #b78103;
}
.tour-status-badge.status-suspended,
.tour-status-badge.status-rejected {
    background: #fce8e6;
    color: #c5221f;
}

.tour-price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--st-primary-color);
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.tour-old-price {
    font-size: 16px;
    font-weight: 400;
    color: #a0aec0;
    text-decoration: line-through;
}

.tour-current-sale-price {
    color: #e53e3e;
    font-weight: 700;
}

.tour-stars-rating {
    color: #d69e2e;
    font-weight: 700;
}

.tour-slots-left {
    background: #edf2f7;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.tour-operator-link {
    color: var(--st-primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.tour-operator-link:hover {
    color: var(--st-secondary-color);
}

.tour-booking-action-wrapper {
    margin-top: 15px;
}

.tour-purchase-btn {
    display: block;
    text-align: center;
    width: 100%;
    background: var(--st-primary-color);
    color: #ffffff;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(11, 60, 93, 0.15);
    transition: background 0.2s ease-in-out, transform 0.2s;
}

.tour-purchase-btn:hover {
    background: var(--st-secondary-color);
}

.tour-full-description-block,
.tour-additional-details-block,
.tour-media-gallery-section {
    margin-bottom: 50px;
}

.tour-full-description-block h2,
.tour-details-section-row h2,
.tour-media-gallery-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--st-primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.tour-content-body,
.tour-details-content-text {
    font-size: 18px;
    line-height: 1.8;
    color: #2d3748;
}

.tour-details-section-row {
    margin-bottom: 35px;
}

.tour-gallery-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.tour-gallery-image-cell img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    transition: transform 0.2s;
}

.tour-gallery-image-cell img:hover {
    transform: scale(1.02);
}

/* Responsive configurations */
@media (max-width: 991px) {
    .tour-product-main-row {
        flex-direction: column;
        gap: 30px;
    }
    .tour-main-image-column {
        max-width: 100%;
    }
    .tour-gallery-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Tour Product Custom Layout Styles
   ========================================================================== */

/* Commercial Meta Box (Right Sidebar Widget) */
.tour-commercial-box {
    background: transparent;
    border: none;
    padding: 0;
}

.tour-commercial-box .tour-meta-line {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.tour-commercial-box .slots-trigger {
    color: #e11d48;
    font-weight: bold;
}

/* Price presentation area */
.tour-commercial-box .tour-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.tour-commercial-box .tour-price-wrapper {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-commercial-box .sale-price {
    color: #16a34a;
}

.tour-commercial-box .tour-price-regular-crossed {
    font-size: 15px;
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: normal;
}

/* Booking CTA Button */
.tour-commercial-box .tour-action-button {
    margin-top: 20px;
}

.tour-commercial-box .tour-booking-btn {
    display: block;
    text-align: center;
    background: #ff6600;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.tour-commercial-box .tour-booking-btn:hover {
    background: #ffcc05;
}

.tour-booking-btn:active {
    transform: scale(0.98);
}

.tour-commercial-box .tour-booking-btn-not-available {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    background-color: #e0e0e0;
    color: #9e9e9e;
    pointer-events: none;
    cursor: not-allowed;
}


/* --- FIXED: Global Section Dividers (HR) and Headers --- */
hr.tour-price-line {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 40px 0 25px;
    background: transparent;
    height: 1px;
    width: 100%;
    display: block;
}

/* Remove the old bottom border from h2 tags to prevent double lines */
.tour-content-body h2,
.tour-media-gallery-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--st-primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* Structural Spacing for Main Blocks */
.tour-full-description-block {
    margin-top: 40px;
}

.tour-additional-details-block {
    margin-top: 30px;
}

.tour-additional-details-block .tour-details-section-row {
    margin-bottom: 25px;
}

/* Media Gallery Section spacing */
.tour-media-gallery-section {
    margin-top: 15px;
}

/* Layout grid for tour media gallery */
.tour-gallery-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

/* Style for image cells to keep layout uniform */
.tour-gallery-image-cell img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    display: block;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .tour-product-main-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .tour-main-image-column,
    .tour-main-meta-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Mobile view override for gallery */
    .tour-gallery-columns-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* --- Marketplace Archive Grid & Standalone Card Component --- */

.marketplace-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    width: 100%;
}

/* Standalone Card Architecture */
.marketplace-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.marketplace-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.marketplace-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.marketplace-card-thumb img,
.marketplace-placeholder-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.marketplace-placeholder-thumb {
    background-color: #e2e8f0;
}

.marketplace-card-details {
    padding: 20px;
}

.marketplace-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--st-primary-color);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.marketplace-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--st-secondary-color);
}

/* Mobile & Responsive Rules: 3 columns -> 2 columns -> 1 column */
@media (max-width: 992px) {
    .marketplace-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .marketplace-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   Tour Marketplace Filtering & Sorting Panel (Fixed Single Row)
   ========================================================================== */

.sunnymkt-filter-panel {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Form container using flexbox alignment */
.sunnymkt-filter-panel .tour-filter-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

/* Left side criteria group (Category, Country, Difficulty) */
.sunnymkt-filter-panel .filter-group-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0; /* Allows flex items to shrink below text dimensions */
}

/* Right side ordering group (Price and Date sorting) */
.sunnymkt-filter-panel .filter-group-right {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevents sorting select from shrinking excessively */
}

/* Core dropdown select configurations */
.sunnymkt-filter-panel select {
    background-color: #f9f9f9;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #333333;
    font-size: 14px;
    height: 40px;
    padding: 0 30px 0 12px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease-in-out;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Clean custom vector chevron icon background */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23666666' d='M0 0l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    
    /* Smart truncation for ultra-long data terms */
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Hover and focus state modifications */
.sunnymkt-filter-panel select:hover {
    border-color: #666666;
    background-color: #f5f5f5;
}

.sunnymkt-filter-panel select:focus {
    border-color: #666666;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Dedicated desktop grid layout controls */
@media (min-width: 769px) {
    .sunnymkt-filter-panel .tour-filter-form {
        flex-wrap: nowrap; /* Forces layout to remain on a single structural line */
    }
    
    .sunnymkt-filter-panel .filter-group-left select {
        flex: 1 1 180px; /* Allocates proportional width distribution */
        max-width: 240px;
    }

    .sunnymkt-filter-panel .filter-group-right select {
        width: 180px;
    }
}

/* Responsive mobile responsive breakpoint adaptations */
@media (max-width: 768px) {
    .sunnymkt-filter-panel .tour-filter-form,
    .sunnymkt-filter-panel .filter-group-left,
    .sunnymkt-filter-panel .filter-group-right {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }

    .sunnymkt-filter-panel .filter-group-left select,
    .sunnymkt-filter-panel .filter-group-right select {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }

    .sunnymkt-filter-panel .reset-filters-btn {
        justify-content: center;
        margin-top: 5px;
    }
}

/* Operational action button for clearing active queries */
.sunnymkt-filter-panel .reset-filters-btn {
    display: inline-flex;
    align-items: center;
    color: #888888;
    font-size: 13px;
    text-decoration: none;
    height: 40px;
    padding: 0 5px;
    border-bottom: 1px dashed #cccccc;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}


.sunnymkt-filter-panel .reset-filters-btn:hover {
    color: #ff3b30;
    border-bottom-color: transparent;
}

/* Add vertical space before the filter panel without changing the HTML structure */
.blog-posts-column > form.tour-filter-form,
.blog-posts-column > .taxonomy-description,
.blog-posts-column > .sunnymkt-filter-panel {
    margin-top: 50px !important;
    margin-bottom: 30px !important;
}

/* --- Standalone Tour Card Enhanced Architecture --- */

/* Card layout structure */
.marketplace-card-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.marketplace-card-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}

.marketplace-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Fixed 16:9 Aspect Ratio */
    background: #f5f5f5;
    overflow: hidden;
}

.marketplace-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marketplace-placeholder-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eaeaea;
}

.marketplace-card-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 15px;
}

/* Row 1: Category styling */
.marketplace-card-category {
    font-size: 12px;
    text-transform: uppercase;
    color: #757575;
    margin-bottom: 8px;
}

/* Row 2: Title reserved exactly for 4 lines maximum/minimum height */
.marketplace-card-title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: bold;
    margin: 0 0 12px 0;
    padding: 0;
    height: calc(1.4em * 4); /* Ensures alignment height for 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Row 3: Vertical breakdown for geographic data and duration with equal normal gaps */
.marketplace-card-geo-days {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #616161;
    margin-bottom: 15px;
}

.marketplace-card-geo-days .geo-segment {
    display: block;
}

/* Row 4: Sticky Footer layout for Price (pinned to the absolute bottom) */
.marketplace-card-footer {
    margin-top: auto; /* Forces the footer to remain at the bottom edge */
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.marketplace-card-difficulty {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

/* Base style for labels to ensure exact same font across the card */
.marketplace-card-details .diff-label {
    font-size: 14px;
    color: #616161;
    font-weight: normal;
    display: inline-block;
}

.marketplace-card-footer {
    margin-top: auto; /* Прижимает футер к самому низу карточки */
    display: flex;
    align-items: baseline;
    justify-content: flex-end; /* ЖЕСТКО ВЫРАВНИВАЕТ FROM И ЦЕНУ ПО ЛЕВОМУ КРАЮ */
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* Container framework with custom border and negative margins to go wider than the theme container */
.tour-finder-wrap {
    background: #ffffff;
    border: 1px solid #707a8a; /* Frame around the widget */
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
    width: calc(100% + 20px); /* Extends wider than side column */
    margin-left: -10px;        /* Centers the extension */
    margin-bottom: 25px;
}

/* Row elements spacing */
.tour-finder-wrap .filter-field,
.tour-finder-wrap .tour-finder-field {
    margin-bottom: 18px;
}

/* Input Fields and Select Dropdowns styling hook */
.tour-finder-wrap .tour-filter-select,
.tour-finder-wrap .tour-filter-input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Price range inputs row alignment */
.tour-finder-wrap .price-inputs-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-finder-wrap .price-inputs-container .price-input-min,
.tour-finder-wrap .price-inputs-container .price-input-max {
    flex: 1;
}

.tour-finder-wrap .tour-finder-price-delimiter {
    font-weight: bold;
    color: #777;
}

/* Submit Action Button styling hook - Matched with primary theme parameters */
.tour-finder-wrap .tour-finder-submit-btn {
    width: 100%;
    height: 50px;
    display: inline-block;
    background-color: var(--st-secondary-color, #ffcc05);
    color: #ffffff !important;
    border: none;
    padding: 14px 45px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Interactive focus and hover behaviors execution */
.tour-finder-wrap .tour-finder-submit-btn:hover {
    background-color: var(--st-primary-color, #0B3C5D);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tour-finder-wrap .tour-finder-submit-btn:active {
    transform: translateY(0);
}

/* Reset layout */
.tour-finder-wrap .tour-finder-reset-wrap {
    text-align: center;
    margin-top: 12px;
}

/* ==========================================================================
   DEVICE-BASED FILTER DISPLAY (DESKTOP / MOBILE)
   ========================================================================== */

/* 1. LARGE SCREENS (Desktop) */
@media (min-width: 992px) {
    /* Completely hide the top filter panel since the detailed sidebar form is active */
    .top-desktop-hidden-filter {
        display: none !important;
    }

    /* Ensure the catalog sidebar is visible on desktop */
    .st-catalog-sidebar-mobile-hidden {
        display: block;
    }
}

/* 2. MOBILE DEVICES AND TABLETS */
@media (max-width: 991px) {
    /* Enable the top filter panel at the beginning of the page in front of the user */
    .top-desktop-hidden-filter {
        display: block !important;
        margin-bottom: 25px; /* Set a clean spacing down to the product grid */
    }

    /* Completely hide the entire sidebar column on this specific archive template */

    #secondary.st-catalog-sidebar-mobile-hidden {
        display: none !important;
    }
}




/* ==========================================================================
   PRODUCTS GRID ALIGNMENT
   ========================================================================== */

/* Adjust the spacing above the product cards grid to line up perfectly with the sidebar */
.marketplace-products-grid {
    margin-top: 40px; /* Adjust this pixel value (e.g., 10px, 20px) to match your sidebar's exact alignment */
}

/* ==========================================================================
   MARKETPLACE COLUMNS SPACING
   ========================================================================== */

/* Increase the space between the products column and the sidebar */
.blog-layout-container {
    display: flex; /* Ensures flexbox is active on the container */
    gap: 10px;     /* Adjust this value (e.g., 30px, 40px, 50px) to get the perfect gap between columns */
}

/* ==========================================================================
   Supplier Profile Layout Styles
   ========================================================================== */

.st-supplier-profile-card {
    margin-bottom: 40px;
}

.st-supplier-header {
    display: flex;
    gap: 35px;
    align-items: flex-start; /* Aligns the top of the photo and the text block */
    margin-bottom: 30px;
    padding-bottom: 30px;
    padding-top: 40px;
}

/* Optional: Adds a tiny top offset to the text area for pixel-perfect alignment */
.st-supplier-title-area {
    padding-top: 15px; 
}

.st-supplier-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rounding and scaling rules for the profile image asset */
.st-supplier-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.st-supplier-title-area .st-supplier-label {
    display: block;
    font-size: 15px;
    color: #333333;
    margin-bottom: 6px;
    font-weight: 500;
    text-align: left;
    line-height: 1.2;
}

.st-supplier-title-area .st-supplier-name {
    font-size: 32px;
    font-weight: 700;
    color: #0B3C5D;
    margin: 0;
    text-align: left;
    line-height: 1.2;
}

.st-supplier-bio-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
}

/* Light horizontal divider between bio and tours */
.st-supplier-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
    display: block;
    width: 100%;
}

.st-supplier-tours-title {
    font-size: 22px;
    font-weight: 700;
    color: #0B3C5D;
    margin: 0 0 20px 0;
    text-align: left;
    padding-top: 50px;
}

/* Responsive configurations for mobile viewports */
@media (max-width: 768px) {
    .st-supplier-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .st-supplier-tours-title {
    font-size: 22px;
    font-weight: 700;
    color: #0B3C5D;
    margin: 0 0 20px 0;
    text-align: center;
    padding-top: 50px;
}

    .st-supplier-title-area .st-supplier-label,
    .st-supplier-title-area .st-supplier-name {
        text-align: center;
    }
}

/* ==========================================================================
   Hosts Archive Layout Styles (Modernized Layout with Top Alignment)
   ========================================================================== */

.st-hosts-archive-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 40px; /* Aligns perfectly with the sidebar top edge */
    margin-bottom: 40px;
    gap: 20px; /* Separated items instead of plain borders */
}

.st-host-archive-item {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 25px 30px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0; /* Ultra-soft gray, marks the boundary without building a fence */
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Elegant and solid hover interaction */
.st-host-archive-item:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1; /* Smoothly transitions to a slightly clearer gray on hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04); /* Very light and premium depth shadow */
}

/* Rounded host profile logo container */
.st-host-item-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    padding: 4px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.st-host-item-logo a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.st-host-item-logo img,
.st-host-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.st-host-placeholder {
    background-color: #f4f7f9;
}

/* Host details content block */
.st-host-item-info {
    flex: 1;
}

.st-host-item-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.st-host-item-name a {
    color: #0B3C5D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.st-host-item-name a:hover {
    color: #ffcc05;
}

/* Bio/Excerpt customization */
.st-host-item-excerpt {
    font-size: 15px;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

.st-host-item-excerpt p {
    margin: 0;
    padding: 0;
}

.st-marketplace-pagination {
    margin-top: 30px;
}

/* Responsive configurations for mobile and tablet devices */
@media (max-width: 768px) {
    .st-host-archive-list {
        gap: 15px;
    }

    .st-host-archive-item {
        gap: 20px;
        padding: 20px;
    }

    .st-host-item-logo {
        width: 80px;
        height: 80px;
    }

    .st-host-item-name {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .st-host-archive-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }
    
    .st-host-item-logo {
        margin-bottom: 5px;
    }
}

/**
 * Supplier Dashboard Layout & Complete Table Styles
 * All comments and selectors are strictly written in English.
 */

/* Content Wrapper & Containers */
.sunnymkt-dashboard-inner-box {
    background: #ffffff;
    padding: 0px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Supplier Header Structure Reset */
.st-supplier-profile-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.st-supplier-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.st-supplier-profile-card .supplier-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    font-size: 32px;
    color: #adb5bd;
}

.st-supplier-name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

/* Top Bar Container aligning header and select filter wrapper */
.sunnymkt-dashboard-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Header adjust inside new flex container */
.sunnymkt-dashboard-header {
    margin: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.sunnymkt-dashboard-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.btn-sunny-add {
    background: #00a699;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,166,153,0.2);
    transition: background 0.2s ease-in-out;
}

.btn-sunny-add:hover {
    background: #00847a;
    color: #ffffff;
}

/* Compact status selector aligned to the top-right corner area */
.sunnymkt-dashboard-status-filter-form {
    margin: 0;
    padding: 0;
}

.sunnymkt-dashboard-status-filter-form select {
    padding: 8px 30px 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #ffffff;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
}

/* Form Containers & Back Button */
.sunnymkt-form-container h3,
.sunnymkt-profile-settings-container h3 {
    margin-top: 0;
}

.btn-sunny-back {
    text-decoration: none;
    display: inline-block;
    color: #0073aa;
    font-weight: 500;
}

/* Sidebar Navigation Widget Custom Styling */
.sunnymkt-dashboard-navigation-widget {
    background: #ffffff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sunnymkt-dashboard-navigation-widget .widget-title {
    margin-top: 0;
    padding-bottom: 10px;
    padding-top:40px;
    border-bottom: 1px solid #eeeeee;
    font-size: 18px;
    font-weight: 700;
}

.sunnymkt-dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.sunnymkt-dashboard-menu li {
    margin-bottom: 12px;
}

.sunnymkt-dashboard-menu li a {
    text-decoration: none;
    color: #333333;
    display: block;
    font-size: 14px;
}

.sunnymkt-dashboard-menu li a.active {
    font-weight: bold;
    color: #00a699;
}

.sunnymkt-dashboard-menu li.menu-logout-item {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eeeeee;
}

.sunnymkt-dashboard-menu li.menu-logout-item a {
    color: #d9534f;
}

.sunnymkt-dashboard-menu li.menu-logout-item a:hover {
    color: #b52b27;
}

/* Responsive Table Wrapper */
.sunnymkt-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

/* Core Dashboard Table Styling */
.sunnymkt-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-size: 14px;
    color: #333333;
}

/* Table Headers base rules */
table.sunnymkt-dashboard-table th {
    font-size: 14px !important;
    font-weight: bold !important;
    color: #0B3C5D !important;
    text-transform: none !important;
}

table.sunnymkt-dashboard-table th.sortable-header a,
table.sunnymkt-dashboard-table th.sortable-header a:visited {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #0B3C5D !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

table.sunnymkt-dashboard-table th.text-center {
    white-space: nowrap !important;
}

.sunnymkt-dashboard-table th.active-sort {
    background-color: #f1f3f5;
}

.sort-arrow {
    font-size: 10px;
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
}

/* Table Body Rows */
.sunnymkt-dashboard-table td {
    padding: 16px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
    transition: background-color 0.15s ease-in-out;
}

/* Row Hover Interaction Effect */
.sunnymkt-dashboard-table tbody tr:hover td {
    background-color: #fdfdfd;
}

/* Specific Cell Definitions */

.tour-title-cell a {
    font-weight: 600;
    color: #0B3C5D;
    text-decoration: none;
}

.tour-title-cell a:hover {
    color: #ffcc05;
    text-decoration: none;
}

.tour-date-cell {
    color: #333333;
    white-space: nowrap;
}

.tour-slots-cell {
    font-weight: 400;
}

.tour-price-cell {
    font-weight: 400;
    color: #333333;
    white-space: nowrap;
}

/* Status Labels & Badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 20px;
    white-space: nowrap;
}

/* Badge Color Schemes Mapping Core CPT Status States */
.status-badge.approved {
    background-color: #e6f6f4;
    color: #00a699;
}

.status-badge.pending {
    background-color: #fff9e6;
    color: #f0ad4e;
}

.status-badge.suspended {
    background-color: #f8f9fa;
    color: #6c757d;
}

.status-badge.rejected {
    background-color: #fdf2f2;
    color: #d9534f;
}

/* Dashboard Inline Contextual Actions Layout */
.tour-actions-cell {
    white-space: nowrap;
}

.dash-action-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    display: inline-block;
}

.dash-action-link.edit-link {
    color: #0B3C5D;
}

.dash-action-link.edit-link:hover {
    color: #ffcc05;
    text-decoration: none;
}

.dash-action-link.clone-link {
    color: #0B3C5D;
}

.dash-action-link.clone-link:hover {
    color: #ffcc05;
    text-decoration: none;
}

.action-divider {
    color: #dee2e6;
    margin: 0 6px;
    user-select: none;
}

/* Pagination Control Layout */
.sunnymkt-dashboard-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
}

.sunnymkt-dashboard-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.sunnymkt-dashboard-pagination .page-numbers:hover {
    background-color: #f8f9fa;
    border-color: #0073aa;
}

.sunnymkt-dashboard-pagination .page-numbers.current {
    background-color: #0073aa;
    border-color: #0073aa;
    color: #ffffff;
    cursor: default;
}

/* Empty State Box Layout */
.sunnymkt-dashboard-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 4px;
}

/* Utility Helpers Alignment Modifiers */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* Vertical stack layout for action links inside table cell */
.tour-actions-vertical-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

/* Base styling for dashboard control actions */
.dash-action-link.edit {
    font-size: 13px;
    color: #0B3C5D;
    text-decoration: none;
    line-height: 1.3;
}

.dash-action-link.edit:hover {
    text-decoration: none;
    color: #ffcc05;
}

/* Base styling for dashboard control actions */
.dash-action-link {
    font-size: 13px;
    color: #0B3C5D;
    text-decoration: none;
    line-height: 1.3;
}

.dash-action-link:hover {
    text-decoration: none;
    color: #ffcc05;
}

/* Destructive action state coloring for delete option */
.dash-action-link.delete-link {
    color: #dc2626;
}
.dash-action-link.delete-link:hover {
    color: #b52b27;
}

/* Interactive column sorting indicators styling */
.sort-arrow {
    font-size: 11px;
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
}

/* Dormant state for a sortable column ready to be selected */
.sort-arrow.idle-arrow {
    color: #a0a5aa !important;
    opacity: 0.5;
}

/* Active sorting focus matched to default table text colors */
.sort-arrow.active-arrow {
    color: #2c3338 !important;
    font-weight: bold;
    opacity: 1;
}

/* Neutralize generic anchor tags link color bleed inside table headers */
.sortable-header a {
    color: inherit;
    text-decoration: none;
}

/* Smooth anchor targeting shifts to skip static viewport snaps */
html {
    scroll-behavior: smooth;
}

/* Safety offset prevent clipping behind fixed sticky navigation bars */
#dashboard-grid {
    scroll-margin-top: 40px;
}

/* Responsive adjustments for mobile viewports */
@media screen and (max-width: 768px) {
    
    /* Hide the original table headers entirely */
    .sunnymkt-dashboard-table thead {
        display: none;
    }
    
    /* Force table elements to stack like regular blocks */
    .sunnymkt-dashboard-table, 
    .sunnymkt-dashboard-table tbody, 
    .sunnymkt-dashboard-table tr, 
    .sunnymkt-dashboard-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Transform rows into individual stand-alone cards */
    .sunnymkt-dashboard-table tr {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
    /* Style table cells to act as inline rows inside the card */
    .sunnymkt-dashboard-table td {
        padding: 10px 0 !important;
        border: none !important;
        border-bottom: 1px dashed #edf2f7 !important;
        position: relative;
        display: flex;
        justify-content: space-between; 
        align-items: center;
        text-align: left !important;
    }
    
    /* Remove bottom border on the last metadata cell before actions block */
    .sunnymkt-dashboard-table td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    /* Inject the label names programmatically on the left side */
    .sunnymkt-dashboard-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #4a5568;
        font-size: 13px;
        text-align: left;
        padding-right: 10px;
        flex-shrink: 0;
    }
    
    /* SPECIAL RESET: Modify ONLY the Tour Title cell layout for mobile header style */
    .sunnymkt-dashboard-table td.tour-title-cell {
        display: block;          /* Switches layout from flex split row to full width block */
        text-align: center !important;
        padding-bottom: 14px !important;
        border-bottom: 1px solid #edf2f7 !important; /* Makes title separated by a cleaner line */
    }

    /* Completely hide the text string 'Tour Title' inside this cell */
    .sunnymkt-dashboard-table td.tour-title-cell::before {
        display: none !important;
    }
    
    /* Format and center align the actual link title typography */
    .tour-title-cell a {
        display: block;
        font-size: 16px;
        font-weight: bold;
        text-align: center !important;
        color: #2c3338;
        line-height: 1.4;
    }
    
    /* Reposition action triggers link panel into a horizontal row for easy tapping */
    .tour-actions-vertical-stack {
        flex-direction: row !important;
        justify-content: flex-end;
        align-items: center;
        gap: 14px !important;
        width: auto;
    }
    
    .dash-action-link {
        font-size: 14px;
        padding: 4px 0;
    }
}

/* Clean layout for the host verification elements below the name */
.st-supplier-status-wrapper {
    margin-top: 6px;
}

/* One-line minimalist row for indicator and typography */
.host-status-line {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
}

/* Micro-sized status circle wrapper */
.host-status-line .badge-icon {
    margin-right: 6px;
    font-size: 14px;
    line-height: 1;
}

.sunnymkt-hostpage-table-header {
    font-size: 24px;
    color: #0B3C5D;
    text-align: center;
    padding-top: 50px;
}

.host-status-notice-text {
    margin-top: 12px;
    max-width: 600px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    background-color: #f8fafc;
}

.host-status-notice-text p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.5;
    color: #dc2626;
}

/* Responsive centering alignment rules strictly for mobile devices */
@media screen and (max-width: 768px) {
    .st-supplier-title-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .host-status-line {
        justify-content: center;
    }
}

table.sunnymkt-dashboard-table th.sortable-header a {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

/**
 * Supplier Profile Layout & Complete Table Styles
 * All comments and selectors are strictly written in English.
 */
/* Container framework layout adjustments */
.sunnymkt-profile-form-wrapper {
    background: #ffffff;
    padding: 0px;
    padding-top: 40px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Form block architecture spacing elements */
.sunnymkt-frontend-form .sunnymkt-form-group {
    margin-bottom: 20px;
}

.sunnymkt-frontend-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333333;
    font-size: 18px;
}

.sunnymkt-frontend-form .required-asterisk {
    color: #d32f2f;
}


/* Split multi-column inline configurations layout */
.sunnymkt-form-split-row {
    display: flex;
    gap: 20px;
}

.sunnymkt-form-split-row .sunnymkt-form-group {
    flex: 1;
}

/* Subsection presentation components */
.sunnymkt-form-section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 35px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #eaeaea;
    color: #0B3C5D;
    text-align: center;
}

.sunnymkt-form-section-title:first-of-type {
    margin-top: 0;
}

.field-hint-description {
    font-size: 14px;
    color: #7f8c8d;
    margin: 4px 0 0 0;
}

/* Layout submission controls button blocks */
.sunnymkt-form-actions-area {
    margin-top: 30px;
    padding-top: 15px;
    text-align: left;
}

/* Messaging alert notification banners styles */
.sunnymkt-alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert-warning {
    background-color: #fff8e1;
    color: #b78103;
    border: 1px solid #ffe082;
}

/* Base styling for the profile preview link */
.sunnymkt-view-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #0B3C5D;
    text-decoration: none;
    transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    padding-left: 10px;
}
/* Hover state styling when the mouse cursor is over the link */
.sunnymkt-view-profile-link:hover {
    color: #ffcc05;
    text-decoration: none;
    cursor: pointer;
}

/* Mobile responsive scaling adaptation loops rules */
@media (max-width: 768px) {
    .sunnymkt-form-split-row {
        flex-direction: column;
        gap: 0;
    }

    .sunnymkt-view-profile-link {
    padding-left: 0px;
    padding-top: 20px;
    }


}

/* Force style synchronization using exact element identifiers */
.sunnymkt-frontend-form #supplier_password,
.sunnymkt-frontend-form #supplier_password_confirm {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
}


/**
 * Form validation 
 */

.sunnymkt-alert.alert-danger {
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: #fff5f5;
    border-left: 4px solid #ea5455;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(234, 84, 85, 0.05);
}

.sunnymkt-alert.alert-danger .sunnymkt-error-message {
    margin: 0 0 8px 0;
    color: #ea5455;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.sunnymkt-alert.alert-danger .sunnymkt-error-message:last-child {
    margin-bottom: 0;
}

.sunnymkt-alert.alert-danger .sunnymkt-error-message::before {
    content: "⚠️";
    margin-right: 8px;
    font-size: 16px;
    display: inline-block;
}

.sunnymkt-frontend-form input[type="text"]:user-invalid,
.sunnymkt-frontend-form input[type="email"]:user-invalid,
.sunnymkt-frontend-form input[type="password"]:user-invalid {
    border: 2px solid #ea5455 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 6px rgba(234, 84, 85, 0.2) !important;
}

/**
 * Custom Unified Scroll Questionnaire CSS Stylesheet Segment Block
 * Maintains design consistency across inputs, selects, and textareas.
 * Avoids uppercase text transformations.
 */

.sunnymkt-scrollable-questionnaire {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
}

/* Step Container Layout */
.questionnaire-step-block {
    position: relative;
    background: #ffffff;
    margin-bottom: 35px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Form Elements Framework */
.frontend-input-row {
    margin-bottom: 20px;
    width: 100%;
}

.frontend-input-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.required-field-asterisk {
    color: #ef4444;
    margin-left: 2px;
}

/* Structural Multi-column Form Layout Flex Grid Setup */
.frontend-form-split-flex-grid {
    display: flex;
    gap: 20px;
    width: 100%;
}

.frontend-form-split-flex-grid .frontend-input-row {
    flex: 1;
}

@media (max-width: 768px) {
    .frontend-form-split-flex-grid {
        flex-direction: column;
        gap: 0;
    }
}

.frontend-form-split-flex-grid.variant-three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .frontend-form-split-flex-grid.variant-three-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Checkbox Alignment Framework */
.inline-checkbox-flex-alignment {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.inline-checkbox-flex-alignment label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.inline-checkbox-flex-alignment input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-custom-label-text {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/* Media Uploader Grid Interface */
.visual-media-upload-wrapper {
    background: #f8fafc;
    padding: 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
}

.media-preview-box-display {
    max-width: 120px;
    margin-bottom: 12px;
}

.media-preview-box-display img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.placeholder-empty-text-notice {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.media-action-trigger-buttons {
    display: flex;
    gap: 10px;
}

.sunnymkt-gallery-grid-layout {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .sunnymkt-gallery-grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sunnymkt-gallery-item-wrapper {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid #cbd5e1;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.sunnymkt-gallery-item-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-gallery-image-node {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
    padding: 0;
}

.remove-gallery-image-node:hover {
    background: rgb(239, 68, 68);
}

/* Form Action Controls Section Footer */
.form-separation-rule {
    border: 0px;
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0;
}

.frontend-form-action-footer-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.submission-action-primary-btn {
    background: #0088cc;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submission-action-primary-btn:hover {
    background: #006699;
}

.frontend-preview-anchor-link {
    font-size: 15px;
    font-weight: 600;
    color: #0088cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.frontend-preview-anchor-link:hover {
    color: #006699;
    text-decoration: underline;
}

/* Secondary button base style */
.btn-secondary-action {
    background: #ffcc05;
    color: #ffffff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    /* Smooth transition for hover effect */
    transition: background 0.3s ease;
}

/* Hover state (no space) */
.btn-secondary-action:hover {
    background: #0B3C5D;
}

/* Danger button base style */
.btn-danger-action {
    background: #0B3C5D;
    color: #ffffff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    /* Smooth transition for hover effect */
    transition: background 0.3s ease;
}

/* Hover state (no space) */
.btn-danger-action:hover {
    background: #ffcc05;
}

.frontend-form-action-footer-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}


.frontend-form-buttons-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Return to Dashboard */
.frontend-return-dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-weight: 600;
    color: #0B3C5D;
    font-size: 16px;
    margin-top: 20px;
    transition: color 0.2s ease;
}

.frontend-return-dashboard-link:hover {
    color: #ffcc05; /* Ну или твой акцентный цвет ховера */
}

/* Базовые стили для уведомлений формы */
.sunnymkt-form-notice {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: 15px;
}

/* Target all textareas inside the specific form group wrapper */
.sunnymkt-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    /* Prevent horizontal resizing that breaks the main layout container */
    max-width: 100%;
    min-width: 100%;
}

/* Form Elements Framework */
.frontend-input-row {
    margin-bottom: 20px;
    width: 100%;
}

.frontend-input-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.required-field-asterisk {
    color: #ef4444;
    margin-left: 2px;
}

/* Specific Dimension Rules for Textarea Fields */
.sunnymkt-frontend-textarea {
    min-height: 200px;
    line-height: 1.6;
    resize: vertical;
}

/* Unified Focus Performance States */
.frontend-input-row input:focus,
.frontend-select-dropdown-element:focus,
.sunnymkt-frontend-textarea:focus {
    border-color: #0088cc;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
    outline: none;
}

/* Checkbox Alignment Framework */
.inline-checkbox-flex-alignment {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.inline-checkbox-flex-alignment label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.inline-checkbox-flex-alignment input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-custom-label-text {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

/*                                              */
/* Global Reset and Styling for All Form Inputs */
/*                                              */

/* Global Reset and Styling for All Form Inputs */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 15px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    color: #333333;
    box-sizing: border-box;
    display: block;
    margin: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Explicit Height for Single-Line Elements */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
select {
    height: 45px;
}

/* Explicit Settings for Textareas */
textarea {
    min-height: 200px;
    line-height: 1.6;
    resize: vertical;
}

/* Global Focus States for Active Elements */
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: #0088cc;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
    outline: none;
}

/* Global Checkbox and Radio Basic Alignment */
input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    vertical-align: middle;
    margin: 0 8px 0 0;
}

.sunnymkt-terms-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
}

.sunnymkt-terms-group input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

/**
 * Styles for the integrated Login & Recovery Modal.
 */

/* Utility Classes */
.sunnymkt-hidden {
    display: none !important;
}

#sws-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

#sws-modal-overlay.is-active {
    display: flex;
    opacity: 1;
}

.sws-modal-box {
    max-width: 450px;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    margin: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.sunnymkt-login-wrapper {
    padding: 40px;
}

.sunnymkt-modal-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
}

.sunnymkt-modal-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

/* Form Styles */
.sunnymkt-login-wrapper .sunnymkt-form-group {
    margin-bottom: 20px;
}

.sunnymkt-login-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a4a4a;
}

.sunnymkt-login-wrapper input[type="text"],
.sunnymkt-login-wrapper input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.sunnymkt-login-wrapper input[type="text"]:focus,
.sunnymkt-login-wrapper input[type="password"]:focus {
    border-color: #0073aa;
    outline: none;
}

.sunnymkt-remember-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.sunnymkt-login-wrapper .sunnymkt-form-submit-row {
    margin-top: 30px;
}

.sunnymkt-login-wrapper .btn-about-primary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: #0073aa;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.sunnymkt-login-wrapper .btn-about-primary:hover {
    opacity: 0.9;
}

/* Links below form */
.sunnymkt-modal-footer-links {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.sunnymkt-modal-footer-links p {
    margin: 8px 0;
    color: #666;
}

.sunnymkt-modal-footer-links a {
    color: #0073aa;
    text-decoration: none;
}

.sunnymkt-modal-footer-links a:hover {
    text-decoration: underline;
}

/* Alert Boxes */
.sunnymkt-alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 4px;
}

.alert-danger {
    background: #fff5f5;
    border-left: 4px solid #ea5455;
    color: #ea5455;
}

.alert-success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.sunnymkt-password-group {
    position: relative;
}

#sunnymkt_pwd {
    padding-right: 40px;
    width: 100%;
}

.sunnymkt-toggle-password {
    position: absolute;
    right: 10px;
    bottom: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

/**
 * Checkout Form Stylesheet
 */
.sunnymkt-invoice-details {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

.sunnymkt-invoice-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 18px;
    color: #333333;
    font-weight: 600;
}

.sunnymkt-invoice-total-box {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px dashed #d1d5db;
    text-align: right;
}

.sunnymkt-invoice-total-box h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
    color: #111827;
    font-weight: 700;
}

.checkout-prepayment-notice {
    margin: 0;
    font-size: 14px;
    color: #059669;
    font-weight: 600;
}

.sunnymkt-secure-note {
    margin-top: 10px; 
    font-size: 13px; 
    color: #4b5563;
}

/* Target the static text element strictly by its unique ID */
.checkout-tour-title {
    color: #ff9800;
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-align: right;
    text-decoration: none;
    
    /* Adds a smooth animation transition when mouse enters/leaves the element */
    transition: color 0.2s ease-in-out;
}

/* Interactive color shifting when user hovers over the block area */
.checkout-tour-title:hover {
    color: #0b3c5d;
    cursor: default; /* Keeps the standard cursor arrow since it's not a clickable link */
}

/* Контейнер для выбора участников */
.sunnymkt-participants-group {
    display: flex !important;
    align-items: center !important;      /* Выравнивает подпись и инпут ровно по центру по вертикали */
    justify-content: space-between !important; /* Разводит подпись влево, а инпут вправо */
    gap: 15px;                           /* Делает аккуратный отступ между текстом и полем */
    flex-wrap: nowrap !important;        /* КАТЕГОРИЧЕСКИ ЗАПРЕЩАЕТ перенос на новую строку */
}

/* Сама подпись (Label) */
.sunnymkt-participants-group label {
    margin-bottom: 0 !important;         /* Сбрасываем нижний отступ, который обычно гнетёт инпут вниз */
    white-space: nowrap !important;      /* Запрещает тексту "Number of Participants" переноситься на 2 строки */
    flex-shrink: 0;                      /* Запрещает сжимать текст подписи */
}

/* Поле ввода (Input) */
.sunnymkt-participants-group input[type="number"] {
    width: 80px !important;              /* Делаем поле компактным (для цифры много места не надо) */
    text-align: center;                  /* Выравниваем цифру по центру инпута */
    flex-shrink: 0;                      /* Запрещает ломать размеры поля */
}

/* ==========================================================================
   Глобальное выравнивание подписей формы (Убираем херню, делаем нормальный вид)
   ========================================================================== */

/* Принудительно делаем ВСЕ подписи к полям в нашей форме нормального человеческого вида */
.sunnymkt-checkout-form-container label {
    font-size: 16px !important;
    color: #374151 !important;
    font-weight: 400 !important;      /* Убираем нахрен жирность, делаем шрифт обычным */
    font-family: inherit !important;   /* Наследуем чистый системный шрифт сайта */
    display: inline-block;
    margin-bottom: 6px;
}

/* Контейнер для выбора участников (Flexbox для выравнивания в один ряд) */
.sunnymkt-participants-group {
    display: flex !important;
    align-items: center !important;         /* Идеально ровно по центру по вертикали */
    justify-content: space-between !important; /* Текст улетает влево, инпут строго вправо */
    gap: 15px;
    flex-wrap: nowrap !important;           /* Запрещаем перенос строки намертво */
    margin-bottom: 15px !important;
}

/* Убираем нижний отступ конкретно у этого лейбла, чтобы flex-выравнивание не косило */
.sunnymkt-participants-group label {
    margin-bottom: 0 !important;
    white-space: nowrap !important;        /* Запрещаем тексту ломаться на две строчки */
    flex-shrink: 0;
}

/* Красивое компактное поле ввода номера */
.sunnymkt-participants-group input[type="number"] {
    width: 75px !important;                 /* Делаем его аккуратным и компактным */
    height: 38px !important;                /* Высота как у нормальных полей */
    text-align: center !important;          /* Цифра строго по центру */
    padding: 0 5px !important;
    flex-shrink: 0;
}

/* ==========================================================================
   SunnyMkt Login Page Styles
   ========================================================================== */

/* Sunnymkt Auth Tabs and Form Layout */
.sunnymkt-auth-tabs-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.sunnymkt-auth-tabs-wrapper .sunnymkt-form-group {
    margin-bottom: 20px;
}

.sunnymkt-auth-tabs-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.sunnymkt-auth-tabs-wrapper input[type="text"],
.sunnymkt-auth-tabs-wrapper input[type="email"],
.sunnymkt-auth-tabs-wrapper input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.sunnymkt-auth-tabs-wrapper input:focus {
    border-color: #ff9800; /* Используй свой акцентный цвет */
    outline: none;
}

/* Password Input Wrapper for Toggle Eye Icon */
.sunnymkt-password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sunnymkt-password-input-wrapper input {
    padding-right: 45px; /* Освобождаем место для кнопки */
}

.sunnymkt-toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sunnymkt-toggle-password a:hover {
    color: #ff9800;
}

/* Status Alerts */
.sunnymkt-form-status-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-danger-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert-success-info {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Auth Helper Links */
.auth-helper-links-footer {
    margin-top: 15px;
    text-align: center;
}

.auth-helper-links-footer .auth-action-link {
    color: #ff9800;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.auth-helper-links-footer .auth-action-link :hover {
    text-decoration: underline;
}

/* Base styles for your custom universal links */
.sunnymkt-all-links {
    color: #ff9800;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease; /* Adds smooth color shifting */
}

/* Corrected interactive hover state on the link itself */
.sunnymkt-all-links:hover {
    color: #0b3c5d;
}


/* ==========================================================================
   SunnyMkt Dashboard & Client List Styles
   ========================================================================== */

/* Alerts */
.sunnymkt-alert-success {
    background: #e7f4e8;
    border-left: 4px solid #46b450;
    color: #2e6030;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Headers & Layout */
.sunnymkt-action-required-title {
    color: #dc3232;
    margin-bottom: 15px;
}
.sunnymkt-dashboard-inner-box.pending-orders-box {
    margin-bottom: 50px;
    border-top: 3px solid #dc3232;
}
.sunnymkt-dashboard-inner-box.clients-grid-box {
    padding-top: 20px;
}

/* Filters */
.sunnymkt-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 15px;
}
.sunnymkt-confirmed-title {
    color: #333;
    margin: 0;
    font-weight: 600;
}
.sunnymkt-filter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}
.sunnymkt-filter-select {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}
.sunnymkt-filter-btn {
    padding: 6px 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}
.sunnymkt-filter-btn:hover {
    background: #555;
}

/* Buttons */
.st-btn-confirm {
    background-color: #46b450;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}
.st-btn-confirm:hover {
    background-color: #3e9e46;
    color: #fff;
}

/* Client Cards */
.sunnymkt-client-cards-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.sunnymkt-client-card {
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    color: #333;
}
.sunnymkt-card-header {
    background: #f8f8f8;
    padding: 12px 20px;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.sunnymkt-card-title {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}
.sunnymkt-card-order-id {
    font-size: 13px;
    color: #777;
    font-weight: normal;
}
.sunnymkt-card-subheader {
    background: #f8f8f8;
    padding: 12px 20px;
    border-bottom: 1px solid #e1e1e1;
}
.sunnymkt-card-subheader-title {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}
.sunnymkt-card-section {
    padding: 20px;
}
.sunnymkt-card-section-grid {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.sunnymkt-card-section-grid.align-start {
    align-items: start;
}
.sunnymkt-card-section-grid.large-cols {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    border-bottom: none;
    padding: 0;
}

/* Typography & Elements inside cards */
.sunnymkt-text-danger {
    color: #dc3232;
    font-weight: bold;
}
.sunnymkt-card-link {
    color: #0073aa;
    text-decoration: none;
}
.sunnymkt-card-link:hover {
    text-decoration: underline;
}
.sunnymkt-customer-notes {
    margin-top: 20px;
    padding: 15px;
    background: #fffcf0;
    border-left: 3px solid #e1c03f;
    font-size: 14px;
}
.sunnymkt-notes-title {
    display: block;
    margin-bottom: 5px;
}

/* Badges */
.sunnymkt-badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    display: inline-block;
}
.sunnymkt-badge.badge-success {
    background: #46b450;
}
.sunnymkt-badge.badge-danger {
    background: #dc3232;
}

/* Empty States & Pagination */
.sunnymkt-dashboard-empty-state {
    padding: 20px;
}
.sunnymkt-dashboard-empty-state.bordered {
    border: 1px solid #e5e5e5;
    background: #fff;
    text-align: center;
    border-radius: 4px;
}
.sunnymkt-empty-text {
    margin: 0;
    color: #666;
}
.sunnymkt-dashboard-pagination {
    margin-top: 30px;
    text-align: center;
}