/**

 * Mstock WooCommerce Plugin Styles

 * Version: 1.1.0 - MOBILE RESPONSIVE FIX

 * Includes proper mobile table transformation with data-label attributes

 */



:root {

    --primary-color: #003366;

    --secondary-color: #0066cc;

    --light-bg: #f8f9fa;

    --border-color: #dee2e6;

    --success-color: #4ade80;

}



/* ============================================

   RESET & BASE STYLES

   ============================================ */



/* Remove default WooCommerce styles */

.woocommerce ul.products,

.woocommerce-page ul.products {

    margin: 0 !important;

    padding: 0 !important;

    list-style: none !important;

    display: block !important;

}



.woocommerce ul.products li.product,

.woocommerce-page ul.products li.product {

    width: 100% !important;

    float: none !important;

    margin: 0 0 1.5rem 0 !important;

}



/* ============================================

   PRODUCT ITEM CARD

   ============================================ */



.product-item-card {

    background: white;

    border-radius: 0 0 8px 8px;

    overflow: hidden;

    margin-bottom: 1.5rem !important;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}



.product-card-header {

    padding: 1.25rem 1.5rem;

    background: #f0ede8;

    border-bottom: 1px solid var(--border-color);

}



.product-card-header .col-auto {

    padding-left: 0 !important;

    padding-right: 1rem !important;

}



/* Image with Wishlist */

.product-card-header a.position-relative {

    position: relative;

    display: block;

    width: 100px;

}



.product-thumbnail {

    width: 100px;

    height: 100px;

    object-fit: cover;

    border-radius: 6px;

    border: 1px solid var(--border-color);

}



.wishlist-btn {

    position: absolute;

    top: 8px;

    left: 8px;

    background: white;

    border: 1px solid var(--border-color);

    border-radius: 4px;

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1rem;

    color: #666;

    cursor: pointer;

    z-index: 10;

    transition: all 0.2s;

    padding: 0;

    line-height: 1;

}



.wishlist-btn:hover {

    color: #dc3545;

    background: #fff;

    border-color: #dc3545;

}



/* Product Info */

.product-card-title {

    font-size: 1.25rem;

    font-weight: 600;

    margin-bottom: 0.5rem;

    line-height: 1.3;

}



.product-card-title a {

    color: var(--primary-color);

    text-decoration: none;

}



.product-card-title a:hover {

    color: var(--secondary-color);

    text-decoration: underline;

}



.product-description {

    font-size: 0.95rem;

    line-height: 1.5;

    margin-bottom: 0.75rem;

    color: #666;

}



.read-more-link {

    color: var(--secondary-color);

    text-decoration: none;

    font-weight: 500;

    margin-left: 4px;

}



.read-more-link:hover {

    text-decoration: underline;

}



/* ============================================

   VARIATIONS TABLE - DESKTOP

   ============================================ */



.product-variations-section {

    background: #f0ede8;

    padding: 10px;

}



.variations-table {

    margin-bottom: 0 !important;

    width: 100%;

    table-layout: auto;

    background: white;

}



.variations-table thead {

    background-color: var(--light-bg);

}



.variations-table th {

    font-weight: 600;

    font-size: 0.875rem;

    color: #666;

    padding: 0.875rem 1rem;

    border-bottom: 2px solid var(--border-color);

    text-align: left;

}



/* Column width classes for desktop */

.variations-table th.th-sku,

.variations-table td.td-sku {

    width: 120px;

    min-width: 120px;

}



.variations-table th.th-description,

.variations-table td.td-description {

    width: auto;

    min-width: 200px;

}



.variations-table th.th-quantity,

.variations-table td.td-quantity {

    width: 180px;

    min-width: 180px;

    text-align: center;

}



.variations-table th.th-price,

.variations-table td.td-price {

    width: 150px;

    min-width: 150px;

    text-align: right;

}



.variations-table td {

    padding: 1.25rem 1rem;

    vertical-align: middle;

    border-bottom: 1px solid #f0f0f0;

}



.variations-table tbody tr:last-child td {

    border-bottom: none;

}



/* ============================================

   TABLE CELL CONTENT

   ============================================ */



/* SKU Display */

.sku-display {

    display: flex;

    flex-direction: column;

}



.sku-code {

    font-weight: 600;

    color: var(--primary-color);

    font-size: 0.95rem;

    background: #f8f9fa;

    padding: 4px 8px;

    border-radius: 4px;

    display: inline-block;

    width: fit-content;

    max-width: 100px;

    word-break: break-word;

}



.variation-description {

    color: #333;

    font-size: 0.95rem;

    font-weight: 500;

    display: block;

    word-break: break-word;

}



/* Quantity Controls Container */

.qty-controls-container {

    width: 100%;

    display: flex;

    justify-content: center;

}



.qty-controls {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0;

    width: auto;

    margin: 0;

}



.qty-controls button {

    width: 36px;

    height: 36px;

    padding: 0;

    font-size: 1.2rem;

    line-height: 1;

    border: 1px solid var(--border-color);

    background: white;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s;

    color: #333;

    flex-shrink: 0;

}



.qty-controls button:hover {

    background-color: var(--light-bg);

    color: var(--primary-color);

    border-color: var(--primary-color);

}



.qty-controls .qty-minus {

    border-radius: 4px 0 0 4px;

    border-right: 0;

}



.qty-controls .qty-plus {

    border-radius: 0 4px 4px 0;

    border-left: 0;

}



.qty-controls input.qty-input {

    width: 68px;

    text-align: center;

    height: 36px;

    border: 1px solid var(--border-color) !important;

    border-left: 0 !important;

    border-right: 0 !important;

    padding: 0.375rem 0.25rem;

    font-size: 1rem;

    border-radius: 0;

    -moz-appearance: textfield;

    background: white;

    flex-shrink: 0;

    color: #333;

}



.qty-controls input:focus {

    outline: none;

    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);

    border-color: var(--secondary-color) !important;

    color: #333;

}



/* Remove spinner arrows on number input */

.qty-controls input.qty-input::-webkit-outer-spin-button,

.qty-controls input.qty-input::-webkit-inner-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



/* Price Display */

.price-display {

    text-align: right;

    width: 100%;

}



.price-incl {

    font-size: 1.125rem;

    font-weight: 700;

    color: var(--primary-color);

    margin-bottom: 0.25rem;

}



.price-excl {

    font-size: 0.95rem;

    font-weight: 600;

    color: #666;

}



.price-label {

    font-size: 0.75rem;

    color: #999;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin: 0.25rem 0;

}



/* ============================================

   MOBILE RESPONSIVE TABLE

   ============================================ */



@media (max-width: 767px) {

    /* Stack table vertically */

    .variations-table,

    .variations-table thead,

    .variations-table tbody,

    .variations-table tr,

    .variations-table td,

    .variations-table th {

        display: block;

        width: 100%;

    }



    /* Hide the table header on mobile */

    .variations-table thead {

        display: none;

    }



    /* Style table rows as cards */

    .variations-table tbody tr {

        border: 1px solid var(--border-color);

        border-radius: 6px;

        margin-bottom: 1rem;

        background: white;

        padding: 0;

        display: grid;

        grid-template-columns: 1fr;

    }



    .variations-table tbody tr:last-child {

        margin-bottom: 0;

    }



    /* Style each cell */

    .variations-table td {

        border: none;

        padding: 0.75rem 1rem;

        border-top: 1px solid var(--border-color);

        display: grid;

        grid-template-columns: auto 1fr;

        gap: 0.5rem;

        align-items: center;

        text-align: left !important;

    }



    .variations-table td:first-child {

        border-top: none;

        padding-top: 1rem;

    }



    .variations-table td:last-child {

        padding-bottom: 1rem;

    }



    /* Add data labels */

    .variations-table td::before {

        content: attr(data-label);

        font-weight: 600;

        color: var(--primary-color);

        font-size: 0.85rem;

        text-transform: uppercase;

        letter-spacing: 0.5px;

        white-space: nowrap;

    }



    /* SKU column */

    .variations-table td.td-sku {

        padding: 1rem;

    }



    .variations-table td.td-sku::before {

        content: "SKU";

    }



    .sku-code {

        font-size: 0.85rem;

        max-width: 100%;

    }



    /* Description column */

    .variations-table td.td-description::before {

        content: "Description";

    }



    .variation-description {

        font-size: 0.9rem;

        white-space: normal;

        word-wrap: break-word;

    }



    /* Quantity column */

    .variations-table td.td-quantity {

        grid-template-columns: auto;

        flex-direction: column;

    }



    .variations-table td.td-quantity::before {

        content: "Quantity";

    }



    .qty-controls-container {

        width: 100%;

        justify-content: flex-start;

    }



    .qty-controls {

        width: auto;

    }



    /* Price column */

    .variations-table td.td-price {

        grid-template-columns: 1fr;

    }



    .variations-table td.td-price::before {

        content: "Price";

    }



    .price-display {

        text-align: left;

    }



    .price-incl {

        font-size: 1.1rem;

    }



    .price-excl {

        font-size: 0.9rem;

    }



    /* Reset column widths */

    .variations-table th.th-sku,

    .variations-table td.td-sku,

    .variations-table th.th-description,

    .variations-table td.td-description,

    .variations-table th.th-quantity,

    .variations-table td.td-quantity,

    .variations-table th.th-price,

    .variations-table td.td-price {

        width: 100%;

        min-width: 100%;

        max-width: 100%;

    }



    /* Product card adjustments */

    .product-card-header {

        padding: 1rem;

    }



    .product-card-header .col-auto {

        padding-right: 0.75rem !important;

    }



    .product-thumbnail {

        width: 80px;

        height: 80px;

    }



    .product-card-title {

        font-size: 1.1rem;

    }



    .product-variations-section {

        padding: 0;

    }

}



@media (max-width: 576px) {

    /* Extra small screens */

    .variations-table td {

        padding: 0.6rem 0.75rem;

    }



    .variations-table td::before {

        font-size: 0.8rem;

    }



    .sku-code {

        font-size: 0.8rem;

        padding: 3px 6px;

    }



    .variation-description {

        font-size: 0.85rem;

    }



    .qty-controls button {

        width: 32px;

        height: 32px;

        font-size: 1rem;

    }



    .qty-controls input.qty-input {

        width: 60px;

        height: 32px;

        font-size: 0.9rem;

    }



    .price-incl {

        font-size: 1rem;

    }



    .price-excl {

        font-size: 0.85rem;

    }



    .product-thumbnail {

        width: 70px;

        height: 70px;

    }



    .product-card-title {

        font-size: 1rem;

    }



    .wishlist-btn {

        width: 26px;

        height: 26px;

        font-size: 0.9rem;

    }

}



/* ============================================

   SIDEBAR & FILTERS

   ============================================ */



.sidebar {

    background: white;

    border-radius: 8px;

    padding: 0;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}



.sidebar-header {

    padding: 1.25rem 1.5rem;

    border-bottom: 1px solid var(--border-color);

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.sidebar-title {

    margin: 0;

    font-size: 1.1rem;

    font-weight: 600;

    color: var(--primary-color);

}



.sidebar-collapse-all {

    background: none;

    border: none;

    color: var(--primary-color);

    cursor: pointer;

    font-size: 1.2rem;

    padding: 0;

}



/* Category List */

.category-list {

    list-style: none;

    padding: 0;

    margin: 0;

}



.category-item {

    border-bottom: 1px solid var(--border-color);

}



.category-item:last-child {

    border-bottom: none;

}



.category-link-wrapper {

    display: flex;

    align-items: center;

    padding: 0.75rem 1.5rem;

    transition: background 0.2s;

}



.category-link-wrapper:hover {

    background: var(--light-bg);

}



.category-link-wrapper.active {

    background: #e7f3ff;

}



.category-toggle {

    background: none;

    border: none;

    color: var(--primary-color);

    cursor: pointer;

    padding: 0;

    margin-right: 0.5rem;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 24px;

    height: 24px;

}



.category-toggle i {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    font-size: 1.2rem;

    transition: all 0.2s ease;

}



.category-toggle i.icon-expand {

    display: flex;

}



.category-toggle i.icon-collapse {

    display: flex;

}



.category-toggle i.d-none {

    display: none !important;

}



.category-spacer {

    display: inline-block;

    width: 24px;

    margin-right: 0.5rem;

}



.category-link {

    text-decoration: none;

    color: #333;

    flex: 1;

    display: block;

}



.category-link:hover {

    color: var(--secondary-color);

}



.category-link-wrapper.active .category-link {

    color: var(--primary-color);

    font-weight: 600;

}



.category-name {

    display: block;

}



.subcategory-list {

    list-style: none;

    padding: 0;

    margin: 0;

    background: var(--light-bg);

}



/* ============================================

   BREADCRUMB

   ============================================ */



.breadcrumb {

    background: transparent;

    padding: 0;

    margin-bottom: 1.5rem;

    flex-wrap: wrap;

    justify-content: flex-start !important;

    margin-left: 0 !important;

    display: flex !important;

}



.breadcrumb-item {

    padding-left: 0;

    padding-right: 0;

    display: inline;

}



.breadcrumb-item + .breadcrumb-item::before {

    content: "/ ";

    padding: 0 0.5rem;

    color: #666;

}



.breadcrumb-item.active {

    color: #666;

    padding: 0;

}



.breadcrumb-item a {

    color: var(--secondary-color, #0066cc);

    text-decoration: none;

}



.breadcrumb-item a:hover {

    text-decoration: underline;

}



/* ============================================

   PRODUCT COUNT BAR

   ============================================ */



.product-count-bar {

    background: var(--light-bg);

    border-radius: 6px 6px 0 0;

    padding: 1rem 1.25rem;

    margin-bottom: 0;

    border: 1px solid #e9ecef;

    border-bottom: none;

}



.product-count-bar strong {

    color: var(--primary-color);

}



/* ============================================

   STICKY CART FOOTER

   ============================================ */



.sticky-cart-footer {

    position: fixed;

    bottom: -100px;

    left: 0;

    right: 0;

    background: white;

    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);

    padding: 1rem 0;

    z-index: 1000;

    transition: bottom 0.3s ease;

}



.sticky-cart-footer.show {

    bottom: 0;

}



.cart-summary {

    font-size: 1.125rem;

}



.add-to-basket-btn {

    background: var(--primary-color);

    color: white;

    border: none;

    padding: 0.75rem 2rem;

    border-radius: 6px;

    font-weight: 600;

    font-size: 1rem;

    cursor: pointer;

    transition: all 0.2s;

}



.add-to-basket-btn:hover:not(:disabled) {

    background: #0052a3;

    transform: translateY(-1px);

    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);

}



.add-to-basket-btn:disabled {

    opacity: 0.5;

    cursor: not-allowed;

}



/* ============================================

   CATEGORY DESCRIPTION

   ============================================ */



.category-description-section {

    background: #f8f9fa;

    padding: 1.25rem;

    border-radius: 8px;

    border-left: 3px solid var(--primary-color);

    margin-bottom: 1.5rem;

}



.category-desc-preview p,

.category-desc-full p {

    margin-bottom: 0;

}



.category-read-toggle {

    font-weight: 600;

    font-size: 0.9rem;

    color: var(--secondary-color);

    text-decoration: none;

}



.category-read-toggle:hover {

    text-decoration: underline;

}



.category-read-toggle i {

    transition: transform 0.3s;

}



.category-read-toggle[aria-expanded="true"] i {

    transform: rotate(180deg);

}



/* ============================================

   PAGINATION

   ============================================ */



.woocommerce-pagination {

    display: flex;

    gap: 0.5rem;

    justify-content: center;

    margin: 2rem 0;

}



.woocommerce-pagination a,

.woocommerce-pagination span {

    padding: 0.5rem 0.75rem;

    border: 1px solid var(--border-color);

    border-radius: 4px;

    text-decoration: none;

    color: var(--primary-color);

}



.woocommerce-pagination a:hover {

    background: var(--light-bg);

}



.woocommerce-pagination .page-numbers.current {

    background: var(--primary-color);

    color: white;

    border-color: var(--primary-color);

}



/* ============================================

   WOOCOMMERCE SORTING DROPDOWN

   ============================================ */



.woocommerce-ordering-wrapper {

    position: relative;

    z-index: 1050;

    display: inline-block;

}



.woocommerce-ordering {

    position: relative;

    z-index: 1050;

    display: inline-block;

    margin: 0;

}



.woocommerce-ordering form {

    margin: 0;

    padding: 0;

    display: inline-block;

}



.woocommerce-ordering select.orderby,

.woocommerce-ordering select[name="orderby"] {

    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    pointer-events: auto !important;

    cursor: pointer !important;

    position: relative;

    z-index: 1050;

    height: 42px;

    line-height: 42px;

    padding: 0 10px;

    border: 1px solid #d4d4d4;

    background-color: #fff;

    min-width: 200px;

    font-size: 14px;

    color: #333;

    border-radius: 4px;

    appearance: auto;

    -webkit-appearance: menulist;

    -moz-appearance: menulist;

}



.woocommerce-ordering select.orderby:focus,

.woocommerce-ordering select[name="orderby"]:focus {

    outline: 2px solid #007cba;

    outline-offset: 2px;

}



/* Hide custom select replacements */

.woocommerce-ordering .select2-container,

.woocommerce-ordering .nice-select,

.woocommerce-ordering .custom-select-wrapper,

.woocommerce-ordering select.orderby + *,

.woocommerce-ordering select[name="orderby"] + * {

    display: none !important;

    pointer-events: none !important;

}



.woocommerce-ordering-wrapper ~ .woocommerce-ordering-wrapper,

.woocommerce-ordering ~ .woocommerce-ordering {

    display: none !important;

}



/* ============================================

   DROPDOWN ICON FIX

   ============================================ */



/* Hide duplicate dropdown icon on mobile only */

@media (max-width: 767px) {

    .woocommerce-ordering::after,

    .woocommerce-ordering-wrapper::after,

    .woocommerce-ordering select.orderby::after,

    .woocommerce-ordering select[name="orderby"]::after {

        display: none !important;

    }

}



/* Desktop - ensure native select dropdown visible */

@media (min-width: 768px) {

    .woocommerce-ordering select.orderby,

    .woocommerce-ordering select[name="orderby"] {

        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");

        background-repeat: no-repeat;

        background-position: right 8px center;

        padding-right: 28px;

    }

}



/* ============================================

   RESPONSIVE UTILITIES

   ============================================ */



@media (max-width: 991px) {

    .product-count-bar {

        padding: 1rem;

    }



    .sidebar {

        margin-bottom: 2rem;

    }

}



@media (max-width: 767px) {

    .product-card-header {

        padding: 1rem;

    }



    .container-fluid {

        padding-left: 0.75rem;

        padding-right: 0.75rem;

    }



    .sticky-cart-footer {

        padding: 0.75rem 0;

    }



    .cart-summary {

        font-size: 0.95rem;

    }



    .add-to-basket-btn {

        padding: 0.625rem 1.5rem;

        font-size: 0.95rem;

    }



    .woocommerce-pagination {

        flex-wrap: wrap;

        gap: 0.25rem;

    }



    .woocommerce-pagination a,

    .woocommerce-pagination span {

        padding: 0.4rem 0.6rem;

        font-size: 0.9rem;

    }

}



@media (max-width: 576px) {

    .product-count-bar {

        padding: 0.75rem;

        text-align: center;

    }



    .product-count-bar .col-md-6 {

        width: 100%;

        margin-bottom: 0.5rem;

    }



    .sticky-cart-footer .row {

        flex-direction: column;

        gap: 0.5rem;

    }



    .sticky-cart-footer .col-md-6 {

        width: 100%;

        text-align: center;

    }



    .add-to-basket-btn {

        width: 100%;

    }



    .breadcrumb {

        font-size: 0.9rem;

    }

}

@media (min-width: 767px) {

    .woocommerce-ordering::after {

        display: none !important;

    }

}



@media (max-width: 768px) {

    .woocommerce-ordering select.orderby {

        background-image: url(...) !important;;

    }

}

.rml a{

    color:var(--primary-color) !important;

}



.rml a:hover{

    color:var(--primary-color) !important;

}













/**

 * Single Product Page - Modern Design CSS

 * Version: 2.0.0

 * Matches the screenshot design

 */



/* ============================================

   SINGLE PRODUCT - BASE STYLES

   ============================================ */



.single-product-modern {

    max-width: 1400px;

    margin: 0 auto;

}



/* Breadcrumb */

.single-product-breadcrumb {

    background: transparent;

    padding: 0.75rem 0;

    margin-bottom: 0;

    font-size: 0.9rem;

}



.single-product-breadcrumb .breadcrumb-item {

    color: var(--primary-color, #003366);

}



.single-product-breadcrumb .breadcrumb-item a {

    color: var(--primary-color, #003366);

    text-decoration: none;

    font-weight: 500;

}



.single-product-breadcrumb .breadcrumb-item a:hover {

    text-decoration: underline;

}



.single-product-breadcrumb .breadcrumb-item + .breadcrumb-item::before {

    content: none;

}



.single-product-breadcrumb .bi-chevron-right {

    font-size: 0.7rem;

    color: var(--primary-color, #003366);

    margin: 0 0.5rem;

}



/* Product Title */

.single-product-title {

    font-size: 2.5rem;

    font-weight: 700;

    color: var(--primary-color, #003366);

    margin-bottom: 2rem;

    line-height: 1.2;

}



/* ============================================

   PRODUCT IMAGE SECTION

   ============================================ */



.product-image-container {

    position: relative;

    background: #fff;

    border: 1px solid #e9ecef;

    border-radius: 8px;

    padding: 2rem;

    text-align: center;

}



.product-badge-offer {

    position: absolute;

    top: 20px;

    left: 20px;

    background: #ff0080;

    color: white;

    padding: 0.5rem 1rem;

    border-radius: 50%;

    font-weight: 700;

    font-size: 0.75rem;

    text-transform: uppercase;

    z-index: 10;

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.product-main-image-single {

    max-width: 100%;

    height: auto;

    border-radius: 4px;

}



/* ============================================

   PRODUCT INFO SECTION (MIDDLE)

   ============================================ */



.product-info-main {

    padding-right: 1rem;

}



.product-meta-info {

    margin-bottom: 1.5rem;

}



.meta-row {

    display: flex;

    gap: 0.75rem;

    margin-bottom: 0.75rem;

    font-size: 1rem;

    align-items: center;

}



.meta-label-bold {

    font-weight: 700;

    color: #2c3e50;

    min-width: 60px;

}



.meta-value-primary {

    color: var(--primary-color, #003366);

    font-weight: 600;

}



.meta-value-text {

    color: #495057;

}



/* Rating */

.product-rating-single {

    display: flex;

    align-items: center;

    gap: 1rem;

}



.rating-stars {

    display: flex;

    align-items: center;

}



.review-count-link {

    color: var(--primary-color, #003366);

    text-decoration: none;

    font-size: 0.95rem;

}



.review-count-link:hover {

    text-decoration: underline;

}



/* Short Description */

.product-short-description {

    font-size: 1rem;

    line-height: 1.7;

    color: #495057;

}



.product-short-description p {

    margin-bottom: 1rem;

}



/* Action Links */

.product-action-links-single {

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

}



.action-link-single {

    color: var(--primary-color, #003366);

    text-decoration: underline;

    font-size: 1rem;

    font-weight: 500;

    display: flex;

    align-items: center;

    gap: 0.5rem;

    transition: color 0.2s;

}



.action-link-single:hover {

    color: var(--secondary-color, #0066cc);

}



.action-link-single i {

    font-size: 1.1rem;

}



/* ============================================

   PRICE & PURCHASE BOX (RIGHT)

   ============================================ */



.price-purchase-box {

    background: #e8f5e9;

    border: 1px solid #c8e6c9;

    border-radius: 8px;

    padding: 2rem;

}



/* Size Selector */

.size-selector-section {

    margin-bottom: 1.5rem;

}



.size-label {

    font-size: 1.05rem;

    font-weight: 600;

    color: #2c3e50;

    margin-bottom: 0.5rem;

    display: block;

}



.required-star {

    color: #dc3545;

}



.size-select-dropdown {

    width: 100%;

    padding: 0.75rem 1rem;

    font-size: 1rem;

    border: 1px solid #ced4da;

    border-radius: 6px;

    background: white;

    cursor: pointer;

}



.size-select-dropdown:focus {

    border-color: var(--primary-color, #003366);

    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);

    outline: none;

}



/* Price Display */

.price-display-section {

    text-align: left;

}



.price-from-text {

    font-size: 1rem;

    color: #6c757d;

    margin-bottom: 0.5rem;

}



.price-main-amount {

    display: flex;

    align-items: baseline;

    gap: 0.5rem;

    margin-bottom: 0.5rem;

    flex-wrap: wrap;

}



.price-currency {

    font-size: 2rem;

    font-weight: 700;

    color: var(--primary-color, #003366);

}



.price-value {

    font-size: 3rem;

    font-weight: 700;

    color: var(--primary-color, #003366);

    line-height: 1;

}



.price-suffix {

    font-size: 1rem;

    font-weight: 400;

    color: #6c757d;

}



.price-secondary {

    font-size: 1.1rem;

    color: #6c757d;

}



/* Earn Points */

.earn-points-section {

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.earn-points-text {

    color: #e91e63;

    font-weight: 600;

    font-size: 1rem;

}



.earn-points-info {

    color: #6c757d;

    font-size: 0.9rem;

    cursor: help;

}



/* Quantity Controls - Main */

.quantity-section {

    display: flex;

    justify-content: center;

}



.qty-controls-single {

    display: inline-flex;

    align-items: center;

    gap: 0;

    border: 1px solid #ced4da;

    border-radius: 6px;

    overflow: hidden;

    background: white;

}



.qty-btn-single {

    width: 60px;

    height: 60px;

    background: #8d9db6;

    border: none;

    color: white;

    font-size: 1.5rem;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background 0.2s;

}



.qty-btn-single:hover {

    background: #7a8ba3;

}



.qty-input-single {

    width: 100px;

    height: 60px;

    border: none;

    border-left: 1px solid #ced4da;

    border-right: 1px solid #ced4da;

    text-align: center;

    font-size: 1.5rem;

    font-weight: 600;

    color: #2c3e50;

    background: #e9ecef;

    -moz-appearance: textfield;

}



.qty-input-single::-webkit-inner-spin-button,

.qty-input-single::-webkit-outer-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



.qty-input-single:focus {

    outline: none;

    background: #fff;

}



/* Add to Basket Button */

.btn-add-to-basket-single {

    width: 100%;

    padding: 1rem 2rem;

    background: #4ade80;

    color: white;

    border: none;

    border-radius: 6px;

    font-size: 1.1rem;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s;

}



.btn-add-to-basket-single:hover {

    background: #22c55e;

    transform: translateY(-2px);

    box-shadow: 0 4px 8px rgba(74, 222, 128, 0.3);

}



.btn-add-to-basket-single:active {

    transform: translateY(0);

}



/* Delivery Info Box */

.delivery-info-box {

    background: #d1f4e0;

    border: 1px solid #a7e9c8;

    border-radius: 6px;

    padding: 1.25rem;

}



.delivery-title {

    font-size: 1rem;

    color: #2c3e50;

    margin-bottom: 0.5rem;

}



.delivery-note {

    font-size: 0.95rem;

    color: #495057;

    margin-bottom: 0.75rem;

}



.transport-policy-link {

    color: var(--primary-color, #003366);

    text-decoration: underline;

    font-size: 1rem;

    display: block;

}



.transport-policy-link:hover {

    color: var(--secondary-color, #0066cc);

}



/* ============================================

   VARIATIONS TABLE

   ============================================ */



.variations-table-title {

    font-size: 1.75rem;

    font-weight: 600;

    color: var(--primary-color, #003366);

    margin-bottom: 1.5rem;

}



.variations-table-wrapper-single {

    background: white;

    border: 1px solid #dee2e6;

    border-radius: 8px;

    overflow: hidden;

}



.variations-table-single {

    margin-bottom: 0;

    width: 100%;

}



.variations-table-single thead {

    background: #f8f9fa;

}



.variations-table-single th {

    font-weight: 600;

    font-size: 0.95rem;

    color: #495057;

    padding: 1rem;

    border-bottom: 2px solid #dee2e6;

}



.variations-table-single tbody tr {

    border-bottom: 1px solid #f0f0f0;

    transition: background 0.2s;

}



.variations-table-single tbody tr:hover {

    background: #f8f9fa;

}



.variations-table-single td {

    padding: 1rem;

    vertical-align: middle;

}



.table-price {

    font-weight: 600;

    color: #2c3e50;

}



/* Quantity Controls - Table */

.qty-controls-table-single {

    display: inline-flex;

    align-items: center;

    gap: 0;

    border: 1px solid #ced4da;

    border-radius: 4px;

    overflow: hidden;

}



.qty-btn-table {

    width: 36px;

    height: 36px;

    background: white;

    border: none;

    color: #495057;

    font-size: 1.2rem;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background 0.2s;

}



.qty-btn-table:hover {

    background: #e9ecef;

}



.qty-input-table {

    width: 60px;

    height: 36px;

    border: none;

    border-left: 1px solid #ced4da;

    border-right: 1px solid #ced4da;

    text-align: center;

    font-size: 1rem;

    font-weight: 600;

    -moz-appearance: textfield;

}



.qty-input-table::-webkit-inner-spin-button,

.qty-input-table::-webkit-outer-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



.qty-input-table:focus {

    outline: none;

}



/* Add Button - Table */

.btn-add-variation-single {

    padding: 0.5rem 1.5rem;

    background: var(--primary-color, #003366);

    color: white;

    border: none;

    border-radius: 4px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s;

}



.btn-add-variation-single:hover {

    background: #002347;

}



.btn-add-variation-single:active {

    background: #22c55e;

}



/* ============================================

   RESPONSIVE STYLES

   ============================================ */



@media (max-width: 991px) {

    .single-product-title {

        font-size: 2rem;

    }

    

    .price-value {

        font-size: 2.5rem;

    }

    

    .product-info-main {

        padding-right: 0;

        margin-bottom: 2rem;

    }

    

    .price-purchase-box {

        margin-bottom: 2rem;

    }

}



@media (max-width: 767px) {

    .single-product-title {

        font-size: 1.75rem;

    }

    

    .product-image-container {

        padding: 1rem;

        margin-bottom: 1.5rem;

    }

    

    .product-badge-offer {

        width: 50px;

        height: 50px;

        font-size: 0.65rem;

        top: 10px;

        left: 10px;

    }

    

    .price-purchase-box {

        padding: 1.5rem;

    }

    

    .price-value {

        font-size: 2rem;

    }

    

    .qty-controls-single {

        width: 100%;

    }

    

    .qty-btn-single {

        width: 50px;

        height: 50px;

    }

    

    .qty-input-single {

        width: 80px;

        height: 50px;

        font-size: 1.25rem;

    }

    

    /* Table responsive */

    .variations-table-wrapper-single {

        overflow-x: auto;

    }

    

    .variations-table-single {

        min-width: 700px;

    }

    

    .variations-table-single th,

    .variations-table-single td {

        padding: 0.75rem 0.5rem;

        font-size: 0.9rem;

    }

}



@media (max-width: 575px) {

    .single-product-title {

        font-size: 1.5rem;

    }

    

    .meta-row {

        font-size: 0.9rem;

    }

    

    .price-currency {

        font-size: 1.5rem;

    }

    

    .price-value {

        font-size: 1.75rem;

    }

    

    .qty-btn-single {

        width: 45px;

        height: 45px;

        font-size: 1.25rem;

    }

    

    .qty-input-single {

        width: 70px;

        height: 45px;

        font-size: 1.1rem;

    }

    

    .btn-add-to-basket-single {

        font-size: 1rem;

        padding: 0.875rem 1.5rem;

    }

}



/* ============================================

   PRINT STYLES

   ============================================ */



@media print {

    .product-badge-offer,

    .btn-add-to-basket-single,

    .btn-add-variation-single,

    .qty-controls-single,

    .qty-controls-table-single {

        display: none !important;

    }

    

    .price-purchase-box {

        background: white;

        border: 1px solid #000;

    }

}



/* ============================================

   PRICE BOX STYLES WITH BOOTSTRAP 5

   ============================================ */



/* Price Box Container */

.price-box-container {

    background: #ffffff;

    border: 1px solid #e0e0e0;

    border-radius: 8px;

    padding: 24px;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);

    position: relative;

    overflow: hidden;

}



/* Size Selector */

.price-box-container .form-label {

    font-size: 14px;

    font-weight: 600;

    color: #333;

    margin-bottom: 10px;

    display: block;

    letter-spacing: 0.3px;

}



.price-box-container .form-label .text-danger {

    color: #dc3545;

    font-weight: 700;

}



.price-box-container .form-select {

    border: 1px solid #ddd;

    border-radius: 6px;

    padding: 12px 16px;

    font-size: 15px;

    color: #333;

    background-color: #fff;

    transition: all 0.3s ease;

    width: 100%;

    cursor: pointer;

    font-weight: 500;

}



.price-box-container .form-select:focus {

    border-color: #007bff;

    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15);

    outline: none;

}



.price-box-container .form-select option {

    padding: 10px;

    font-weight: 500;

}



/* Price Display Section */

.price-display-section {

    margin: 24px 0;

    padding: 20px 0;

    border-top: 1px dashed #e0e0e0;

    border-bottom: 1px dashed #e0e0e0;

}



.from-text {

    font-size: 11px;

    color: #666;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    margin-bottom: 6px;

    font-weight: 700;

}



.main-price-value {

    font-size: 32px;

    font-weight: 800;

    color: #2c3e50;

    line-height: 1.1;

    margin-bottom: 4px;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

}



.main-price-value .price-suffix {

    font-size: 12px;

    font-weight: 500;

    color: #7f8c8d;

    margin-left: 6px;

    vertical-align: middle;

}



.secondary-price {

    font-size: 17px;

    color: #7f8c8d;

    font-weight: 600;

}



.secondary-price .price-suffix {

    font-size: 12px;

    color: #95a5a6;

    margin-left: 5px;

    font-weight: 500;

}



/* Quantity Section */

.quantity-add-section {

    margin-top: 24px;

}



.qty-controls-wrapper {

    border: 1px solid #ddd;

    border-radius: 6px;

    overflow: hidden;

    margin-bottom: 20px;

    background: #fff;

    width: 100%;

    max-width: 200px;

}



/* Quantity buttons */

.qty-controls-wrapper .btn {

    width: 45px;

    height: 45px;

    border: none;

    background: #f8f9fa;

    color: #333;

    font-size: 22px;

    font-weight: 400;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    transition: all 0.2s ease;

}



.qty-controls-wrapper .btn:hover {

    background: #e9ecef;

    color: #333;

}



.qty-controls-wrapper .btn:active {

    background: #dee2e6;

    transform: translateY(0);

}



/* First button (minus) */

.qty-controls-wrapper .btn:first-child {

    border-right: 1px solid #ddd;

}



/* Last button (plus) */

.qty-controls-wrapper .btn:last-child {

    border-left: 1px solid #ddd;

}



/* Input field */

.qty-controls-wrapper .form-control {

    border: none;

    border-left: 1px solid #ddd;

    border-right: 1px solid #ddd;

    font-size: 16px;

    font-weight: 600;

    color: #333;

    height: 45px;

    max-width: 90px;

    text-align: center;

    padding: 0 5px;

    background: #fff;

}



/* Remove spin buttons */

.qty-controls-wrapper .form-control::-webkit-outer-spin-button,

.qty-controls-wrapper .form-control::-webkit-inner-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



.qty-controls-wrapper .form-control {

    -moz-appearance: textfield;

}



.qty-controls-wrapper .form-control:focus {

    box-shadow: none;

    border-color: #ddd;

    background: #fff;

}



/* Add to Basket Button */

.btn-add-to-basket {

    width: 100%;

    padding: 16px 24px;

    background: linear-gradient(135deg, #28a745 0%, #218838 100%);

    color: white;

    border: none;

    border-radius: 6px;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 14px;

    letter-spacing: 0.3px;

    text-transform: uppercase;

}



.btn-add-to-basket:hover {

    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.25);

}



.btn-add-to-basket:active {

    transform: translateY(0);

    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);

}



.btn-add-to-basket i {

    font-size: 20px;

    margin-right: 10px;

}



/* Wishlist Button */

.btn-create-wishlist {

    width: 100%;

    padding: 16px 24px;

    background: #fff;

    color: #6c757d;

    border: 2px solid #e0e0e0;

    border-radius: 6px;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    letter-spacing: 0.3px;

    text-transform: uppercase;

}



.btn-create-wishlist:hover {

    background: #f8f9fa;

    border-color: #adb5bd;

    color: #495057;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}



.btn-create-wishlist:active {

    transform: translateY(0);

    background: #e9ecef;

}



.btn-create-wishlist i {

    font-size: 20px;

    margin-right: 10px;

    color: #dc3545;

}



/* Responsive Adjustments */

@media (max-width: 992px) {

    .price-box-container {

        margin-top: 20px;

        padding: 20px;

    }

    

    .main-price-value {

        font-size: 28px;

    }

    

    .secondary-price {

        font-size: 15px;

    }

}



@media (max-width: 768px) {

    .price-box-container {

        padding: 18px;

    }

    

    .main-price-value {

        font-size: 26px;

    }

    

    .from-text {

        font-size: 10px;

    }

    

    .qty-controls-wrapper {

        max-width: 180px;

    }

    

    .qty-controls-wrapper .btn {

        width: 40px;

        height: 40px;

        font-size: 20px;

    }

    

    .qty-controls-wrapper .form-control {

        height: 40px;

        font-size: 15px;

    }

    

    .btn-add-to-basket,

    .btn-create-wishlist {

        padding: 14px 20px;

        font-size: 16px;

    }

}



@media (max-width: 576px) {

    .qty-controls-wrapper {

        max-width: 160px;

        margin-left: auto;

        margin-right: auto;

    }

    

    .qty-controls-wrapper .btn {

        width: 38px;

        height: 38px;

        font-size: 18px;

    }

    

    .qty-controls-wrapper .form-control {

        height: 38px;

        max-width: 70px;

        font-size: 14px;

    }

}



/* Loading states */

.btn-add-to-basket.loading,

.btn-create-wishlist.loading {

    position: relative;

    color: transparent !important;

    pointer-events: none;

}



.btn-add-to-basket.loading:after,

.btn-create-wishlist.loading:after {

    content: '';

    position: absolute;

    width: 22px;

    height: 22px;

    border: 3px solid rgba(255, 255, 255, 0.3);

    border-radius: 50%;

    border-top-color: #fff;

    animation: spin 0.8s linear infinite;

}



.btn-create-wishlist.loading:after {

    border: 3px solid rgba(108, 117, 125, 0.3);

    border-top-color: #6c757d;

}



@keyframes spin {

    to { transform: rotate(360deg); }

}



/* Success/Error feedback */

.btn-add-to-basket.success {

    background: linear-gradient(135deg, #28a745 0%, #218838 100%);

}



.btn-add-to-basket.error {

    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);

}



/* Disabled states */

.price-box-container [disabled],

.price-box-container .disabled {

    opacity: 0.6;

    cursor: not-allowed;

    pointer-events: none;

}



/* Stock status indicator */

.stock-status {

    font-size: 14px;

    font-weight: 500;

    margin-top: 10px;

    padding: 8px 12px;

    border-radius: 4px;

    background: #f8f9fa;

    border-left: 4px solid #28a745;

}



.stock-status.out-of-stock {

    border-left-color: #dc3545;

    color: #721c24;

    background: #f8d7da;

}





/* ============================================

   PRODUCT OPTIONS TABLE - MODERN DESIGN

   ============================================ */



.product-options-section {

    margin: 40px 0;

    padding: 30px;

    background: #fff;

    border-radius: 8px;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);

    border: 1px solid #e9ecef;

}



.product-options-heading {

    font-size: 24px;

    font-weight: 700;

    color: #2c3e50;

    margin-bottom: 25px;

    padding-bottom: 15px;

    border-bottom: 2px solid #e9ecef;

    text-align: center;

}



/* Desktop Table Styling */

.product-options-table {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0;

    border: 1px solid #e0e0e0;

    border-radius: 8px;

    overflow: hidden;

    margin-bottom: 20px;

}



.product-options-table thead {

    background: #f8f9fa;

}



.product-options-table thead th {

    padding: 18px 16px;

    font-weight: 600;

    color: #495057;

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    border-bottom: 2px solid #e0e0e0;

    white-space: nowrap;

}



.product-options-table tbody tr {

    transition: all 0.2s ease;

    border-bottom: 1px solid #f0f0f0;

}



.product-options-table tbody tr:last-child {

    border-bottom: none;

}



.product-options-table tbody tr:hover {

    background-color: #fafafa;

}



.product-options-table tbody td {

    padding: 20px 16px;

    vertical-align: middle;

    border-top: 1px solid #f0f0f0;

    font-size: 14px;

}



/* Cell Specific Styles */

.product-options-table .sku-cell {

    font-weight: 700;

    color: #2c3e50;

    font-family: 'Courier New', monospace;

    background: #f8f9fa;

    border-right: 1px solid #e9ecef;

}



.product-options-table .size-cell {

    color: #495057;

    font-weight: 500;

    padding-left: 20px;

}



.product-options-table .availability-cell .badge {

    font-size: 12px;

    padding: 6px 14px;

    border-radius: 20px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



.product-options-table .availability-cell .badge-success {

    background: linear-gradient(135deg, #28a745 0%, #218838 100%);

    color: white;

    border: none;

}



.product-options-table .price-cell {

    text-align: right;

    padding-right: 25px;

}



.price-display-cell {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

}



.price-amount-main {

    font-size: 18px;

    font-weight: 700;

    color: #2c3e50;

    margin-bottom: 2px;

}



.price-tax-label {

    font-size: 12px;

    color: #6c757d;

    font-weight: 500;

}



/* Quantity Controls */

.quantity-control-cell {

    min-width: 160px;

}



.qty-control-compact {

    display: flex;

    align-items: center;

    justify-content: center;

    max-width: 140px;

    margin: 0 auto;

    border: 1px solid #dee2e6;

    border-radius: 6px;

    overflow: hidden;

    background: #fff;

}



.qty-btn-compact {

    width: 40px;

    height: 40px;

    background: #f8f9fa;

    border: none;

    color: #495057;

    font-size: 18px;

    font-weight: 500;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    transition: all 0.2s ease;

    cursor: pointer;

}



.qty-btn-compact:hover {

    background: #e9ecef;

}



.qty-btn-compact:first-child {

    border-right: 1px solid #dee2e6;

}



.qty-btn-compact:last-child {

    border-left: 1px solid #dee2e6;

}



.qty-input-compact {

    width: 60px;

    height: 40px;

    border: none;

    text-align: center;

    font-size: 15px;

    font-weight: 600;

    color: #495057;

    padding: 0 5px;

    background: #fff;

    -moz-appearance: textfield;

}



.qty-input-compact::-webkit-outer-spin-button,

.qty-input-compact::-webkit-inner-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



.qty-input-compact:focus {

    outline: none;

    box-shadow: none;

}



/* Add Button */

.action-cell {

    min-width: 120px;

}



.btn-add-option {

    width: 100%;

    max-width: 120px;

    padding: 12px 20px;

    background: linear-gradient(135deg, #28a745 0%, #218838 100%);

    color: white;

    border: none;

    border-radius: 6px;

    font-size: 14px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition: all 0.3s ease;

    display: block;

    margin: 0 auto;

}



.btn-add-option:hover {

    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);

}



.btn-add-option:active {

    transform: translateY(0);

}



.btn-add-option:disabled {

    opacity: 0.6;

    cursor: not-allowed;

    transform: none;

}



/* Stock status variations */

.out-of-stock-row {

    opacity: 0.7;

    background-color: #f8f9fa;

}



.out-of-stock-row:hover {

    background-color: #f1f3f4;

}



.out-of-stock-badge {

    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;

    color: white !important;

}



/* ============================================

   MOBILE CARDS VIEW (Your PHP already has this structure)

   ============================================ */



.product-options-mobile-cards {

    display: none; /* Hidden by default, shown on mobile */

}



.option-card {

    background: #fff;

    border: 1px solid #e0e0e0;

    border-radius: 12px;

    padding: 20px;

    margin-bottom: 20px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;

}



.option-card:hover {

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    transform: translateY(-2px);

}



.option-card-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 2px solid #f0f0f0;

}



.option-card-sku {

    font-weight: 800;

    color: #2c3e50;

    font-size: 18px;

    font-family: 'Courier New', monospace;

    letter-spacing: 0.5px;

}



.option-card-size {

    color: #495057;

    font-weight: 600;

    font-size: 15px;

    text-align: right;

    background: #f8f9fa;

    padding: 6px 12px;

    border-radius: 6px;

    border: 1px solid #e9ecef;

}



.option-card-details {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-bottom: 20px;

}



.option-card-info {

    display: flex;

    flex-direction: column;

    padding: 15px;

    background: #f8f9fa;

    border-radius: 8px;

    border: 1px solid #e9ecef;

}



.info-label {

    font-size: 11px;

    color: #6c757d;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-weight: 700;

    margin-bottom: 8px;

}



.info-value {

    font-size: 15px;

    font-weight: 700;

    color: #2c3e50;

    line-height: 1.4;

}



/* Availability badge in mobile */

.info-value .badge {

    font-size: 12px;

    padding: 8px 16px;

    border-radius: 20px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    display: inline-block;

    margin-top: 5px;

}



/* Price styling in mobile */

.info-value .text-muted {

    font-size: 12px;

    font-weight: 500;

    margin-left: 5px;

    color: #6c757d !important;

}



.option-card-footer {

    display: flex;

    flex-direction: column;

    gap: 15px;

    padding-top: 20px;

    border-top: 2px solid #f0f0f0;

}



.mobile-qty-controls {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-bottom: 10px;

}



.mobile-qty-label {

    font-size: 14px;

    font-weight: 700;

    color: #495057;

    margin-bottom: 8px;

    display: block;

}



.mobile-qty-wrapper {

    display: flex;

    align-items: center;

    justify-content: center;

    border: 2px solid #dee2e6;

    border-radius: 8px;

    overflow: hidden;

    background: #fff;

    max-width: 200px;

    margin: 0 auto;

}



.mobile-qty-btn {

    width: 45px;

    height: 45px;

    background: #f8f9fa;

    border: none;

    color: #495057;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    font-weight: 600;

    padding: 0;

    transition: all 0.2s ease;

}



.mobile-qty-btn:hover {

    background: #e9ecef;

}



.mobile-qty-btn:first-child {

    border-right: 2px solid #dee2e6;

}



.mobile-qty-btn:last-child {

    border-left: 2px solid #dee2e6;

}



.mobile-qty-input {

    width: 70px;

    height: 45px;

    border: none;

    text-align: center;

    font-size: 16px;

    font-weight: 700;

    color: #2c3e50;

    padding: 0 5px;

    background: #fff;

    -moz-appearance: textfield;

}



.mobile-qty-input::-webkit-outer-spin-button,

.mobile-qty-input::-webkit-inner-spin-button {

    -webkit-appearance: none;

    margin: 0;

}



.mobile-qty-input:focus {

    outline: none;

    box-shadow: none;

}



.mobile-add-btn {

    padding: 16px 30px;

    background: linear-gradient(135deg, #28a745 0%, #218838 100%);

    color: white;

    border: none;

    border-radius: 8px;

    font-size: 16px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: all 0.3s ease;

    display: block;

    width: 100%;

    max-width: 200px;

    margin: 0 auto;

}



.mobile-add-btn:hover {

    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.25);

}



.mobile-add-btn:active {

    transform: translateY(0);

}



.mobile-add-btn:disabled {

    opacity: 0.6;

    cursor: not-allowed;

    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);

    transform: none;

    box-shadow: none;

}



/* ============================================

   RESPONSIVE DESIGN

   ============================================ */



/* Hide desktop table and show mobile cards on mobile */

@media (max-width: 768px) {

    .product-options-section {

        padding: 20px;

        margin: 30px 0;

    }

    

    .product-options-heading {

        font-size: 22px;

        margin-bottom: 20px;

    }

    

    /* Hide desktop table */

    .d-none.d-md-block {

        display: none !important;

    }

    

    /* Show mobile cards */

    .product-options-mobile-cards {

        display: block !important;

    }

}



/* Tablet adjustments */

@media (min-width: 577px) and (max-width: 768px) {

    .option-card-details {

        grid-template-columns: 1fr 1fr;

    }

    

    .option-card-footer {

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

    }

    

    .mobile-qty-controls {

        flex-direction: row;

        align-items: center;

        margin-bottom: 0;

    }

    

    .mobile-qty-label {

        margin-bottom: 0;

        margin-right: 15px;

    }

    

    .mobile-add-btn {

        max-width: 150px;

        margin: 0;

    }

}



/* Phone adjustments */

@media (max-width: 576px) {

    .product-options-section {

        padding: 15px;

    }

    

    .option-card {

        padding: 15px;

    }

    

    .option-card-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

    }

    

    .option-card-sku {

        font-size: 16px;

    }

    

    .option-card-size {

        align-self: flex-start;

        font-size: 14px;

    }

    

    .option-card-details {

        grid-template-columns: 1fr;

        gap: 15px;

    }

    

    .option-card-info {

        padding: 12px;

    }

    

    .info-label {

        font-size: 10px;

    }

    

    .info-value {

        font-size: 14px;

    }

    

    .mobile-qty-wrapper {

        max-width: 180px;

    }

    

    .mobile-qty-btn {

        width: 40px;

        height: 40px;

        font-size: 18px;

    }

    

    .mobile-qty-input {

        width: 60px;

        height: 40px;

        font-size: 15px;

    }

    

    .mobile-add-btn {

        padding: 14px 20px;

        font-size: 15px;

    }

}



/* Very small phones */

@media (max-width: 375px) {

    .option-card {

        padding: 12px;

    }

    

    .option-card-header {

        margin-bottom: 15px;

        padding-bottom: 10px;

    }

    

    .option-card-details {

        gap: 12px;

        margin-bottom: 15px;

    }

    

    .option-card-info {

        padding: 10px;

    }

    

    .mobile-qty-wrapper {

        max-width: 160px;

    }

    

    .mobile-qty-btn {

        width: 35px;

        height: 35px;

        font-size: 16px;

    }

    

    .mobile-qty-input {

        width: 50px;

        height: 35px;

        font-size: 14px;

    }

    

    .mobile-add-btn {

        padding: 12px 16px;

        font-size: 14px;

    }

}



/* Desktop adjustments */

@media (min-width: 769px) {

    .product-options-mobile-cards {

        display: none !important;

    }

    

    .d-none.d-md-block {

        display: block !important;

    }

}



/* Print styles */

@media print {

    .product-options-mobile-cards {

        display: none;

    }

    

    .d-none.d-md-block {

        display: block !important;

    }

    

    .product-options-table {

        border: 1px solid #000;

    }

    

    .btn-add-option,

    .mobile-add-btn {

        border: 1px solid #000;

        background: #fff !important;

        color: #000 !important;

    }

}









/* Wishlist Popup Styling */

.wishlist-popup {

    width: 380px;

    max-width: 90vw;

}



.wishlist-items {

    max-height: 400px;

    overflow-y: auto;
    padding: 10px;

}



.wishlist-item {

    transition: background-color 0.2s;

}



.wishlist-item:hover {

    background-color: #f8f9fa;

}



.wishlist-item a:hover {

    color: #0066cc !important;

}



.wishlist-item img {

    width: 60px;

    height: 60px;

    object-fit: cover;

    border-radius: 4px;

}



/* Custom scrollbar */

.wishlist-items::-webkit-scrollbar {

    width: 5px;

}



.wishlist-items::-webkit-scrollbar-track {

    background: #f1f1f1;

}



.wishlist-items::-webkit-scrollbar-thumb {

    background: #888;

    border-radius: 5px;

}



.wishlist-items::-webkit-scrollbar-thumb:hover {

    background: #555;

}





/* ===============================================

   WISHLIST HEART ICON POSITIONING FIX

   =============================================== */



/* Fix heart icon positioning on product cards */



/* Container for the heart icon - position relative for absolute positioning */

.product-card-header,

.product-item-card,

[class*="product-card"] {

    position: relative !important;

}



/* Heart icon button positioning */

.wishlist-btn,

.product-card-header .wishlist-btn,

button[class*="wishlist"][class*="btn"] {



    top: -8px !important;

    right: 36px !important;

    z-index: 10 !important;

    

    /* Style */

    width: 40px !important;

    height: 40px !important;

    border-radius: 50% !important;

    background-color: white !important;

    border: none !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;

    

    /* Icon */

    color: #666 !important;

    font-size: 18px !important;

    padding: 0 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    

    /* Animation */

    transition: all 0.3s ease !important;

}



/* Hover effect */

.wishlist-btn:hover,

button[class*="wishlist"][class*="btn"]:hover {

    background-color: #f0f0f0 !important;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;

}



/* Active/Filled state */

.wishlist-btn.active,

.wishlist-btn.active i,

button[class*="wishlist"][class*="btn"].active {

    color: #e74c3c !important;

}



.wishlist-btn.active i.bi-heart-fill,

.wishlist-btn i.bi-heart-fill {

    color: #e74c3c !important;

}



/* Product image container - ensure it's not overlapped */

.product-image,

.product-thumbnail,

[class*="product-image"] {

    position: relative !important;

    z-index: 1 !important;

}



/* Ensure the image wrapper allows the icon to be positioned outside */

.col-auto [class*="product-image"],

.col-auto img,

.product-card-header img,

.product-item-card img {

    display: block !important;

    position: relative !important;

}



/* Fix for specific theme structure */

.product-card-header {

    position: relative !important;

    overflow: visible !important;

}



.product-card-header::before {

    content: '' !important;

    position: absolute !important;

    top: 0 !important;

    right: 0 !important;

    width: 50px !important;

    height: 50px !important;

    z-index: 5 !important;

    pointer-events: none !important;

}



/* Alternative positioning if using different structure */

.d-block.position-relative {

    position: relative !important;

    overflow: visible !important;

}



.d-block.position-relative .wishlist-btn {

    position: absolute !important;

    top: -8px !important;

    right: -8px !important;

}

.wishlist-footer {

    display: none !important;

}


/* STICKY CART FOOTER */
.sticky-cart-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #e9ecef;
    padding: 15px 0;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: none;
}

.sticky-cart-footer.active {
    display: block;
}

.add-to-basket-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
}

.add-to-basket-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}



/* Variation Description Link with Tooltip Below */
.variation-description-link.css-tooltip-bottom {
    position: relative;
    display: inline-block;
    color: #0066c0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.variation-description-link.css-tooltip-bottom:hover {
    color: #c7511f;
}

/* Tooltip box (appears BELOW the text on hover) */
.variation-description-link.css-tooltip-bottom::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%; /* Position below instead of above */
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #232f3e;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border: 1px solid #37475a;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 4px;
}

.variation-description-link.css-tooltip-bottom:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}

/* Tooltip arrow (points UP since tooltip is below) */
.variation-description-link.css-tooltip-bottom::before {
    content: '';
    position: absolute;
    top: 100%; /* Arrow at top edge of tooltip */
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #232f3e; /* Points UP */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.variation-description-link.css-tooltip-bottom:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .variation-description-link.css-tooltip-bottom::after {
        font-size: 12px;
        padding: 6px 10px;
        max-width: 250px;
        white-space: normal;
    }
}

/* Mobile touch support */
@media (hover: none) and (pointer: coarse) {
    .variation-description-link.css-tooltip-bottom:active::after,
    .variation-description-link.css-tooltip-bottom:active::before {
        opacity: 1;
    }
}








/**
 * CORRECTED TABLE STYLING
 * Matches the reference design image
 * Version: 2.0.0
 */

/* ========================================
   PRODUCT OPTIONS TABLE - CORRECTED DESIGN
   ======================================== */

.variations-table-single-corrected {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    margin-bottom: 2rem;
}

/* Table Header */
.variations-table-single-corrected thead {
    background-color: #f8f9fa;
}

.variations-table-single-corrected thead tr {
    border-bottom: 1px solid #dee2e6;
}

.variations-table-single-corrected thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

/* Table Body */
.variations-table-single-corrected tbody tr {
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s ease;
}

.variations-table-single-corrected tbody tr.bg-light {
    background-color: #f8f9fa;
}

.variations-table-single-corrected tbody tr:hover {
    background-color: #f0f0f0;
}

.variations-table-single-corrected tbody tr.out-of-stock-row {
    opacity: 0.7;
}

/* Table Data Cells */
.variations-table-single-corrected tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border: none;
    font-size: 14px;
}

/* Column Widths */
.variations-table-single-corrected .col-sku {
    width: 12%;
}

.variations-table-single-corrected .col-description {
    width: 35%;
}

.variations-table-single-corrected .col-status {
    width: 15%;
}

.variations-table-single-corrected .col-price {
    width: 22%;
}

.variations-table-single-corrected .col-qty {
    width: 10%;
    text-align: center;
}

.variations-table-single-corrected .col-action {
    width: 6%;
    text-align: center;
}

/* SKU Column */
.variations-table-single-corrected .sku-value {
    color: #003366;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Description Column */
.variations-table-single-corrected .variation-desc {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.variations-table-single-corrected a {
    color: #0066cc;
    text-decoration: none;
}

.variations-table-single-corrected a:hover {
    text-decoration: underline;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.status-in-stock {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-out-of-stock {
    background-color: #ffebee;
    color: #c62828;
}

/* Price Column */
.variations-table-single-corrected .price-amount {
    display: block;
    font-size: 16px;
    color: #003366;
    margin-bottom: 0.25rem;
}

.variations-table-single-corrected .price-tax-info {
    display: block;
    font-size: 11px;
    color: #666;
    font-weight: normal;
}

/* Quantity Input */
.qty-input-inline {
    width: 70px;
    height: 38px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.qty-input-inline:focus {
    border-color: #003366;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

/* Add Button */
.btn-add-individual {
    background-color: #003366;
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.btn-add-individual:hover:not(:disabled) {
    background-color: #002244;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
}

.btn-add-individual:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 51, 102, 0.2);
}

.btn-add-individual:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Success state after adding */
.btn-add-individual.btn-success {
    background-color: #28a745;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .variations-table-single-corrected .col-sku {
        width: 14%;
    }
    
    .variations-table-single-corrected .col-description {
        width: 32%;
    }
    
    .variations-table-single-corrected .col-status {
        width: 14%;
    }
    
    .variations-table-single-corrected .col-price {
        width: 20%;
    }
    
    .variations-table-single-corrected .col-qty {
        width: 10%;
    }
    
    .variations-table-single-corrected .col-action {
        width: 10%;
    }
}

@media (max-width: 768px) {
    /* Stack table on mobile */
    .table-responsive {
        font-size: 12px;
    }
    
    .variations-table-single-corrected thead {
        display: none;
    }
    
    .variations-table-single-corrected tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #dee2e6;
        margin-bottom: 1rem;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .variations-table-single-corrected tbody td {
        display: grid;
        grid-template-columns: 100px 1fr;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
    }
    
    .variations-table-single-corrected tbody td:last-child {
        border-bottom: none;
    }
    
    .variations-table-single-corrected tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        font-size: 12px;
        text-transform: uppercase;
        margin-right: 0.5rem;
    }
    
    /* Column specific mobile styling */
    .variations-table-single-corrected .col-sku::before { content: "SKU"; }
    .variations-table-single-corrected .col-description::before { content: "Description"; }
    .variations-table-single-corrected .col-status::before { content: "Status"; }
    .variations-table-single-corrected .col-price::before { content: "Price"; }
    .variations-table-single-corrected .col-qty::before { content: "Qty"; }
    .variations-table-single-corrected .col-action::before { content: "Action"; }
}

@media (max-width: 480px) {
    .variations-table-single-corrected {
        margin-bottom: 1rem;
    }
    
    .variations-table-single-corrected tbody td {
        padding: 0.6rem 0.75rem;
        grid-template-columns: 70px 1fr;
    }
    
    .qty-input-inline {
        width: 60px;
        height: 34px;
        font-size: 12px;
    }
    
    .btn-add-individual {
        padding: 0.4rem 0.8rem;
        font-size: 11px;
        min-width: 60px;
    }
}

/* ========================================
   SECTION TITLE STYLING
   ======================================== */

.product-options-section {
    margin-top: 3rem;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

/* ========================================
   ACCESSIBILITY & PRINT
   ======================================== */

@media print {
    .variations-table-single-corrected .col-action {
        display: none;
    }
    
    .btn-add-individual {
        display: none;
    }
}

/* Accessibility - Focus states */
.variations-table-single-corrected tbody td:focus-within {
    background-color: rgba(0, 51, 102, 0.05);
}

.qty-input-inline:focus-visible,
.btn-add-individual:focus-visible {
    outline: 2px solid #003366;
    outline-offset: 2px;
}


/* Product Options Table Styling */
.product-options-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.variations-table-single {
    background: white;
}

.variations-table-single thead th {
    background-color: #e9ecef;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.variations-table-single tbody tr {
    transition: background-color 0.2s;
}

.variations-table-single tbody tr:hover {
    background-color: #f8f9fa;
}

.qty-controls-inline {
    border-radius: 4px;
    overflow: hidden;
}

.qty-controls-inline .btn {
    border-radius: 0;
    padding: 0.25rem 0.5rem;
}

.qty-controls-inline .form-control {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

/* Product Tabs Styling */
.product-tabs-section .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.product-tabs-section .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.3s;
}

.product-tabs-section .nav-tabs .nav-link:hover {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

.product-tabs-section .nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background: transparent;
}

.product-tabs-section .tab-content {
    background: white;
    min-height: 200px;
}

/* OUT OF STOCK NOTIFICATION STYLING */
.out-of-stock-notification {
    margin-top: 20px;
}

.est-delivery-box {
    background-color: #e8f4f8;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.est-delivery-box strong {
    display: block;
    color: #1a3a52;
    font-size: 16px;
    margin-bottom: 5px;
}

.est-delivery-box p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.back-in-stock-box {
    background-color: #fce4ec;
    padding: 20px;
    border-radius: 4px;
}

.back-in-stock-box h5 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 10px;
}

.back-in-stock-box p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.notify-form .form-control {
    border-radius: 4px;
    padding: 10px 15px;
}

.notify-form .form-check {
    font-size: 14px;
}

.btn-notify {
    background-color: #e91e63;
    color: white;
    border: none;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-notify:hover {
    background-color: #c2185b;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-options-section {
        padding: 15px;
    }
    
    .variations-table-single {
        font-size: 14px;
    }
    
    .product-tabs-section .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 14px;
    }
}




/* ============================================
   ATTRIBUTE SELECTORS STYLING
   ============================================ */

.form-group-attribute {
    margin-bottom: 1rem;
}

.form-label-attribute {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0.5rem;
    display: block;
    color: #333;
}

.form-label-attribute .required-asterisk {
    color: #dc3545;
    margin-left: 2px;
}

.variation-attribute-selector {
    font-size: 15px;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variation-attribute-selector:hover {
    border-color: #999;
}

.variation-attribute-selector:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
    outline: none;
}

.variation-attribute-selector option {
    padding: 0.5rem;
}

#variation-message {
    font-size: 13px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    color: #004085;
}










/* ============================================
   VARIATION TABLE FILTER - VISUAL ENHANCEMENTS
   ============================================ */

/* Highlighted Active Row (Exact Match) */
.variation-row-table-corrected.table-active {
    background-color: #fff3cd !important;
    border-left: 3px solid #ffc107;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}

.variation-row-table-corrected.table-active .sku-value {
    color: #856404;
    font-weight: bold;
}

.variation-row-table-corrected.table-active .variation-desc {
    color: #212529;
    font-weight: 600;
}

/* Smooth transitions for show/hide */
.variation-row-table-corrected {
    transition: all 0.2s ease-in-out;
}

/* Fade effect when hiding */
.variation-row-table-corrected[style*="display: none"] {
    opacity: 0;
    transform: scale(0.98);
}

/* Hover effect on visible rows */
.variation-row-table-corrected:not([style*="display: none"]):hover {
    background-color: #f8f9fa;
}

.variation-row-table-corrected.table-active:hover {
    background-color: #ffeaa7 !important;
}

/* ============================================
   TABLE ENHANCEMENTS
   ============================================ */

/* Add subtle animation when table is filtered */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.variation-row-table-corrected:not([style*="display: none"]) {
    animation: fadeIn 0.3s ease-out;
}

/* Loading state (optional - for future use) */
.variations-table-single-corrected.filtering {
    opacity: 0.6;
    pointer-events: none;
}

.variations-table-single-corrected.filtering::after {
    content: "Filtering...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    color: #495057;
}

/* Empty state when no rows match */
.variations-table-single-corrected.no-results::after {
    content: "No variations match the selected options";
    display: block;
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */

@media (max-width: 768px) {
    /* Make highlighted row more obvious on mobile */
    .variation-row-table-corrected.table-active {
        border-left-width: 5px;
    }
    
    /* Slightly faster animations on mobile */
    .variation-row-table-corrected {
        transition-duration: 0.15s;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus states for keyboard navigation */
.variation-row-table-corrected:focus-within {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .variation-row-table-corrected.table-active {
        background-color: #ffeb3b !important;
        border-left-color: #f57c00;
        border-left-width: 4px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .variation-row-table-corrected,
    .variation-row-table-corrected:not([style*="display: none"]) {
        animation: none;
        transition: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    /* Hide non-matching rows when printing */
    .variation-row-table-corrected[style*="display: none"] {
        display: none !important;
    }
    
    /* Remove highlight background for better print quality */
    .variation-row-table-corrected.table-active {
        background-color: transparent !important;
        border-left: 2px solid #000;
    }
}






/**
 * DYNAMIC ATTRIBUTE COLUMNS - Additional CSS Styles
 * Add this to your plugin-style.css file or create a new CSS file
 * 
 * Version: 3.0.0
 */

/* ============================================
   PRODUCT OPTIONS TABLE - Dynamic Attributes
   ============================================ */

.variations-table-dynamic-attrs {
    font-size: 14px;
    border-collapse: separate;
    border-spacing: 0;
}

.variations-table-dynamic-attrs thead {
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.variations-table-dynamic-attrs thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 12px 8px;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
    text-align: left;
}

/* Column-specific widths */
.variations-table-dynamic-attrs .col-sku {
    min-width: 100px;
    width: 12%;
}

.variations-table-dynamic-attrs .col-attribute {
    min-width: 90px;
    width: auto;
    text-align: center;
}

.variations-table-dynamic-attrs .col-status {
    min-width: 100px;
    width: 12%;
    text-align: center;
}

.variations-table-dynamic-attrs .col-price {
    min-width: 120px;
    width: 15%;
    text-align: right;
}

.variations-table-dynamic-attrs .col-qty {
    min-width: 80px;
    width: 10%;
    text-align: center;
}

.variations-table-dynamic-attrs .col-action {
    min-width: 80px;
    width: 10%;
    text-align: center;
}

/* Table body styling */
.variations-table-dynamic-attrs tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.variations-table-dynamic-attrs tbody tr:hover {
    background-color: #f1f3f5 !important;
}

.variations-table-dynamic-attrs tbody td {
    padding: 12px 8px;
    vertical-align: middle;
}

/* SKU column */
.variations-table-dynamic-attrs .sku-value {
    font-weight: 600;
    color: #0066cc;
    font-size: 13px;
}

.variations-table-dynamic-attrs .sku-value:hover {
    text-decoration: underline;
}

/* Attribute value columns */
.variations-table-dynamic-attrs .col-attribute {
    font-size: 13px;
    color: #495057;
}

.variations-table-dynamic-attrs .col-attribute a {
    display: block;
    padding: 4px;
}

.variations-table-dynamic-attrs .col-attribute a:hover {
    background-color: rgba(0, 102, 204, 0.05);
    border-radius: 4px;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-in-stock {
    background-color: #d4edda;
    color: #155724;
}

.status-out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
}

/* Price column */
.variations-table-dynamic-attrs .price-amount {
    display: block;
    font-size: 16px;
    color: #212529;
    margin-bottom: 2px;
}

.variations-table-dynamic-attrs .price-tax-info {
    display: block;
    font-size: 11px;
    color: #6c757d;
}

/* Quantity input */
.variations-table-dynamic-attrs .qty-input-inline {
    width: 60px;
    padding: 4px 8px;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
    margin: 0 auto;
}

.variations-table-dynamic-attrs .qty-input-inline:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
    outline: none;
}

/* Add button */
.variations-table-dynamic-attrs .btn-add-individual {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variations-table-dynamic-attrs .btn-add-individual:hover {
    background-color: #449d44;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.variations-table-dynamic-attrs .btn-add-individual:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Out of stock row styling */
.variations-table-dynamic-attrs .out-of-stock-row {
    opacity: 0.6;
}

.variations-table-dynamic-attrs .out-of-stock-row td {
    color: #6c757d;
}

/* Responsive table adjustments */
@media (max-width: 1200px) {
    .variations-table-dynamic-attrs {
        font-size: 13px;
    }
    
    .variations-table-dynamic-attrs .col-attribute {
        min-width: 80px;
    }
    
    .variations-table-dynamic-attrs thead th {
        padding: 10px 6px;
        font-size: 11px;
    }
    
    .variations-table-dynamic-attrs tbody td {
        padding: 10px 6px;
    }
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .variations-table-dynamic-attrs {
        min-width: 800px;
    }
    
    .variations-table-dynamic-attrs .col-attribute {
        font-size: 12px;
    }
}

/* Highlight active variation from URL */
.variations-table-dynamic-attrs .table-active {
    background-color: #fff3cd !important;
    border-left: 3px solid #ffc107;
}

.variations-table-dynamic-attrs .table-active td {
    font-weight: 600;
}

/* Loading state */
.variations-table-dynamic-attrs .loading {
    position: relative;
}

.variations-table-dynamic-attrs .loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   TABLE FILTER STYLING
   ============================================ */

/* Filtered row visibility */
.variations-table-dynamic-attrs tbody tr.filtered-out {
    display: none;
}

.variations-table-dynamic-attrs tbody tr.filtered-in {
    display: table-row;
}

/* No results message */
.no-variations-message {
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .variations-table-dynamic-attrs .btn-add-individual {
        display: none;
    }
    
    .variations-table-dynamic-attrs .qty-input-inline {
        border: 1px solid #000;
    }
    
    .variations-table-dynamic-attrs thead {
        background: #f8f9fa !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}