@font-face {
    font-family: "Vazirmatn";
    src: url("../../../../assets/fonts/vazirmatn/Vazirmatn%5Bwght%5D.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --iptak-blue: #315eea;
    --iptak-blue-deep: #2048d4;
    --iptak-purple: #6942d9;
    --iptak-ink: #14213d;
    --iptak-muted: #687791;
    --iptak-line: #e3e9f3;
    --iptak-soft: #f5f7fb;
    --iptak-shadow: 0 12px 34px rgba(24, 42, 80, .07);
    --iptak-radius: 18px;
}

body, button, input, select, textarea { font-family: "Vazirmatn", Tahoma, Arial, sans-serif; }
#order-standard_cart { color: var(--iptak-ink); padding-bottom: 48px; }
#order-standard_cart .cart-sidebar { padding: 12px; }
#order-standard_cart .cart-body { padding-inline: 18px; }
/* The desktop sidebar frame has 12px internal padding; remove Bootstrap's
   trailing panel margin so its top and bottom insets stay visually equal. */
#order-standard_cart:not(.iptak-store) .cart-sidebar > .panel:last-of-type { margin-bottom: 0 !important; }
#order-standard_cart .header-lined { border-color: var(--iptak-line); margin: 0; padding: 0; }
#order-standard_cart .header-lined h1 { color: var(--iptak-ink); font-size: clamp(27px, 3vw, 42px); font-weight: 850; letter-spacing: -.035em; line-height: 1.35; margin: 0 0 10px; }
#order-standard_cart .header-lined p { color: var(--iptak-muted); font-size: 15px; line-height: 1.9; margin: 0; max-width: 760px; }

/* Category menu stays WHMCS-native; these rules only restyle its order-form surface. */
#order-standard_cart .sidebar .panel,
#order-standard_cart .panel-sidebar { border: 1px solid var(--iptak-line); border-radius: 15px; box-shadow: var(--iptak-shadow); overflow: hidden; }
#order-standard_cart .sidebar .panel-heading,
#order-standard_cart .panel-sidebar > .panel-heading { background: #fff; color: var(--iptak-ink); font-size: 16px; font-weight: 800; line-height: 1.5; }
#order-standard_cart .sidebar .list-group-item,
#order-standard_cart .panel-sidebar .list-group-item { color: #34445f; border-color: #edf0f5; font-size: 14px; line-height: 1.6; }
#order-standard_cart .sidebar .list-group-item.active,
#order-standard_cart .panel-sidebar .list-group-item.active { color: var(--iptak-blue-deep); background: #eef3ff; border-color: #dce6ff; }
#order-standard_cart .iptak-mobile-categories { display: none; }

/* Product category / VPS plans */
#order-standard_cart.iptak-store { max-width: 1500px; margin-inline: auto; }
#order-standard_cart.iptak-store > .row { display: flex; flex-wrap: nowrap; align-items: flex-start; }
#order-standard_cart.iptak-store .iptak-store-sidebar { flex: 0 0 255px; max-width: 255px; }
#order-standard_cart.iptak-store .iptak-store-body { flex: 1 1 auto; min-width: 0; }
[dir="rtl"] #order-standard_cart.iptak-store > .row { direction: ltr; }
[dir="rtl"] #order-standard_cart.iptak-store .iptak-store-sidebar { order: 2; direction: rtl; }
[dir="rtl"] #order-standard_cart.iptak-store .iptak-store-body { order: 1; direction: rtl; }
[dir="ltr"] #order-standard_cart.iptak-store > .row { direction: ltr; }
[dir="ltr"] #order-standard_cart.iptak-store .iptak-store-sidebar { order: 1; direction: ltr; }
[dir="ltr"] #order-standard_cart.iptak-store .iptak-store-body { order: 2; direction: ltr; }
.iptak-store-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; overflow: hidden; min-height: 150px; margin: 8px 0 26px; padding: 22px 28px; border-radius: 21px; color: #fff; background: linear-gradient(112deg, #253eaa 0%, #4633c5 53%, #713bd8 100%); box-shadow: 0 16px 38px rgba(57, 52, 174, .2); }
.iptak-store-hero::before, .iptak-store-hero::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; pointer-events: none; }
.iptak-store-hero::before { width: 310px; height: 310px; inset-inline-start: -90px; top: -180px; }
.iptak-store-hero::after { width: 220px; height: 220px; inset-inline-start: 115px; bottom: -170px; }
.iptak-store-hero .header-lined { position: relative; z-index: 1; flex: 0 1 35%; border: 0; order: 1; }
#order-standard_cart .iptak-store-hero .header-lined { margin: 0; }
.iptak-store-hero .header-lined p { margin: 0; color: rgba(255,255,255,.88) !important; font-size: 13px; line-height: 1.65; }
.iptak-store-hero .header-lined h1 { margin: 0 0 8px; color: #fff !important; line-height: 1.25; }
.iptak-store-highlights { position: relative; z-index: 1; display: flex; flex: 1 1 auto; flex-wrap: wrap; align-content: center; gap: 8px; margin: 0; order: 2; }
.iptak-store-highlights span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 11px; font-weight: 650; }
.iptak-store-highlights i { color: #75e0b1; }
.iptak-store-kicker { display: inline-flex; align-items: center; margin-bottom: 10px; color: #e2e7ff; font-size: 13px; font-weight: 750; }
.iptak-store-hero-mark { position: relative; z-index: 1; display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); border-radius: 17px; font-size: 24px; order: 0; }
.iptak-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.iptak-product-card { display: flex; width: 100%; max-width: 460px; min-width: 0; flex-direction: column; justify-self: start; padding: 20px; border: 1px solid var(--iptak-line); border-radius: var(--iptak-radius); background: #fff; box-shadow: var(--iptak-shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.iptak-product-card:hover { transform: translateY(-3px); border-color: #c4d0f4; box-shadow: 0 17px 38px rgba(27, 46, 88, .12); }
.iptak-product-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.iptak-product-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--iptak-blue); background: #edf2ff; font-size: 18px; }
.iptak-store-hero-mark img { display: block; width: 32px; height: 32px; }
.iptak-product-icon img { display: block; width: 25px; height: 25px; }
.iptak-stock { color: #137447; background: #e9f8f0; border-radius: 99px; padding: 5px 10px; font-size: 11px; }
.iptak-product-card h2 { color: var(--iptak-ink); font-size: 20px; font-weight: 850; line-height: 1.45; margin: 0 0 8px; }
.iptak-product-summary { min-height: 48px; color: var(--iptak-muted); font-size: 13px; line-height: 1.85; }
.iptak-product-description { min-height: 48px; color: var(--iptak-muted); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.iptak-product-description ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.iptak-product-description ul > br { display: none; }
.iptak-product-description li { margin: 0 !important; padding: 7px 10px; border: 1px solid #e8edf5; border-radius: 9px; background: #f8faff; color: #35445f; }
.iptak-product-description > div { border-radius: 9px; }
.iptak-product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; list-style: none; margin: 17px 0 20px; padding: 0; }
.iptak-product-features li { display: flex; align-items: flex-start; gap: 7px; min-width: 0; color: #475873; font-size: 12px; line-height: 1.7; }
.iptak-product-features li > .fa-check { flex: 0 0 auto; margin-top: 5px; color: #1a9a62; font-size: 10px; }
.iptak-feature-value { color: var(--iptak-ink); font-weight: 800; }
.iptak-feature-name { overflow-wrap: anywhere; }
.iptak-product-card-footer { display: flex; align-items: stretch; flex-direction: column; gap: 11px; margin-top: auto; padding-top: 16px; border-top: 1px solid #edf0f5; }
.iptak-product-price { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.iptak-product-price strong { color: var(--iptak-ink); font-size: 21px; font-weight: 900; line-height: 1.4; }
.iptak-price-caption, .iptak-price-cycle, .iptak-product-price small { color: var(--iptak-muted); font-size: 11px; }
.iptak-order-button { display: inline-flex; width: 100%; min-width: 0; min-height: 45px; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; padding-inline: 12px; border: 0; border-radius: 11px; background: linear-gradient(115deg, var(--iptak-blue), var(--iptak-purple)); box-shadow: 0 8px 18px rgba(65, 75, 210, .18); font-weight: 800; }
.iptak-order-button:hover, .iptak-order-button:focus { color: #fff; background: linear-gradient(115deg, var(--iptak-blue-deep), #5830c4); }

/* Configure product, cart and checkout inherit all WHMCS forms and calculations. */
#order-standard_cart .secondary-cart-body { min-width: 0; }
#order-standard_cart .product-info, #order-standard_cart .field-container, #order-standard_cart .product-configurable-options,
#order-standard_cart #productAddonsContainer, #order-standard_cart #orderSummary .order-summary,
#order-standard_cart .view-cart-items, #order-standard_cart .cart-items, #order-standard_cart .panel-default {
    border: 1px solid var(--iptak-line); border-radius: 16px; background: #fff; box-shadow: var(--iptak-shadow);
}
#order-standard_cart .product-info { padding: 22px 24px; margin: 12px 0 22px; background: linear-gradient(135deg, #f5f7ff, #fff); }
#order-standard_cart .product-info .product-title { color: var(--iptak-ink); font-size: 22px; font-weight: 850; margin-bottom: 8px; }
#order-standard_cart .field-container, #order-standard_cart .product-configurable-options { padding: 20px; margin: 14px 0 22px; }
#order-standard_cart .sub-heading { margin: 25px 0 12px; border: 0; }
#order-standard_cart .sub-heading span { display: inline-flex; padding: 0; color: var(--iptak-ink); background: transparent; font-size: 17px; font-weight: 850; }
#order-standard_cart .sub-heading::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 9px; border-radius: 3px; background: linear-gradient(90deg, var(--iptak-blue), var(--iptak-purple)); }
#order-standard_cart .form-group { margin-bottom: 16px; }
#order-standard_cart label { color: #33425e; font-weight: 700; }
#order-standard_cart .form-control, #order-standard_cart .field, #order-standard_cart .custom-select, #order-standard_cart select {
    min-height: 46px; color: var(--iptak-ink); background-color: #fff; border: 1px solid #d8e0ec; border-radius: 10px; box-shadow: none;
}
#order-standard_cart .form-control:focus, #order-standard_cart .field:focus, #order-standard_cart .custom-select:focus, #order-standard_cart select:focus { border-color: #829af1; box-shadow: 0 0 0 3px rgba(49,94,234,.13); }
#order-standard_cart select, #order-standard_cart option { color: var(--iptak-ink); background: #fff; }
#order-standard_cart .secondary-cart-sidebar { padding-inline-start: 16px; }
#order-standard_cart #orderSummary .order-summary { padding: 20px; }
#order-standard_cart #orderSummary h2 { color: var(--iptak-ink); font-size: 20px; font-weight: 850; }
#order-standard_cart #scrollingPanelContainer { position: sticky; top: 20px; align-self: flex-start; }
#order-standard_cart #btnCompleteProductConfig, #order-standard_cart .btn-checkout, #order-standard_cart .btn-primary,
#order-standard_cart .btn-success, #order-standard_cart .btn-continue-shopping { min-height: 44px; border-radius: 10px; font-weight: 800; }
#order-standard_cart #btnCompleteProductConfig, #order-standard_cart .btn-checkout, #order-standard_cart .btn-primary,
#order-standard_cart .btn-success { color: #fff; background: linear-gradient(115deg, var(--iptak-blue), var(--iptak-purple)); border-color: transparent; }
#order-standard_cart #btnCompleteProductConfig:hover, #order-standard_cart .btn-checkout:hover, #order-standard_cart .btn-primary:hover, #order-standard_cart .btn-success:hover { color: #fff; background: var(--iptak-blue-deep); }
#order-standard_cart .alert { border-radius: 12px; }
#order-standard_cart .panel-addon, #order-standard_cart .view-cart-items .item { overflow: hidden; }
#order-standard_cart .view-cart-items-header { padding: 14px 16px; color: #fff; background: linear-gradient(110deg, #3349c5, #6641d6); border-radius: 13px 13px 0 0; font-weight: 750; }
#order-standard_cart .view-cart-items { margin-bottom: 20px; }
#order-standard_cart .view-cart-items .item { padding: 18px; border-bottom: 1px solid #edf0f5; }
#order-standard_cart .view-cart-empty { padding: 30px 18px; border: 1px dashed #d5deec; border-radius: 0 0 15px 15px; color: var(--iptak-muted); background: #fff; text-align: center; }
#order-standard_cart .view-cart-tabs, #order-standard_cart .view-cart-promotion-code { border-color: var(--iptak-line); background: #f8faff; }
#order-standard_cart .total-due-today { color: var(--iptak-ink); border-color: var(--iptak-line); background: #f2f5ff; border-radius: 12px; }
#order-standard_cart .total-due-today .amt { color: var(--iptak-blue-deep); font-size: 24px; font-weight: 900; }

@media (max-width: 1199px) {
    #order-standard_cart.iptak-store > .row { display: block; }
    #order-standard_cart.iptak-store .iptak-store-sidebar { display: none; }
    #order-standard_cart.iptak-store .iptak-store-body { width: 100%; float: none; }
    #order-standard_cart .iptak-mobile-categories { display: block; margin-bottom: 18px; }
    #order-standard_cart .iptak-mobile-categories .sidebar-collapsed { display: block; }
    #order-standard_cart .cart-sidebar { display: none; }
    #order-standard_cart .cart-body { width: 100%; float: none; }
}
@media (max-width: 991px) {
    .iptak-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #order-standard_cart .secondary-cart-sidebar { padding-inline-start: 0; margin-top: 18px; }
}
@media (max-width: 767px) {
    #order-standard_cart .cart-body { padding-inline: 10px; }
    .iptak-store-hero { min-height: 0; flex-direction: column; align-items: stretch; margin: 0 0 18px; padding: 23px 20px; border-radius: 17px; }
    .iptak-store-hero .header-lined { flex: 1 1 auto; order: 0; padding-inline-start: 50px; }
    .iptak-store-hero .header-lined h1 { font-size: 25px; }
    .iptak-store-hero .header-lined p { font-size: 13px; }
    .iptak-store-highlights { margin-top: 12px; order: 2; }
    .iptak-store-highlights span { font-size: 10px; }
    .iptak-store-hero-mark { position: absolute; inset-inline-start: auto; inset-inline-end: 16px; top: 16px; flex-basis: 42px; width: 42px; height: 42px; border-radius: 13px; font-size: 18px; }
    .iptak-product-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    .iptak-product-card { padding: 17px; }
    .iptak-product-summary { min-height: 0; }
    .iptak-product-description { min-height: 0; }
    .iptak-product-description ul { grid-template-columns: minmax(0, 1fr); }
    #order-standard_cart .field-container, #order-standard_cart .product-configurable-options { padding: 14px; }
    #order-standard_cart .product-info { padding: 18px; }
    #order-standard_cart .secondary-cart-body .row > [class*="col-"] { width: 100%; }
    #order-standard_cart #btnCompleteProductConfig { width: 100%; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Product configuration: keep marketing copy compact so server fields stay near the top. */
#order-standard_cart .product-info { padding: 16px 18px; }
#order-standard_cart .product-info > p:empty { display: none; }
#order-standard_cart .product-info ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 6px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}
#order-standard_cart .product-info ul > br,
#order-standard_cart .product-info ul + br,
#order-standard_cart .product-info > div br { display: none; }
#order-standard_cart .product-info ul li { margin: 0 !important; padding: 2px 0; }
#order-standard_cart .product-info > div {
    margin: 6px 0 0 !important;
    padding: 7px 11px !important;
    line-height: 1.5 !important;
}
#order-standard_cart .secondary-cart-body > p { color: var(--iptak-muted); line-height: 1.8; }

/* WHMCS renders divider headings over a horizontal rule. Restore a real heading
   box so RTL labels cannot sit on top of that rule. */
#order-standard_cart .sub-heading.sub-heading {
    height: auto !important;
    margin: 22px 0 17px !important;
    border: 0 !important;
    text-align: center;
    line-height: 1.55;
}
#order-standard_cart .sub-heading span {
    position: static;
    top: auto;
    padding: 0;
}
#order-standard_cart .sub-heading::after { margin: 7px auto 0; }
#order-standard_cart .field-container.field-container,
#order-standard_cart .product-configurable-options.product-configurable-options { margin: 18px 0 26px !important; }

/* WHMCS's legacy icon fields use left padding even on RTL pages. Put the icon
   and matching input padding on the same side so placeholders stay readable. */
html[dir="rtl"] #order-standard_cart .prepend-icon .field,
html[dir="rtl"] #order-standard_cart .prepend-icon .form-control {
    padding-right: 48px;
    padding-left: 12px;
    text-align: right;
}
html[dir="rtl"] #order-standard_cart .prepend-icon .field-icon { right: 0; left: auto; }

/* The default negative margin pulls the empty-cart action over the coupon tab. */
#order-standard_cart .empty-cart.empty-cart {
    position: relative;
    z-index: 1;
    margin: 14px 0 20px !important;
    line-height: 1.5 !important;
}
#order-standard_cart .empty-cart.empty-cart .btn { padding: 8px 13px !important; border-radius: 9px !important; }
#order-standard_cart .view-cart-tabs.view-cart-tabs { clear: both; margin-top: 18px !important; }

/* Keep the checkout sign-in prompt and registration button as separate flex
   items instead of letting WHMCS's floats run the sentence underneath them. */
#order-standard_cart .already-registered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin: 0 0 24px;
}
#order-standard_cart .already-registered .pull-right,
#order-standard_cart .already-registered .float-right { float: none !important; margin: 0; }
#order-standard_cart .already-registered p {
    flex: 1 1 300px;
    min-width: 220px;
    margin: 0;
    line-height: 1.8;
    text-align: right;
}

/* Let the summary stick inside its full-height column; disable legacy float-based
   scroll animation which otherwise leaves a large blank gap above the summary. */
@media (min-width: 768px) {
    #order-standard_cart #frmConfigureProduct > .row { display: flex; align-items: stretch; }
    #order-standard_cart .secondary-cart-body {
        float: none;
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: 0;
    }
    #order-standard_cart #scrollingPanelContainer {
        float: none !important;
        position: static;
        flex: 0 0 300px;
        width: 300px;
        max-width: 300px;
        align-self: stretch;
        padding-inline-start: 16px;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    #order-standard_cart #orderSummary {
        position: sticky;
        top: 20px;
        margin-top: 0 !important;
    }
    #order-standard_cart #btnCompleteProductConfig { display: block; width: 100%; margin-top: 16px; }
}

@media (max-width: 991px) and (min-width: 768px) {
    #order-standard_cart #scrollingPanelContainer { flex-basis: 260px; width: 260px; max-width: 260px; }
}

@media (max-width: 767px) {
    #order-standard_cart .product-info { padding: 14px 15px; margin-bottom: 18px; }
    #order-standard_cart .product-info ul { gap: 0; }
    #order-standard_cart #btnCompleteProductConfig { margin-top: 16px !important; }
    #order-standard_cart #scrollingPanelContainer {
        position: static;
        width: 100%;
        max-width: none;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    #order-standard_cart #orderSummary { position: static; }
}

/* WHMCS's collapsed category selector must occupy its own row below the page
   heading on tablet/mobile. Clear inherited Bootstrap floats explicitly. */
@media (max-width: 1199px) {
    #order-standard_cart:not(.iptak-store) > .row { display: block !important; }
    #order-standard_cart:not(.iptak-store) .cart-sidebar { display: none !important; }
    #order-standard_cart:not(.iptak-store) .cart-body {
        display: block !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }
    #order-standard_cart:not(.iptak-store) .header-lined { clear: both !important; }
    #order-standard_cart:not(.iptak-store) .sidebar-collapsed {
        display: block !important;
        position: relative;
        float: none !important;
        clear: both !important;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 16px 0 22px !important;
        padding: 0;
        z-index: 1;
    }
    #order-standard_cart:not(.iptak-store) .sidebar-collapsed > .panel {
        float: none !important;
        width: 100%;
        max-width: 100%;
    }
}

/* Checkout surfaces: warm up the otherwise flat form while keeping the
   native WHMCS account, gateway, validation, and submission controls intact. */
#order-standard_cart .already-registered {
    padding: 15px 17px;
    border: 1px solid #e1e8f6;
    border-radius: 15px;
    background: linear-gradient(115deg, #f5f8ff, #f8f6ff);
    box-shadow: 0 8px 22px rgba(31, 58, 110, .055);
}
#order-standard_cart .already-registered p { color: #53637d; }
#order-standard_cart .already-registered p.text-sm-left {
    direction: rtl;
    text-align: right !important;
}
#order-standard_cart .already-registered .btn-info,
#order-standard_cart .already-registered .btn-warning {
    min-height: 40px;
    padding: 9px 15px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(110deg, var(--iptak-blue), var(--iptak-purple));
    font-weight: 750;
    box-shadow: 0 6px 14px rgba(67, 76, 207, .16);
}
#order-standard_cart #frmCheckout .sub-heading.sub-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 15px !important;
    text-align: right;
}
#order-standard_cart #frmCheckout .sub-heading > span {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid #e1e8fa;
    border-radius: 10px;
    color: #263d72;
    background: #f5f7ff;
    font-size: 15px;
    font-weight: 850;
}
#order-standard_cart #frmCheckout .sub-heading::after {
    flex: 1 1 auto;
    width: auto;
    height: 1px;
    margin: 0;
    background: linear-gradient(90deg, #e4e9f4, #d7def4);
}
#order-standard_cart #containerExistingAccountSelect.account-select-container {
    margin: 0;
    padding: 10px;
    border: 1px solid #e1e8f5;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #f9fbff);
    box-shadow: 0 10px 26px rgba(28, 48, 88, .055);
}
#order-standard_cart #containerExistingAccountSelect > [class*="col-"] { padding: 7px; }
#order-standard_cart #containerExistingAccountSelect .account {
    height: 100%;
    padding: 14px 15px;
    border: 1px solid #e6ebf4;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
#order-standard_cart #containerExistingAccountSelect .account.active {
    border-color: #b8c9ff;
    background: linear-gradient(130deg, #f1f5ff, #f9f7ff);
    box-shadow: inset 0 0 0 1px rgba(89, 108, 228, .08);
}
#order-standard_cart #containerExistingAccountSelect .account:hover {
    border-color: #cbd7f5;
    box-shadow: 0 7px 18px rgba(31, 58, 110, .07);
}
#order-standard_cart #containerExistingAccountSelect .account .radio-inline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    white-space: normal;
}
#order-standard_cart #containerExistingAccountSelect .account .radio-inline > input[type="radio"] {
    position: static;
    flex: 0 0 auto;
    margin: 4px 0 0;
    accent-color: var(--iptak-blue);
}
#order-standard_cart #containerExistingAccountSelect .address { flex: 1 1 auto; min-width: 0; line-height: 1.8; }
#order-standard_cart #containerExistingAccountSelect .address strong { color: var(--iptak-ink); font-size: 14px; }
#order-standard_cart #containerExistingAccountSelect .address .small { display: inline-block; margin-top: 4px; color: var(--iptak-muted); line-height: 1.8; }
#order-standard_cart #containerExistingAccountSelect .label { margin-inline-start: 5px; padding: 4px 8px; }
#order-standard_cart #totalDueToday {
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid #d8e3ff;
    border-radius: 14px;
    color: #28447f;
    background: linear-gradient(115deg, #edf4ff, #f4f0ff);
    box-shadow: 0 8px 20px rgba(49, 94, 234, .08);
    font-size: 15px;
    font-weight: 750;
}
#order-standard_cart #totalDueToday strong { color: #244bd2; font-size: 19px; font-weight: 900; }
#order-standard_cart #applyCreditContainer,
#order-standard_cart #paymentGatewaysContainer,
#order-standard_cart #creditCardInputFields {
    padding: 15px 16px;
    border: 1px solid #e2e8f3;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #fafbff);
    box-shadow: 0 8px 22px rgba(28, 48, 88, .045);
}
#order-standard_cart #paymentGatewaysContainer > p { margin: 0 0 12px; color: #596983; font-weight: 700; }
#order-standard_cart #paymentGatewaysContainer .text-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 9px;
    text-align: right;
}
#order-standard_cart #paymentGatewaysContainer .radio-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid #dfe6f2;
    border-radius: 10px;
    color: #34445f;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
#order-standard_cart #paymentGatewaysContainer .radio-inline:hover,
#order-standard_cart #paymentGatewaysContainer .radio-inline:focus-within {
    border-color: #bac9ff;
    background: #f5f7ff;
    box-shadow: 0 4px 12px rgba(49, 94, 234, .08);
}
#order-standard_cart #paymentGatewaysContainer input[type="radio"] { margin: 0; accent-color: var(--iptak-blue); }
#order-standard_cart .checkout-notes-row {
    margin: 0;
    padding: 14px;
    border: 1px solid #e2e8f3;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #fafbff);
    box-shadow: 0 8px 22px rgba(28, 48, 88, .045);
}
#order-standard_cart .checkout-notes-row > [class*="col-"] { padding: 0; }
#order-standard_cart .checkout-notes-row .form-group { margin: 0; }
#order-standard_cart .checkout-notes-row textarea { min-height: 110px; resize: vertical; }
#order-standard_cart #btnCompleteOrder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: min(100%, 260px);
    min-height: 52px;
    margin-top: 12px;
    padding: 11px 24px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(110deg, var(--iptak-blue), var(--iptak-purple));
    box-shadow: 0 10px 22px rgba(67, 76, 207, .2);
    font-size: 16px;
    font-weight: 850;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#order-standard_cart #btnCompleteOrder:hover,
#order-standard_cart #btnCompleteOrder:focus-visible { color: #fff; filter: brightness(1.04); box-shadow: 0 13px 27px rgba(67, 76, 207, .27); transform: translateY(-2px); }
#order-standard_cart #btnCompleteOrder:disabled { opacity: .58; box-shadow: none; transform: none; }
@media (max-width: 767px) {
    #order-standard_cart #containerExistingAccountSelect.account-select-container,
    #order-standard_cart #applyCreditContainer,
    #order-standard_cart #paymentGatewaysContainer,
    #order-standard_cart #creditCardInputFields { padding: 12px; }
    #order-standard_cart .checkout-notes-row { padding: 10px; }
    #order-standard_cart .already-registered { align-items: stretch; padding: 13px; }
    #order-standard_cart .already-registered .pull-right,
    #order-standard_cart .already-registered .float-right { width: 100%; }
    #order-standard_cart .already-registered .btn { width: 100%; }
    #order-standard_cart #btnCompleteOrder { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    #order-standard_cart #containerExistingAccountSelect .account,
    #order-standard_cart #paymentGatewaysContainer .radio-inline,
    #order-standard_cart #btnCompleteOrder { transition: none; }
}

@media (min-width: 1200px) {
    #order-standard_cart:not(.iptak-store) .sidebar-collapsed { display: none !important; }
    #order-standard_cart:not(.iptak-store) .cart-body { padding-inline-start: 30px; }
}


/* Visible return-to-shopping action in the order summary. */
#order-standard_cart .order-summary .btn-continue-shopping {
    display: flex !important; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 44px; margin: 12px 0 2px; padding: 10px 14px;
    color: var(--iptak-blue-deep) !important; background: #eef3ff !important;
    border: 1px solid #d8e3ff !important; border-radius: 10px !important;
    font-weight: 800 !important; line-height: 1.4; text-align: center; text-decoration: none !important;
}
#order-standard_cart .order-summary .btn-continue-shopping:hover,
#order-standard_cart .order-summary .btn-continue-shopping:focus {
    color: #fff !important; background: var(--iptak-blue-deep) !important;
    border-color: var(--iptak-blue-deep) !important; text-decoration: none !important;
}
/* Prevent the RTL phone field text from sitting under the country flag. */
html[dir="rtl"] #order-standard_cart .intl-tel-input #inputPhone {
    direction: ltr !important; text-align: left !important;
    padding-left: 84px !important; padding-right: 12px !important;
}
html[dir="rtl"] #order-standard_cart .intl-tel-input .flag-container {
    right: auto !important; left: 0 !important;
}


/* Leave breathing room between the collapsed category panels and their outer frame. */
@media (max-width: 1199px) {
    #order-standard_cart:not(.iptak-store) .sidebar-collapsed {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
    #order-standard_cart:not(.iptak-store) .sidebar-collapsed > .panel:first-child {
        margin-top: 0 !important;
    }
    #order-standard_cart:not(.iptak-store) .sidebar-collapsed > .panel:last-of-type {
        margin-bottom: 0 !important;
    }
}


/* Align field icons inside their controls; they must not consume a separate row. */
#order-standard_cart .form-group.prepend-icon { position: relative; }
#order-standard_cart .form-group.prepend-icon > .field-icon {
    position: absolute !important; top: 0 !important; right: 0 !important; left: auto !important;
    width: 42px; height: 46px; margin: 0; line-height: 46px; text-align: center;
    z-index: 3; pointer-events: none;
}


/* Keep the responsive WHMCS category accordion on the same readable type scale. */
#order-standard_cart .sidebar-collapsed .panel-heading {
    color: var(--iptak-ink); font-size: 16px !important; font-weight: 800; line-height: 1.5;
}
#order-standard_cart .sidebar-collapsed .list-group-item {
    color: #34445f; font-size: 14px; line-height: 1.6;
}

/* Product group content drives the hero; tags stay compact instead of becoming oversized copy. */
.iptak-store-hero .header-lined h1.iptak-store-title {
    max-width: 100%; margin: 0 0 8px; font-size: clamp(21px, 1.9vw, 26px);
    font-weight: 850; line-height: 1.4; overflow-wrap: anywhere;
}
.iptak-store-title-part { display: block; }
.iptak-store-kicker { margin-bottom: 7px; font-size: 12px; }
.iptak-store-highlights { flex: 1 1 58%; gap: 8px; }
.iptak-store-highlights > .iptak-store-highlight {
    display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
    padding: 7px 11px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px;
    color: #fff; background: rgba(255,255,255,.13); font-size: 12px; font-weight: 650;
    line-height: 1.5; overflow-wrap: anywhere;
}
.iptak-store-highlights > .iptak-store-highlight > i { flex: 0 0 auto; color: #75e0b1; font-size: 12px; }
.iptak-store-tagline-source { display: none !important; }
#order-standard_cart:not(.iptak-store) .header-lined h1 { font-size: clamp(22px, 2vw, 28px); }
#order-standard_cart .panel-sidebar > .panel-heading,
#order-standard_cart .sidebar .panel-heading,
#order-standard_cart .sidebar-collapsed .panel-heading { font-size: 14px !important; line-height: 1.5; }
#order-standard_cart .panel-sidebar .list-group-item,
#order-standard_cart .sidebar-collapsed .list-group-item { font-size: 13px; }
#order-standard_cart .iptak-product-card h2 { font-size: 17px; }
#order-standard_cart .product-info .product-title { font-size: 18px; }
#order-standard_cart #orderSummary h2 { font-size: 17px; }
#order-standard_cart .total-due-today .amt { font-size: 20px; }
#order-standard_cart #orderSummary #checkout {
    position: relative; display: block !important; width: 100% !important; min-height: 44px; box-sizing: border-box;
    float: none !important; margin: 12px 0 10px !important; padding: 11px 42px;
    direction: rtl; text-align: center !important; line-height: 1.5;
}
#order-standard_cart #orderSummary #checkout .fas {
    position: absolute; inset-inline-start: 16px; top: 50%; margin: 0; transform: translateY(-50%);
}

/* Product configuration summary: clear hierarchy, readable line items, and
   a distinct due-today amount without changing WHMCS totals or form behavior. */
#order-standard_cart #orderSummary .order-summary {
    padding: 18px !important;
    border: 1px solid #dfe6f3;
    border-radius: 18px;
    background: linear-gradient(160deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 14px 34px rgba(24, 42, 80, .09);
}
#order-standard_cart #orderSummary .order-summary > h2 {
    margin: 0 0 14px !important;
    padding: 0 0 12px;
    border-bottom: 1px solid #e8edf6;
    color: var(--iptak-ink);
    font-size: 18px !important;
    font-weight: 850;
    line-height: 1.5;
    text-align: right;
}
/* Use the same summary card shell on configure-product and view-cart pages. */
#order-standard_cart #orderSummary.order-summary,
#order-standard_cart #orderSummary > .order-summary {
    padding: 18px !important;
    border: 1px solid #dfe6f3;
    border-radius: 18px;
    background: linear-gradient(160deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 14px 34px rgba(24, 42, 80, .09);
}
#order-standard_cart #orderSummary.order-summary > h2,
#order-standard_cart #orderSummary > .order-summary > h2 {
    margin: 0 0 14px !important;
    padding: 0 0 12px;
    border-bottom: 1px solid #e8edf6;
    color: var(--iptak-ink);
    font-size: 18px !important;
    font-weight: 850;
    line-height: 1.5;
    text-align: right;
}
#order-standard_cart #orderSummary.order-summary > .summary-container,
#order-standard_cart #orderSummary > .order-summary > .summary-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    direction: rtl;
}
#order-standard_cart #orderSummary.order-summary .subtotal,
#order-standard_cart #orderSummary.order-summary .recurring-totals,
#order-standard_cart #orderSummary.order-summary .bordered-totals > .clearfix {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #edf0f6;
    border-radius: 10px;
    color: #455571;
    background: #fff;
    font-size: 12px;
    line-height: 1.65;
    direction: rtl;
}
#order-standard_cart #orderSummary.order-summary .subtotal::before,
#order-standard_cart #orderSummary.order-summary .subtotal::after,
#order-standard_cart #orderSummary.order-summary .recurring-totals::before,
#order-standard_cart #orderSummary.order-summary .recurring-totals::after,
#order-standard_cart #orderSummary.order-summary .bordered-totals > .clearfix::before,
#order-standard_cart #orderSummary.order-summary .bordered-totals > .clearfix::after { display: none; }
#order-standard_cart #orderSummary.order-summary .subtotal > .pull-left,
#order-standard_cart #orderSummary.order-summary .recurring-totals > .pull-left,
#order-standard_cart #orderSummary.order-summary .bordered-totals > .clearfix > .pull-left {
    float: none !important;
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}
#order-standard_cart #orderSummary.order-summary .subtotal > .pull-right,
#order-standard_cart #orderSummary.order-summary .recurring-totals > .pull-right,
#order-standard_cart #orderSummary.order-summary .bordered-totals > .clearfix > .pull-right {
    float: none !important;
    flex: 0 0 auto;
    color: #263956;
    font-weight: 750;
    text-align: left;
    unicode-bidi: plaintext;
}
#order-standard_cart #orderSummary.order-summary .bordered-totals {
    margin: 0;
    padding: 7px 11px;
    border-radius: 11px;
    background: #f3f6fc;
}
#order-standard_cart #orderSummary.order-summary .bordered-totals > .clearfix {
    padding: 6px 0;
    border: 0;
    border-bottom: 1px dashed #dfe6f1;
    border-radius: 0;
    background: transparent;
}
#order-standard_cart #orderSummary.order-summary .bordered-totals > .clearfix:last-child { border-bottom: 0; }
#order-standard_cart #orderSummary.order-summary .recurring-charges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    white-space: nowrap;
}
#order-standard_cart #orderSummary.order-summary .recurring-charges > span { display: block; }
#order-standard_cart #orderSummary.order-summary .total-due-today,
#order-standard_cart #orderSummary > .order-summary .total-due-today {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 3px 0 0;
    padding: 14px 12px;
    border: 1px solid #d9e1ff;
    border-radius: 14px;
    color: #53628a;
    background: linear-gradient(135deg, #f0f4ff, #f8f5ff);
    text-align: center;
}
#order-standard_cart #orderSummary.order-summary .total-due-today .amt,
#order-standard_cart #orderSummary > .order-summary .total-due-today .amt {
    color: #244bd2;
    font-size: clamp(23px, 2vw, 28px) !important;
    font-weight: 900;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
#order-standard_cart #orderSummary.order-summary .total-due-today > span:last-child,
#order-standard_cart #orderSummary > .order-summary .total-due-today > span:last-child { font-size: 11px; font-weight: 700; }
#order-standard_cart #orderSummary.order-summary .text-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    text-align: center !important;
}
#order-standard_cart #orderSummary.order-summary .text-right > br { display: none; }
#order-standard_cart #orderSummary #checkout {
    min-height: 50px;
    margin: 0 !important;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(110deg, var(--iptak-blue), var(--iptak-purple));
    box-shadow: 0 9px 20px rgba(67, 76, 207, .2);
    font-size: 15px;
    font-weight: 850;
}
#order-standard_cart #orderSummary #checkout:hover,
#order-standard_cart #orderSummary #checkout:focus-visible { filter: brightness(1.04); box-shadow: 0 12px 25px rgba(67, 76, 207, .27); }
#order-standard_cart #orderSummary #continueShopping { min-height: 44px; margin: 0 !important; }
#order-standard_cart #orderSummary .summary-actions { display: flex; margin-top: 12px; }
#order-standard_cart #producttotal.summary-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    direction: rtl;
}
#order-standard_cart #producttotal > .product-name {
    display: block;
    margin: 0;
    padding: 12px 13px 3px;
    border: 1px solid #e5eaf4;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    color: #1b2b49;
    background: #f6f8fc;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
#order-standard_cart #producttotal > .product-group {
    display: block;
    margin: -8px 0 0;
    padding: 0 13px 11px;
    border: 1px solid #e5eaf4;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    color: var(--iptak-muted);
    background: #f6f8fc;
    font-size: 11px;
    line-height: 1.6;
    text-align: right;
}
#order-standard_cart #producttotal > .clearfix {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #edf0f6;
    border-radius: 10px;
    color: #455571;
    background: #fff;
    font-size: 12px;
    line-height: 1.65;
    direction: rtl;
}
#order-standard_cart #producttotal > .clearfix::before,
#order-standard_cart #producttotal > .clearfix::after { display: none; }
#order-standard_cart #producttotal > .clearfix > .pull-left,
#order-standard_cart #producttotal > .clearfix > .float-left {
    float: none !important;
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}
#order-standard_cart #producttotal > .clearfix > .pull-right,
#order-standard_cart #producttotal > .clearfix > .float-right {
    float: none !important;
    flex: 0 0 auto;
    color: #263956;
    font-weight: 750;
    text-align: left;
    white-space: nowrap;
    unicode-bidi: plaintext;
}
#order-standard_cart #producttotal .summary-totals {
    margin-top: 2px;
    padding: 8px 11px;
    border-radius: 11px;
    background: #f3f6fc;
}
#order-standard_cart #producttotal .summary-totals > .clearfix {
    padding: 6px 0;
    border: 0;
    border-bottom: 1px dashed #dfe6f1;
    border-radius: 0;
    background: transparent;
}
#order-standard_cart #producttotal .summary-totals > .clearfix:last-child { border-bottom: 0; }
#order-standard_cart #producttotal .total-due-today {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
    padding: 14px 12px;
    border: 1px solid #d9e1ff;
    border-radius: 14px;
    color: #53628a;
    background: linear-gradient(135deg, #f0f4ff, #f8f5ff);
    text-align: center;
}
#order-standard_cart #producttotal .total-due-today .amt {
    color: #244bd2;
    font-size: clamp(23px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
#order-standard_cart #producttotal .total-due-today > span:last-child { font-size: 11px; font-weight: 700; }
#order-standard_cart #orderSummary #btnCompleteProductConfig {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    margin: 14px 0 0 !important;
    padding: 11px 16px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(110deg, var(--iptak-blue), var(--iptak-purple));
    box-shadow: 0 9px 20px rgba(67, 76, 207, .2);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.5;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#order-standard_cart #orderSummary #btnCompleteProductConfig:hover,
#order-standard_cart #orderSummary #btnCompleteProductConfig:focus-visible {
    color: #fff;
    filter: brightness(1.04);
    box-shadow: 0 12px 25px rgba(67, 76, 207, .27);
    transform: translateY(-2px);
}
@media (max-width: 767px) {
    #order-standard_cart #orderSummary.order-summary { padding: 15px !important; }
    #order-standard_cart #orderSummary.order-summary .subtotal,
    #order-standard_cart #orderSummary.order-summary .recurring-totals,
    #order-standard_cart #orderSummary.order-summary .bordered-totals > .clearfix { gap: 7px; padding: 8px; font-size: 11px; }
    #order-standard_cart #orderSummary.order-summary .total-due-today,
    #order-standard_cart #orderSummary > .order-summary .total-due-today { padding: 12px 10px; }
    #order-standard_cart #orderSummary .order-summary { padding: 15px !important; }
    #order-standard_cart #producttotal > .clearfix { gap: 7px; padding: 8px; font-size: 11px; }
    #order-standard_cart #producttotal .total-due-today { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    #order-standard_cart #orderSummary #btnCompleteProductConfig { transition: none; }
    #order-standard_cart #orderSummary #btnCompleteProductConfig:hover { transform: none; }
}
@media (max-width: 767px) {
    .iptak-store-hero .header-lined h1.iptak-store-title { font-size: 21px; }
    .iptak-store-highlights > .iptak-store-highlight { font-size: 11px; padding: 6px 9px; }
}
/* WHMCS wraps accordion headings in a separate h3; constrain that child too. */
#order-standard_cart .panel-sidebar .panel-title,
#order-standard_cart .sidebar .panel-title,
#order-standard_cart .sidebar-collapsed .panel-title {
    margin: 0; color: var(--iptak-ink); font-size: 14px !important; font-weight: 800; line-height: 1.5;
}
#order-standard_cart .panel-sidebar .panel-title i,
#order-standard_cart .sidebar .panel-title i,
#order-standard_cart .sidebar-collapsed .panel-title i { font-size: 15px !important; }

/* Product Group name leads the banner; badges wrap into two tidy RTL rows. */
#order-standard_cart.iptak-store .iptak-store-hero { flex-wrap: wrap; justify-content: flex-start; row-gap: 12px; }
#order-standard_cart.iptak-store .iptak-store-hero .header-lined { flex: 1 1 0; min-width: 0; order: 1; text-align: right; }
#order-standard_cart.iptak-store .iptak-store-hero-mark { order: 0; }
#order-standard_cart.iptak-store .iptak-store-hero .iptak-store-title {
    margin: 0 0 5px; color: #fff; font-size: clamp(20px, 1.8vw, 24px);
    width: 100%; min-width: 0; font-weight: 850; line-height: 1.4; direction: rtl;
    text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#order-standard_cart.iptak-store .iptak-store-hero .iptak-store-subtitle {
    margin: 0; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 550; line-height: 1.65;
}
.iptak-store-subtitle-separator { color: rgba(255,255,255,.58); padding-inline: 2px; }
#order-standard_cart.iptak-store .iptak-store-hero .iptak-store-highlights {
    display: flex; flex: 1 0 100%; order: 3; flex-wrap: wrap; align-items: center;
    justify-content: flex-start; gap: 5px; min-width: 0; max-width: 100%; margin: 0; padding: 0;
    overflow: visible; white-space: normal;
}
#order-standard_cart.iptak-store .iptak-store-hero .iptak-store-highlights > .iptak-store-highlight {
    flex: 0 1 auto; max-width: 100%; justify-content: center; min-height: 28px; padding: 4px 6px;
    border-radius: 999px; font-size: 10px; line-height: 1.35; white-space: nowrap;
}
@media (max-width: 767px) {
    #order-standard_cart.iptak-store .iptak-store-hero .header-lined {
        flex: 1 1 auto; order: 0; width: 100%; max-width: 100%; box-sizing: border-box; padding: 50px 0 0;
    }
    #order-standard_cart.iptak-store .iptak-store-hero-mark { order: 1; }
    #order-standard_cart.iptak-store .iptak-store-hero-mark { inset-inline-start: 16px; inset-inline-end: auto; }
    #order-standard_cart.iptak-store .iptak-store-hero .iptak-store-title { font-size: 18px; }
    #order-standard_cart.iptak-store .iptak-store-hero .iptak-store-subtitle { font-size: 12px; }
    #order-standard_cart.iptak-store .iptak-store-hero .iptak-store-highlights { gap: 6px; }
    #order-standard_cart.iptak-store .iptak-store-hero .iptak-store-highlights > .iptak-store-highlight {
        min-height: 28px; padding: 4px 8px; font-size: 10px;
    }
}

/* Home domain search actions: consistent shape, equal height and a clear gap from the input. */
.home-domain-search .input-group { align-items:stretch; }
.home-domain-search .input-group > .form-control { min-height:46px; height:46px; border-radius:10px !important; }
.home-domain-search .input-group > .input-group-append { display:flex; align-items:stretch; gap:8px; margin-inline-start:8px !important; margin-left:0 !important; margin-right:0 !important; }
.home-domain-search .input-group-append .btn { display:inline-flex; flex:0 0 96px; align-items:center; justify-content:center; width:96px; min-width:96px; min-height:46px; height:46px; margin:0 !important; padding:8px 12px; border:1px solid #315eea; border-radius:10px !important; color:#fff; background:linear-gradient(105deg,#315eea,#6844dc); box-shadow:0 5px 12px rgba(49,94,234,.12); font-size:14px; font-weight:750; line-height:1.35; text-align:center; white-space:normal; transform:none; }
.home-domain-search .input-group-append .btn:hover,
.home-domain-search .input-group-append .btn:focus { color:#fff; border-color:#2048d4; background:linear-gradient(105deg,#2048d4,#5836c9); box-shadow:0 7px 16px rgba(49,94,234,.2); transform:none; }

/* Domain order cards: consistent spacing and button sizing across the cart. */
#order-standard_cart .domain-selection-options { display:grid; gap:14px; margin-block:24px; }
#order-standard_cart .domain-selection-options .option { margin:0; padding:18px 20px; border:1px solid var(--iptak-line); border-radius:14px; background:#fff; box-shadow:0 8px 22px rgba(18,42,82,.045); }
#order-standard_cart .domain-selection-options .option > label { display:flex; align-items:center; gap:10px; min-height:28px; margin:0; color:var(--iptak-ink); font-size:15px; font-weight:750; line-height:1.6; cursor:pointer; }
#order-standard_cart .domain-selection-options .option > label input[type="radio"] { flex:0 0 auto; margin:0; }
#order-standard_cart .domain-input-group { margin:16px 0 2px; padding-top:16px; border-top:1px solid #edf1f7; }
#order-standard_cart .domain-input-group > .row { display:flex; align-items:center; row-gap:12px; }
#order-standard_cart .domain-input-group .domains-row { display:flex; align-items:stretch; gap:10px; margin:0; }
#order-standard_cart .domain-input-group .domains-row > [class*="col-"] { min-width:0; padding-inline:0; }
#order-standard_cart .domain-input-group .input-group { min-height:48px; }
#order-standard_cart .domain-input-group .input-group .form-control,
#order-standard_cart .domain-input-group select.form-control { min-height:48px; border-color:#d6e0ee; border-radius:10px; }
#order-standard_cart .domain-input-group .input-group .input-group-text { display:flex; align-items:center; min-height:48px; padding-inline:14px; border-color:#d6e0ee; }
#order-standard_cart .domain-input-group button.btn { display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:46px; margin:0; padding:10px 16px; border:1px solid var(--iptak-blue); border-radius:10px; font-size:14px; font-weight:750; line-height:1.4; white-space:normal; }
#order-standard_cart .domain-checker-container { padding:24px; background:#fff; }
#order-standard_cart .domain-checker-container .domain-checker-bg { padding:20px; border:1px solid #edf1f7; border-radius:14px; background:#f8faff; }
#order-standard_cart .domain-checker-container .input-group-lg { display:flex; align-items:stretch; gap:10px; margin-block:8px; }
#order-standard_cart .domain-checker-container .input-group-lg > .form-control { min-width:0; min-height:50px; border:1px solid #d6e0ee; border-radius:10px !important; background:#fff; }
#order-standard_cart .domain-checker-container .input-group-lg > .input-group-append { display:flex; flex:0 0 auto; margin:0; }
#order-standard_cart .domain-checker-container .input-group-lg > .input-group-append > .btn { display:inline-flex; align-items:center; justify-content:center; min-width:112px; min-height:50px; margin:0; padding:10px 18px; border:1px solid var(--iptak-blue); border-radius:10px !important; font-size:14px; font-weight:750; line-height:1.4; }
#order-standard_cart .domain-checker-container .input-group-lg > .input-group-append > .btn:hover { transform:translateY(-1px); }

@media (max-width:575.98px) {
  #order-standard_cart .domain-selection-options { gap:12px; margin-block:18px; }
  #order-standard_cart .domain-selection-options .option { padding:15px; }
  #order-standard_cart .domain-input-group { margin-top:13px; padding-top:13px; }
  #order-standard_cart .domain-input-group > .row { margin-inline:-5px; }
  #order-standard_cart .domain-input-group > .row > [class*="col-"] { padding-inline:5px; }
  #order-standard_cart .domain-input-group .domains-row { gap:7px; }
  #order-standard_cart .domain-checker-container { padding:14px; }
  #order-standard_cart .domain-checker-container .domain-checker-bg { padding:14px; }
  #order-standard_cart .domain-checker-container .input-group-lg { flex-wrap:wrap; gap:9px; }
  #order-standard_cart .domain-checker-container .input-group-lg > .form-control { flex:1 1 100%; width:100%; }
  #order-standard_cart .domain-checker-container .input-group-lg > .input-group-append { flex:1 1 100%; width:100%; }
  #order-standard_cart .domain-checker-container .input-group-lg > .input-group-append > .btn { width:100%; }
}
