.mtg-product-container{
    width:min(1180px, calc(100% - 40px));
    margin:40px auto;
}
.mtg-product-grid,
.mtg-cart-layout,
.mtg-checkout-layout{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:32px;
    align-items:start;
}
.mtg-checkout-layout{
    grid-template-columns:minmax(0,1fr) 340px;
}
.mtg-product-image-card,
.mtg-product-description-card,
.mtg-card-product,
.mtg-cart-table-card,
.mtg-cart-summary-card,
.mtg-checkout-form-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    box-shadow:0 12px 30px rgba(0,0,0,.04);
}
.mtg-product-image-card{
    padding:18px;
}
.mtg-product-image{
    width:100%;
    height:auto;
    display:block;
    border-radius:16px;
}
.mtg-product-image-placeholder{
    min-height:420px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:#f3f4f6;
    color:#6b7280;
    font-size:16px;
}
.mtg-product-summary{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    box-shadow:0 12px 30px rgba(0,0,0,.04);
    padding:28px;
}
.mtg-product-cats{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
}
.mtg-badge{
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border-radius:999px;
    background:#f3f4f6;
    font-size:12px;
    font-weight:600;
}
.mtg-product-title{
    margin:0 0 16px;
    font-size:34px;
    line-height:1.1;
}
.mtg-product-pricing{
    margin-bottom:20px;
}
.mtg-price-main,
.mtg-price-sale{
    font-size:34px;
    line-height:1;
    font-weight:800;
}
.mtg-price-regular{
    margin-top:8px;
    color:#6b7280;
    text-decoration:line-through;
    font-size:16px;
}
.mtg-product-meta{
    display:grid;
    gap:10px;
    padding:18px 0;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
}
.mtg-meta-row{
    display:flex;
    justify-content:space-between;
    gap:14px;
    font-size:14px;
}
.mtg-buy-form{
    margin:22px 0;
}
.mtg-buy-row{
    display:flex;
    gap:14px;
    align-items:end;
    flex-wrap:wrap;
}
.mtg-qty-wrap{
    min-width:120px;
}
.mtg-qty-wrap label{
    display:block;
    margin-bottom:8px;
    font-weight:700;
    font-size:14px;
}
.mtg-qty-wrap input,
.mtg-cart-qty,
.mtg-field input,
.mtg-field select,
.mtg-field textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:14px;
    padding:12px 14px;
    font-size:15px;
    box-sizing:border-box;
}
.mtg-btn-primary,
.mtg-btn-secondary,
.mtg-card-product-link{
    appearance:none;
    border:none;
    border-radius:14px;
    padding:14px 18px;
    font-weight:700;
    cursor:pointer;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.mtg-btn-primary{
    background:#16a34a;
    color:#fff;
}
.mtg-btn-secondary{
    background:#f3f4f6;
    color:#111827;
}
.mtg-btn-full{
    width:100%;
}
.mtg-link-btn{
    background:none;
    border:none;
    color:#15803d;
    cursor:pointer;
    padding:0;
    font-weight:700;
}
.mtg-product-excerpt{
    color:#4b5563;
    font-size:15px;
    line-height:1.7;
}
.mtg-product-description-card{
    margin-top:30px;
    padding:28px;
}
.mtg-product-description-card h2{
    margin:0 0 14px;
    font-size:24px;
}
.mtg-product-description{
    color:#374151;
    line-height:1.8;
}
.mtg-archive-head{
    margin-bottom:24px;
}
.mtg-archive-head h1{
    margin:0 0 10px;
    font-size:34px;
}
.mtg-archive-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}
.mtg-card-product-image{
    display:block;
    aspect-ratio:1 / 1;
    background:#f3f4f6;
    border-bottom:1px solid #e5e7eb;
    border-radius:22px 22px 0 0;
    overflow:hidden;
}
.mtg-card-product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.mtg-card-product-image span{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#6b7280;
}
.mtg-card-product-body{
    padding:18px;
}
.mtg-card-product-body h2{
    margin:0 0 10px;
    font-size:20px;
    line-height:1.3;
}
.mtg-card-product-body h2 a{
    color:inherit;
    text-decoration:none;
}
.mtg-card-product-price{
    display:flex;
    gap:10px;
    align-items:center;
    margin-bottom:16px;
}
.mtg-card-product-price strong{
    font-size:20px;
}
.mtg-card-product-price small{
    color:#6b7280;
    text-decoration:line-through;
}
.mtg-cart-table-card,
.mtg-checkout-form-card{
    padding:20px;
}
.mtg-cart-table{
    width:100%;
    border-collapse:collapse;
}
.mtg-cart-table th,
.mtg-cart-table td{
    padding:14px 10px;
    border-bottom:1px solid #e5e7eb;
    vertical-align:middle;
    text-align:left;
}
.mtg-cart-product{
    display:flex;
    align-items:center;
    gap:14px;
}
.mtg-cart-thumb{
    width:72px;
    height:72px;
    border-radius:14px;
    overflow:hidden;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 72px;
}
.mtg-cart-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.mtg-cart-product a{
    color:inherit;
    text-decoration:none;
    font-weight:700;
    display:block;
    margin-bottom:4px;
}
.mtg-cart-product small{
    color:#6b7280;
}
.mtg-cart-actions{
    margin-top:18px;
}
.mtg-cart-summary-card{
    padding:24px;
    height:max-content;
}
.mtg-cart-summary-card h2{
    margin:0 0 18px;
    font-size:24px;
}
.mtg-summary-row{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid #e5e7eb;
    font-size:18px;
}
.mtg-cart-subtotal-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}
.mtg-checkout-form{
    display:grid;
    gap:22px;
}
.mtg-checkout-block{
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
}
.mtg-checkout-block h2{
    margin:0 0 6px;
    font-size:22px;
}
.mtg-field-help{
    margin:0 0 16px;
    color:#6b7280;
    font-size:14px;
}
.mtg-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}
.mtg-field{
    display:grid;
    gap:8px;
}
.mtg-field label{
    font-weight:700;
}
.mtg-field small{
    color:#6b7280;
    font-size:12px;
}
.mtg-field-full{
    grid-column:1 / -1;
}
.mtg-option-card{
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:16px;
    margin-top:14px;
}
.mtg-switch-row{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
}
.mtg-toggle-fields{
    margin-top:14px;
}
.mtg-checkout-actions{
    display:flex;
    justify-content:flex-start;
}
.mtg-checkout-items{
    display:grid;
    gap:12px;
}
.mtg-checkout-item{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding-bottom:12px;
    border-bottom:1px solid #e5e7eb;
}
.mtg-checkout-item strong{
    display:block;
    margin-bottom:4px;
}
.mtg-checkout-item small{
    color:#6b7280;
}
.mtg-alert-error{
    margin-bottom:18px;
    background:#fef2f2;
    color:#991b1b;
    border:1px solid #fecaca;
    border-radius:14px;
    padding:14px 16px;
}
.mtg-empty-state{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:40px;
    text-align:center;
}
.mtg-pagination{
    margin-top:28px;
}
@media (max-width: 980px){
    .mtg-product-grid,
    .mtg-cart-layout,
    .mtg-checkout-layout,
    .mtg-form-grid{
        grid-template-columns:1fr;
    }
    .mtg-archive-grid{
        grid-template-columns:1fr;
    }
    .mtg-product-title,
    .mtg-price-main,
    .mtg-price-sale,
    .mtg-archive-head h1{
        font-size:28px;
    }
}

.mtg-payment-methods{
    display:grid;
    gap:12px;
}
.mtg-payment-option{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 16px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
    cursor:pointer;
    font-weight:700;
}
.mtg-payment-option input{
    margin:0;
}

.mtg-payment-panels{
    margin-top:16px;
}
.mtg-payment-panel{
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#f9fafb;
    padding:16px;
}
.mtg-payment-panel h3{
    margin:0 0 12px;
    font-size:18px;
}
.mtg-payment-panel p{
    margin:0 0 10px;
}

.mtg-payment-final-card{
    margin-top:24px;
    text-align:left;
    max-width:680px;
    margin-left:auto;
    margin-right:auto;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:22px;
}
.mtg-payment-final-card--qr{
    background:#f0fdf4;
}
.mtg-payment-final-card--bank{
    background:#eff6ff;
}
.mtg-payment-final-card--whatsapp{
    background:#ecfdf5;
}
.mtg-proof-form{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid #d1d5db;
}
.mtg-proof-form textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:14px;
    padding:12px 14px;
    box-sizing:border-box;
}
.mtg-bank-final-row{
    border:1px solid #dbeafe;
    background:#fff;
    border-radius:14px;
    padding:14px;
    margin-bottom:12px;
}
.mtg-alert-success{
    background:#dcfce7;
    color:#166534;
    border:1px solid #86efac;
    border-radius:14px;
    padding:14px 16px;
}

.mtg-checkout-layout--wide{
    grid-template-columns:minmax(0,1fr) 340px;
}
.mtg-checkout-double{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}
@media (max-width: 980px){
    .mtg-checkout-double{
        grid-template-columns:1fr;
    }
}

.mtg-review-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:24px;
    align-items:start;
}
.mtg-review-summary{
    position:sticky;
    top:24px;
}
.mtg-review-item{
    display:grid;
    grid-template-columns:72px minmax(0,1fr) auto;
    gap:14px;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #e5e7eb;
}
.mtg-review-item-thumb{
    width:72px;
    height:72px;
    border-radius:14px;
    overflow:hidden;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    justify-content:center;
}
.mtg-review-item-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.mtg-review-item-thumb span{
    font-size:12px;
    color:#6b7280;
    text-align:center;
    padding:6px;
}
.mtg-review-item-body{
    display:grid;
    gap:4px;
}
.mtg-review-item-body small{
    color:#6b7280;
}
.mtg-review-item-price{
    font-weight:700;
    white-space:nowrap;
}
@media (max-width: 980px){
    .mtg-review-layout{
        grid-template-columns:1fr;
    }
    .mtg-review-summary{
        position:static;
    }
}

.mtg-accordion{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.04);
    overflow:hidden;
}
.mtg-accordion + .mtg-accordion{
    margin-top:18px;
}
.mtg-accordion summary{
    list-style:none;
    cursor:pointer;
    padding:18px 20px;
    font-size:22px;
    font-weight:700;
}
.mtg-accordion summary::-webkit-details-marker{
    display:none;
}
.mtg-accordion-body{
    padding:0 20px 20px;
    border-top:1px solid #e5e7eb;
}

.mtg-inline-help{
    display:block;
    margin:-4px 0 10px 38px;
    color:#6b7280;
    font-size:12px;
    line-height:1.5;
}

.mtg-inline-help{
    display:block;
    margin:-4px 0 10px 38px;
    color:#6b7280;
    font-size:12px;
    line-height:1.5;
}

.mtg-step-hero{
    position:relative;
    overflow:hidden;
    margin:0 0 24px;
    padding:28px;
    border:1px solid #dbeafe;
    border-radius:28px;
    background:linear-gradient(135deg,#eff6ff 0%,#ecfeff 50%,#f0fdf4 100%);
    box-shadow:0 18px 40px rgba(0,0,0,.05);
}
.mtg-step-hero--review{
    border-color:#ddd6fe;
    background:linear-gradient(135deg,#f5f3ff 0%,#eff6ff 50%,#ecfeff 100%);
}
.mtg-step-hero h1{
    margin:8px 0 10px;
    font-size:34px;
    line-height:1.1;
}
.mtg-step-hero p{
    margin:0;
    color:#475569;
    font-size:15px;
}
.mtg-step-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
}

.mtg-section-head{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:18px;
}
.mtg-section-head h2{
    margin:0 0 4px;
}
.mtg-section-head p{
    margin:0;
    color:#64748b;
    font-size:13px;
}
.mtg-section-icon{
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:linear-gradient(135deg,#e0f2fe,#dcfce7);
    font-size:20px;
    flex:0 0 40px;
}

.mtg-choice-grid{
    display:grid;
    gap:14px;
}
.mtg-choice-card{
    position:relative;
    display:grid;
    gap:6px;
    padding:16px 16px 16px 52px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    background:#fff;
    cursor:pointer;
    transition:.2s ease;
}
.mtg-choice-card:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 30px rgba(0,0,0,.05);
    border-color:#cbd5e1;
}
.mtg-choice-card input{
    position:absolute;
    top:18px;
    left:16px;
}
.mtg-choice-icon{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#f8fafc;
    font-size:18px;
}
.mtg-choice-title{
    font-weight:800;
    color:#0f172a;
}
.mtg-choice-help{
    color:#64748b;
    font-size:12px;
    line-height:1.5;
}

.mtg-checkout-form-card{
    background:linear-gradient(180deg,#ffffff 0%,#fcfcfd 100%);
}
.mtg-checkout-block{
    border:1px solid #e5e7eb;
    background:#fff;
}
.mtg-submit-card{
    background:linear-gradient(135deg,#f8fafc 0%,#eff6ff 100%);
}

.mtg-btn-lg{
    min-height:52px;
    padding:16px 22px;
    font-size:15px;
    border-radius:16px;
}

.mtg-cart-summary-card{
    border:1px solid #dbeafe;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.mtg-summary-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}
.mtg-summary-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 10px;
    border-radius:999px;
    background:#eef2ff;
    color:#4338ca;
    font-size:12px;
    font-weight:700;
}

.mtg-review-item{
    border-radius:16px;
}
.mtg-review-item-thumb{
    border:1px solid #e5e7eb;
    background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);
}
.mtg-review-item-price{
    color:#0f172a;
}

.mtg-payment-final-card{
    border-width:1px;
    box-shadow:0 12px 30px rgba(0,0,0,.04);
}
.mtg-payment-final-card h3{
    margin-top:0;
    margin-bottom:12px;
    font-size:22px;
}
.mtg-payment-final-card--qr{
    background:linear-gradient(135deg,#f0fdf4 0%,#ecfeff 100%);
    border-color:#86efac;
}
.mtg-payment-final-card--bank{
    background:linear-gradient(135deg,#eff6ff 0%,#f8fafc 100%);
    border-color:#93c5fd;
}
.mtg-payment-final-card--whatsapp{
    background:linear-gradient(135deg,#ecfdf5 0%,#f0fdf4 100%);
    border-color:#6ee7b7;
}
.mtg-bank-final-row{
    border-color:#bfdbfe;
    box-shadow:0 8px 18px rgba(0,0,0,.03);
}

.mtg-proof-form h4{
    margin:0 0 12px;
    font-size:16px;
}
.mtg-inline-help{
    margin-left:0;
}

@media (max-width: 980px){
    .mtg-step-hero{
        padding:22px;
        border-radius:22px;
    }
    .mtg-step-hero h1{
        font-size:28px;
    }
}

.mtg-input-with-icon{
    position:relative;
}
.mtg-input-with-icon .mtg-input-icon{
    position:absolute;
    top:50%;
    left:14px;
    transform:translateY(-50%);
    z-index:2;
    font-size:18px;
    line-height:1;
    pointer-events:none;
}
.mtg-input-with-icon input,
.mtg-input-with-icon select{
    padding-left:44px !important;
}

.mtg-input-with-icon{
    position:relative;
}
.mtg-input-with-icon .mtg-input-icon{
    position:absolute;
    top:50%;
    left:14px;
    transform:translateY(-50%);
    z-index:2;
    font-size:18px;
    line-height:1;
    pointer-events:none;
}
.mtg-input-with-icon input,
.mtg-input-with-icon select{
    padding-left:44px !important;
}

.mtg-btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:12px 18px;
    border-radius:14px;
    border:1px solid #cbd5e1;
    background:#fff;
    color:#0f172a;
    text-decoration:none;
    font-weight:700;
    transition:.2s ease;
}
.mtg-btn-secondary:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(0,0,0,.05);
    border-color:#94a3b8;
}

.mtg-choice-card{
    transition:.2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mtg-choice-card:has(input:checked){
    border-color:#2563eb;
    background:linear-gradient(135deg,#eff6ff 0%,#f8fbff 100%);
    box-shadow:0 16px 36px rgba(37,99,235,.12);
}
.mtg-choice-card:has(input:checked) .mtg-choice-icon{
    background:#dbeafe;
    transform:scale(1.03);
}
.mtg-choice-card:has(input:checked) .mtg-choice-title{
    color:#1d4ed8;
}

.mtg-choice-card{
    transition:.2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mtg-choice-card:has(input:checked){
    border-color:#2563eb;
    background:linear-gradient(135deg,#eff6ff 0%,#f8fbff 100%);
    box-shadow:0 16px 36px rgba(37,99,235,.12);
}
.mtg-choice-card:has(input:checked) .mtg-choice-icon{
    background:#dbeafe;
    transform:scale(1.03);
}
.mtg-choice-card:has(input:checked) .mtg-choice-title{
    color:#1d4ed8;
}

/* ===== MTG NETWORK ICONS ===== */
.mtg-ui-icon{
  display:inline-block;
  width:28px;
  height:28px;
  object-fit:contain;
  vertical-align:middle;
}

.mtg-ui-icon--sm{
  width:18px;
  height:18px;
}

.mtg-ui-icon--md{
  width:24px;
  height:24px;
}

.mtg-ui-icon--fallback{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
  line-height:1;
}

.mtg-section-icon .mtg-ui-icon{
  width:30px;
  height:30px;
}

.mtg-choice-icon .mtg-ui-icon{
  width:26px;
  height:26px;
}

.mtg-input-icon--img{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.mtg-input-icon--img .mtg-ui-icon{
  width:18px;
  height:18px;
}

.mtg-choice-card .mtg-choice-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  min-height:30px;
}

.mtg-section-head .mtg-section-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  min-height:34px;
}


.mtg-added-toast{
    margin:0 0 18px;
    padding:14px 18px;
    border-radius:14px;
    background:linear-gradient(135deg,#49a57f,#71caa5);
    color:#fff;
    font-weight:800;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

