/* DIGIWARE PRODUCT PAGE - PIXEL PERFECT STYLES */

.digiware-product-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

/* HERO SECTION LAYOUT */
.digiware-hero-section {
    display: grid;
    grid-template-columns: 350px 1fr 320px;
    gap: 30px;
    margin-bottom: 40px;
}

/* COL 1: GALLERY */
/* GALLERY LAYOUT */

.digiware-gallery-container{
    position:relative;
}

.digiware-main-image{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:30px;
    text-align:center;
}

.digiware-main-image img{
    width:100%;
    height:auto;
    object-fit:contain;
}

.digiware-thumbnails{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:20px;
}

.digiware-thumbnails img{
    width:72px;
    height:72px;
    object-fit:contain;
    border:2px solid #ececec;
    border-radius:12px;
    padding:6px;
    cursor:pointer;
    background:#fff;
    transition:.25s;
}

.digiware-thumbnails img:hover{
    border-color:#2563eb;
}
.digiware-gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:26px;
    font-weight:700;
    z-index:10;
}

.digiware-gallery-arrow.left{
    left:-20px;
}

.digiware-gallery-arrow.right{
    right:-20px;
}

/* COL 2: INFO */
.digiware-label-top {
    color: #0056B3;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.digiware-product-page h1.product_title {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 10px 0;
}

.digiware-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.digiware-review-count {
    color: #666;
    font-size: 14px;
}

.digiware-custom-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.digiware-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

.digiware-feature-item i {
    font-size: 20px;
    color: #333;
}

.digiware-feature-item strong {
    display: block;
    font-size: 13px;
    color: #666;
}

.digiware-feature-item span {
    font-weight: 600;
    color: #1A1A1A;
}

.digiware-important-info {
    background: #F4F7FF;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #E1E8FF;
}

.digiware-important-info h4 {
    color: #0056B3;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.digiware-important-info ul {
    list-style: none;
    padding: 0;
}

.digiware-important-info li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.digiware-important-info li i {
    color: #0056B3;
}

/* COL 3: PURCHASE CARD */
.digiware-purchase-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.digiware-price-row-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.price-label { color: #666; font-size: 14px; }
.digiware-price-row-top del { color: #999; font-weight: 600; }
.price-badge-small {
    background: #E31E24;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.digiware-price-main .woocommerce-Price-amount {
    font-size: 36px;
    font-weight: 800;
    color: #E31E24;
}

.digiware-stock-status {
    color: #27AE60;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

.digiware-qty-section {
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.digiware-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.digiware-actions .button {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: 0.3s;
}

.digiware-btn-cart { background: #E31E24 !important; color: #fff !important; border: none; }
.digiware-btn-buy { background: #fff !important; color: #1A1A1A !important; border: 2px solid #1A1A1A !important; }
.digiware-btn-quote { background: #fff !important; color: #8E44AD !important; border: 2px solid #8E44AD !important; }

.digiware-secure-payment {
    margin-top: 25px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.digiware-secure-payment p { font-size: 13px; color: #666; margin-bottom: 10px; }

/* TRUST BAR */
.digiware-trust-bar {
    display: flex;
    justify-content: space-between;
    background: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-item i { font-size: 24px; color: #0056B3; }
.trust-item span { font-weight: 600; font-size: 14px; line-height: 1.2; }
.trust-item small { color: #666; font-weight: 400; }

/* CONTENT SECTION */
.digiware-content-section {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* REVIEWS WRAPPER CUSTOMIZATION */
.digiware-reviews-wrapper {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .digiware-hero-section {
        grid-template-columns: 1fr;
    }
    .digiware-content-section {
        grid-template-columns: 1fr;
    }
}
.digiware-custom-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.digiware-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f7f8fa;
    border: 1px solid #eee;
    border-radius: 12px;
}

.digiware-feature .feature-icon {
    flex-shrink: 0;
    font-size: 20px;
    color: #0056B3;
}

.digiware-feature .feature-label {
    font-size: 12px;
    color: #0056B3;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.digiware-feature .feature-value {
    font-size: 14px;
    font-weight: 700;
    color: #27AE60;
}
.dw-pay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.dw-pay-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
}

.dw-pay-item img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.dw-pay-wide {
    grid-column: span 1;
}

/* Ooredoo et Virement Bancaire sur 2 colonnes à eux deux */
.dw-pay-item:nth-child(4),
.dw-pay-item:nth-child(5) {
    grid-column: span 1;
}

/* Ligne Ooredoo + Virement = 2 colonnes de 50% */
.dw-pay-item:nth-child(4) {
    grid-column: 1 / 3;
}

.dw-pay-item:nth-child(5) {
    grid-column: 3 / 4;
}

/* Ligne Paiement livraison + Solde = 2 colonnes */
.dw-pay-item:nth-child(6) {
    grid-column: 1 / 3;
}

.dw-pay-item:nth-child(7) {
    grid-column: 3 / 4;
}

.dw-pay-text {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.3;
}
.dw-variations-wrap { margin: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.dw-variation-row { display: flex; flex-direction: column; gap: 6px; }
.dw-variation-label { font-size: 13px; font-weight: 600; color: #555; display: flex; align-items: center; gap: 6px; }
.dw-selected-val { font-weight: 700; color: #111; }
.dw-variation-options { display: flex; flex-wrap: wrap; gap: 6px; }
.dw-var-radio { display: none; }
.dw-var-pill { padding: 5px 14px; border: 1.5px solid #ddd; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; color: #444; background: #fff; transition: all .2s; }
.dw-var-pill:hover { border-color: #e63946; color: #e63946; }
.dw-var-radio:checked + .dw-var-pill { background: #e63946; border-color: #e63946; color: #fff; }
.dw-variation-label{
    display:block;
    margin-bottom:12px;
    font-size:15px;
    font-weight:600;
    color:#333;
}

.dw-variation-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.dw-var-radio{
    display:none;
}

.dw-var-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border:2px solid #e5e7eb;
    border-radius:12px;
    background:#fff;
    color:#222;
    font-weight:600;
    cursor:pointer;
    transition:all .2s ease;
    min-width:120px;
}

.dw-var-pill:hover{
    border-color:#22c55e;
    color:#22c55e;
}

.dw-var-radio{
    position:absolute !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
}

.dw-variation-row{
    margin-bottom:20px;
}

.dw-selected-val{
    color:#22c55e;
    font-weight:700;
}
@media (max-width:768px){

    .digiware-hero-section{
        display:flex !important;
        flex-direction:column !important;
        gap:20px !important;
    }

    .digiware-col-gallery{
        width:100% !important;
        max-width:100% !important;
        flex:none !important;
    }

    .digiware-col-info{
        width:100% !important;
        max-width:100% !important;
        flex:none !important;
    }

    .digiware-col-purchase{
        width:100% !important;
        max-width:100% !important;
        flex:none !important;
    }

    .digiware-gallery-container{
        width:100% !important;
    }

    .digiware-main-image img{
        width:100% !important;
        height:auto !important;
    }

    .digiware-custom-features-grid{
        grid-template-columns:1fr !important;
    }

    .digiware-trust-bar{
        display:flex !important;
        flex-direction:column !important;
    }

    .digiware-content-section{
        display:flex !important;
        flex-direction:column !important;
    }

    .digiware-main-content{
        width:100% !important;
    }

    .digiware-sidebar{
        width:100% !important;
    }

    .digiware-purchase-card{
        width:100% !important;
        box-sizing:border-box;
    }

}
.digiware-trust-bar {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 20px 30px;
    border-radius: 14px;
    margin-bottom: 40px;
    border: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
/* ── SOCIÉTÉ VÉRIFIÉE ── */
.dw-verified-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 24px;
}

.dw-verified-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.dw-verified-badge {
    width: 38px;
    height: 38px;
    background: #1a56db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dw-verified-badge i {
    color: #fff;
    font-size: 16px;
}

.dw-verified-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.dw-verified-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.dw-verified-item:last-of-type {
    border-bottom: none;
}

.dw-verified-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dw-verified-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dw-verified-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.dw-verified-text span {
    font-size: 12px;
    color: #888;
}

.dw-verified-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a56db;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 14px;
}

.dw-verified-link:hover {
    text-decoration: underline;
}
.dw-verified-badge-social {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(24,119,242,0.35));
}