/* ==========================================================================
   DIGIGO Shop & Single Product Stylesheet (100% Pixel-Perfect Match)
   Reference: digigostore.com/shop and digigostore.com/shop/{slug}
   ========================================================================== */

/* Universal Layout Breakout from Twenty Twenty-Five 645px Constraint */
:where(.wp-site-blocks) > :has(.s_digigo_shop_page),
:where(.wp-site-blocks) > :has(.s_digigo_single_product_page),
:where(.wp-site-blocks) > :has(.o_wsale_product_page),
:where(.wp-site-blocks) > :has(.o_wsale_products_page),
:where(.wp-site-blocks) > .s_digigo_shop_page,
:where(.wp-site-blocks) > .s_digigo_single_product_page,
:where(.wp-site-blocks) > .o_wsale_product_page,
:where(.wp-site-blocks) > .o_wsale_products_page,
.wp-site-blocks > :has(.s_digigo_shop_page),
.wp-site-blocks > :has(.s_digigo_single_product_page),
.wp-site-blocks > :has(.o_wsale_product_page),
.wp-site-blocks > :has(.o_wsale_products_page),
.wp-site-blocks > .s_digigo_shop_page,
.wp-site-blocks > .s_digigo_single_product_page,
.wp-site-blocks > .o_wsale_product_page,
.wp-site-blocks > .o_wsale_products_page,
.wp-block-shortcode:has(.s_digigo_shop_page),
.wp-block-shortcode:has(.s_digigo_single_product_page),
#wrap.s_digigo_shop_page,
#wrap.s_digigo_single_product_page,
#wrap.o_wsale_product_page,
#wrap.o_wsale_products_page {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    clear: both !important;
}

/* Base typography and reset */
.s_digigo_shop_page,
.s_digigo_single_product_page,
.o_wsale_product_page,
.o_wsale_products_page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background-color: #ffffff !important;
    color: #212529 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.s_digigo_shop_page *:not(.fa):not([class*="fa-"]),
.s_digigo_single_product_page *:not(.fa):not([class*="fa-"]),
.o_wsale_product_page *:not(.fa):not([class*="fa-"]),
.o_wsale_products_page *:not(.fa):not([class*="fa-"]) {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.s_digigo_shop_page .fa,
.s_digigo_shop_page [class*="fa-"],
.s_digigo_single_product_page .fa,
.s_digigo_single_product_page [class*="fa-"],
.o_wsale_product_page .fa,
.o_wsale_product_page [class*="fa-"] {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* Clean wpautop injected empty elements */
.s_digigo_shop_page p:empty,
.s_digigo_single_product_page p:empty {
    display: none !important;
}

/* ==========================================================================
   PART 1: DIGIGO SHOP PAGE (/shop)
   ========================================================================== */

.s_digigo_shop_page {
    padding-bottom: 60px !important;
}

.s_digigo_shop_page #o_wsale_container {
    max-width: 1320px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 20px 40px 20px !important;
    box-sizing: border-box !important;
}

.s_digigo_shop_page .o_wsale_products_main_row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 32px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Sidebar: Price Range */
.s_digigo_shop_page #products_grid_before,
.s_digigo_shop_page .s_shop_sidebar {
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    flex: 0 0 240px !important;
    position: sticky !important;
    top: 90px !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.s_digigo_shop_page .s_shop_sidebar .accordion-item {
    border: none !important;
    background: transparent !important;
}

.s_digigo_shop_page #priceRangeToggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 0 12px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #212529 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
}

.s_digigo_shop_page .s_price_toggle_icon {
    font-size: 12px !important;
    color: #6c757d !important;
    margin-left: auto !important;
}

.s_digigo_shop_page .s_price_range_labels {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #495057 !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.01em !important;
}

/* Dual Range Slider */
.s_digigo_shop_page .s_dual_range_slider_wrap {
    position: relative !important;
    width: 100% !important;
    height: 20px !important;
    margin-top: 4px !important;
    box-sizing: border-box !important;
}

.s_digigo_shop_page .s_range_track {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    height: 3px !important;
    width: 100% !important;
    background-color: #dee2e6 !important;
    border-radius: 2px !important;
    z-index: 1 !important;
}

.s_digigo_shop_page .s_range_highlight {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 3px !important;
    background-color: #da6b3d !important;
    border-radius: 2px !important;
    z-index: 2 !important;
}

.s_digigo_shop_page .s_range_slider {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
    pointer-events: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 3px !important;
    background: transparent !important;
    border: none !important;
    z-index: 3 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.s_digigo_shop_page .s_range_slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #da6b3d !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.s_digigo_shop_page .s_range_slider::-moz-range-thumb {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #da6b3d !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Products Column */
.s_digigo_shop_page #products_grid {
    flex: 1 1 auto !important;
    width: calc(100% - 272px) !important;
    min-width: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}

.s_digigo_shop_page .o_wsale_shop_title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.25 !important;
}

/* Filmstrip Category Tabs */
.s_digigo_shop_page .o_wsale_filmstrip_container {
    width: 100% !important;
    border-bottom: 1px solid #dee2e6 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
}

.s_digigo_shop_page .o_wsale_filmstrip_wrapper {
    width: 100% !important;
    overflow-x: auto !important;
}

.s_digigo_shop_page .o_wsale_filmstrip {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 28px !important;
    border: none !important;
}

.s_digigo_shop_page .o_wsale_filmstrip li {
    list-style: none !important;
    list-style-type: none !important;
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.s_digigo_shop_page .s_cat_tab {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    padding: 8px 0 10px 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #495057 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    outline: none !important;
    text-decoration: none !important;
    margin-bottom: -1px !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}

.s_digigo_shop_page .s_cat_tab:hover {
    color: #da6b3d !important;
}

.s_digigo_shop_page .s_cat_tab.active {
    color: #da6b3d !important;
    border-bottom: 2px solid #da6b3d !important;
    font-weight: 600 !important;
}

/* Pricelist Meta */
.s_digigo_shop_page .products_header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
}

.s_digigo_shop_page .o_pricelist_dropdown {
    font-size: 13.5px !important;
    color: #6c757d !important;
}

.s_digigo_shop_page .o_pricelist_dropdown b {
    color: #212529 !important;
    font-weight: 600 !important;
}

/* Product 3-Column Grid */
.s_digigo_shop_page #o_wsale_products_grid,
.s_digigo_shop_page .o_wsale_products_grid_table {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    margin-bottom: 32px !important;
    padding: 0 !important;
}

.s_digigo_shop_page .oe_product {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.s_digigo_shop_page .oe_product.d-none {
    display: none !important;
}

.s_digigo_shop_page .o_wsale_product_grid_wrapper {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.s_digigo_shop_page .oe_product_cart {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    text-decoration: none !important;
}

/* Product Image Card */
.s_digigo_shop_page .oe_product_image {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #f8f9fa !important;
    box-sizing: border-box !important;
}

.s_digigo_shop_page .oe_product_image_link {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.s_digigo_shop_page .oe_product_image_img_wrapper_primary {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.s_digigo_shop_page .oe_product_image_img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.s_digigo_shop_page .oe_product_image_img_wrapper_secondary {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease-in-out !important;
    pointer-events: none !important;
}

.s_digigo_shop_page .oe_product_image_img_secondary {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.s_digigo_shop_page .oe_product_cart:hover .oe_product_image_img_wrapper_secondary {
    opacity: 1 !important;
}

/* Wishlist Top-Right Heart Button */
.s_digigo_shop_page .s_wishlist_btn,
.s_digigo_shop_page .o_add_wishlist {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 5 !important;
    background: transparent !important;
    border: none !important;
    color: #4b5563 !important;
    font-size: 16px !important;
    padding: 4px !important;
    cursor: pointer !important;
    opacity: 0.75 !important;
    transition: all 0.2s !important;
    line-height: 1 !important;
}

.s_digigo_shop_page .s_wishlist_btn .o_label,
.s_digigo_shop_page .o_add_wishlist .o_label {
    display: none !important;
}

.s_digigo_shop_page .s_wishlist_btn:hover,
.s_digigo_shop_page .o_add_wishlist:hover {
    opacity: 1 !important;
    color: #ff4b0f !important;
    transform: scale(1.15) !important;
}

/* Floating Add-to-Cart Circle Button on Hover */
.s_digigo_shop_page .s_floating_cart_btn,
.s_digigo_shop_page .o_wsale_product_btn_primary {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    z-index: 5 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #212529 !important;
    border: none !important;
    cursor: pointer !important;
    opacity: 0 !important;
    transform: scale(0.9) !important;
    transition: all 0.25s ease !important;
    padding: 0 !important;
}

.s_digigo_shop_page .s_floating_cart_btn .o_label,
.s_digigo_shop_page .o_wsale_product_btn_primary .o_label {
    display: none !important;
}

.s_digigo_shop_page .oe_product_cart:hover .s_floating_cart_btn,
.s_digigo_shop_page .oe_product_cart:hover .o_wsale_product_btn_primary {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.s_digigo_shop_page .s_floating_cart_btn:hover,
.s_digigo_shop_page .o_wsale_product_btn_primary:hover {
    background: #ff4b0f !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

/* Hide unused compare buttons */
.s_digigo_shop_page .o_add_compare_placeholder {
    display: none !important;
}

/* Card Information */
.s_digigo_shop_page .o_wsale_product_information {
    padding-top: 10px !important;
}

.s_digigo_shop_page .o_wsale_products_item_title {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #212529 !important;
    line-height: 1.35 !important;
    margin: 0 0 4px 0 !important;
}

.s_digigo_shop_page .o_wsale_products_item_title a {
    color: #212529 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.s_digigo_shop_page .o_wsale_products_item_title a:hover {
    color: #da6b3d !important;
}

.s_digigo_shop_page .product_price {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin: 0 !important;
}

/* Pagination */
.s_digigo_shop_page #o_wsale_pager,
.s_digigo_shop_page .products_pager {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 48px auto 24px auto !important;
    padding: 0 !important;
    width: 100% !important;
}

.s_digigo_shop_page .pagination {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px !important;
    align-items: center !important;
}

.s_digigo_shop_page .pagination li {
    list-style: none !important;
    list-style-type: none !important;
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.s_digigo_shop_page .s_page_btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: none !important;
    transition: all 0.15s ease !important;
}

.s_digigo_shop_page .s_page_arrow {
    background: transparent !important;
    color: #6b7280 !important;
    font-size: 16px !important;
}

.s_digigo_shop_page .s_page_arrow:hover {
    color: #da6b3d !important;
}

.s_digigo_shop_page .s_page_num {
    background: transparent !important;
    color: #374151 !important;
    font-weight: 500 !important;
}

.s_digigo_shop_page .s_page_num:hover {
    color: #da6b3d !important;
}

.s_digigo_shop_page .s_page_num.active {
    background: #da6b3d !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.s_digigo_shop_page .page-item.disabled .s_page_btn {
    opacity: 0.35 !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* ==========================================================================
   PART 2: DIGIGO SINGLE PRODUCT PAGE (/shop/{slug})
   ========================================================================== */

.s_digigo_single_product_page,
.o_wsale_product_page {
    padding-bottom: 60px !important;
}

.s_digigo_single_product_page #product_detail,
.o_wsale_product_page #product_detail {
    max-width: 1320px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 16px 20px 40px 20px !important;
    box-sizing: border-box !important;
}

/* Breadcrumbs Bar */
.s_digigo_single_product_page .o_wsale_content_contained,
.o_wsale_product_page .o_wsale_content_contained {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 18px 20px 20px 20px !important;
    box-sizing: border-box !important;
}

.s_digigo_single_product_page .o_wsale_breadcrumb,
.s_digigo_single_product_page .breadcrumb,
.o_wsale_product_page .o_wsale_breadcrumb,
.o_wsale_product_page .breadcrumb {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.s_digigo_single_product_page .breadcrumb-item,
.o_wsale_product_page .breadcrumb-item {
    display: inline-flex !important;
    align-items: center !important;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.s_digigo_single_product_page .breadcrumb-item a,
.o_wsale_product_page .breadcrumb-item a {
    color: #e05a26 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.15s ease !important;
}

.s_digigo_single_product_page .breadcrumb-item a:hover,
.o_wsale_product_page .breadcrumb-item a:hover {
    color: #c24100 !important;
    text-decoration: underline !important;
}

.s_digigo_single_product_page .breadcrumb-item + .breadcrumb-item::before,
.o_wsale_product_page .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    padding: 0 10px !important;
    color: #9ca3af !important;
    font-weight: normal !important;
}

.s_digigo_single_product_page .breadcrumb-item.active span,
.o_wsale_product_page .breadcrumb-item.active span {
    color: #6b7280 !important;
    font-weight: 500 !important;
}

/* Pricelist Button & Dropdown Menu */
.s_pricelist_btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 14px !important;
    color: #6b7280 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px 0 !important;
    text-decoration: none !important;
}

.s_pricelist_label {
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.s_pricelist_val {
    color: #212529 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.s_pricelist_caret {
    color: #6b7280 !important;
    font-size: 12px !important;
}

.s_pricelist_menu {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1) !important;
    min-width: 100px !important;
    padding: 6px 0 !important;
    z-index: 1050 !important;
    margin-top: 4px !important;
}

.s_pricelist_item {
    display: block !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    color: #374151 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.s_pricelist_item:hover {
    background-color: #f3f4f6 !important;
}

.s_pricelist_item.active {
    background-color: #fff4f0 !important;
    color: #e05a26 !important;
    font-weight: 600 !important;
}

/* 2-Column Product Detail Layout */
.s_digigo_single_product_page #product_detail_main,
.o_wsale_product_page #product_detail_main {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 48px !important;
    width: 100% !important;
    margin-bottom: 50px !important;
    box-sizing: border-box !important;
}

/* Left Column: Product Gallery */
.s_digigo_single_product_page .o_wsale_product_images,
.o_wsale_product_page .o_wsale_product_images {
    flex: 0 0 54% !important;
    max-width: 54% !important;
    width: 54% !important;
    box-sizing: border-box !important;
}

.s_digigo_single_product_page #o-carousel-product,
.o_wsale_product_page #o-carousel-product {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    position: relative !important;
}

/* Vertical Thumbnails Indicators */
.s_digigo_single_product_page .o_carousel_product_indicators,
.o_wsale_product_page .o_carousel_product_indicators {
    display: flex !important;
    flex-direction: column !important;
    width: 72px !important;
    min-width: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.s_digigo_single_product_page .carousel-indicators,
.o_wsale_product_page .carousel-indicators {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    width: 100% !important;
    position: static !important;
}

.s_digigo_single_product_page .carousel-indicators li,
.o_wsale_product_page .carousel-indicators li {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: border-color 0.2s ease !important;
    list-style: none !important;
    box-sizing: border-box !important;
    opacity: 0.85 !important;
}

.s_digigo_single_product_page .carousel-indicators li:hover,
.o_wsale_product_page .carousel-indicators li:hover {
    border-color: #ff4b0f !important;
    opacity: 1 !important;
}

.s_digigo_single_product_page .carousel-indicators li.active,
.o_wsale_product_page .carousel-indicators li.active {
    border: 2px solid #ff4b0f !important;
    opacity: 1 !important;
}

.s_digigo_single_product_page .carousel-indicators li div,
.o_wsale_product_page .carousel-indicators li div {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.s_digigo_single_product_page .carousel-indicators li img,
.o_wsale_product_page .carousel-indicators li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 4px !important;
    display: block !important;
}

/* Main Image Container */
.s_digigo_single_product_page .o_carousel_product_outer,
.s_digigo_single_product_page .carousel-outer,
.o_wsale_product_page .o_carousel_product_outer,
.o_wsale_product_page .carousel-outer {
    flex: 1 1 auto !important;
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #f8f9fa !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 480px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.s_digigo_single_product_page .carousel-inner,
.o_wsale_product_page .carousel-inner {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.s_digigo_single_product_page .carousel-item,
.o_wsale_product_page .carousel-item {
    width: 100% !important;
    height: 100% !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.s_digigo_single_product_page .carousel-item.active,
.o_wsale_product_page .carousel-item.active {
    display: flex !important;
}

.s_digigo_single_product_page .product_detail_img,
.s_digigo_single_product_page .carousel-item img,
.o_wsale_product_page .product_detail_img,
.o_wsale_product_page .carousel-item img {
    max-width: 92% !important;
    max-height: 92% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
    transition: opacity 0.2s ease !important;
}

/* Carousel Control Arrows */
.s_digigo_single_product_page .carousel-control-prev,
.s_digigo_single_product_page .carousel-control-next,
.o_wsale_product_page .carousel-control-prev,
.o_wsale_product_page .carousel-control-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4b5563 !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 10 !important;
    font-size: 18px !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.s_digigo_single_product_page .carousel-control-prev,
.o_wsale_product_page .carousel-control-prev {
    left: 12px !important;
}

.s_digigo_single_product_page .carousel-control-next,
.o_wsale_product_page .carousel-control-next {
    right: 12px !important;
}

.s_digigo_single_product_page .carousel-control-prev:hover,
.s_digigo_single_product_page .carousel-control-next:hover,
.o_wsale_product_page .carousel-control-prev:hover,
.o_wsale_product_page .carousel-control-next:hover {
    background: #ffffff !important;
    color: #ff4b0f !important;
    transform: translateY(-50%) scale(1.08) !important;
}

/* Right Column: Product Details */
.s_digigo_single_product_page #product_details,
.o_wsale_product_page #product_details {
    flex: 0 0 42% !important;
    max-width: 42% !important;
    width: 42% !important;
    box-sizing: border-box !important;
}

.s_digigo_single_product_page h1,
.o_wsale_product_page h1 {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.01em !important;
}

.s_digigo_single_product_page .product_price,
.o_wsale_product_page .product_price {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: baseline !important;
}

.s_digigo_single_product_page .product_price span.small,
.s_digigo_single_product_page .product_price .text-muted,
.o_wsale_product_page .product_price span.small,
.o_wsale_product_page .product_price .text-muted {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    margin-left: 8px !important;
}

/* Packaging Variant Pill & Bullet Removal */
.s_digigo_single_product_page .o_wsale_product_page_variants,
.s_digigo_single_product_page .o_wsale_product_page_variants li,
.s_digigo_single_product_page .o_wsale_product_details_content_section_attributes ul,
.s_digigo_single_product_page .o_wsale_product_details_content_section_attributes li,
.o_wsale_product_page .o_wsale_product_page_variants,
.o_wsale_product_page .o_wsale_product_page_variants li,
.o_wsale_product_page .o_wsale_product_details_content_section_attributes ul,
.o_wsale_product_page .o_wsale_product_details_content_section_attributes li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.s_digigo_single_product_page h6.attribute_name,
.o_wsale_product_page h6.attribute_name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 20px 0 8px 0 !important;
    text-transform: none !important;
}

.s_digigo_single_product_page .btn-group-toggle,
.o_wsale_product_page .btn-group-toggle {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
}

.s_digigo_single_product_page .btn-group-toggle li,
.o_wsale_product_page .btn-group-toggle li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.s_digigo_single_product_page .o_variant_pills,
.o_wsale_product_page .o_variant_pills {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-width: 68px !important;
    padding: 0 20px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    color: #374151 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.s_digigo_single_product_page .o_variant_pills.active,
.o_wsale_product_page .o_variant_pills.active {
    border: 1.5px solid #e05a26 !important;
    background: #fff9f6 !important;
    color: #e05a26 !important;
    font-weight: 600 !important;
}

.s_digigo_single_product_page .o_variant_pills.active label,
.s_digigo_single_product_page .o_variant_pills.active span,
.o_wsale_product_page .o_variant_pills.active label,
.o_wsale_product_page .o_variant_pills.active span {
    color: #e05a26 !important;
}

.s_digigo_single_product_page .o_variant_pills:not(.active) label,
.s_digigo_single_product_page .o_variant_pills:not(.active) span,
.o_wsale_product_page .o_variant_pills:not(.active) label,
.o_wsale_product_page .o_variant_pills:not(.active) span {
    color: #374151 !important;
}

.s_digigo_single_product_page .o_variant_pills input,
.o_wsale_product_page .o_variant_pills input {
    display: none !important;
}

/* Quantity & Add to Cart Action Row */
.s_digigo_single_product_page #o_wsale_cta_wrapper,
.o_wsale_product_page #o_wsale_cta_wrapper,
.s_digigo_single_product_page #add_to_cart_wrap,
.o_wsale_product_page #add_to_cart_wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 24px 0 28px 0 !important;
    width: auto !important;
}

.s_digigo_single_product_page .css_quantity,
.o_wsale_product_page .css_quantity {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    height: 44px !important;
    width: 124px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.s_digigo_single_product_page .css_quantity_minus,
.s_digigo_single_product_page .css_quantity_plus,
.o_wsale_product_page .css_quantity_minus,
.o_wsale_product_page .css_quantity_plus {
    width: 36px !important;
    height: 42px !important;
    border: none !important;
    background: transparent !important;
    color: #4b5563 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease !important;
}

.s_digigo_single_product_page .css_quantity_minus:hover,
.s_digigo_single_product_page .css_quantity_plus:hover,
.o_wsale_product_page .css_quantity_minus:hover,
.o_wsale_product_page .css_quantity_plus:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.s_digigo_single_product_page input[name="add_qty"],
.o_wsale_product_page input[name="add_qty"] {
    width: 44px !important;
    height: 42px !important;
    border: none !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    outline: none !important;
    background: transparent !important;
}

.s_digigo_single_product_page #add_to_cart,
.o_wsale_product_page #add_to_cart {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 44px !important;
    padding: 0 32px !important;
    background: #d85d27 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.s_digigo_single_product_page #add_to_cart:hover,
.o_wsale_product_page #add_to_cart:hover {
    background: #bf4d1b !important;
}

/* Terms and Conditions Section */
.s_digigo_single_product_page small.text-muted,
.o_wsale_product_page small.text-muted {
    display: block !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    line-height: 1.8 !important;
    margin-top: 24px !important;
}

.s_digigo_single_product_page small.text-muted br,
.o_wsale_product_page small.text-muted br {
    display: block !important;
    content: "" !important;
    margin-top: 2px !important;
}

.s_digigo_single_product_page small.text-muted a,
.o_wsale_product_page small.text-muted a {
    color: #6b7280 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
}

.s_digigo_single_product_page small.text-muted strong,
.o_wsale_product_page small.text-muted strong {
    font-weight: 700 !important;
    color: #374151 !important;
}

.s_digigo_single_product_page .s_tc_line,
.o_wsale_product_page .s_tc_line {
    display: block !important;
    margin-top: 2px !important;
    color: #6b7280 !important;
}

/* ==========================================================================
   PART 3: "OTHER PRODUCTS" 4-CARD SLIDER (Exact Match with Image 10)
   ========================================================================== */

.s_dynamic_snippet_products {
    width: 100% !important;
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    clear: both !important;
}

.s_dynamic_snippet_title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 24px !important;
    width: 100% !important;
}

.s_dynamic_snippet_title h2 {
    margin: 0 0 6px 0 !important;
}

.s_dynamic_snippet_title .text-gradient {
    background: linear-gradient(135deg, #ff4b0f 0%, #4900a8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.s_dynamic_snippet_title p.lead {
    color: #6b7280 !important;
    font-size: 15.5px !important;
    margin: 0 !important;
}

.s_dynamic_snippet_title a {
    color: #ff4b0f !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
}

.s_dynamic_snippet_title a:hover {
    text-decoration: underline !important;
}

/* Slider Track & Cards */
.s_other_slider_wrapper {
    position: relative !important;
    width: 100% !important;
}

.s_other_slider_track {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 0 !important;
}

.s_other_slider_track::-webkit-scrollbar {
    display: none !important;
}

.s_other_product_card {
    flex: 0 0 calc(25% - 18px) !important;
    min-width: 250px !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    display: block !important;
    box-sizing: border-box !important;
}

.s_other_product_card a,
.s_other_product_card a:hover,
.s_other_product_card a:focus,
.s_other_product_card a:visited,
.s_other_card_link,
.s_other_card_link:hover,
.s_other_card_link:focus,
.s_other_card_link:visited {
    text-decoration: none !important;
    text-decoration-line: none !important;
    display: block !important;
    outline: none !important;
    color: inherit !important;
}

.s_other_product_card h3,
.s_other_product_card div,
.s_other_product_card span,
.s_other_product_card p {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.s_other_card_img_wrap {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #f8f9fa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.s_other_card_img_wrap img {
    width: 90% !important;
    height: 90% !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.s_other_product_card:hover .s_other_card_img_wrap img {
    transform: scale(1.04) !important;
}

.s_other_card_title {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #212529 !important;
    margin: 10px 0 4px 0 !important;
    line-height: 1.35 !important;
    transition: color 0.15s ease !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.s_other_product_card:hover .s_other_card_title {
    color: #ff4b0f !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.s_other_card_price {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin: 0 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.s_dynamic_snippet_title a,
.s_dynamic_snippet_title a:hover {
    color: #ff4b0f !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* Translucent Dark Navigation Buttons */
.s_other_slider_btn {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 10 !important;
    font-size: 20px !important;
    transition: background 0.2s ease !important;
    padding: 0 !important;
}

.s_other_slider_btn:hover {
    background: rgba(0, 0, 0, 0.75) !important;
}

.s_other_slider_prev {
    left: -16px !important;
}

.s_other_slider_next {
    right: -16px !important;
}

/* ==========================================================================
   PART 4: RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 991.98px) {
    /* Shop Page */
    .s_digigo_shop_page .o_wsale_products_main_row {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .s_digigo_shop_page #products_grid_before,
    .s_digigo_shop_page .s_shop_sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        position: static !important;
    }
    .s_digigo_shop_page #products_grid {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .s_digigo_shop_page #o_wsale_products_grid,
    .s_digigo_shop_page .o_wsale_products_grid_table {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Single Product Page */
    .s_digigo_single_product_page #product_detail_main,
    .o_wsale_product_page #product_detail_main {
        flex-direction: column !important;
        gap: 32px !important;
    }
    .s_digigo_single_product_page .o_wsale_product_images,
    .o_wsale_product_page .o_wsale_product_images {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .s_digigo_single_product_page #product_details,
    .o_wsale_product_page #product_details {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .s_other_product_card {
        flex: 0 0 calc(50% - 12px) !important;
    }
}

@media (max-width: 575.98px) {
    .s_digigo_shop_page #o_wsale_products_grid,
    .s_digigo_shop_page .o_wsale_products_grid_table {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .s_digigo_single_product_page #o-carousel-product,
    .o_wsale_product_page #o-carousel-product {
        flex-direction: column-reverse !important;
    }
    .s_digigo_single_product_page .o_carousel_product_indicators,
    .o_wsale_product_page .o_carousel_product_indicators {
        width: 100% !important;
    }
    .s_digigo_single_product_page .carousel-indicators,
    .o_wsale_product_page .carousel-indicators {
        flex-direction: row !important;
        overflow-x: auto !important;
    }
    .s_other_product_card {
        flex: 0 0 calc(100% - 20px) !important;
    }
}

/* Global Underline Removal for All Product Cards and Sliders */
.s_other_product_card,
.s_other_product_card *,
.s_other_card_link,
.s_other_card_link:hover,
.s_other_card_link:focus,
.s_other_card_link:active,
.s_other_card_link:visited,
.s_other_card_title,
.s_other_card_price,
.s_dynamic_snippet_title a,
.s_dynamic_snippet_title a:hover,
.oe_product,
.oe_product *,
.oe_product_cart,
.oe_product_cart *,
.o_wsale_products_item_title,
.o_wsale_products_item_title a,
.o_wsale_products_item_title a:hover,
.o_wsale_products_item_title span,
.product_price,
.product_price * {
    text-decoration: none !important;
    text-decoration-line: none !important;
}
