/*
 * LiquidNet Cart styles. Loaded by the LiquidNet theme on every page with a version that changes
 * whenever this file changes, so Cloudflare and browser caches never serve an old copy.
 * Selectors start with 'html body' so they win over standard_cart's CSS regardless of load order.
 * Order steps covered
 * (products, configure, cart, checkout, complete). Brand colours come from the
 * LiquidNet theme (Addons > LiquidNet Theme > General & Branding).
 */

/* ---------- Product listing ---------- */
html body #order-standard_cart.ln-store { padding-bottom: 20px; }

html body .ln-store-hero {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
    background: radial-gradient(800px 300px at 95% -30%, color-mix(in srgb, var(--ln-primary, #df3626) 22%, transparent), transparent 60%), var(--ln-dark, #161a24);
    color: #c9cdd8; border-radius: 18px; padding: 2.4rem 2.4rem 2rem; margin: 10px 0 1.5rem;
}
html body .ln-store-hero h1 { color: #fff; font-size: 2.1rem; font-weight: 800; margin: 0 0 .5rem; }
html body .ln-store-hero p { margin: 0; max-width: 620px; }
html body .ln-store-hero .ln-eyebrow { color: color-mix(in srgb, var(--ln-primary, #df3626) 60%, #fff); }
html body .ln-store-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; font-weight: 600; }
html body .ln-store-trust i { color: var(--ln-primary, #df3626); margin-right: .3rem; }

html body .ln-store-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
html body .ln-store-tabs a {
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--ln-line, #e6e8ee); background: #fff;
    color: var(--ln-ink-2, #4a5164); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .15s;
}
html body .ln-store-tabs a:hover { border-color: var(--ln-primary, #df3626); color: var(--ln-primary, #df3626); }
html body .ln-store-tabs a.active,
html body .ln-store-tabs a.active:hover { background: var(--ln-primary, #df3626); border-color: var(--ln-primary, #df3626); color: #fff; }
html body .ln-store-tabs a.is-domain { background: transparent; border-style: dashed; }

html body .ln-store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
html body .ln-store-card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--ln-line, #e6e8ee); border-radius: 16px; padding: 1.75rem; margin: 0;
    transition: transform .15s ease, box-shadow .15s ease;
}
html body .ln-store-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(22, 26, 36, .08); }
html body .ln-store-card.is-featured { border: 2px solid var(--ln-primary, #df3626); box-shadow: 0 16px 40px color-mix(in srgb, var(--ln-primary, #df3626) 14%, transparent); }
html body .ln-store-card header { background: none; padding: 0; margin: 0 0 .75rem; border: 0; }
html body .ln-store-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0; color: var(--ln-ink, #1d2230); }
html body .ln-store-card .ln-badge {
    position: absolute; top: -12px; left: 1.75rem; background: var(--ln-primary, #df3626); color: #fff;
    font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em;
}
html body .ln-store-card .ln-link { font-weight: 700; }
html body .ln-stock { display: inline-block; margin-top: .3rem; font-size: .78rem; color: var(--ln-muted, #747b8c); }

html body .ln-store-price { margin-bottom: 1.25rem; line-height: 1.1; }
html body .ln-store-from { display: block; font-size: .8rem; color: var(--ln-muted, #747b8c); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
html body .ln-store-amount { font-size: 2.2rem; font-weight: 800; color: var(--ln-ink, #1d2230); letter-spacing: -.02em; }
html body .ln-store-cycle { font-size: .95rem; color: var(--ln-muted, #747b8c); font-weight: 500; }
html body .ln-store-setup { display: block; margin-top: .35rem; color: var(--ln-muted, #747b8c); }

html body .ln-store-features { flex: 1; padding: 0; font-size: .92rem; color: var(--ln-ink-2, #4a5164); }
html body .ln-store-features ul { list-style: none; padding: 0; margin: 0 0 1rem; }
html body .ln-store-features li {
    display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0 .5rem 1.5rem;
    border-bottom: 1px solid #f0f1f5; position: relative;
}
html body .ln-store-features li:before {
    content: "\f00c"; font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Free"; font-weight: 900;
    position: absolute; left: 0; top: .55rem; font-size: .75rem; color: var(--ln-primary, #df3626);
}
html body .ln-store-features li strong { color: var(--ln-ink, #1d2230); text-align: right; }
html body .ln-store-desc { color: var(--ln-muted, #747b8c); margin-bottom: 1rem; }
html body .ln-store-card footer { background: none; border: 0; padding: 0; margin-top: auto; }
html body .ln-store-card .ln-btn { padding: .8rem 1rem; }
html body .ln-store-card .ln-btn-outline { border: 2px solid var(--ln-ink, #1d2230); }

html body .ln-store-assurance {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
    background: var(--ln-bg, #f6f7fa); border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem;
}
html body .ln-store-assurance div { display: grid; grid-template-columns: 36px 1fr; column-gap: .75rem; align-items: center; }
html body .ln-store-assurance i { grid-row: span 2; font-size: 1.4rem; color: var(--ln-primary, #df3626); text-align: center; }
html body .ln-store-assurance strong { color: var(--ln-ink, #1d2230); font-size: .95rem; }
html body .ln-store-assurance span { color: var(--ln-muted, #747b8c); font-size: .85rem; }

html body .ln-store-panel { margin: 0 0 2rem; border-radius: 18px; overflow: hidden; }
html body .ln-store-panel .ln-section { padding: 56px 0 32px; }
html body .ln-store-panel .container { max-width: 100%; padding: 0 2rem; }
html body .ln-store-section { margin: 0 0 2.5rem; }
html body .ln-store-section h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1.5rem; text-align: center; }

@media (max-width: 767px) {
    html body .ln-store-hero { padding: 1.75rem 1.5rem; }
    html body .ln-store-hero h1 { font-size: 1.6rem; }
    html body .ln-store-panel .container { padding: 0 1rem; }
}

/* ---------- All other order steps (configure, cart, checkout) ---------- */
html body #order-standard_cart { font-family: var(--ln-font, inherit); }
html body #order-standard_cart .header-lined h1 { font-weight: 800; color: var(--ln-ink, #1d2230); }
html body #order-standard_cart .sub-heading { border-top-color: var(--ln-line, #e6e8ee); }
html body #order-standard_cart .sub-heading span,
html body #order-standard_cart .sub-heading .primary-bg-color {
    background: var(--ln-primary, #df3626) !important; color: #fff; border-radius: 999px; padding: 4px 14px; font-weight: 600;
}

html body #order-standard_cart .btn-primary,
html body #order-standard_cart .btn-success,
html body #order-standard_cart .btn-checkout,
html body #order-standard_cart #btnCompleteProductConfig,
html body #order-standard_cart #btnCompleteOrder {
    background: var(--ln-primary, #df3626) !important; border-color: var(--ln-primary, #df3626) !important; color: #fff !important;
    border-radius: 10px; font-weight: 600;
}
html body #order-standard_cart .btn-primary:hover,
html body #order-standard_cart .btn-success:hover,
html body #order-standard_cart .btn-checkout:hover,
html body #order-standard_cart #btnCompleteProductConfig:hover,
html body #order-standard_cart #btnCompleteOrder:hover {
    background: var(--ln-primary-dark, #b82618) !important; border-color: var(--ln-primary-dark, #b82618) !important;
}
html body #order-standard_cart .btn-default { border-radius: 10px; }

/* Order summary box */
html body #order-standard_cart .order-summary,
html body #order-standard_cart .summary-container {
    background: var(--ln-dark, #161a24) !important; border-radius: 16px; border: 0;
}
html body #order-standard_cart .order-summary h2 { color: #fff; font-weight: 700; }
html body #order-standard_cart .order-summary .summary-container { background: #fff !important; border-radius: 12px; }
html body #order-standard_cart .order-summary .total-due-today .amt { color: var(--ln-primary, #df3626); font-weight: 800; }

/* Cards and form fields */
html body #order-standard_cart .view-cart-items-header {
    background: var(--ln-dark, #161a24) !important; border-radius: 12px 12px 0 0;
}
html body #order-standard_cart .view-cart-items { border-color: var(--ln-line, #e6e8ee); border-radius: 0 0 12px 12px; overflow: hidden; }
html body #order-standard_cart .product-info,
html body #order-standard_cart .field-container,
html body #order-standard_cart .panel {
    border-radius: 14px; border-color: var(--ln-line, #e6e8ee);
}
html body #order-standard_cart .product-info { background: var(--ln-bg, #f6f7fa); }
html body #order-standard_cart .form-control { border-radius: 10px; }
html body #order-standard_cart .form-control:focus { border-color: var(--ln-primary, #df3626); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ln-primary, #df3626) 18%, transparent); }
html body #order-standard_cart .prepend-icon .field-icon { color: var(--ln-muted, #747b8c); }
html body #order-standard_cart:not(.ln-store) a:not(.btn) { color: var(--ln-primary, #df3626); }

/* Billing cycle and option selectors */
html body #order-standard_cart .cycle-selector label,
html body #order-standard_cart .panel-addon { border-radius: 12px; }
html body #order-standard_cart .panel-addon-selected { border-color: var(--ln-primary, #df3626) !important; }
html body #order-standard_cart .panel-addon-selected .panel-add { background: var(--ln-primary, #df3626) !important; }

/* Category sidebar (used on domain and cart pages) */
html body #order-standard_cart .cart-sidebar .panel-heading { background: var(--ln-dark, #161a24); color: #fff; border-radius: 12px 12px 0 0; }
html body #order-standard_cart .cart-sidebar .list-group-item.active,
html body #order-standard_cart .cart-sidebar .list-group-item.active:hover {
    background: var(--ln-primary, #df3626); border-color: var(--ln-primary, #df3626);
}

/* ---------- Override standard_cart's own .product rules (same selectors, loaded later) ---------- */
html body #order-standard_cart .products.ln-store-grid { margin: 0 0 2rem; }
html body #order-standard_cart .products .product.ln-store-card {
    padding: 1.75rem; margin: 0; background: #fff; border-radius: 16px; border: 1px solid var(--ln-line, #e6e8ee);
}
html body #order-standard_cart .products .product.ln-store-card.is-featured { border: 2px solid var(--ln-primary, #df3626); }
html body #order-standard_cart .products .product.ln-store-card header {
    position: static; padding: 0; margin: 0 0 .75rem; background: none; border-radius: 0;
}
html body #order-standard_cart .products .product.ln-store-card header .ln-stock { float: none; font-style: normal; font-size: .78rem; }
html body #order-standard_cart .products .product.ln-store-card div.product-desc.ln-store-features {
    float: none; width: auto; padding: 0; font-size: .92rem;
}
html body #order-standard_cart .products .product.ln-store-card footer {
    float: none; width: auto; margin: auto 0 0; font-size: 1rem; text-align: center;
}
html body #order-standard_cart .products .product.ln-store-card footer .ln-btn { display: block; width: 100%; }
html body #order-standard_cart .products .product.ln-store-card .ln-store-desc { font-size: .92rem; }
