/* Protract Services Custom Styles for WP Shop WooCommerce Theme */

/* Enhanced Header Styles */
.top-bar {
    background: linear-gradient(135deg, #26242D 0%, #1A1820 100%);
    color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar p {
    margin: 0;
    font-weight: 500;
}

.top-bar i {
    color: #59A2FF;
    margin-right: 8px;
}

.main-header {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Brand Icon and Logo */
.brand-icon {
    background: #59A2FF;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.site-tagline {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-style: italic;
}

/* Header Search */
.header-search .woocommerce-product-search {
    position: relative;
    max-width: 100%;
}

.header-search .woocommerce-product-search input[type="search"] {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.header-search .woocommerce-product-search input[type="search"]:focus {
    outline: none;
    border-color: #59A2FF;
    box-shadow: 0 0 0 3px rgba(89, 162, 255, 0.1);
}

.header-search .woocommerce-product-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #59A2FF;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.header-search .woocommerce-product-search button:hover {
    background: #26242D;
}

/* Header Actions */
.header-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 162, 255, 0.3);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 12px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Navigation */
.main-navigation {
    background: #59A2FF;
    border-bottom: 1px solid #4a8bcc;
}

.main-navigation .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 15px 20px;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation .navbar-nav .nav-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

.main-navigation .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.main-navigation .navbar-nav .nav-link.btn {
    background: #ffffff;
    color: #59A2FF;
    border: 2px solid #ffffff;
    margin-left: 15px;
    padding: 10px 20px;
}

.main-navigation .navbar-nav .nav-link.btn:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.main-navigation .navbar-nav .nav-link.btn::after {
    display: none;
}

/* Dropdown Menus */
.main-navigation .dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 5px;
}

.main-navigation .dropdown-item {
    padding: 10px 20px;
    color: #333;
    transition: all 0.3s ease;
}

.main-navigation .dropdown-item:hover {
    background: #59A2FF;
    color: white;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .main-header .row > div {
        margin-bottom: 15px;
    }
    
    .header-actions {
        justify-content: center !important;
    }
    
    .main-navigation .navbar-nav .nav-link.btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

.top-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.nav-box-header-right p {
    display: inline-block;
    margin: 0 15px 0 0;
    font-size: 14px;
}

.nav-box-header-right i {
    margin-right: 8px;
    color: #59A2FF;
}

/* Enhanced Site Branding */
.site-branding .site-title a {
    color: #59A2FF;
    font-weight: 700;
    font-size: 28px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-branding .site-title a:hover {
    color: #26242D;
}

.site-branding .site-description {
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* Enhanced Search Form */
.head-2 .woocommerce-product-search {
    position: relative;
    max-width: 400px;
}

.head-2 .woocommerce-product-search input[type="search"] {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.head-2 .woocommerce-product-search input[type="search"]:focus {
    outline: none;
    border-color: #59A2FF;
    box-shadow: 0 0 0 3px rgba(89, 162, 255, 0.1);
}

.head-2 .woocommerce-product-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #59A2FF;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.head-2 .woocommerce-product-search button:hover {
    background: #26242D;
}

/* Enhanced Account and Cart Links */
.head-3 .account a,
.head-4 .cart_no a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.head-3 .account a:hover,
.head-4 .cart_no a:hover {
    background: #59A2FF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 162, 255, 0.3);
}

.head-3 .account a i,
.head-4 .cart_no a i {
    margin-right: 8px;
    font-size: 16px;
}

.head-4 .cart-value {
    background: #59A2FF;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* Enhanced Navigation */
.nav-box {
    background: #59A2FF;
    border-bottom: 1px solid #4a8bcc;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-navigation li {
    margin: 0 20px 0 0;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 15px 0;
    display: block;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: #ffffff;
    opacity: 0.8;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Enhanced Product Cards */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
}

/* Related products should use smaller columns */
.woocommerce .related.products ul.products li.product {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #59A2FF;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 20px 20px 10px;
    line-height: 1.4;
}

.woocommerce ul.products li.product .price {
    font-size: 20px;
    font-weight: 700;
    color: #59A2FF;
    margin: 0 20px 20px;
}

.woocommerce ul.products li.product .button {
    background: #59A2FF;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    display: block;
    text-align: center;
    text-decoration: none;
}

.woocommerce ul.products li.product .button:hover {
    background: #26242D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 162, 255, 0.3);
}

/* Enhanced Sale Badge */
.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* Enhanced Single Product Page - Custom Two-Section Layout */
.woocommerce div.product .product-layout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.woocommerce div.product .product-left-section {
    display: flex;
    flex-direction: column;
}

.woocommerce div.product .product-right-section {
    display: flex;
    flex-direction: column;
}

/* Full Width Description Section */
.woocommerce div.product .product-description-full-width {
    width: 100%;
    margin-top: 40px;
}

/* Product Image Box */
.woocommerce div.product .product-image-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.woocommerce div.product .product-image-box .woocommerce-product-gallery {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
}

/* Single product image styling */
.woocommerce div.product .product-image-box .woocommerce-product-gallery__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.woocommerce div.product .product-image-box .woocommerce-product-gallery__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.woocommerce div.product .product-image-box .woocommerce-product-gallery__image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
}

/* Product Summary Box (Right Section) */
.woocommerce div.product .product-summary-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Product Title Styling */
.woocommerce div.product .product-summary-box h1.product_title,
.woocommerce div.product h1.product_title,
.single .entry-title {
    font-size: 30px !important;
    color: #59A2FF !important;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Product Price Styling */
.woocommerce div.product .product-summary-box .price,
.woocommerce div.product .price {
    font-size: 36px !important;
    font-weight: 700;
    color: #333333;
    margin: 15px 0;
}

/* Override WooCommerce Price Amount */
.woocommerce div.product .product-summary-box .price span.woocommerce-Price-amount.amount,
.woocommerce div.product .price span.woocommerce-Price-amount.amount {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #333333 !important;
}

/* Product Description Box (Full Width) */
.woocommerce div.product .product-description-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
}

/* Legacy support for old summary class */
.woocommerce div.product .summary {
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.woocommerce div.product .summary .product_title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.woocommerce div.product .summary .price {
    font-size: 24px;
    font-weight: 700;
    color: #59A2FF;
    margin-bottom: 20px;
}

.woocommerce div.product .summary .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

/* Enhanced Add to Cart Form */
.woocommerce div.product form.cart {
    margin-bottom: 30px;
}

.woocommerce div.product form.cart .quantity input {
    width: 80px;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    background: #59A2FF;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: 15px;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #26242D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 162, 255, 0.3);
}

/* Enhanced Footer */
.site-footer {
    background: #26242D;
    color: #ffffff;
    margin-top: 60px;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-top .widget {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 30px;
}

.footer-top .widget-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #59A2FF;
}

.footer-top .widget p,
.footer-top .widget a {
    color: #cccccc;
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-top .widget a:hover {
    color: #59A2FF;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #59A2FF;
    padding-left: 10px;
}

/* Contact Details */
.contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #cccccc;
}

.contact-details i {
    color: #59A2FF;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Footer Search */
.footer-top .widget_search input[type="search"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #444;
    border-radius: 8px;
    background: #333;
    color: #ffffff;
    font-size: 14px;
}

.footer-top .widget_search input[type="search"]:focus {
    outline: none;
    border-color: #59A2FF;
    box-shadow: 0 0 0 3px rgba(89, 162, 255, 0.1);
}

.footer-top .widget_search input[type="search"]::placeholder {
    color: #999;
}

.footer-bottom {
    background: #1A1820;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom .site-info a {
    color: #59A2FF;
    text-decoration: none;
}

.footer-bottom .site-info a:hover {
    color: #ffffff;
}

/* Enhanced Social Links */
.social-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #59A2FF;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links li a:hover {
    background: #ffffff;
    color: #59A2FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 162, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce div.product .product-layout-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .woocommerce div.product .product-left-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .woocommerce div.product .product-summary-box {
        position: static;
    }
    
    .woocommerce div.product .product-description-full-width {
        margin-top: 30px;
    }
    
    .woocommerce div.product .product-image-box {
        min-height: 300px;
        padding: 15px;
    }
    
    .woocommerce div.product .product-image-box .woocommerce-product-gallery__image img {
        max-height: 350px;
    }
    
    .woocommerce ul.products li.product {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .woocommerce .related.products ul.products li.product {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-navigation li {
        margin: 0 0 10px 0;
    }
    
    .head-2 .woocommerce-product-search {
        max-width: 100%;
        margin: 20px 0;
    }
}

/* Loading States */
.woocommerce .loading {
    opacity: 0.6;
    pointer-events: none;
}

.woocommerce .loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #59A2FF;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid;
}

.woocommerce .woocommerce-message {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.woocommerce .woocommerce-info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.woocommerce .woocommerce-error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

/* Product Features List Styling */
.product-features-list {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #59A2FF;
}

.product-features-list .features-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
}

.product-features-list .features-title::before {
    content: '\f0a3';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #59A2FF;
    margin-right: 10px;
    font-size: 16px;
}

.product-features-list .features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-features-list .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.product-features-list .feature-item:last-child {
    margin-bottom: 0;
}

.product-features-list .feature-item:hover {
    transform: translateX(5px);
}

.product-features-list .feature-icon {
    color: #28a745;
    font-size: 16px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.product-features-list .feature-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive adjustments for features list */
@media (max-width: 768px) {
    .product-features-list {
        margin: 15px 0;
        padding: 15px;
    }
    
    .product-features-list .features-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .product-features-list .feature-text {
        font-size: 14px;
    }
    
    .product-features-list .feature-icon {
        font-size: 14px;
        margin-right: 10px;
    }
}

/* WooCommerce Plugin Styling */
.xoo-wsc-sc-cont {
    color: white !important;
}

.xoo-wsc-sc-cont * {
    color: white !important;
}

/* WooCommerce Blocks Cart Styling */
.wc-block-components-main {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px 0;
    padding: 16px;
}

/* Cart Items Table */
.wc-block-cart-items {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Cart Header */
.wc-block-cart-items__header {
    background: #f8f9fa;
    border-bottom: 2px solid #e5e7eb;
}

.wc-block-cart-items__header th {
    padding: 16px 8px;
    text-align: left;
    font-weight: bold;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    border: none;
}

.wc-block-cart-items__header-image {
    width: 150px;
}

.wc-block-cart-items__header-product {
    width: auto;
}

.wc-block-cart-items__header-total {
    width: 120px;
    text-align: right;
}

/* Individual Cart Item Row */
.wc-block-cart-items__row {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.wc-block-cart-items__row:first-child {
    border-top: none;
}

.wc-block-cart-items__row:hover {
    background: #f8f9fa;
}

.wc-block-cart-items__row td {
    padding: 16px 8px;
    vertical-align: top;
    border: none;
}

/* Product Image */
.wc-block-cart-item__image {
    text-align: center;
}

.wc-block-cart-item__image img {
    width: 150px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    filter: brightness(0.95);
    transition: transform 0.2s ease;
}

.wc-block-cart-items__row:hover .wc-block-cart-item__image img {
    transform: scale(1.02);
}

/* Product Details Column */
.wc-block-cart-item__product {
    width: auto;
}

.wc-block-cart-item__wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Product Name */
.wc-block-components-product-name {
    font-weight: 500;
    font-size: 24px;
    color: #59A2FF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-block-components-product-name:hover {
    color: #4a8bcc;
}

/* Product Prices */
.wc-block-cart-item__prices {
    margin-bottom: 8px;
}

.wc-block-components-product-price {
    font-size: 18px;
    font-weight: 600;
    color: #59A2FF;
}

/* Product Metadata */
.wc-block-components-product-metadata {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 12px;
}

.wc-block-components-product-metadata__description {
    margin-bottom: 8px;
}

.wc-block-components-product-metadata__description h4 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.wc-block-components-product-metadata__description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc-block-components-product-metadata__description li {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.wc-block-components-product-metadata__description .feature-icon {
    color: #10b981;
    margin-right: 8px;
}

/* Quantity Controls */
.wc-block-cart-item__quantity {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.wc-block-components-quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.wc-block-components-quantity-selector__button {
    background: transparent;
    color: #374151;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background: #f3f4f6;
}

.wc-block-components-quantity-selector__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wc-block-components-quantity-selector__input {
    border: none;
    outline: none;
    text-align: center;
    width: 64px;
    padding: 8px;
    font-weight: 500;
    font-size: 16px;
    background: transparent;
}

/* Remove Button */
.wc-block-cart-item__remove-link {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.wc-block-cart-item__remove-link:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Total Column */
.wc-block-cart-item__total {
    text-align: right;
    vertical-align: top;
}

.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.wc-block-cart-item__total .wc-block-components-product-price {
    font-size: 20px;
    font-weight: 600;
    color: #59A2FF;
}

/* Cart Totals Block */
.wp-block-woocommerce-cart-totals-block {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.wp-block-woocommerce-cart-order-summary-block {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Order Summary Heading */
.wp-block-woocommerce-cart-order-summary-heading-block h2 {
    color: #59A2FF;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #59A2FF;
}

/* Totals */
.wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.wc-block-components-totals-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 18px;
    color: #59A2FF;
}

/* Proceed to Checkout Button */
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button {
    background: linear-gradient(135deg, #59A2FF 0%, #4a8bcc 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(89, 162, 255, 0.4);
}

/* Empty Cart Block */
.wp-block-woocommerce-empty-cart-block {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.wp-block-woocommerce-empty-cart-block h2 {
    color: #59A2FF;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Product Grid for Empty Cart */
.wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.wc-block-grid__product {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.wc-block-grid__product:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.wc-block-grid__product-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.wc-block-grid__product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
    transform: scale(1.05);
}

.wc-block-grid__product-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.wc-block-grid__product-price {
    font-size: 18px;
    font-weight: 600;
    color: #59A2FF;
    margin-bottom: 15px;
}

/* Add to Cart Button */
.wc-block-grid__product-add-to-cart .wp-block-button__link {
    background: linear-gradient(135deg, #59A2FF 0%, #4a8bcc 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 162, 255, 0.4);
    color: white;
}

/* Empty Cart Button */
.wp-block-woocommerce-cart-line-items-block::after {
    content: "";
    display: block;
    padding-top: 16px;
    text-align: right;
}

.wc-block-cart-empty-cart {
    text-align: right;
    padding-top: 16px;
}

.wc-block-cart-empty-cart .btn {
    background: transparent;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: none;
}

.wc-block-cart-empty-cart .btn.secondary:hover {
    background: #f3f4f6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wc-block-cart-items__header-image {
        width: 120px;
    }
    
    .wc-block-cart-items__header-total {
        width: 100px;
    }
    
    .wc-block-cart-item__image img {
        width: 120px;
    }
    
    .wc-block-components-product-name {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .wc-block-components-main {
        margin: 10px;
        padding: 15px;
    }
    
    .wc-block-cart-items {
        display: block;
        width: 100%;
    }
    
    .wc-block-cart-items__header {
        display: none;
    }
    
    .wc-block-cart-items__row {
        display: block;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin-bottom: 16px;
        padding: 16px;
        background: #ffffff;
    }
    
    .wc-block-cart-items__row td {
        display: block;
        padding: 8px 0;
        border: none;
        text-align: left;
    }
    
    .wc-block-cart-item__image {
        text-align: center;
        margin-bottom: 16px;
    }
    
    .wc-block-cart-item__image img {
        width: 150px;
    }
    
    .wc-block-components-product-name {
        font-size: 20px;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .wc-block-cart-item__prices {
        text-align: center;
        margin-bottom: 12px;
    }
    
    .wc-block-components-product-metadata {
        text-align: center;
        margin-bottom: 16px;
    }
    
    .wc-block-cart-item__quantity {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }
    
    .wc-block-cart-item__total {
        text-align: center;
        border-top: 1px solid #e5e7eb;
        padding-top: 16px;
        margin-top: 16px;
    }
    
    .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        align-items: center;
    }
}

/* Enhanced Cart Page Styling */
.woocommerce-cart-form {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Cart Table Styling */
.woocommerce-cart-form .shop_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: #ffffff;
}

.woocommerce-cart-form .shop_table thead {
    background: linear-gradient(135deg, #59A2FF 0%, #4a8bcc 100%);
}

.woocommerce-cart-form .shop_table thead th {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 15px;
    text-align: left;
    border: none;
    position: relative;
}

.woocommerce-cart-form .shop_table thead th:first-child {
    border-top-left-radius: 12px;
}

.woocommerce-cart-form .shop_table thead th:last-child {
    border-top-right-radius: 12px;
}

/* Cart Item Rows */
.woocommerce-cart-form .cart_item {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.woocommerce-cart-form .cart_item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.woocommerce-cart-form .cart_item td {
    padding: 20px 15px;
    vertical-align: middle;
    border: none;
}

/* Product Remove Button */
.woocommerce-cart-form .product-remove .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.woocommerce-cart-form .product-remove .remove:hover {
    background: #c82333;
    transform: scale(1.1);
    color: white;
}

/* Product Thumbnail */
.woocommerce-cart-form .product-thumbnail {
    width: 80px;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.woocommerce-cart-form .product-thumbnail a:hover img {
    border-color: #59A2FF;
    transform: scale(1.05);
}

/* Product Name */
.woocommerce-cart-form .product-name {
    font-weight: 600;
    color: #333;
}

.woocommerce-cart-form .product-name a {
    color: #59A2FF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.woocommerce-cart-form .product-name a:hover {
    color: #26242D;
    text-decoration: underline;
}

/* Product Price */
.woocommerce-cart-form .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

/* Quantity Input */
.woocommerce-cart-form .product-quantity {
    text-align: center;
}

.woocommerce-cart-form .quantity input[type="number"] {
    width: 80px;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce-cart-form .quantity input[type="number"]:focus {
    outline: none;
    border-color: #59A2FF;
    box-shadow: 0 0 0 3px rgba(89, 162, 255, 0.1);
}

/* Product Subtotal */
.woocommerce-cart-form .product-subtotal {
    font-size: 20px;
    font-weight: 700;
    color: #59A2FF;
    text-align: center;
}

/* Cart Actions */
.woocommerce-cart-form .actions {
    background: #f8f9fa;
    padding: 25px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.woocommerce-cart-form .coupon {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.woocommerce-cart-form .coupon input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.woocommerce-cart-form .coupon input[type="text"]:focus {
    outline: none;
    border-color: #59A2FF;
    box-shadow: 0 0 0 3px rgba(89, 162, 255, 0.1);
}

.woocommerce-cart-form .coupon button,
.woocommerce-cart-form button[name="update_cart"] {
    background: #59A2FF;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-cart-form .coupon button:hover,
.woocommerce-cart-form button[name="update_cart"]:hover {
    background: #26242D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 162, 255, 0.3);
}

/* Cart Totals Styling */
.cart-collaterals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.woocommerce-cart-totals {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.woocommerce-cart-totals h2 {
    background: linear-gradient(135deg, #59A2FF 0%, #4a8bcc 100%);
    color: white;
    margin: 0;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.woocommerce-cart-totals .shop_table {
    margin: 0;
    border: none;
}

.woocommerce-cart-totals .shop_table th,
.woocommerce-cart-totals .shop_table td {
    padding: 15px 20px;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-cart-totals .shop_table th {
    font-weight: 600;
    color: #333;
    width: 50%;
}

.woocommerce-cart-totals .shop_table td {
    font-weight: 700;
    color: #59A2FF;
    text-align: right;
}

.woocommerce-cart-totals .order-total th,
.woocommerce-cart-totals .order-total td {
    background: #f8f9fa;
    font-size: 18px;
    border-bottom: none;
}

/* Checkout Button */
.woocommerce-cart-totals .wc-proceed-to-checkout {
    padding: 20px;
    background: #f8f9fa;
}

.woocommerce-cart-totals .checkout-button {
    width: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.woocommerce-cart-totals .checkout-button:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: white;
}

/* Empty Cart Message */
.woocommerce-cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.woocommerce-cart-empty .cart-empty-icon {
    font-size: 64px;
    color: #59A2FF;
    margin-bottom: 20px;
}

.woocommerce-cart-empty h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.woocommerce-cart-empty .return-to-shop {
    display: inline-block;
    background: #59A2FF;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.woocommerce-cart-empty .return-to-shop:hover {
    background: #26242D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 162, 255, 0.3);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-cart-form .shop_table {
        display: block;
    }
    
    .woocommerce-cart-form .shop_table thead {
        display: none;
    }
    
    .woocommerce-cart-form .shop_table tbody {
        display: block;
    }
    
    .woocommerce-cart-form .cart_item {
        display: block;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        margin-bottom: 20px;
        padding: 15px;
        background: white;
    }
    
    .woocommerce-cart-form .cart_item td {
        display: block;
        padding: 10px 0;
        text-align: left !important;
        border: none;
    }
    
    .woocommerce-cart-form .cart_item td:before {
        content: attr(data-title) ": ";
        font-weight: 600;
        color: #59A2FF;
        display: inline-block;
        width: 100px;
    }
    
    .woocommerce-cart-form .product-remove {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .woocommerce-cart-form .product-thumbnail {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .woocommerce-cart-form .coupon {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-cart-form .coupon input[type="text"] {
        min-width: auto;
        margin-bottom: 15px;
    }
    
    .cart-collaterals {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-cart-totals {
        position: static;
    }
}