#et-main-area, html{
	background-color:#fff !important;
}

body{
	padding-right:0px !important;
	
}

button.btn.btn-demo[data-target="#myModal22"] {
    display: none;
}

/* Hide COLOR option */
#target-swcpc_color_field,
#swcpc_color_field_Modal {
    display: none !important;
}

/* ========================================
   CALCULATOR GLOBAL PRICE (Top Price Display)
   ======================================== */

.swcpc_global_price,
.price.swcpc_global_price {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 15px 0 20px 0 !important;
    line-height: 1.4 !important;
    min-height: 70px !important;
    display: block !important;
    overflow: visible !important;
    position: relative !important;
}

.swcpc_global_price .woocommerce-Price-amount,
.price.swcpc_global_price .woocommerce-Price-amount {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #333 !important;
    display: inline-block !important;
    line-height: 1.4 !important;
}

.swcpc_global_price .woocommerce-Price-currencySymbol,
.price.swcpc_global_price .woocommerce-Price-currencySymbol {
    font-size: 28px !important;
    font-weight: 700 !important;
}

/* Price suffix (Tax and Shipping Included) */
.swcpc_global_price .woocommerce-price-suffix,
.price.swcpc_global_price .woocommerce-price-suffix,
.swcpc_global_price small,
.price.swcpc_global_price small {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #666 !important;
    display: block !important;
    clear: both !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 5px !important;
    line-height: 1.4 !important;
    position: relative !important;
    width: 100% !important;
}

/* Mobile responsive for global price */
@media (max-width: 768px) {
    .swcpc_global_price,
    .price.swcpc_global_price {
        font-size: 28px !important;
        min-height: 65px !important;
    }
    
    .swcpc_global_price .woocommerce-Price-amount,
    .price.swcpc_global_price .woocommerce-Price-amount {
        font-size: 28px !important;
    }
    
    .swcpc_global_price .woocommerce-Price-currencySymbol,
    .price.swcpc_global_price .woocommerce-Price-currencySymbol {
        font-size: 24px !important;
    }
    
    .swcpc_global_price .woocommerce-price-suffix,
    .price.swcpc_global_price .woocommerce-price-suffix,
    .swcpc_global_price small,
    .price.swcpc_global_price small {
        font-size: 13px !important;
        margin-top: 8px !important;
        padding-top: 5px !important;
        clear: both !important;
    }
}

/* ========================================
   INLINE FORMAT SECTION (No Modal)
   ======================================== */

.swcpc-inline-section {
    width: 100%;
    margin-bottom: 45px;
    padding: 0;
}

.swcpc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.swcpc-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
    padding: 0;
    text-align: left;
}

.swcpc-section-count {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-left: 5px;
}

.swcpc-guide-link {
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.swcpc-guide-link:hover {
    color: #004499;
    text-decoration: underline;
}

/* Inline options grid (on page, not in modal) */
.swcpc-inline-options {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Inline option items - transparent container (no background) */
.swcpc-inline-options .variable-item,
.swcpc-inline-options .variable-item.button-variable-item,
.swcpc-inline-options li.variable-item,
.swcpc-inline-options .variable-item.selected,
.swcpc-inline-options .variable-item.button-variable-item.selected {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    list-style: none !important;
    min-height: auto !important;
}

/* Inline option button styling */
.swcpc-inline-options .variable-item > span.variable-item-span,
.swcpc-inline-options .variable-item > span.variable-item-span-button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 75px !important;
    padding: 15px 12px !important;
    text-align: center !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Format name (top) */
.swcpc-inline-options .variable-item .format-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: inherit !important;
    margin-bottom: 6px !important;
}

/* Format price (below name) */
.swcpc-inline-options .variable-item .format-price {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #666 !important;
}

.swcpc-inline-options .variable-item.selected .format-price {
    display: none !important;
}

/* Remove hover background from <li> itself */
.swcpc-inline-options .variable-item:hover,
.swcpc-inline-options .variable-item.button-variable-item:hover {
    background: none !important;
    background-color: transparent !important;
}

/* Hover effect only on inner span (the actual button) */
.swcpc-inline-options .variable-item:hover > span.variable-item-span,
.swcpc-inline-options .variable-item:hover > span.variable-item-span-button {
    border-color: #333 !important;
    background: #fafafa !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Selected state only on inner span (the actual button) */
.swcpc-inline-options .variable-item.selected > span.variable-item-span,
.swcpc-inline-options .variable-item.selected > span.variable-item-span-button {
    border-color: #0066cc !important;
    border-width: 3px !important;
    background: #f0f7ff !important;
    color: #0066cc !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0,102,204,0.2) !important;
    position: relative !important;
}

/* Checkmark for selected option */
.swcpc-inline-options .variable-item.selected > span.variable-item-span::after,
.swcpc-inline-options .variable-item.selected > span.variable-item-span-button::after {
    content: "✓" !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 22px !important;
    font-weight: bold !important;
    color: #0066cc !important;
    line-height: 1 !important;
}

/* Hide SELECT button on inline options */
.swcpc-inline-options .variable-item .variable-item-button {
    display: none !important;
}

/* Hide old price span (we're using format-price inside variable-item-span now) */
.swcpc-inline-options .variable-item > .variable-item-price {
    display: none !important;
}

/* Override legacy positioning/sizing for inline options */
.swcpc-inline-options .variable-item span.variable-item-span.variable-item-span-button {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin-top: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
}

/* ========================================
   SIZE DROPDOWN SECTION
   ======================================== */

.swcpc-dropdown-section {
    width: 100%;
    margin-bottom: 45px;
    padding: 0;
}

/* Title with unit switcher */
.swcpc-title-with-units {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Unit Switcher (in/cm) */
.swcpc-unit-switcher {
    display: flex !important;
    background: #f5f5f5 !important;
    border-radius: 6px !important;
    padding: 3px !important;
    gap: 3px !important;
    align-items: center !important;
}

.swcpc-unit-switcher .unit-btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #666 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    outline: none !important;
    min-width: 40px !important;
}

.swcpc-unit-switcher .unit-btn:hover {
    color: #333 !important;
    background: rgba(0,0,0,0.05) !important;
}

.swcpc-unit-switcher .unit-btn.active {
    background: #0066cc !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(0,102,204,0.2) !important;
}

/* Custom Fancy Dropdown */
.swcpc-custom-dropdown {
    position: relative;
    width: 100%;
}

.swcpc-dropdown-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.swcpc-dropdown-selected:hover {
    border-color: #333;
    background: #fafafa;
}

.swcpc-custom-dropdown.open .swcpc-dropdown-selected {
    border-color: #0066cc;
    border-width: 3px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.swcpc-dropdown-selected .dropdown-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.2s ease;
}

.swcpc-custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Options Panel */
.swcpc-dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 3px solid #0066cc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1000;
}

/* Individual Dropdown Option */
.swcpc-dropdown-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f0f0f0;
}

.swcpc-dropdown-option:last-child {
    border-bottom: none;
}

.swcpc-dropdown-option:hover {
    background: #f9f9f9;
}

.swcpc-dropdown-option.selected {
    background: #f0f7ff;
}

.swcpc-dropdown-option .option-size {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.swcpc-dropdown-option .option-price {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.swcpc-dropdown-option.selected .option-price {
    color: #0066cc;
    background: #e6f2ff;
}

/* Format & Sizing Guide Modals */
#format-guide-modal .modal-dialog,
#sizing-guide-modal .modal-dialog {
    max-width: 600px;
}

#format-guide-modal .modal-body,
#sizing-guide-modal .modal-body {
    max-height: 600px;
    overflow-y: auto;
}

#format-guide-modal .modal-body p,
#sizing-guide-modal .modal-body p {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

#format-guide-modal .modal-body p:first-child,
#sizing-guide-modal .modal-body p:first-child {
    margin-top: 0;
}

#format-guide-modal .modal-body strong,
#sizing-guide-modal .modal-body strong {
    color: #333;
    font-size: 15px;
}

/* ========================================
   FRAME THUMBNAILS (Inline Display)
   ======================================== */

.swcpc-frame-section .swcpc-section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.swcpc-frame-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.swcpc-frame-thumb {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.swcpc-frame-thumb:hover {
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swcpc-frame-thumb.selected {
    border-color: #0066cc;
    border-width: 3px;
}

.swcpc-frame-thumb.selected::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 2;
}

.frame-thumb-image {
    width: 100%;
    height: 140px;
    flex-shrink: 0;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #f9f9f9;
}

.frame-thumb-image img {
    display: none;
}

.frame-thumb-name {
    padding: 12px 12px 6px 12px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    background: #fff;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
}

.swcpc-frame-thumb.selected .frame-thumb-name {
    color: #0066cc;
    font-weight: 600;
    background: #f0f7ff;
}

.frame-thumb-price {
    padding: 0 12px 12px 12px;
    font-size: 12px !important;
    color: #666 !important;
    font-weight: 600 !important;
    background: #fff;
    margin-top: 0;
    min-height: 18px;
    line-height: 1.2 !important;
}

.swcpc-frame-thumb.selected .frame-thumb-price {
    color: #0066cc;
    background: #f0f7ff;
    display: none !important;
}

/* "+X more" thumbnail styling */
.swcpc-frame-more {
    border-style: dashed;
    border-color: #999;
    justify-content: center;
    align-items: center;
}

.swcpc-frame-more:hover {
    border-style: dashed;
    border-color: #0066cc;
}

.swcpc-frame-more .frame-more-icon {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swcpc-frame-more .more-icon {
    font-size: 48px;
    color: #999;
    font-weight: 300;
    line-height: 1;
}

.swcpc-frame-more:hover .more-icon {
    color: #0066cc;
}

.swcpc-frame-more .frame-thumb-name {
    color: #666;
    font-size: 13px;
    background: transparent;
    border-top: none;
}

.swcpc-frame-more:hover .frame-thumb-name {
    color: #0066cc;
    background: transparent;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .swcpc-frame-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .swcpc-frame-thumb {
        min-height: 160px;
    }
    
    .frame-thumb-image {
        height: 120px;
    }
    
    .frame-thumb-name {
        font-size: 13px;
        padding: 10px 10px 5px 10px;
    }
    
    .frame-thumb-price {
        font-size: 12px !important;
        font-weight: 600 !important;
        padding: 0 10px 10px 10px;
        margin-top: 0;
        min-height: 18px;
        line-height: 1.2 !important;
    }
}

/* ========================================
   CALCULATOR BUTTON STYLING (Product Page)
   ======================================== */

/* Increase spacing between calculator sections */
body.product-template-default.single.single-product .text-center {
    margin-bottom: 45px;
}

body.product-template-default.single.single-product .text-center button.swcpc-field-button {
    position: relative;
    width: 100%;
    min-height: 50px;
    padding: 10px 15px;
    margin-bottom: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

body.product-template-default.single.single-product .text-center button.swcpc-field-button:hover {
    border-color: #999;
    background-color: #f9f9f9;
}

body.product-template-default.single.single-product .text-center button.swcpc-field-button span.swcpc-field-label {
    color: #6f6f6f;
    font-size: 13px;
    position: absolute;
    top: 5px;
    left: 10px;
    pointer-events: none;
    display: block;
}

body.product-template-default.single.single-product .text-center button.swcpc-field-button span.swcpc_value_set {
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    height: 20px;
    color: #221924;
    width: 100%;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    display: block;
    top: 22px;
    left: 10px;
    position: absolute;
    font-size: 14px;
    font-weight: 600;
}

body.product-template-default.single.single-product .text-center button.swcpc-field-button span.swcpc_value_image {
    height: 30px;
    width: 30px;
    position: absolute;
    top: 9px;
    right: 30px;
    pointer-events: none;
}

body.product-template-default.single.single-product .text-center button.swcpc-field-button span.swcpc_value_image img.variable-item-image {
    max-height: 100%;
    width: auto;
}

body.product-template-default.single.single-product .text-center button.swcpc-field-button:hover span.swcpc_value_set{
    color: #01768b;
}

/* ========================================
   MODAL LAYOUT & STRUCTURE (Modern Design)
   ======================================== */

body.single-product .modal-dialog {
    max-width: 700px;
    margin: 50px auto;
    width: 90%;
}

body.single-product .modal-content {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

body.single-product .modal-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 25px;
    margin: 0;
    background: #f8f8f8;
    border-radius: 8px 8px 0 0;
    position: relative;
    height: auto;
    line-height: normal;
}

body.single-product .modal-body {
    padding: 25px;
    overflow-y: auto;
    max-height: 500px;
    background: #fff;
}

body.single-product .modal-footer {
    border-top: 1px solid #e5e5e5;
    padding: 20px 25px;
    margin: 0;
    text-align: right;
    background: #f8f8f8;
    border-radius: 0 0 8px 8px;
}

/* Modal title */
body.single-product .modal-title,
.modal-header.swcpc_new_header h4.modal-title {
    margin: 0;
    line-height: 1.5;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #222;
    padding: 0 60px;
    position: static;
    transform: none;
    max-width: none;
    overflow: visible;
    white-space: normal;
}

/* Close button */
body.single-product .modal-header .close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    color: #666;
    opacity: 1;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    width: 32px;
    height: 32px;
    transition: all 0.2s ease;
}

body.single-product .modal-header .close:hover {
    color: #000;
    transform: translateY(-50%) rotate(90deg);
}

/* Back button */
body.single-product .modal-header .back_button,
.modal-header.swcpc_new_header a.back_button {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
}

body.single-product .modal-header .back_button:hover {
    color: #000;
    background: rgba(0,0,0,0.05);
}

/* ========================================
   MODAL CONTENT LAYOUT (Grid System)
   ======================================== */

/* Modal content layout fixes */
body.single-product .modal-body .woo-variation-items-wrapper,
body.single-product .modal-body .button-variable-wrapper {
    display: block;
    width: 100%;
    clear: both;
}

/* Variable items (options grid) */
body.single-product .modal-body .variable-items-wrapper,
body.single-product .modal-body .button-variable-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

/* Individual option items */
body.single-product .modal-body .variable-item,
body.single-product .modal-body .button-variable-item,
body.single-product .modal-body li.variable-item {
    display: block;
    width: 100%;
    min-width: 300px;
    margin: 0;
    padding: 0;
    float: none;
    position: relative;
    cursor: pointer;
    min-height: auto;
}

/* ========================================
   OPTION STYLING (Clean, Modern Buttons)
   ======================================== */

/* Hide SELECT buttons - make entire option clickable */
body.single-product .modal-body .variable-item .variable-item-button,
body.single-product .modal-body .variable-item button.button,
body.single-product .modal-body .variable-item a.button {
    display: none;
}

/* Style the clickable label/span as the main button */
body.single-product .modal-body .variable-item > span,
body.single-product .modal-body .variable-item > div,
body.single-product .modal-body .variable-item-span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    padding: 15px 12px;
    margin: 0;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Hover state */
body.single-product .modal-body .variable-item:hover > span,
body.single-product .modal-body .variable-item:hover > div,
body.single-product .modal-body .variable-item:hover .variable-item-span {
    border-color: #333;
    background: #fafafa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Selected option - highlight with blue outline + checkmark */
body.single-product .modal-body .variable-item.selected > span,
body.single-product .modal-body .variable-item.selected > div,
body.single-product .modal-body .variable-item.selected .variable-item-span {
    border-color: #0066cc;
    border-width: 3px;
    background: #f0f7ff;
    color: #0066cc;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,102,204,0.2);
    position: relative;
}

/* Checkmark for selected modal option */
body.single-product .modal-body .variable-item.selected > span::after,
body.single-product .modal-body .variable-item.selected > div::after,
body.single-product .modal-body .variable-item.selected .variable-item-span::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #0066cc;
    line-height: 1;
}

body.single-product .modal-body .variable-item.selected:hover > span,
body.single-product .modal-body .variable-item.selected:hover > div,
body.single-product .modal-body .variable-item.selected:hover .variable-item-span {
    transform: translateY(-1px);
}

/* Option images (if present) */
body.single-product .modal-body .variable-item img,
body.single-product .modal-body .variable-item .variable-item-image {
    max-width: 40px;
    max-height: 40px;
    margin: 0 auto 8px;
    display: block;
    border-radius: 4px;
}

/* Option text wrapping */
body.single-product .modal-body .variable-item span {
    word-wrap: break-word;
    hyphens: auto;
}

/* ========================================
   HELP TEXT STYLING (Format Descriptions)
   ======================================== */

body.single-product .modal-body .swcpc-help-text {
    margin-top: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

body.single-product .modal-body .swcpc-help-text p {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

body.single-product .modal-body .swcpc-help-text p:first-child {
    margin-top: 0;
}

body.single-product .modal-body .swcpc-help-text p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: #666;
    font-size: 12px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

body.single-product .modal-body .swcpc-help-text strong {
    color: #333;
    font-weight: 600;
}

/* ========================================
   LEGACY STYLES (Compatibility)
   ======================================== */

img.cart-item-variable-image {
    width: 25px;
}

.woocommerce div.product form.cart .variations.swcpc_variations_sidebar td.swcpc-variation-modal{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.swcpc-variation-modal .modal-body li.variable-item.swcpc-frame-variable-item.selected a.variable-item-button,
.swcpc-variation-modal .modal-body .button-variable-wrapper .variable-item.selected a.variable-item-button, 
.swcpc-variation-modal .modal-body li.variable-item.swcpc-disable-variable-item a.variable-item-button{
    display: none;
}

.swcpc-variation-modal .modal-body li.variable-item.swcpc-disable-variable-item {
    opacity: 0.5;
    cursor: not-allowed;
}

.swcpc-variation-modal .modal-body .button-variable-wrapper .variable-item span.variable-item-span.variable-item-span-button {
    width: 70%;
    display: inline-block;
}

.woocommerce div.product form.cart .variations.swcpc_variations_sidebar td.swcpc-variation-modal .modal-body li.variable-item.swcpc-frame-variable-item {
    text-align: left !important;
    width: 100%;
    justify-content: left !important;
}

.swcpc-variation-modal .modal-body li.variable-item.swcpc-frame-variable-item .swcpc-item-image img.variable-item-image {
    width: auto;
    max-height: 125px !important;
}

.swcpc-variation-modal .modal-body li.variable-item.swcpc-frame-variable-item .swcpc-item-image {
    width: 50px;
    height: 50px;
    margin-right: 125px;
}

.swcpc-variation-modal .modal-body li.variable-item.swcpc-frame-variable-item span.variable-item-price {
    left: 50px;
}

.swcpc-frame-variable-item span.variable-item-span.variable-item-span-button {
    position: absolute;
    left: 56px;
    top: 25px;
    max-width: 120px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.swcpc-variation-modal .modal-body li.variable-item span.variable-item-span {
    margin-top: -18px;
}

.swcpc-variation-modal .modal-body li.variable-item span.variable-item-price {
    margin: 0 0 0 0px;
    position: absolute;
    bottom: 5px;
    left: 7px;
}

.swcpc-variation-modal .modal-body li.variable-item .variable-item-price .woocommerce-Price-amount.amount,
.swcpc-variation-modal .modal-body li.variable-item .variable-item-price .woocommerce-Price-currencySymbol {
    font-size: 12px !important;
}

.modal-header.swcpc_new_header {
    position: relative;
}

/* ========================================
   MODAL SIDEBAR STYLES
   ======================================== */

.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

.modal.left.fade .modal-dialog{
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog{
    left: 0;
}

.modal.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
    transform: translate(0,0);
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

/* ========================================
   RESPONSIVE DESIGN (Mobile Optimized)
   ======================================== */

@media (max-width: 768px) {
    /* Inline format options responsive */
    .swcpc-inline-options {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .swcpc-section-title {
        font-size: 16px;
    }
    
    .swcpc-inline-options .variable-item > span.variable-item-span {
        min-height: 70px !important;
        padding: 12px 10px !important;
    }
    
    .swcpc-inline-options .variable-item .format-name {
        font-size: 13px !important;
    }
    
    .swcpc-inline-options .variable-item .format-price {
        font-size: 11px !important;
    }
    
    /* Modal responsive */
    body.single-product .modal-dialog {
        margin: 20px auto;
        width: 95%;
    }
    
    body.single-product .modal-body .variable-items-wrapper,
    body.single-product .modal-body .button-variable-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 10px;
    }
    
    body.single-product .modal-body .variable-item,
    body.single-product .modal-body .button-variable-item {
        min-width: 250px;
    }
    
    body.single-product .modal-body .variable-item > span,
    body.single-product .modal-body .variable-item > div,
    body.single-product .modal-body .variable-item-span {
        min-height: 55px;
        padding: 12px 10px;
        font-size: 13px;
    }
    
    body.single-product .modal-title {
        font-size: 18px;
        padding: 0 50px;
    }
}

/* ========================================
   MISC STYLES
   ======================================== */

.product-template-default.single.single-product.modal-open .value.modal {
    position:fixed!important
}

i.fa.fa-angle-right.angleright {
    float: right;
}

span#valuatt2 {
    width: 84%;
    display: inline-block;
    text-align: right;
}

span.democount {
    text-align: right;
    width: 73%;
    display: inline-block;
}

img#valuatt3 {
    width: 25px;
    border: 1px solid;
}

button.single_add_to_cart_button:disabled {
    padding-top: 0.3em!important;
    padding-bottom: 0.3em!important;
    border-color: #ec8079!important;
    background-color: #ec8079!important;
}

li.variable-item.button-variable-item.faded {
    border: 1px dashed #747474;
    box-shadow: none!important;
}

li.variable-item.button-variable-item.faded span {
    opacity: 0.7;
}

li.variable-item.button-variable-item.faded span.variable-item-price {
    font-size: 0.8rem;
}

li.variable-item.button-variable-item:not(.faded) span.variable-item-price {
    font-size: 17px;
}
