// Modern Variables
$primary-color: #4a6cf7;
$secondary-color: #1e293b;
$border-color: #e2e8f0;
$white: #ffffff;
$light-bg: #f8fafc;
$lighter-bg: #f1f5f9;
$text-color: #475569;
$dark-text: #1e293b;
$box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
$input-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
$transition: all 0.2s ease-in-out;
$focus-shadow: 0 0 0 2px rgba($primary-color, 0.3);
$success-color: #10b981;
$danger-color: #ef4444;
$warning-color: #f59e0b;
$light-gray: #f1f5f9;
$medium-gray: #e2e8f0;
$dark-gray: #334155;
$border-radius: 6px;

// Breakpoints
$tablet: 1024px;
$small-tablet: 782px;
$mobile: 500px;

// Main admin container
.wcps-admin {
    margin: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: $text-color;

    .wp-heading-inline {
        display: inline-block;
        margin-right: 12px;
        font-weight: 600;
        color: $dark-text;
        font-size: 24px;
    }

    .page-title-action {
        margin-top: -3px;
        background: $white;
        border: 1px solid $primary-color;
        color: $primary-color;
        border-radius: 30px;
        padding: 6px 18px;
        font-weight: 500;
        transition: $transition;
        box-shadow: 0 2px 6px rgba($primary-color, 0.15);

        &:hover {
            background: $primary-color;
            border-color: $primary-color;
            color: $white;
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba($primary-color, 0.25);
        }
    }

    // Empty state styling
    .wcps-empty-state {
        background: $white;
        border: 1px solid $light-gray;
        border-radius: $border-radius;
        box-shadow: $box-shadow;
        padding: 40px;
        text-align: center;
        margin: 40px 0;

        p {
            font-size: 17px;
            line-height: 1.6;
            margin-bottom: 24px;
            color: $text-color;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .button-primary {
            padding: 10px 24px;
            height: auto;
            font-size: 15px;
            line-height: 1.5;
            border-radius: 30px;
            font-weight: 500;
            box-shadow: 0 2px 10px rgba($primary-color, 0.2);

            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 15px rgba($primary-color, 0.25);
            }
        }
    }

    // Search box enhancements
    .search-box {
        float: right;
        margin: 0 0 15px;
        position: relative;

        input[type="search"] {
            padding: 0 14px;
            height: 38px;
            width: 280px;
            border-radius: 20px;
            border: 1px solid $medium-gray;
            box-shadow: $input-shadow;
            transition: $transition;
            font-size: 14px;

            &:focus {
                border-color: $primary-color;
                box-shadow: $focus-shadow;
                outline: none;
            }
        }

        #search-submit {
            margin-left: 8px;
            height: 38px;
            line-height: 36px;
            padding: 0 16px;
            border-radius: 20px;
            border: 1px solid $primary-color;
            background: $primary-color;
            color: $white;
            font-weight: 500;
            box-shadow: 0 2px 6px rgba($primary-color, 0.15);
            transition: $transition;

            &:hover {
                background: $primary-color;
                box-shadow: 0 3px 8px rgba($primary-color, 0.25);
                transform: translateY(-1px);
            }
        }
    }

    // Table styling
    .wcps-showcases-table {
        border-collapse: separate;
        border-spacing: 0;
        margin-top: 20px;
        box-shadow: $box-shadow;
        border-radius: $border-radius;
        overflow: hidden;
        width: 100%;
        background: $white;
        border: 1px solid $border-color;

        th {
            padding: 15px 16px;
            font-weight: 600;
            text-align: left;
            color: $secondary-color;
            background-color: $light-bg;
            border-bottom: 1px solid $border-color;
            font-size: 14px;
            transition: $transition;
            position: relative;

            &:after {
                content: '';
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                width: 1px;
                background: $border-color;
            }

            &:last-child:after {
                display: none;
            }

            &.column-cb {
                width: 30px;
            }
        }

        td {
            padding: 14px 16px;
            vertical-align: middle;
            border-bottom: 1px solid $border-color;
            font-size: 14px;
            transition: $transition;

            &.check-column {
                padding: 0px 0 0 8px;
            }

            a {
                text-decoration: none;
                color: $primary-color;
                transition: $transition;
                font-weight: 500;

                &:hover {
                    color: $primary-color;
                    text-decoration: underline;
                }
            }

            .button {
                margin-right: 8px;
                border-radius: 20px;
                padding: 5px 14px;
                height: auto;
                transition: $transition;
                font-weight: 500;

                &:last-child {
                    margin-right: 0;
                }

                &:hover {
                    transform: translateY(-1px);
                    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
                }
            }

            .wcps-shortcode-input {
                // width: calc(100% - 80px);
                width: calc(90% - 34px);
                min-width: 85px;
                background-color: $light-bg;
                border: 1px solid $border-color;
                border-radius: 6px;
                padding: 8px 12px;
                box-shadow: $input-shadow;
                font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
                font-size: 13px;
                color: $dark-gray;
                margin-right: 8px;
                font-size: 10px;
            }

            .wcps-copy-shortcode {
                min-width: 40px;
                text-align: center;
                position: relative;
                vertical-align: middle;
                transition: $transition;
                border-radius: 20px;
                padding: 0px 6px;
                font-weight: 500;
                background: $light-bg;
                font-size: 10px;

                &:hover {
                    background: $lighter-bg;
                    transform: translateY(-1px);
                    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
                }

                &.copied {
                    background: $success-color;
                    border-color: $success-color;
                    color: $white;
                    box-shadow: 0 4px 8px rgba($success-color, 0.2);
                }
            }
        }

        tr {
            &:last-child td {
                border-bottom: none;
            }

            &:hover {
                background-color: rgba($primary-color, 0.02);

                td {
                    box-shadow: inset 0 0 0 transparent,
                        0 1px 2px rgba(0, 0, 0, 0.03);
                }
            }
        }

        // Action buttons
        .wcps-delete-showcase {
            color: $danger-color;
            border-color: $danger-color;
            background: rgba($danger-color, 0.05);

            &:hover {
                background-color: $danger-color;
                color: $white;
                box-shadow: 0 3px 8px rgba($danger-color, 0.25);
            }
        }
    }

    // Pagination styling
    .tablenav {
        margin: 20px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .tablenav-pages {
            margin: 0 0 9px;

            .pagination-links {
                display: inline-flex;
                align-items: center;
                margin-left: 12px;

                .page-numbers {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    min-width: 32px;
                    height: 32px;
                    margin: 0 3px;
                    padding: 0 5px;
                    color: $text-color;
                    border: 1px solid $medium-gray;
                    border-radius: 6px;
                    background: $white;
                    font-size: 14px;
                    text-align: center;
                    text-decoration: none;
                    cursor: pointer;
                    transition: $transition;

                    &:hover {
                        background: $lighter-bg;
                        border-color: $medium-gray;
                        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
                    }

                    &.current {
                        border-color: $primary-color;
                        background: $primary-color;
                        color: $white;
                        font-weight: 600;
                        box-shadow: 0 2px 8px rgba($primary-color, 0.2);
                    }

                    &.dots {
                        border: none;
                        background: none;
                        box-shadow: none;

                        &:hover {
                            border: none;
                            background: none;
                            box-shadow: none;
                        }
                    }

                    &.prev,
                    &.next {
                        font-size: 16px;
                        padding: 0;
                    }
                }
            }

            .displaying-num {
                margin-right: 10px;
                color: $dark-gray;
                font-size: 13px;
                font-style: italic;
            }
        }

        .alignleft.actions {
            padding: 0;
            display: flex;
            align-items: center;

            select {
                margin-right: 8px;
                max-width: 200px;
            }
        }
    }

    // Bulk action buttons
    .bulkactions {
        display: inline-flex;
        align-items: center;

        select {
            margin-right: 8px;
            vertical-align: middle;
            height: 38px;
            border-radius: 6px;
            border: 1px solid $medium-gray;
            padding: 0 30px 0 12px;
            background-color: $white;
            color: $text-color;
            font-size: 14px;
            line-height: 2;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            transition: $transition;
            background-position: right 10px center;

            &:focus {
                border-color: $primary-color;
                box-shadow: $focus-shadow;
                outline: none;
            }
        }

        .action {
            vertical-align: middle;
            height: 38px;
            line-height: 36px;
            padding: 0 16px;
            border-radius: 6px;
            font-weight: 500;
            transition: $transition;

            &:hover {
                transform: translateY(-1px);
                box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
            }
        }
    }

    // Checkbox styling
    .check-column {
        input[type=checkbox] {
            border: 2px solid $medium-gray;
            border-radius: 4px;
            background: $white;
            color: $white;
            clear: none;
            cursor: pointer;
            display: inline-block;
            line-height: 0;
            height: 20px;
            margin: -5px 5px 0 5px;
            outline: 0;
            padding: 0 !important;
            text-align: center;
            vertical-align: middle;
            width: 20px;
            min-width: 20px;
            box-shadow: none;
            transition: $transition;
            position: relative;
            appearance: none;
            -webkit-appearance: none;

            &:checked {
                background: $primary-color;
                border-color: $primary-color;

                &::before {
                    content: "";
                    position: absolute;
                    top: 3px;
                    left: 7px;
                    width: 5px;
                    height: 10px;
                    border: solid $white;
                    border-width: 0 2px 2px 0;
                    transform: rotate(45deg);
                }
            }

            &:hover {
                border-color: $primary-color;
            }
        }
    }

    // Button styling
    .button {
        display: inline-block;
        text-decoration: none;
        font-size: 14px;
        line-height: 2.15384615;
        min-height: 36px;
        margin: 0;
        padding: 0 16px;
        cursor: pointer;
        border-width: 1px;
        border-style: solid;
        border-color: $medium-gray;
        -webkit-appearance: none;
        border-radius: 6px;
        white-space: nowrap;
        box-sizing: border-box;
        transition: $transition;
        background: $white;
        font-weight: 500;
        color: $text-color;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

        &:hover {
            background: $light-bg;
            border-color: $medium-gray;
            color: $dark-text;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
            transform: translateY(-1px);
        }

        &.button-primary {
            background: $primary-color;
            border-color: $primary-color;
            color: $white;
            box-shadow: 0 2px 6px rgba($primary-color, 0.2);

            &:hover {
                background: $primary-color;
                border-color: $primary-color;
                box-shadow: 0 4px 10px rgba($primary-color, 0.25);
                transform: translateY(-1px);
            }

            &:focus {
                box-shadow: 0 0 0 1px $white, 0 0 0 3px rgba($primary-color, 0.3);
                outline: none;
            }
        }
    }

    // Admin header
    .wcps-admin-header {
        margin-bottom: 30px;
        padding: 0 0 20px;
        border-bottom: 1px solid $light-gray;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .button-primary {
            padding: 0 18px;
            font-size: 14px;
            line-height: 36px;
            height: 38px;
            border-radius: 6px;
            font-weight: 500;
            box-shadow: 0 2px 6px rgba($primary-color, 0.15);
            transition: $transition;

            &:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 10px rgba($primary-color, 0.25);
            }
        }
    }

    // Responsive styles
    @media screen and (max-width: $small-tablet) {
        .search-box {
            float: none;
            margin-bottom: 20px;
            width: 100%;

            input[type="search"] {
                width: calc(100% - 90px);
                max-width: 100%;
                margin-right: 10px;
            }

            #search-submit {
                width: 80px;
                margin-left: 0;
            }
        }

        .tablenav {
            flex-direction: column;
            align-items: flex-start;

            .tablenav-pages {
                float: none;
                text-align: center;
                margin-top: 15px;
                width: 100%;
                display: flex;
                justify-content: center;
            }
        }

        .bulkactions {
            display: flex;
            flex-wrap: wrap;
            padding-bottom: 15px;
            width: 100%;

            select {
                width: 100%;
                margin-bottom: 10px;
                flex: 1 0 100%;
            }

            .action {
                width: 100%;
            }
        }

        .tablenav.top {
            margin-bottom: 20px;
        }

        .wcps-showcases-table {
            border-radius: $border-radius;
            overflow: hidden;
            box-shadow: $box-shadow;

            td.column-shortcode {
                .wcps-shortcode-input {
                    width: 100%;
                    margin-bottom: 8px;
                    font-size: 12px;
                }

                .wcps-copy-shortcode {
                    display: block;
                    width: 100%;
                }
            }

            th {
                display: none;

                &:first-child {
                    display: table-cell;
                    width: 35px;
                }
            }

            tr {
                position: relative;
                display: block;
                border-bottom: 1px solid $border-color;
                margin-bottom: 0;
                background: $white;

                &:last-child {
                    border-bottom: none;
                }

                &:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
                    position: relative;
                    display: block;
                    width: auto;
                    padding: 12px 12px 12px 35%;
                    text-align: left;

                    &:before {
                        position: absolute;
                        left: 12px;
                        width: 30%;
                        padding-right: 10px;
                        white-space: nowrap;
                        font-weight: 600;
                        content: attr(data-colname);
                        color: $dark-text;
                    }
                }

                &:not(.inline-edit-row):not(.no-items) td.column-primary~td {
                    border-top: 1px solid rgba(0, 0, 0, 0.05);
                }

                td {
                    border-bottom: none;
                }
            }
        }
    }

    @keyframes slideInUp {
        from {
            transform: translateY(15px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .wcps-showcases-table {
        tbody tr {
            animation: slideInUp 0.4s ease-in-out;
            animation-fill-mode: both;

            @for $i from 1 through 20 {
                &:nth-child(#{$i}) {
                    animation-delay: #{$i * 0.05}s;
                }
            }
        }
    }

    // Hover effects for rows
    tr {
        transition: $transition;

        &:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
    }
}

// OLD one end 

// Main Container NEW SCSS 
.wcps-admin.wcps-create-page {
    padding: 20px;

    .wcps-page-title {
        color: $dark-text;
        font-size: 2rem;
        font-weight: 600;
        margin: 0 0 2rem 0;
        padding: 0;
        border: none;
        text-shadow: none;
        margin-top: -15px;
    }

    // Panel Toggle Button
    .wcps-panel-toggle {
        margin-bottom: 1.5rem;
        display: none; // Hidden on desktop, shown on mobile

        @media (max-width: $tablet) {
            display: block;
        }

        .wcps-toggle-settings {
            background: $primary-color;
            color: $white;
            border: none;
            padding: 12px 20px;
            border-radius: $border-radius;
            font-weight: 500;
            cursor: pointer;
            transition: $transition;
            display: flex;
            align-items: center;
            gap: 8px;

            &:hover {
                background: $primary-color;
                transform: translateY(-1px);
            }

            .dashicons {
                font-size: 16px;
            }
        }
    }

    // Layout container as flexbox
    .wcps-layout-container {
        display: flex;
        gap: 20px;
    }

    .wcps-settings-column {
        width: 20%;
        min-width: 280px;
        max-width: 350px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        position: relative;
        height: 100vh;
    }

    .wcps-preview-column {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        position: relative;
        height: 100vh;

        .wcps-products-container {
            padding: 15px;

            .wcps-table {
                .wcps-product-title-col {
                    min-width: unset !important;
                    max-width: unset !important;
                }
            }

            .wcps-pagination {
                display: flex;
                justify-content: center;
                margin: 2rem 0;
                padding: 1rem 0;
              
                ul.page-numbers {
                  display: flex;
                  align-items: center;
                  gap: 0.5rem;
                  list-style: none;
                  margin: 0;
                  padding: 0;
              
                  li {
                    display: inline-flex;
                    
                    .page-numbers {
                      display: inline-flex;
                      align-items: center;
                      justify-content: center;
                      min-width: 2.5rem;
                      height: 2.5rem;
                      padding: 0.5rem 0.75rem;
                      font-size: 0.875rem;
                      font-weight: 500;
                      text-decoration: none;
                      color: #374151;
                      background-color: #ffffff;
                      border: 1px solid #d1d5db;
                      border-radius: 0.375rem;
                      transition: all 0.2s ease-in-out;
                      cursor: pointer;
              
                      &:hover {
                        background-color: #f9fafb;
                        border-color: #9ca3af;
                        color: #111827;
                        transform: translateY(-1px);
                        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                      }
              
                      &:active {
                        transform: translateY(0);
                        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
                      }
              
                      &:focus {
                        outline: none;
                        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
                        border-color: #3b82f6;
                      }
              
                      &.current {
                        background-color: #3b82f6;
                        border-color: #3b82f6;
                        color: #ffffff;
                        font-weight: 600;
                        cursor: default;
                        pointer-events: none;
              
                        &:hover {
                          background-color: #3b82f6;
                          transform: none;
                          box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
                        }
                      }
              
                      &.dots {
                        border: none;
                        background: none;
                        color: #6b7280;
                        cursor: default;
                        pointer-events: none;
                        font-weight: 500;
              
                        &:hover {
                          background: none;
                          transform: none;
                          box-shadow: none;
                        }
                      }
              
                      &.next,
                      &.prev {
                        font-size: 1rem;
                        font-weight: 600;
                        padding: 0.5rem 1rem;
                        
                        &:hover {
                          background-color: #eff6ff;
                          border-color: #3b82f6;
                          color: #3b82f6;
                        }
                      }
                    }
              
                    // Handle span elements (current page and dots)
                    span.page-numbers {
                      display: inline-flex;
                      align-items: center;
                      justify-content: center;
                      min-width: 2.5rem;
                      height: 2.5rem;
                      padding: 0.5rem 0.75rem;
                      font-size: 0.875rem;
                      font-weight: 500;
                      border-radius: 0.375rem;
              
                      &.current {
                        background-color: #3b82f6;
                        color: #ffffff;
                        font-weight: 600;
                        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
                      }
              
                      &.dots {
                        color: #6b7280;
                        font-weight: 500;
                        background: none;
                      }
                    }
                  }
                }
              }
              
              // Responsive design
              @media (max-width: 768px) {
                .wcps-pagination {
                  margin: 1.5rem 0;
                  padding: 0.75rem 0;
              
                  ul.page-numbers {
                    gap: 0.25rem;
                    flex-wrap: wrap;
                    justify-content: center;
              
                    li {
                      .page-numbers {
                        min-width: 2.25rem;
                        height: 2.25rem;
                        padding: 0.375rem 0.5rem;
                        font-size: 0.8rem;
              
                        &.next,
                        &.prev {
                          padding: 0.375rem 0.75rem;
                        }
                      }
              
                      span.page-numbers {
                        min-width: 2.25rem;
                        height: 2.25rem;
                        padding: 0.375rem 0.5rem;
                        font-size: 0.8rem;
                      }
                    }
                  }
                }
              }
              
              @media (max-width: 480px) {
                .wcps-pagination {
                  ul.page-numbers {
                    gap: 0.125rem;
              
                    li {
                      .page-numbers {
                        min-width: 2rem;
                        height: 2rem;
                        padding: 0.25rem 0.375rem;
                        font-size: 0.75rem;
                      }
              
                      span.page-numbers {
                        min-width: 2rem;
                        height: 2rem;
                        padding: 0.25rem 0.375rem;
                        font-size: 0.75rem;
                      }
                    }
                  }
                }
              }
              
              // Dark mode support (optional)
              @media (prefers-color-scheme: dark) {
                .wcps-pagination {
                  ul.page-numbers {
                    li {
                      .page-numbers {
                        color: #e5e7eb;
                        background-color: #374151;
                        border-color: #4b5563;
              
                        &:hover {
                          background-color: #4b5563;
                          border-color: #6b7280;
                          color: #f9fafb;
                        }
              
                        &.current {
                          background-color: #3b82f6;
                          border-color: #3b82f6;
                          color: #ffffff;
                        }
              
                        &.dots {
                          color: #9ca3af;
                        }
              
                        &.next,
                        &.prev {
                          &:hover {
                            background-color: #1e3a8a;
                            border-color: #3b82f6;
                            color: #93c5fd;
                          }
                        }
                      }
              
                      span.page-numbers {
                        &.current {
                          background-color: #3b82f6;
                          color: #ffffff;
                        }
              
                        &.dots {
                          color: #9ca3af;
                        }
                      }
                    }
                  }
                }
              }


        }
    }

    // Admin Tabs
    .wcps-admin-tabs {
        .wcps-tabs-nav {
            display: flex;
            background: $lighter-bg;
            margin: 0;
            padding: 0;
            list-style: none;
            border-radius: 12px 12px 0 0;

            @media (max-width: $small-tablet) {
                flex-wrap: wrap;
            }

            li {
                flex: 1;
                margin: 0;

                @media (max-width: $small-tablet) {
                    flex: 1 1 50%;
                }

                @media (max-width: $mobile) {
                    flex: 1 1 100%;
                }

                a {
                    display: block;
                    padding: 3px 10px;
                    text-decoration: none;
                    color: $text-color;
                    font-weight: 500;
                    text-align: center;
                    transition: $transition;
                    border-bottom: 2px solid transparent;
                    position: relative;
                    font-size: 12px;
                    box-shadow: none;

                    @media (max-width: $mobile) {
                        padding: 12px 16px;
                        font-size: 14px;
                    }

                    &:hover {
                        background: rgba($primary-color, 0.1);
                        color: $primary-color;
                    }

                    &.active {
                        background: $white;
                        color: $primary-color;
                        font-weight: 600;
                    }
                }
            }
        }

        .wcps-tabs-content {
            background: $white;
            border-radius: 0 0 12px 12px;

            .wcps-tab-panel {
                display: none;
                padding: 5px;

                @media (max-width: $mobile) {
                    padding: 20px;
                }

                &.active {
                    display: block;
                }

                .wcps-settings-subheading {
                    color: $dark-text;
                    font-size: 1.1rem;
                    font-weight: 600;
                    margin: 2rem 0 1rem 0;
                    padding: 12px 16px;
                    background: $light-bg;
                    border-radius: $border-radius;
                    border-left: 4px solid $primary-color;
                    cursor: pointer;
                    transition: $transition;

                    &:hover {
                        background: $light-bg;
                    }

                    &.collapsed {
                        +table {
                            display: none;
                        }

                        &::after {
                            content: ' +';
                            float: right;
                            font-weight: bold;
                        }
                    }

                    &:not(.collapsed)::after {
                        content: ' −';
                        float: right;
                        font-weight: bold;
                    }
                }
            }
        }
    }

    // Form Table Styling
    .form-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-bottom: 1.5rem;

        tr {
            display: flex;
            flex-direction: column;
            padding: 10px 4px 16px 5px;
            background: $white;
            transition: $transition;

            @media (max-width: $mobile) {
                padding: 16px;
                margin-bottom: 1rem;
            }

            &:hover {
                border-color: rgba($primary-color, 0.3);
                box-shadow: 0 2px 8px rgba($primary-color, 0.1);
            }

            th {
                width: 100%;
                text-align: left;
                padding: 0 0 8px 0;
                font-weight: 600;
                color: $dark-text;
                font-size: 14px;
                text-transform: uppercase;
                letter-spacing: 0.5px;

                label {
                    display: block;
                    margin: 0;
                    font-size: 14px;
                }
            }

            td {
                width: 100%;
                padding: 0;

                .description {
                    margin: 8px 0 0 0;
                    font-size: 13px;
                    color: $text-color;
                    line-height: 1.4;
                }
            }
        }
    }

    // Input Styling
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    select,
    textarea {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid $border-color;
        border-radius: $border-radius;
        font-size: 14px;
        color: $dark-text;
        background: $white;
        transition: $transition;
        box-shadow: $input-shadow;
        padding: 2px 0px 2px 10px;

        &:focus {
            outline: none;
            border-color: $primary-color;
            box-shadow: $focus-shadow;
        }

        &:disabled {
            background: $light-gray;
            color: $text-color;
            cursor: not-allowed;
        }

        &.small-text {
            width: 100px;

            @media (max-width: $mobile) {
                width: 80px;
            }
        }

        &.regular-text {
            width: 100%;
            padding: 2px 0px 2px 10px;
        }
    }

    // Checkbox and Radio Styling
    input[type="checkbox"],
    input[type="radio"] {
        width: auto;
        margin-right: 8px;
        accent-color: $primary-color;
        transform: scale(1.1);
    }

    // Select Product 
    .wcps-radio-label {
        display: inline-flex;
        align-items: center;
        position: relative;
        margin: 0 0 6px 0;
        cursor: pointer;
        width: 80%;
        padding: 12px 20px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border: 2px solid #dee2e6;
        border-radius: 10px;
        color: #495057;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 14px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        user-select: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        font-size: 12px;

        // Hide the actual radio input
        input[type="radio"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        // Create the custom radio indicator
        &::before {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid #dee2e6;
            border-radius: 50%; // Make it circular for radio button
            background-color: #fff;
            margin-right: 12px;
            flex-shrink: 0;
            transition: all 0.3s ease;
            position: relative;
        }

        // Hover effect
        &:hover {
            background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
            border-color: #adb5bd;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);

            &::before {
                border-color: #007bff;
                box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
            }
        }

        // Checked state - this is the key fix
        &:has(input[type="radio"]:checked) {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            border-color: #0056b3;
            color: white;
            box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);

            &::before {
                background-color: #fff;
                border-color: #fff;
                box-shadow: inset 0 0 0 5px #007bff;
            }

            &:hover {
                background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
            }
        }

        // Alternative approach using JavaScript class
        &.checked {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            border-color: #0056b3;
            color: white;
            box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);

            &::before {
                background-color: #fff;
                border-color: #fff;
                box-shadow: inset 0 0 0 5px #007bff;
            }

            &:hover {
                background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
            }
        }

        // Focus state for accessibility
        &:has(input[type="radio"]:focus) {
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
        }

        // Active/pressed state
        &:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
    }

    // Button Styling
    .button {
        padding: 0px 11px;
        border-radius: $border-radius;
        font-weight: 500;
        font: size 12px;
        text-decoration: none;
        transition: $transition;
        cursor: pointer;
        border: 2px solid transparent;
        display: inline-flex;
        align-items: center;
        gap: 8px;

        &.button-primary {
            background: $primary-color;
            color: $white;
            border-color: $primary-color;

            &:hover {
                background: $primary-color;
                transform: translateY(-1px);
                box-shadow: 0 4px 12px rgba($primary-color, 0.3);
            }
        }

        .dashicons {
            font-size: 16px;
        }
    }

    // Form Actions
    .wcps-form-actions {
        padding: 30px;
        border-radius: 0 0 12px 12px;
        display: flex;
        gap: 12px;
        align-items: center;

        @media (max-width: $mobile) {
            padding: 20px;
            flex-direction: column;

            .button {
                width: 100%;
                justify-content: center;
            }
        }
    }

    // Conditional Fields
    .wcps-conditional-field,
    .wcps-nested-conditional-field {
        padding: 0px;

        select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            width: 80%;
            padding: 12px 45px 12px 20px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid #dee2e6;
            border-radius: 10px;
            color: #495057;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            outline: none;

            // Multiple select specific styling
            &[multiple] {
                min-height: 150px;
                padding: 8px;

                option {
                    padding: 8px 12px;
                    margin: 2px 0;
                    border-radius: 6px;
                    background-color: transparent;
                    color: #495057;
                    font-weight: 500;
                    cursor: pointer;

                    &:checked {
                        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
                        color: white;
                        font-weight: 600;
                    }

                    &:hover {
                        background-color: rgba(0, 123, 255, 0.1);
                    }
                }
            }

            // Single select options
            &:not([multiple]) {
                option {
                    padding: 10px;
                    background-color: white;
                    color: #495057;

                    &:checked,
                    &:hover {
                        background-color: #007bff;
                        color: white;
                    }
                }
            }

            // Hover state
            &:hover {
                background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
                border-color: #adb5bd;
                transform: translateY(-1px);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            }

            // Focus state
            &:focus {
                border-color: #007bff;
                box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
                transform: translateY(-1px);
            }

            // Active state
            &:active {
                transform: translateY(0);
            }
        }

    }

    select#proddisp_products {
        height: 255px;
    }

    // Icon Selection
    .wcps-button-option {
        margin-bottom: 20px;
        padding: 16px;
        background: $light-bg;
        border-radius: $border-radius;
        border: 1px solid $border-color;

        >label {
            font-weight: 600;
            color: $dark-text;
            display: block;
            margin-bottom: 12px;
        }

        .wcps-icon-select {
            margin-left: 0px;
            padding: 12px;
            background: $white;
            border-radius: $border-radius;
            border: 1px solid $border-color;

            label {
                display: block;
                margin-bottom: 8px;
                font-weight: 500;
                color: $text-color;
            }

            select {
                margin-bottom: 12px;
            }
        }

        .wcps-icon-picker {
            display: flex;
            flex-direction: column;
            gap: 8px;
            position: relative;

            span.wcps-icon-preview {
                position: absolute;
                top: 0px;
                right: 90px;
            }

            @media (max-width: $mobile) {

                .wcps-icon-input,
                .wcps-icon-select-btn {
                    width: 100%;
                }
            }
        }
    }

    // Preview Column Styling
    .wcps-preview-container {
        margin-top: -122px;
    }

    // Color Picker
    .wcps-color-picker {
        max-width: 200px !important;
    }

    // Success/Error Messages
    .wcps-message {
        padding: 16px 20px;
        border-radius: $border-radius;
        margin-bottom: 20px;
        font-weight: 500;
        border-left: 4px solid;

        &.success {
            background: rgba($success-color, 0.1);
            color: $success-color;
            border-left-color: $success-color;
        }

        &.error {
            background: rgba($danger-color, 0.1);
            color: $danger-color;
            border-left-color: $danger-color;
        }

        &.warning {
            background: rgba($warning-color, 0.1);
            color: $warning-color;
            border-left-color: $warning-color;
        }
    }

    // Responsive Utilities
    @media (max-width: $tablet) {
        padding: 15px;

        .wcps-layout-container {
            .wcps-settings-column {
                order: 2;
            }

            .wcps-preview-column {
                order: 1;
            }
        }
    }

    @media (max-width: $small-tablet) {
        .form-table tr {

            th,
            td {
                padding: 0;
            }
        }
    }

    @media (max-width: $mobile) {
        padding: 10px;

        .wcps-page-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .wcps-layout-container {
            gap: 15px;
        }

        input.small-text {
            width: 100%;
        }

        .wcps-admin-tabs .wcps-tabs-content .wcps-tab-panel {
            padding: 15px;
        }

        .form-table tr {
            padding: 15px;
            margin-bottom: 10px;
        }
    }
}

// Animation keyframes
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }

    to {
        max-height: 500px;
        opacity: 1;
    }
}

button.wp-color-result {
    padding: 15px 25px !important;
}

// Fade in animation for tab panels
.wcps-tab-panel.active {
    animation: fadeIn 0.3s ease-in-out;
}

// Slide animation for collapsible sections
.wcps-settings-subheading:not(.collapsed)+table {
    animation: slideDown 0.3s ease-in-out;
}

// Focus improvements for accessibility
*:focus-visible {
    outline: 2px solid $primary-color;
    outline-offset: 2px;
    border-radius: $border-radius;
}

// Print styles
@media print {
    .wcps-admin.wcps-create-page {
        .wcps-preview-column {
            display: none;
        }

        .wcps-settings-column {
            width: 100%;
        }

        .wcps-panel-toggle {
            display: none;
        }
    }
}

// Layout Selection Styles-----------------------

// Mixins
@mixin flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

@mixin card-hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@mixin button-primary {
    background: linear-gradient(135deg, $primary-color 0%, #6366f1 100%);
    color: $white;
    border: none;
    border-radius: $border-radius;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: $transition;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    min-height: 44px;

    &:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba($primary-color, 0.4);
        text-decoration: none;
        color: $white;
    }

    &:focus {
        outline: none;
        box-shadow: $focus-shadow;
    }

    &:active {
        transform: translateY(0);
    }
}

@mixin responsive-grid($min-width: 280px, $gap: 24px) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax($min-width, 1fr));
    gap: $gap;
}


// Layout Type and Mode Selection Styles   
/* Modern Product Display Layout Selection Styles */
/* Base Container Styles */
.proddisp-layout-selection,
.proddisp-mode-selection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header Styles */
.proddisp-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.proddisp-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
    border-radius: 2px;
}

.proddisp-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 7px 7px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.proddisp-header .description {
    color: #718096;
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.proddisp-layout-grid,
.proddisp-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0;
}

/* Card Styles */
.proddisp-layout-card,
.proddisp-mode-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.proddisp-layout-card::before,
.proddisp-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proddisp-layout-card:hover::before,
.proddisp-mode-card:hover::before {
    opacity: 1;
}

.proddisp-layout-card:hover,
.proddisp-mode-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

/* Icon Styles */
.proddisp-layout-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.proddisp-layout-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.proddisp-layout-card:hover .proddisp-layout-icon::before,
.proddisp-mode-card:hover .proddisp-layout-icon::before {
    transform: translateX(100%);
}

.proddisp-layout-card:hover .proddisp-layout-icon,
.proddisp-mode-card:hover .proddisp-layout-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.proddisp-layout-icon .dashicons {
    font-size: 2rem;
    color: #ffffff;
    width: auto;
    height: auto;
}

/* Typography */
.proddisp-layout-card h3,
.proddisp-mode-card h3 {
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    letter-spacing: -0.3px;
}

.proddisp-layout-description,
.proddisp-mode-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    font-weight: 400;
}

/* Button Styles */
.proddisp-layout-card .button,
.proddisp-mode-card .button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.proddisp-layout-card .button::before,
.proddisp-mode-card .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.proddisp-layout-card .button:hover::before,
.proddisp-mode-card .button:hover::before {
    left: 100%;
}

.proddisp-layout-card .button:hover,
.proddisp-mode-card .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.proddisp-layout-card .button:active,
.proddisp-mode-card .button:active {
    transform: translateY(0);
}

/* Animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proddisp-layout-card,
.proddisp-mode-card {
    animation: fadeInUp 0.6s ease forwards;
}

.proddisp-layout-card:nth-child(1) {
    animation-delay: 0.1s;
}

.proddisp-layout-card:nth-child(2) {
    animation-delay: 0.2s;
}

.proddisp-layout-card:nth-child(3) {
    animation-delay: 0.3s;
}

.proddisp-layout-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 768px) {

    .proddisp-layout-selection,
    .proddisp-mode-selection {
        padding: 1.5rem 1rem;
    }

    .proddisp-header h1 {
        font-size: 2rem;
    }

    .proddisp-header .description {
        font-size: 1rem;
    }

    .proddisp-layout-grid,
    .proddisp-mode-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .proddisp-layout-card,
    .proddisp-mode-card {
        padding: 2rem 1.5rem;
    }

    .proddisp-layout-icon {
        width: 70px;
        height: 70px;
    }

    .proddisp-layout-icon .dashicons {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {

    .proddisp-layout-selection,
    .proddisp-mode-selection {
        padding: 1rem;
    }

    .proddisp-header h1 {
        font-size: 1.8rem;
    }

    .proddisp-layout-card,
    .proddisp-mode-card {
        padding: 1.5rem 1rem;
    }

    .proddisp-layout-icon {
        width: 60px;
        height: 60px;
    }

    .proddisp-layout-icon .dashicons {
        font-size: 1.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {

    .proddisp-layout-card,
    .proddisp-mode-card {
        background: rgba(26, 32, 44, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .proddisp-layout-card:hover,
    .proddisp-mode-card:hover {
        background: rgba(26, 32, 44, 1);
    }

    .proddisp-layout-card h3,
    .proddisp-mode-card h3 {
        color: #f7fafc;
    }

    .proddisp-layout-description,
    .proddisp-mode-description {
        color: #a0aec0;
    }
}

/* Loading state animation */
.proddisp-layout-grid.loading .proddisp-layout-card,
.proddisp-mode-grid.loading .proddisp-mode-card {
    opacity: 0;
    transform: translateY(20px);
}

/* Focus states for accessibility */
.proddisp-layout-card .button:focus,
.proddisp-mode-card .button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

/* High contrast mode support */
@media (prefers-contrast: high) {

    .proddisp-layout-card,
    .proddisp-mode-card {
        border: 2px solid #000;
    }

    .proddisp-layout-card .button,
    .proddisp-mode-card .button {
        border: 2px solid #000;
    }
}

// END  

/* Modern Product Display Style Selection Styles */
/* Base Container Styles */
.proddisp-style-selection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    // background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    position: relative;
}


/* Style Card Styles */
.proddisp-style-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

.proddisp-style-card:nth-child(1) {
    animation-delay: 0.1s;
}

.proddisp-style-card:nth-child(2) {
    animation-delay: 0.2s;
}

.proddisp-style-card:nth-child(3) {
    animation-delay: 0.3s;
}

.proddisp-style-card:nth-child(4) {
    animation-delay: 0.4s;
}

.proddisp-style-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Top Gradient Border */
.proddisp-style-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
    animation: shimmer 3s ease-in-out infinite;
}


/* Preview Section Styles */
.proddisp-style-preview {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    background: linear-gradient(45deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proddisp-style-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.proddisp-style-card:hover .proddisp-style-preview::after {
    left: 100%;
}

/* Typography Styles */
.proddisp-style-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
    padding: 1.5rem 1.5rem 0 1.5rem;
    position: relative;
}

.proddisp-style-card:hover h3::after {
    opacity: 1;
    transform: scaleX(1);
}

.proddisp-style-card p {
    color: #718096;
    font-size: 0.925rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    padding: 0 1.5rem;
    font-weight: 400;
}

/* Button Styles */
.proddisp-style-card .button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 1.5rem 1.5rem 1.5rem;
    width: calc(100% - 3rem);
    text-align: center;
    cursor: pointer;
}

.proddisp-style-card .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.proddisp-style-card .button:hover::before {
    left: 100%;
}

.proddisp-style-card .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.proddisp-style-card .button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Badge/Label Styles (if needed) */
.proddisp-style-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Loading State */
.proddisp-style-card.loading {
    opacity: 0;
    transform: translateY(30px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .proddisp-style-selection {
        padding: 2rem 1.5rem;
    }

    .proddisp-style-card {
        margin-bottom: 1.5rem;
    }

    .proddisp-style-card h3 {
        font-size: 1.25rem;
        padding: 1.25rem 1.25rem 0 1.25rem;
    }

    .proddisp-style-card h3::after {
        left: 1.25rem;
    }

    .proddisp-style-card p {
        font-size: 0.875rem;
        padding: 0 1.25rem;
    }

    .proddisp-style-card .button {
        margin: 0 1.25rem 1.25rem 1.25rem;
        width: calc(100% - 2.5rem);
        padding: 12px 20px;
    }

    .proddisp-style-preview {
        min-height: 160px;
    }
}

@media (max-width: 480px) {
    .proddisp-style-selection {
        padding: 1.5rem 1rem;
    }

    .proddisp-style-card {
        border-radius: 16px;
        margin-bottom: 1.25rem;
    }

    .proddisp-style-card h3 {
        font-size: 1.125rem;
        padding: 1.25rem 1.25rem 0 1.25rem;
    }

    .proddisp-style-card p {
        font-size: 0.8rem;
        padding: 0 1.25rem;
        margin-bottom: 1.25rem;
    }

    .proddisp-style-card .button {
        margin: 0 1.25rem 1.25rem 1.25rem;
        width: calc(100% - 2.5rem);
        font-size: 0.875rem;
    }

    .proddisp-style-preview {
        min-height: 140px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .proddisp-style-card {
        background: rgba(26, 32, 44, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .proddisp-style-card:hover {
        background: rgba(26, 32, 44, 1);
    }

    .proddisp-style-card h3 {
        color: #f7fafc;
    }

    .proddisp-style-card p {
        color: #a0aec0;
    }

    .proddisp-style-preview {
        background: linear-gradient(45deg, #1a202c 0%, #2d3748 100%);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .proddisp-style-card {
        border: 2px solid #000;
    }

    .proddisp-style-card .button {
        border: 2px solid #000;
    }
}

/* Focus States for Accessibility */
.proddisp-style-card .button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .proddisp-style-card,
    .proddisp-style-card::before,
    .proddisp-style-preview,
    .proddisp-style-card .button {
        transition: none;
        animation: none;
    }

    .proddisp-style-card:hover {
        transform: none;
    }
}

// END 

// Style Preview
.proddisp-style-preview {
    background: $lighter-bg;
    padding: 24px;
    min-height: 200px;
    @include flex-center;
    flex-direction: column;
    transition: $transition;
    border-bottom: 1px solid $border-color;

    @media (max-width: $mobile) {
        padding: 20px;
        min-height: 160px;
    }

    p {
        color: $text-color;
        font-style: italic;
        margin: 0;
        text-align: center;
    }

    // Style for actual product previews when they exist
    .product-item {
        background: $white;
        border-radius: 8px;
        padding: 16px;
        margin: 8px;
        box-shadow: $box-shadow;
        transition: $transition;
        max-width: 150px;

        &:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
        }

        img {
            width: 100%;
            height: auto;
            border-radius: 4px;
            margin-bottom: 8px;
        }

        h4 {
            font-size: 14px;
            margin: 0 0 4px 0;
            color: $dark-text;
            font-weight: 500;
        }

        .price {
            color: $primary-color;
            font-weight: 600;
            font-size: 13px;
        }
    }
}

// Responsive Adjustments
@media (max-width: $small-tablet) {

    .proddisp-layout-grid,
    .proddisp-mode-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .proddisp-style-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: $mobile) {

    .proddisp-layout-card,
    .proddisp-mode-card {
        padding: 24px 20px;
    }

    .proddisp-layout-icon {
        width: 60px;
        height: 60px;

        .dashicons {
            font-size: 20px;
        }
    }
}

// Loading States
.proddisp-loading {
    @include flex-center;
    min-height: 200px;

    &::after {
        content: '';
        width: 32px;
        height: 32px;
        border: 3px solid $border-color;
        border-top-color: $primary-color;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

// Focus and Accessibility
.proddisp-layout-card,
.proddisp-mode-card,
.proddisp-style-card {
    &:focus-within {
        outline: none;
        box-shadow: $focus-shadow;
    }
}

// Print Styles
@media print {

    .proddisp-layout-selection,
    .proddisp-mode-selection,
    .proddisp-style-selection {
        background: $white;
        box-shadow: none;
    }

    .proddisp-layout-card,
    .proddisp-mode-card,
    .proddisp-style-card {
        break-inside: avoid;
        border: 1px solid $border-color;
        box-shadow: none;
    }
}

// END ------------

// Create Page Styles
.proddisp-create-page {
    max-width: 1200px;
    margin: 20px auto;
}

.proddisp-form-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.proddisp-form-section h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.proddisp-product-selection {
    margin-top: 15px;
}

.proddisp-product-selection select {
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
}

.proddisp-preview-container {
    background: #f0f0f1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
}

.proddisp-loading,
.proddisp-error {
    text-align: center;
    padding: 40px;
    color: #646970;
}

.proddisp-error {
    color: #d63638;
}

// Select2 Customization
.select2-container--default .select2-selection--multiple {
    border-color: #ddd;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f0f0f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 6px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #646970;
    margin-right: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #d63638;
}

// Form Table Styles
.proddisp-create-page .form-table th {
    width: 200px;
    padding: 20px 10px 20px 0;
}

.proddisp-create-page .form-table td {
    padding: 20px 10px;
}

.proddisp-create-page .form-table input[type="text"],
.proddisp-create-page .form-table input[type="number"],
.proddisp-create-page .form-table select {
    width: 100%;
    max-width: 400px;
}

// Checkbox Styles
.proddisp-create-page .form-table label {
    display: block;
    margin-bottom: 10px;
}

.proddisp-create-page .form-table input[type="checkbox"] {
    margin-right: 8px;
}

// Submit Button
.proddisp-create-page .submit {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

// Responsive Adjustments
@media screen and (max-width: 782px) {
    .proddisp-create-page .form-table th {
        width: auto;
        padding: 10px 0;
    }

    .proddisp-create-page .form-table td {
        padding: 10px 0;
    }

    .proddisp-create-page .form-table input[type="text"],
    .proddisp-create-page .form-table input[type="number"],
    .proddisp-create-page .form-table select {
        max-width: 100%;
    }
}

// Style Selection Form
.proddisp-style-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid $border-color;

    .proddisp-name-input {
        margin-bottom: 15px;

        input {
            line-height: 1.4;
            width: 95%;
            padding: 8px 6px 9px 15px;
            margin: 12px 12px 14px 18px;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            font-size: 14px;
            color: #1e293b;
            background: #ffffff;
            transition: all 0.2s ease-in-out;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);

            &:focus {
                border-color: $primary-color;
                box-shadow: 0 0 0 1px $primary-color;
                outline: none;
            }
        }

        .proddisp-name-label {
            font-size: 16px;
            color: #000000;
            line-height: 1.4;
            padding: 8px 6px 9px 2px;
            margin: -13px -3px 12px 20px;

            &::before {
                content: '| ';
                color: #64748b;
                margin-right: 6px;
            }
        }

        .description {
            font-size: 13px;
            color: #475569;
            line-height: 1.4;
            padding: 8px 6px 9px 2px;
            margin: -13px -3px 12px 20px;
        }
    }

    .button-primary {
        width: calc(100% - 3rem);
        margin-top: 10px;
    }
}

// Layout wrong selection page style 
// Error Page Styles for render_selection_failed
.proddisp-mode-selection,
.proddisp-style-selection,
.proddisp-create-page,
.proddisp-error-page {

    // Header section styling
    .proddisp-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #e1e1e1;

        h1 {
            margin: 0 0 10px 0;
            font-size: 28px;
            font-weight: 600;
            color: #1d2327;
            line-height: 1.3;
        }
    }

    // Error notice styling
    .notice.notice-error {
        margin: 0 0 30px 0;
        padding: 20px;
        border-left: 4px solid #d63638;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border-radius: 0 4px 4px 0;
        background: #ffffff;
        border-radius: 12px;
        padding: 32px 24px;
        text-align: center;
        transition: all 0.2s ease-in-out;
        position: relative;
        overflow: hidden;

        p {
            margin: 0 0 15px 0;
            font-size: 14px;
            line-height: 1.6;

            &:last-child {
                margin-bottom: 0;
            }

            strong {
                color: #d63638;
                font-weight: 600;
            }
        }

        // Error message text
        p:first-child {
            color: #3c434a;
            font-size: 15px;
        }

        // Button styling within error notice
        .button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.2s ease;

            &.button-primary {
                background: linear-gradient(135deg, #4a6cf7 0%, #6366f1 100%);
                color: #ffffff;
                border: none;
                border-radius: 6px;
                padding: 12px 24px;
                font-weight: 600;
                text-decoration: none;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                transition: all 0.2s ease-in-out;
                cursor: pointer;
                font-size: 14px;
                line-height: 1.4;
                min-height: 44px;
                width: 100%;
                max-width: 240px;

                &:hover,
                &:focus {
                    background-color: #135e96;
                    border-color: #135e96;
                    color: #fff;
                    transform: translateY(-1px);
                    box-shadow: 0 2px 8px rgba(33, 113, 177, 0.3);
                }

                &:active {
                    transform: translateY(0);
                    box-shadow: 0 1px 4px rgba(33, 113, 177, 0.3);
                }
            }
        }
    }
}

// END 

// Style for the 'More+' separator in style selection grid
.proddisp-style-more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: $primary-color;
    background: $light-bg;
    border: 1px dashed $primary-color;
    border-radius: 20px;
    padding: 8px 28px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba($primary-color, 0.07);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;

    &:hover {
        background: $primary-color;
        color: $white;
        border-color: $primary-color;
    }
}

// Fix: Constrain slider width in admin preview
.wcps-preview-container .wcps-slider-container,
.wcps-preview-container .wcps-layout-slider {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 1rem;

    .preview-header-left {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .preview-header-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .wcps-form-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 0;
        box-shadow: none;
        background: none;
        border: none;
    }
}

@media (max-width: 700px) {
    .preview-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;

        .preview-header-left,
        .preview-header-right {
            justify-content: flex-start;
            gap: 8px;
        }

        .wcps-form-actions {
            justify-content: flex-start;
            width: 100%;
        }
    }
}

// Sticky Preview Header and Preview Area
.wcps-preview-column {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.wcps-preview-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.preview-header {
    position: sticky;
    top: 25;
    z-index: 10;
    border-bottom: 1px solid #e2e8f0;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 21px;
    height: 15px;
    border-radius: 5px;
}

#wcps-showcase-preview {
    position: sticky;
    top: 60px; // adjust based on header height
    z-index: 5;
    border-radius: 6px;
    border-top: 1px solid #e2e8f0;
    padding: 20px;
    min-height: 400px;
    margin-bottom: 1rem;

    .wcps-container {
        width: 80%;
        margin: 0 auto;

        .wcps-products-container {
            width: 90%;
        }
    }
}



// Sticky Tabs Nav in Settings
.wcps-settings-column {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.wcps-admin-tabs {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.wcps-tabs-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.wcps-tabs-content {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    max-height: calc(100vh - 60px); // adjust for header/tabs height
}

// Responsive: stack on mobile
@media (max-width: 700px) {

    .wcps-preview-column,
    .wcps-settings-column {
        position: static;
        height: auto;
    }

    .preview-header,
    #wcps-showcase-preview,
    .wcps-tabs-nav {
        position: static;
        top: auto;
        z-index: auto;
    }

    .wcps-tabs-content {
        max-height: none;
        overflow-y: visible;
    }
}

// Desktop: side-by-side columns
.wcps-layout-container {
    display: flex;
    gap: 20px;
}

.wcps-settings-column {
    width: 20%;
    min-width: 280px;
    max-width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100vh;
}

.wcps-preview-column {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100vh;
}

// Responsive: stack columns on tablet/mobile
@media (max-width: 1000px) {
    .wcps-layout-container {
        flex-direction: column;
        gap: 0;
    }

    .wcps-settings-column,
    .wcps-preview-column {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        position: static;
    }

    .wcps-preview-container {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        height: auto;
    }
}

// Extra: ensure sticky elements revert on mobile
@media (max-width: 700px) {

    .preview-header,
    #wcps-showcase-preview,
    .wcps-tabs-nav {
        position: static !important;
        top: auto !important;
        z-index: auto !important;
    }

    .wcps-tabs-content {
        max-height: none !important;
        overflow-y: visible !important;
    }
}

// Pro images for layout selection 
.proddisp-locked-layout {
    position: relative;
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.8s ease-out;

    &:hover {
        transform: translateY(-8px);
        box-shadow:
            0 35px 70px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.1);

        img {
            transform: scale(1.02);
        }
    }

    img {
        width: 100%;
        height: auto;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pro-tag {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.image-container {
    position: relative;
    padding: 32px 32px 0;
}

.wcps-upgrade-pro-btn {
    text-decoration: underline;
    cursor: pointer;
}

.proddisp-locked-message {
    padding: 32px;
    text-align: center;
    color: #764ba2;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 24px 32px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    .pro-highlight {
        background: linear-gradient(135deg, #667eea, #764ba2);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
        text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
        display: inline-block;
        position: relative;

        &::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 2px;
            opacity: 0.7;
        }
    }
}


// Responsive Design
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .proddisp-locked-layout {
        border-radius: 20px;
    }

    .image-container {
        padding: 24px 24px 0;
    }

    .proddisp-locked-message {
        padding: 24px;
        margin: 20px 24px 24px;
        font-size: 16px;
        border-radius: 12px;
    }

    .pro-tag {
        top: -10px;
        right: 16px;
        padding: 6px 16px;
        font-size: 11px;
    }

    .wcps-upgrade-pro-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .proddisp-locked-layout {
        border-radius: 16px;
    }

    .image-container {
        padding: 20px 20px 0;
    }

    .proddisp-locked-message {
        padding: 20px;
        margin: 16px 20px 20px;
        font-size: 15px;
    }

    .pro-tag {
        right: 12px;
        padding: 5px 14px;
        font-size: 10px;
    }

    .wcps-upgrade-pro-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

// Pro locked fields for upsell
.wcps-pro-locked {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;

    select[disabled] {
        opacity: 0.6;
        pointer-events: none;
        background: rgba(248, 250, 252, 0.8);
        backdrop-filter: blur(20px);
        color: #aaa;
        border: 1px solid rgba(255, 224, 130, 0.4);
        border-radius: 20px;
        cursor: not-allowed;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .wcps-pro-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin-left: 4px;
        vertical-align: middle;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

        &:hover {
            background: rgba(241, 182, 0, 0.25);
            transform: translateY(-2px);
            box-shadow:
                0 12px 36px rgba(241, 182, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        svg {
            fill: #f1b600;
            width: 16px;
            height: 16px;
            filter: drop-shadow(0 2px 4px rgba(241, 182, 0, 0.2));
        }
    }

    .wcps-pro-tooltip {
        display: none;
        position: absolute;
        background: rgba(255, 251, 230, 0.95);
        backdrop-filter: blur(20px);
        color: #b38f00;
        border: 1px solid rgba(255, 224, 130, 0.2);
        border-radius: 20px;
        padding: 6px 12px;
        font-size: 13px;
        margin-left: 8px;
        z-index: 10;
        box-shadow:
            0 16px 48px rgba(0, 0, 0, 0.12),
            0 8px 24px rgba(241, 182, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        min-width: 220px;
        max-width: 320px;
        opacity: 0;
        transform: translateX(-8px) scale(0.95);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

        /* Glass arrow */
        &::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
            border-right: 8px solid rgba(255, 251, 230, 0.95);
            filter: drop-shadow(-1px 0 2px rgba(0, 0, 0, 0.08));
        }

        &::after {
            content: '';
            position: absolute;
            left: -9px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 9px solid transparent;
            border-bottom: 9px solid transparent;
            border-right: 9px solid rgba(255, 224, 130, 0.2);
        }
    }

    &:hover .wcps-pro-tooltip {
        display: block;
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.wcps-pro-locked {
    cursor: pointer;
}

.wcps-pro-locked input,
.wcps-pro-locked select,
.wcps-pro-locked textarea,
.wcps-pro-locked label {
    cursor: default;
}

// END 

// Toasmaster 
.tm-close-button {}

.tm-price-modal-header {
    margin-top: 15px !important;
}

.tm-price-modal-features {
    text-align: left;
}

// END 

// Toggle Switch Styles
.wcps-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.wcps-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin-right: 12px;
    vertical-align: middle;

    input[type="checkbox"] {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .wcps-toggle-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: $medium-gray;
        border-radius: 24px;
        transition: background 0.2s;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .wcps-toggle-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 2px;
        bottom: 3px;
        background: $white;
        border-radius: 50%;
        transition: transform 0.2s, background 0.2s;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    input:checked+.wcps-toggle-slider {
        background: $primary-color;
    }

    input:checked+.wcps-toggle-slider:before {
        transform: translateX(20px);
        background: #ffffff;
    }
}

.wcps-toggle-label {
    font-size: 15px;
    color: $dark-text;
    margin-right: 18px;
    vertical-align: middle;
    font-weight: 500;
    line-height: 24px;
}

// Shortcode display styling
.wcps-shortcode-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 16px;
    background: $light-bg;
    border: 1px solid $border-color;
    border-radius: $border-radius;
    max-width: fit-content;

    code {
        font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
        font-size: 14px;
        color: $dark-text;
        background: $white;
        padding: 8px 12px;
        border-radius: 4px;
        border: 1px solid $medium-gray;
        user-select: all;
        cursor: text;
    }

    .wcps-copy-shortcode-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid $primary-color;
        background: $white;
        color: $primary-color;
        border-radius: 4px;
        cursor: pointer;
        transition: $transition;
        box-shadow: 0 2px 4px rgba($primary-color, 0.1);

        &:hover {
            background: $primary-color;
            color: $white;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba($primary-color, 0.2);
        }

        &:active {
            transform: translateY(0);
        }

        .dashicons {
            font-size: 16px;
            width: 16px;
            height: 16px;
        }

        &.copied {
            background: $success-color;
            border-color: $success-color;
            color: $white;
            box-shadow: 0 4px 8px rgba($success-color, 0.2);
        }
    }
}

// Success notice styling
.wcps-copy-notice {
    position: fixed;
    top: 32px;
    right: 20px;
    background: $success-color;
    color: $white;
    padding: 12px 20px;
    border-radius: $border-radius;
    box-shadow: 0 4px 12px rgba($success-color, 0.3);
    z-index: 999999;
    font-weight: 500;
    font-size: 14px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;

    &.show {
        transform: translateX(0);
    }

    .dashicons {
        margin-right: 8px;
        vertical-align: middle;
    }
}


// Get Started Page Style start -------------------------------------------
// Get Started Page Styles
.wcps-admin-get-started {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    // Welcome Section with video player 
    .wcps-welcome-section {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 50px 40px;
        border-radius: 5px;
        margin: 30px 0;
        text-align: center;
        position: relative;
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .welcome-icon {
            font-size: 60px;
            margin-bottom: 20px;
            animation: bounce 2s infinite;
        }

        .welcome-title {
            color: white;
            margin-bottom: 20px;
            font-size: 32px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .welcome-description {
            font-size: 18px;
            margin-bottom: 30px;
            opacity: 0.95;
            line-height: 1.6;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Video Player Styles */
        .welcome-video-container {
            position: relative;
            max-width: 640px;
            margin: 30px auto;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;

            &:hover {
                transform: translateY(-5px);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            }

            &:hover .video-overlay {
                opacity: 0;
            }

            &:hover .play-button {
                transform: scale(1.1);
            }
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%;
            /* 16:9 aspect ratio */
            background: rgba(0, 0, 0, 0.1);
            border-radius: 15px;
            overflow: hidden;

            iframe {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: none;
                border-radius: 15px;
            }
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
            transition: opacity 0.3s ease;
            pointer-events: none;
            border-radius: 15px;
        }

        .play-button {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);

            &:hover {
                background: white;
                transform: scale(1.1);
                box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
            }

            .play-icon {
                font-size: 24px;
                color: #667eea;
                margin-left: 3px;
                /* Slight offset for visual balance */
            }
        }

        /* Responsive video styles */
        @media (max-width: 768px) {
            .welcome-video-container {
                max-width: 100%;
                margin: 20px auto;
            }

            .play-button {
                width: 60px;
                height: 60px;

                .play-icon {
                    font-size: 20px;
                }
            }
        }

        .welcome-actions {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .welcome-btn-primary {
            background: white;
            color: #667eea;
            border: none;
            padding: 15px 30px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            display: inline-flex;
            align-items: center;
            gap: 8px;

            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
                background: #f8f9fa;
            }
        }

        .welcome-btn-secondary {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            padding: 15px 30px;
            font-size: 16px;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;

            &:hover {
                background: rgba(255, 255, 255, 0.25);
                border-color: rgba(255, 255, 255, 0.5);
                transform: translateY(-2px);
            }
        }

        .btn-icon {
            font-size: 18px;
        }
    }

    /* Bounce animation for welcome icon */
    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        60% {
            transform: translateY(-5px);
        }
    }


    // Stats Grid
    .wcps-stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
        margin: 40px 0;
    }

    .stat-card {
        background: white;
        padding: 30px 25px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .stat-icon {
            font-size: 40px;
            margin-bottom: 30px;
            color: #667eea;

            &.stat-icon-success {
                color: #28a745;
            }

            &.stat-icon-warning {
                color: #ffc107;
            }

            &.stat-icon-danger {
                color: #dc3545;
            }
        }

        .stat-number {
            font-size: 28px;
            font-weight: 700;
            color: #333;
            margin-bottom: 8px;
        }

        .stat-label {
            color: #666;
            font-size: 14px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
    }

    // Section Titles
    .section-title {
        color: #333;
        margin-bottom: 30px;
        font-size: 26px;
        font-weight: 700;
        border-bottom: 3px solid #667eea;
        padding-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 12px;

        .title-icon {
            font-size: 30px;
        }
    }

    // FAQ Section
    .wcps-faq-section {
        background: white;
        padding: 40px;
        border-radius: 16px;
        margin: 40px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .faq-container {
        display: grid;
        gap: 20px;
    }

    .faq-item {
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;

        &:hover {
            border-color: #667eea;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
        }
    }

    .faq-toggle {
        width: 100%;
        background: #f8f9fa;
        border: none;
        padding: 25px;
        text-align: left;
        cursor: pointer;
        font-weight: 600;
        color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
        font-size: 16px;

        &:hover {
            background: #e9ecef;
        }

        &.active {
            background: #667eea;
            color: white;
        }

        .faq-icon {
            font-size: 20px;
            font-weight: bold;
            transition: transform 0.3s ease;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.1);
        }

        &.active .faq-icon {
            transform: rotate(180deg);
            background: rgba(255, 255, 255, 0.2);
        }
    }

    .faq-content {
        display: none;
        padding: 25px;
        background: white;
        border-top: 1px solid #e0e0e0;
        line-height: 1.7;
        color: #555;

        p {
            margin: 0 0 15px 0;
        }

        h4 {
            color: #333;
            margin: 20px 0 10px 0;
            font-size: 16px;
        }

        .code-block {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid #667eea;
            margin: 15px 0;

            code {
                color: #667eea;
                font-weight: 600;
                font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
            }
        }

        .feature-list {
            margin: 15px 0;
            padding-left: 0;
            list-style: none;

            li {
                margin-bottom: 8px;
                padding-left: 25px;
                position: relative;

                &::before {
                    content: '✓';
                    position: absolute;
                    left: 0;
                    color: #28a745;
                    font-weight: bold;
                }
            }
        }
    }

    // Cards Grid
    .wcps-cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        margin: 40px 0;
    }

    .support-card {
        color: rgb(0, 0, 0);
        padding: 40px 30px;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        }

        &.card-success {
            background: linear-gradient(135deg, #e3ebff 0%, #f0f0f0 100%);
        }

        &.card-purple {
            background: linear-gradient(135deg, #e3ebff 0%, #f0f0f0 100%);
        }

        .card-icon {
            font-size: 50px;
            margin-bottom: 20px;
        }

        .card-title {
            color: rgb(24, 24, 24);
            margin-bottom: 20px;
            font-size: 24px;
            font-weight: 700;
        }

        .card-description {
            margin-bottom: 25px;
            opacity: 0.95;
            line-height: 1.6;
            font-size: 16px;
        }

        .card-features {
            list-style: none;
            padding: 0;
            margin-bottom: 30px;

            li {
                margin-bottom: 12px;
                display: flex;
                align-items: center;
                gap: 12px;
                font-size: 15px;
            }

            .feature-icon {
                font-size: 16px;
            }
        }

        .card-button {
            background: rgba(255, 255, 255, 0.2);
            color: #414141;
            border: 2px solid rgba(255, 255, 255, 0.3);
            padding: 12px 24px;
            text-decoration: none;
            border-radius: 8px;
            display: inline-block;
            transition: all 0.3s ease;
            font-weight: 600;

            &:hover {
                background: rgba(255, 255, 255, 0.3);
                border-color: rgba(255, 255, 255, 0.5);
                transform: translateY(-2px);
            }
        }
    }

    // Steps Section
    .wcps-steps-section {
        background: white;
        padding: 40px;
        border-radius: 16px;
        margin: 40px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .steps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .step-item {
        text-align: center;
        padding: 30px 20px;
        transition: all 0.3s ease;
        border-radius: 12px;

        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }
    }

    .step-number {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-weight: 700;
        font-size: 20px;
        color: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

        &.step-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        &.step-success {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        }

        &.step-warning {
            background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
        }

        &.step-danger {
            background: linear-gradient(135deg, #dc3545 0%, #e91e63 100%);
        }
    }

    .step-title {
        color: #333;
        margin-bottom: 15px;
        font-size: 18px;
        font-weight: 600;
    }

    .step-description {
        color: #666;
        font-size: 14px;
        line-height: 1.6;
    }

    // Shortcodes Section
    .wcps-shortcodes-section {
        background: white;
        padding: 40px;
        border-radius: 16px;
        margin: 40px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .shortcodes-grid {
        display: grid;
        gap: 30px;
    }

    .shortcode-item {
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 30px;
        transition: all 0.3s ease;

        &:hover {
            border-color: #667eea;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        &.setup-tips {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;

            .shortcode-title {
                color: white;
            }

            .setup-list {
                list-style: none;
                padding: 0;
                margin: 0;

                li {
                    margin-bottom: 12px;
                    padding-left: 20px;
                    position: relative;
                    line-height: 1.6;

                    &::before {
                        content: '⚡';
                        position: absolute;
                        left: 0;
                        font-size: 14px;
                    }

                    code {
                        background: rgba(255, 255, 255, 0.2);
                        padding: 2px 6px;
                        border-radius: 4px;
                        font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
                    }
                }
            }
        }
    }

    .shortcode-title {
        color: #333;
        margin-bottom: 15px;
        font-size: 20px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;

        .shortcode-icon {
            font-size: 24px;
        }
    }

    .shortcode-description {
        color: #666;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .code-block {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        border-left: 4px solid #667eea;
        margin: 15px 0;

        &.code-success {
            border-left-color: #28a745;
        }

        code {
            color: #667eea;
            font-weight: 600;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
        }

        &.code-success code {
            color: #28a745;
        }
    }

    .shortcode-params {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin: 20px 0;
    }

    .param-item {
        background: #e8f5e8;
        padding: 15px;
        border-radius: 8px;

        .param-name {
            color: #28a745;
            font-weight: 600;
        }

        .param-description {
            color: #666;
            font-size: 13px;
        }
    }

    .shortcode-usage {
        color: #666;
        font-size: 14px;
        margin: 15px 0 0 0;
    }

    // Animations
    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        60% {
            transform: translateY(-5px);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    // Responsive Design
    @media (max-width: 768px) {
        padding: 15px;

        .wcps-welcome-section {
            padding: 40px 30px;
            margin: 20px 0;

            .welcome-title {
                font-size: 28px;
            }

            .welcome-description {
                font-size: 16px;
            }

            .welcome-actions {
                flex-direction: column;
                align-items: center;
            }

            .welcome-btn-primary,
            .welcome-btn-secondary {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }
        }

        .wcps-stats-grid {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
        }

        .stat-card {
            padding: 20px 15px;

            .stat-icon {
                font-size: 32px;
            }

            .stat-number {
                font-size: 24px;
            }
        }

        .section-title {
            font-size: 22px;
            flex-direction: column;
            text-align: center;
            gap: 8px;
        }

        .wcps-faq-section,
        .wcps-steps-section,
        .wcps-shortcodes-section {
            padding: 30px 20px;
        }

        .faq-toggle {
            padding: 20px;
            font-size: 15px;
        }

        .faq-content {
            padding: 20px;
        }

        .wcps-cards-grid {
            grid-template-columns: 1fr;
        }

        .support-card {
            padding: 30px 25px;
        }

        .steps-grid {
            grid-template-columns: 1fr;
            gap: 25px;
        }

        .shortcode-item {
            padding: 25px 20px;
        }

        .shortcode-params {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .wcps-welcome-section {
            padding: 30px 20px;

            .welcome-icon {
                font-size: 48px;
            }

            .welcome-title {
                font-size: 24px;
            }

            .welcome-description {
                font-size: 15px;
            }
        }

        .wcps-stats-grid {
            grid-template-columns: 1fr 1fr;
        }

        .stat-card {
            padding: 15px 10px;

            .stat-number {
                font-size: 20px;
            }

            .stat-label {
                font-size: 12px;
            }
        }

        .faq-toggle {
            padding: 15px;
            font-size: 14px;
        }

        .faq-content {
            padding: 15px;
        }

        .support-card {
            padding: 25px 20px;

            .card-icon {
                font-size: 40px;
            }

            .card-title {
                font-size: 20px;
            }
        }

        .step-number {
            width: 50px;
            height: 50px;
            font-size: 18px;
        }
    }
}

// Get Started Page Style end----------------------------------------------- 





// Admin force layout issues fixed - ------------------------------
.wcps-container.wcps-layout-flip-layout .wcps-cta-right .wcps-cta-title h3,
.wcps-container.wcps-layout-flip-layout-2 .wcps-cta-right .wcps-cta-title h3 {
    padding: 0px !important;
}

.wcps-container.wcps-layout-flip-layout .wcps-cta-right .wcps-cta-add-to-cart,
.wcps-container.wcps-layout-flip-layout-2 .wcps-cta-right .wcps-cta-add-to-cart {
    width: auto;
    margin-left: -30px;

    a {
        padding: 10px 20px !important;
    }
}

.wcps-container.wcps-layout-flip-layout-4 .wcps-cta-right .wcps-cta-add-to-cart a {
    width: 195px !important;
    margin-left: 0px;
}

.wcps-container.wcps-layout-flip-layout,
.wcps-container.wcps-layout-flip-layout-2,
.wcps-container.wcps-layout-flip-layout-3,
.wcps-container.wcps-layout-flip-layout-4,
.wcps-container.wcps-layout-flip-layout-5 {
    width: calc(100% - 3rem);
}


.wcps-container.wcps-layout-flip-layout .wcps-cta-right,
.wcps-container.wcps-layout-flip-layout-2 .wcps-cta-right {
    padding: 0px !important;
    cursor: pointer;
}

.wcps-container.wcps-layout-category_tabs .wcps-category-tabs .wcps-tab-content .wcps-products-grid .wcps-product-item .wcps-product {
    padding: 15px !important;
}


// END ------------------------------------------------------