/* 
Theme Name: Wizhope
Theme URI: https://wizhope.com/
Author: Wizhope Tech
Author URI: https://wizhope.com/
Description: A Custom Wizhope Tech WordPress theme
Version: 3.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wizhope-tech
*/

/* Digital Services Hub Custom Styling */
.dsh-services-wrapper {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dsh-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #edf2f7;
    background-color: #ffffff;
}

.dsh-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08) !important;
}

.dsh-card-img-wrap {
    height: 200px;
    overflow: hidden;
    background-color: #f8fafc;
}

.dsh-card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.dsh-card:hover .dsh-card-img {
    transform: scale(1.05);
}

.dsh-add-to-cart-btn {
    transition: all 0.2s ease;
}

.dsh-add-to-cart-btn:hover {
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.35);
}

/* Checkout & Gateway Modal Styling */
.dsh-gateway-card {
    transition: all 0.2s ease-in-out;
    background: #ffffff;
    cursor: pointer;
}

.dsh-gateway-card:hover {
    background-color: #f8fafc;
    border-color: #0d6efd !important;
}

.dsh-gateway-card.active {
    background-color: #f0f7ff;
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 1px #0d6efd;
}

.dsh-gateway-card input[type="radio"] {
    cursor: pointer;
}
/* =========================================================
   Physical Products / Fashion Commerce
   ========================================================= */
.dsh-product-page,.dsh-products-archive,.dsh-products-grid{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#171717}
.dsh-product-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:.9rem;color:#6b7280}
.dsh-product-breadcrumb a{color:#4b5563;text-decoration:none}.dsh-product-breadcrumb a:hover{color:#111827}
.dsh-product-main-image-wrap{background:#f6f6f6;border-radius:18px;overflow:hidden;aspect-ratio:4/5}
.dsh-product-main-image{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .2s ease}
.dsh-product-thumbs{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.dsh-product-thumb{width:76px;height:88px;flex:0 0 76px;border:1px solid #e5e7eb;border-radius:10px;padding:3px;background:#fff;overflow:hidden}
.dsh-product-thumb.active{border-color:#111827;box-shadow:0 0 0 1px #111827}.dsh-product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}
.dsh-product-summary{position:sticky;top:24px}.dsh-product-brand{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:700;color:#6b7280}
.dsh-product-title{font-size:clamp(2rem,4vw,3rem);line-height:1.08;font-weight:750;letter-spacing:-.03em}
.dsh-product-meta-line{display:flex;flex-wrap:wrap;gap:10px 18px;color:#6b7280;font-size:.9rem}.dsh-product-meta-line a{color:inherit}
.dsh-product-price-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dsh-product-sale-price{font-size:1.8rem;font-weight:750;color:#111827}.dsh-product-mrp{text-decoration:line-through;color:#9ca3af;font-size:1rem}.dsh-product-discount{font-size:.82rem;font-weight:700;background:#ecfdf5;color:#047857;padding:5px 8px;border-radius:999px}
.dsh-product-short-desc{color:#52525b;line-height:1.7}.dsh-stock-message{display:inline-flex;align-items:center;border-radius:999px;padding:7px 12px;font-weight:650;font-size:.9rem}.dsh-stock-message.in-stock{background:#ecfdf5;color:#047857}.dsh-stock-message.out-stock{background:#fef2f2;color:#b91c1c}
.dsh-qty-control{display:inline-flex;align-items:center;border:1px solid #d1d5db;border-radius:10px;overflow:hidden;background:#fff}.dsh-qty-control button{width:42px;height:42px;border:0;background:#f9fafb;font-size:1.25rem}.dsh-qty-control input{width:58px;height:42px;border:0;border-left:1px solid #e5e7eb;border-right:1px solid #e5e7eb;text-align:center;outline:0;-moz-appearance:textfield}.dsh-qty-control input::-webkit-outer-spin-button,.dsh-qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.dsh-product-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dsh-product-trust-grid>div{border:1px solid #e5e7eb;border-radius:12px;padding:13px;display:flex;align-items:flex-start;gap:9px;color:#4b5563;font-size:.82rem}.dsh-product-trust-grid i{font-size:1.15rem;color:#111827}
.dsh-product-details-card{border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;background:#fff}.dsh-product-details-card .nav-tabs{padding:0 18px;background:#fafafa}.dsh-product-details-card .nav-link{color:#52525b;font-weight:650;padding:15px 16px;border:0;border-bottom:2px solid transparent}.dsh-product-details-card .nav-link.active{background:transparent;color:#111827;border-bottom-color:#111827}
.dsh-spec-table th{width:180px;color:#6b7280;font-weight:600}.dsh-spec-table td{color:#111827}
.dsh-related-card,.dsh-product-card{display:block;color:#111827;text-decoration:none;border:1px solid #ececec;border-radius:15px;overflow:hidden;background:#fff;transition:transform .2s ease,box-shadow .2s ease}.dsh-related-card:hover,.dsh-product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.08);color:#111827}.dsh-related-card img,.dsh-product-card-image img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;background:#f5f5f5}.dsh-related-card h3,.dsh-product-card-title{font-size:1rem;margin:0 0 8px;font-weight:650}.dsh-product-card-title a{color:inherit;text-decoration:none}.dsh-related-card .price,.dsh-product-card-price{font-size:1.05rem;font-weight:750}
.dsh-product-option-select{min-height:48px;border-radius:10px}.dsh-product-action-msg .alert{margin-bottom:0;border-radius:10px}
@media(max-width:991.98px){.dsh-product-summary{position:static}.dsh-product-trust-grid{grid-template-columns:1fr}.dsh-product-main-image-wrap{aspect-ratio:1/1.15}}
@media(max-width:575.98px){.dsh-product-title{font-size:2rem}.dsh-product-sale-price{font-size:1.5rem}.dsh-product-main-image-wrap{border-radius:12px}.dsh-product-details-card .nav-tabs{flex-wrap:nowrap;overflow-x:auto}.dsh-product-details-card .nav-link{white-space:nowrap}.dsh-product-thumbs{gap:7px}.dsh-product-thumb{width:64px;height:74px;flex-basis:64px}}

/* =========================================================
   Phase 3: Wishlist, Reviews, Filters, Offers, Discovery
   ========================================================= */
.dsh-product-filter-card{position:sticky;top:24px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:18px;box-shadow:0 8px 28px rgba(0,0,0,.035)}
.dsh-product-card{position:relative}.dsh-product-card .dsh-wishlist-btn,.dsh-wishlist-grid .dsh-wishlist-btn{position:absolute;right:10px;top:10px;width:38px;height:38px;border:1px solid rgba(0,0,0,.08);border-radius:50%;background:rgba(255,255,255,.94);display:inline-flex;align-items:center;justify-content:center;z-index:3;color:#111827;box-shadow:0 3px 12px rgba(0,0,0,.08);transition:.18s ease}.dsh-product-card .dsh-wishlist-btn:hover,.dsh-wishlist-grid .dsh-wishlist-btn:hover{transform:scale(1.05)}.dsh-wishlist-btn.active{color:#dc2626;border-color:#fecaca;background:#fff5f5}.dsh-wishlist-btn.is-loading{opacity:.6}.dsh-product-wishlist-btn{position:static!important;height:auto!important;width:100%!important;border-radius:.5rem!important;background:#fff!important;box-shadow:none!important}.dsh-product-wishlist-btn.active{color:#b91c1c;border-color:#fca5a5!important}
.dsh-offer-badge{position:absolute;left:10px;top:10px;z-index:2;background:#111827;color:#fff;border-radius:999px;font-size:.72rem;font-weight:700;padding:6px 9px;max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dsh-product-offers{border:1px solid #fde68a;background:#fffbeb;border-radius:14px;padding:14px 16px;color:#713f12}.dsh-offer-line{display:flex;align-items:flex-start;gap:8px;font-size:.9rem;margin-top:6px}.dsh-offer-line i{color:#16a34a;margin-top:1px}
.dsh-product-rating-line,.dsh-card-rating{display:flex;align-items:center;gap:7px}.dsh-rating-stars{display:inline-flex;gap:2px;color:#f59e0b;font-size:.92rem;line-height:1}.dsh-rating-count{font-size:.82rem;color:#6b7280}.dsh-card-rating .dsh-rating-stars{font-size:.78rem}.dsh-card-rating .dsh-rating-count{font-size:.74rem}
.dsh-review-summary{text-align:center;border:1px solid #e5e7eb;border-radius:16px;padding:22px;background:#fafafa}.dsh-review-average{font-size:3rem;line-height:1;font-weight:800;margin-bottom:10px}.dsh-rating-row{display:grid;grid-template-columns:34px 1fr 28px;align-items:center;gap:9px;margin:8px 0;font-size:.82rem}.dsh-rating-row .progress{height:7px;background:#f3f4f6}.dsh-rating-row .progress-bar{background:#f59e0b}.dsh-review-list{display:grid;gap:12px}.dsh-review-item{border:1px solid #e5e7eb;border-radius:14px;padding:16px}.dsh-verified-badge{font-size:.72rem;color:#047857;background:#ecfdf5;border-radius:999px;padding:3px 7px;white-space:nowrap}.dsh-review-form{border-top:1px solid #e5e7eb;padding-top:20px}
.dsh-wishlist-wrap .dsh-empty-state{border:1px dashed #d1d5db;border-radius:16px}.dsh-wishlist-grid .dsh-product-card-title{font-size:.95rem}.dsh-recent-products{padding-bottom:12px}
@media(max-width:991.98px){.dsh-product-filter-card{position:static;margin-bottom:10px}.dsh-products-archive #dshProductFilters{margin-bottom:4px}}
