/*
Theme Name: DayunTalib
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/


/* ==========================================================================
   DAYUNTALIB ULTIMATE PRODUCT DETAILS PAGE STYLES (eBay-inspired Usability &amp; Modern Design)
   ========================================================================== */

/* --- Container &amp; Layout Hygiene --- */
.single-product .site-main,
.single-product .product,
.single-product .entry-content {
    overflow-x: hidden !important;
}

/* --- Product Image Gallery (Left Column) --- */
.single-product .product-images,
.single-product .woocommerce-product-gallery {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}

.single-product .woocommerce-product-gallery__image img {
    border-radius: 12px;
    object-fit: contain;
}

.single-product .flex-control-thumbs li img,
.single-product .product-thumbs-slider img {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 2px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.single-product .flex-control-thumbs li img.flex-active,
.single-product .product-thumbs-slider img.active,
.single-product .flex-control-thumbs li img:hover {
    border-color: #2563eb !important;
    transform: scale(1.03);
}

/* --- Product Summary / Buy Box (Right Column) --- */
.single-product .summary,
.single-product .entry-summary {
    font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
}

/* Product Title */
.single-product .product_title,
.single-product h1.entry-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.02em;
    margin-bottom: 12px !important;
}

/* Rating */
.single-product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #4b5563;
}

.single-product .star-rating {
    color: #f59e0b !important;
}

/* Price Box */
.single-product .price,
.single-product p.price {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.single-product .price del,
.single-product p.price del {
    font-size: 18px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
}

.single-product .price ins,
.single-product p.price ins {
    text-decoration: none !important;
    color: #dc2626 !important;
}

/* Short Description Box */
.single-product .woocommerce-product-details__short-description {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #334155;
}

/* Stock Badge */
.single-product .stock.in-stock,
.single-product .dayun-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.single-product .stock.in-stock::before {
    content: &quot;✓&quot;;
    font-weight: 800;
}

/* Add to Cart Area &amp; Quantity */
.single-product form.cart {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.single-product form.cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    height: 48px;
}

.single-product form.cart .quantity input.qty {
    width: 54px !important;
    height: 48px !important;
    border: none !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.single-product button.single_add_to_cart_button {
    height: 48px !important;
    background: #1e40af !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 0 28px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    flex: 1;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.single-product button.single_add_to_cart_button:hover {
    background: #1e3a8a !important;
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.35) !important;
    transform: translateY(-1px);
}

/* Variations */
.single-product table.variations {
    width: 100%;
    margin-bottom: 16px;
    border: none !important;
}

.single-product table.variations td.label {
    font-weight: 600;
    color: #374151;
    padding-right: 12px;
}

.single-product table.variations select {
    width: 100%;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #111827;
}

/* Wishlist Button */
.single-product .yith-wcwl-add-to-wishlist,
.single-product .add_to_wishlist {
    margin-top: 10px;
}

.single-product .yith-wcwl-add-button a,
.single-product .add_to_wishlist {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4b5563 !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    transition: color 0.2s;
}

.single-product .yith-wcwl-add-button a:hover,
.single-product .add_to_wishlist:hover {
    color: #dc2626 !important;
}

/* --- Trust / Purchase Info Box (Compact Brand Store Style) --- */
.dayun-trust-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin-top: 16px !important;
    margin-bottom: 24px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Trust Table Layout */
.single-product table.dayun-trust-table,
.dayun-trust-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 0 0 12px 0 !important;
}

.single-product table.dayun-trust-table tr,
.dayun-trust-table tr {
    background: #ffffff !important;
}

.single-product table.dayun-trust-table td.dt-trust-cell,
.dayun-trust-table td.dt-trust-cell {
    width: 50% !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    background: #ffffff !important;
}

.single-product table.dayun-trust-table tr td:last-child,
.dayun-trust-table tr td:last-child {
    border-right: none !important;
}

.single-product table.dayun-trust-table tr:last-child td,
.dayun-trust-table tr:last-child td {
    border-bottom: none !important;
}

.dt-trust-cell {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.dt-trust-icon {
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.dt-trust-content {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.25 !important;
}

.dt-trust-content strong {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.dt-trust-content span,
.dt-trust-content a {
    font-size: 11px !important;
    color: #64748b !important;
    text-decoration: none !important;
}

.dt-trust-content a {
    color: #2563eb !important;
    font-weight: 500 !important;
}

.dt-trust-content a:hover {
    text-decoration: underline !important;
}

/* Payments & Guarantees - Compact Brand Badges */
.dt-payments-trust-wrapper {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
}

.dt-payments-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
}

.dt-payments-label {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

.dt-payments-badges {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}

.dt-payment-box {
    width: 38px !important;
    height: 24px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
}

.dt-payment-icon-img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.dt-confidence-container {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 8px !important;
    margin-top: 6px !important;
}

.dt-guarantee-flex {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.dt-shield-box {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.dt-guarantee-info {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    color: #334155 !important;
}

.dt-guarantee-title {
    font-weight: 700 !important;
    color: #0f172a !important;
}

.dt-guarantee-desc {
    color: #64748b !important;
    font-weight: 400 !important;
}

.dt-learn-more {
    color: #2563eb !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.dt-learn-more:hover {
    text-decoration: underline !important;
}

/* --- Tabs / Description &amp; Specifications Table --- */
.single-product .woocommerce-tabs,
.single-product .product-tabs {
    margin-top: 40px !important;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.single-product .wc-tabs,
.single-product .nav-tabs {
    border-bottom: 2px solid #e5e7eb !important;
    margin-bottom: 24px !important;
    display: flex;
    gap: 20px;
}

.single-product .wc-tabs li a,
.single-product .nav-tabs li a {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    padding: 10px 4px !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s;
}

.single-product .wc-tabs li.active a,
.single-product .nav-tabs li.active a {
    color: #1e40af !important;
    border-bottom-color: #1e40af !important;
}

/* Tables inside Description &amp; Specifications */
.single-product table,
.single-product table.shop_attributes {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 20px 0 !important;
    background: #ffffff !important;
}

.single-product table th,
.single-product table td {
    padding: 12px 16px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    border-right: 1px solid #f3f4f6 !important;
}

.single-product table th:last-child,
.single-product table td:last-child {
    border-right: none !important;
}

.single-product table tr:last-child th,
.single-product table tr:last-child td {
    border-bottom: none !important;
}

.single-product table tr:nth-child(even) {
    background-color: #f8fafc !important;
}

.single-product table th,
.single-product table td.label,
.single-product table th.woocommerce-group-attributes-item__label {
    background-color: #f1f5f9 !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    width: 35% !important;
}

.single-product table td {
    color: #334155 !important;
}

/* Headings in Description */
.single-product #tab-description h2,
.single-product #tab-description h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
}

.single-product #tab-description ul {
    margin-left: 20px !important;
    margin-bottom: 18px !important;
}

.single-product #tab-description li {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

/* --- Related Products Section --- */
.single-product .related.products,
.single-product section.related {
    margin-top: 50px !important;
    padding-top: 30px !important;
    border-top: 1px solid #e5e7eb !important;
}

.single-product .related.products h2,
.single-product section.related &gt; h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.01em;
}

.single-product .related .product {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 14px !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
}

.single-product .related .product:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    transform: translateY(-3px) !important;
    border-color: #cbd5e1 !important;
}

.single-product .related .product img {
    border-radius: 8px !important;
    margin-bottom: 12px !important;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 768px) {
    .single-product .product_title,
    .single-product h1.entry-title {
        font-size: 20px !important;
    }

    .single-product .price,
    .single-product p.price {
        font-size: 22px !important;
    }

    .single-product form.cart {
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .single-product form.cart .quantity {
        width: 100%;
        justify-content: center;
    }

    .single-product button.single_add_to_cart_button {
        width: 100% !important;
        min-height: 48px !important;
    }

    .dayun-trust-grid {
        grid-template-columns: 1fr;
    }

    .single-product table,
    .single-product table.shop_attributes {
        font-size: 13px !important;
        display: block !important;
        overflow-x: auto !important;
        white-space: normal !important;
    }

    .single-product table th,
    .single-product table td {
        padding: 8px 10px !important;
    }
}




/* ==========================================================================
   GLOBAL PAYMENT ICONS STYLING (UNIFORM, RESPONSIVE, HIGH QUALITY)
   ========================================================================== */
.footer-payment-icons,
.dt-payments-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.footer-payment-card,
.dt-payment-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 3px 6px !important;
    border: 1px solid #111827 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.footer-payment-card:hover,
.dt-payment-box:hover {
    border-color: #2563eb !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.footer-payment-card img,
.dt-payment-box img,
.dt-payment-icon-img {
    height: 28px !important;
    width: auto !important;
    max-width: 52px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Mobile Responsiveness for Payment Icons */
@media (max-width: 600px) {
    .footer-payment-icons,
    .dt-payments-badges {
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .footer-payment-card,
    .dt-payment-box {
        height: 30px !important;
        padding: 2px 4px !important;
    }

    .footer-payment-card img,
    .dt-payment-box img,
    .dt-payment-icon-img {
        height: 24px !important;
        max-width: 44px !important;
    }
}
